/* Premium UI Elements and Animations */
:root {
    --primary-gradient: linear-gradient(135deg, #16a085, #3498db);
    --secondary-gradient: linear-gradient(135deg, #e74c3c, #9b59b6);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --premium-shadow: 0 15px 35px rgba(22, 160, 133, 0.2);
    --glow-shadow: 0 0 15px rgba(22, 160, 133, 0.5);
}

/* Page Hero with Particles */
.page-hero {
    position: relative;
    padding: 150px 0 80px;
    background: var(--primary-gradient);
    color: white;
    overflow: hidden;
    text-align: center;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.particle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: float 8s infinite ease-in-out;
}

.particle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation: float 12s infinite ease-in-out reverse;
}

.particle-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 60%;
    animation: float 10s infinite ease-in-out 2s;
}

.particle-4 {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 30%;
    animation: float 15s infinite ease-in-out 1s;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: inline-block;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.breadcrumb a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
    color: white;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.8;
}

.breadcrumb .current {
    opacity: 1;
    font-weight: 500;
}

/* Premium Cards */
.premium-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--premium-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(22, 160, 133, 0.3);
}

.model-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.model-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.8rem;
    border-radius: 12px;
    margin-right: 15px;
}

.chat-icon, .video-icon, .audio-icon, .image-icon {
    background: var(--primary-gradient);
}

.video-icon {
    background: linear-gradient(135deg, #3498db, #9b59b6);
}

.audio-icon {
    background: linear-gradient(135deg, #9b59b6, #e74c3c);
}

.image-icon {
    background: linear-gradient(135deg, #2ecc71, #3498db);
}

.model-features {
    margin: 20px 0;
}

.feature {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-color);
    margin-right: 5px;
}

.model-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-explore, .btn-try {
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn-explore {
    flex: 1;
    margin-right: 10px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.btn-try {
    flex: 1;
    color: white;
    background: var(--primary-gradient);
    border: none;
    cursor: pointer;
}

.btn-explore:hover {
    background-color: rgba(22, 160, 133, 0.1);
    color: var(--primary-color);
}

.btn-try:hover {
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

/* Search and Filter */
.model-search {
    padding: 40px 0;
    background-color: white;
}

.search-container {
    display: flex;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto 30px;
}

.premium-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

.search-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    opacity: 0.9;
}

.filter-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.filter-tag {
    padding: 8px 20px;
    background-color: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-tag:hover, .filter-tag.active {
    background: var(--primary-gradient);
    color: white;
}

/* Models Showcase */
.models-showcase {
    padding: 60px 0;
}

.model-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    background: white;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-btn .icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tab-btn .label {
    font-weight: 500;
    font-size: 0.9rem;
}

.tab-btn:hover, .tab-btn.active {
    transform: translateY(-5px);
    box-shadow: var(--premium-shadow);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    text-align: center;
}

.category-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, 
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table td:first-child {
    min-width: 200px;
}

.comparison-table tbody tr:hover {
    background-color: rgba(22, 160, 133, 0.05);
}

.rating {
    display: inline-flex;
    color: #ddd;
}

.rating .filled {
    color: #f1c40f;
}

.rating .half-filled {
    position: relative;
    color: #ddd;
}

.rating .half-filled::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #f1c40f;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
}

.check.limited {
    color: #f1c40f;
}

.check.premium {
    color: #8e44ad;
}

.cross {
    color: #e74c3c;
}

.price {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.price.free {
    background-color: #2ecc71;
    color: white;
}

.price.premium {
    background-color: var(--primary-color);
    color: white;
}

.price.enterprise {
    background-color: #8e44ad;
    color: white;
}

.model-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}

.free-tag {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.new-tag {
    background-color: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

/* Premium CTA */
.premium-cta {
    padding: 80px 0;
    background-color: white;
}

.premium-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content {
    flex: 1;
    padding-right: 50px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn-premium {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--premium-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-element {
    animation: float 4s infinite ease-in-out;
}

.floating-element img {
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--premium-shadow);
}

/* Gradient CTA Section */
.gradient-cta {
    background: var(--primary-gradient);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.gradient-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -150px;
    left: -150px;
}

.gradient-cta::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.gradient-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0;
}

.gradient-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.gradient-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-glow {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
}

/* Pricing Toggle */
.pricing-toggle {
    padding: 30px 0;
    background-color: white;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.toggle-label {
    font-weight: 500;
    opacity: 0.7;
    transition: var(--transition);
}

.toggle-label.active {
    opacity: 1;
}

.discount {
    display: inline-block;
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 5px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background: var(--primary-gradient);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Premium Pricing */
.premium-pricing {
    padding: 50px 0 80px;
    background-color: #f9f9f9;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--premium-shadow);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.pricing-description {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.annual-price {
    display: none;
}

.pricing-card.annual .monthly-price {
    display: none;
}

.pricing-card.annual .annual-price {
    display: block;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-cta {
    text-align: center;
}

.btn-pricing {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: var(--dark-color);
}

.btn-pricing:hover, .btn-featured {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--premium-shadow);
}

.btn-featured:hover {
    box-shadow: var(--glow-shadow);
}

/* FAQ Section */
.pricing-faq {
    padding: 80px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--premium-shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark-color);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background: var(--primary-gradient);
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .faq-toggle {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 200px;
}

/* Policy Page Styles */
.policy-page .page-hero {
    min-height: 300px;
    padding: 100px 0 50px;
}

.policy-content {
    padding: 60px 0;
    background-color: #fff;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--premium-shadow);
    padding: 40px;
}

.last-updated {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    text-align: right;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.policy-section h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: var(--dark-color);
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.policy-section ul, .policy-section ol {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--text-color);
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px dotted var(--primary-color);
}

.policy-section a:hover {
    color: var(--primary-dark);
    border-bottom-style: solid;
}

/* Responsive styles for policies */
@media (max-width: 768px) {
    .policy-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .premium-cta .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .tab-btn {
        padding: 10px 15px;
    }
    
    .tab-btn .icon {
        font-size: 1.5rem;
    }
    
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .tab-btn {
        width: calc(50% - 10px);
    }
    
    .btn-premium, .btn-outline {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
} 

/* Footer gradient */
.premium-footer-gradient {
    height: 4px;
    background: var(--primary-gradient);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Floating Telegram button */
.floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.floating-telegram-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-telegram-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.floating-telegram-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .floating-telegram-btn span {
        display: none;
    }
    
    .floating-telegram-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    .floating-telegram-btn i {
        margin: 0;
    }
}

/* Payment methods in footer */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.payment-icon {
    height: 30px;
    width: auto;
    border-radius: 5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3, .footer-column h4 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.2rem;
    position: relative;
}

.footer-column h3::after, .footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    opacity: 0.8;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods {
        margin-top: 20px;
        justify-content: center;
    }
} 