/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #A543F9;
    --primary-dark: #8B2FE8;
    --primary-light: #C46FFC;
    --primary-ultra-light: rgba(165, 67, 249, 0.08);
    --primary-light-bg: rgba(165, 67, 249, 0.12);
    --black: #000000;
    --secondary: #1f2937;
    --success: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link svg {
    transition: transform 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover svg {
    transform: translateY(-2px);
}

.nav-link-cta {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu-link svg {
    color: var(--primary);
    flex-shrink: 0;
}

.mobile-menu-link:hover {
    background: var(--bg-light);
    transform: translateX(4px);
}

/* Hero Section - ЧЕРНЫЙ */
.hero {
    margin-top: 73px;
    background: var(--black);
    padding: 100px 0 80px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(165, 67, 249, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--primary-light);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.9;
    color: var(--primary-light);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-features-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-badge-item {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-badge-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.trust-badges {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 1.2s backwards;
}

/* Анимации для Hero */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    font-size: 20px;
}

.trust-text {
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(165, 67, 249, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
}

/* How It Works - БЕЛЫЙ */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-title-white {
    color: var(--white);
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 64px;
}

.section-subtitle-white {
    color: rgba(255, 255, 255, 0.8);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Features Section - ФИОЛЕТОВЫЙ */
.features-purple {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.features-purple .feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    margin-left: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Why Us Section - БЕЛЫЙ */
.why-us {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.benefit {
    text-align: center;
    padding: 24px;
}

.benefit-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Models Section - ЧЕРНЫЙ */
.models-dark {
    background: var(--black);
    color: var(--white);
}

.models {
    padding: 80px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.model-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s;
}

.models-dark .model-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(165, 67, 249, 0.2);
}

.model-free {
    border: 2px solid var(--primary);
}

.model-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--success);
    color: var(--white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.model-badge-premium {
    background: var(--primary);
}

.model-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.models-dark .model-name {
    color: var(--white);
}

.model-company {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    opacity: 0.8;
}

.models-dark .model-company {
    color: rgba(255, 255, 255, 0.6);
}

.model-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.models-dark .model-description {
    color: rgba(255, 255, 255, 0.8);
}

.model-use-cases {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.model-use-cases span {
    padding: 4px 10px;
    background: rgba(165, 67, 249, 0.1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 13px;
}

.models-dark .model-use-cases span {
    background: rgba(165, 67, 249, 0.2);
    color: var(--primary-light);
}

.model-features {
    margin-top: 16px;
}

.model-feature {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.models-dark .model-feature {
    background: rgba(165, 67, 249, 0.2);
    color: var(--primary-light);
}

.model-card-more {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    gap: 16px;
}

.model-card-more .model-name,
.model-card-more .model-description {
    color: var(--white);
}

/* Testimonials - БЕЛЫЙ */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Comparison - ФИОЛЕТОВЫЙ СВЕТЛЫЙ */
.comparison-purple {
    background: var(--primary-ultra-light);
}

.comparison {
    padding: 80px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 48px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: var(--primary);
    color: var(--white);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 700;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.highlight-column {
    background: rgba(165, 67, 249, 0.05);
    font-weight: 600;
    color: var(--primary);
}

.comparison-table th.highlight-column {
    background: var(--primary-dark);
    color: var(--white);
}

.comparison-cta {
    text-align: center;
}

.comparison-text {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

/* Pricing Section - БЕЛЫЙ */
.pricing {
    padding: 80px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border);
    text-align: center;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(165, 67, 249, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 20px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-feature {
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ Section - ФИОЛЕТОВЫЙ ОЧЕНЬ СВЕТЛЫЙ */
.faq-purple-light {
    background: rgba(165, 67, 249, 0.04);
}

.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section - ЧЕРНЫЙ */
.cta {
    padding: 80px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 32px;
}

.cta-secondary {
    font-size: 18px;
    opacity: 0.8;
}

.link {
    color: var(--primary-light);
    text-decoration: underline;
}

.link:hover {
    text-decoration: none;
}

/* Footer - ЧЕРНЫЙ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-tagline {
    margin-top: 12px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-description {
    margin-top: 8px;
    opacity: 0.6;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

.footer-copyright {
    margin-bottom: 8px;
}

.footer-contact .link {
    color: var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-features-badges {
        flex-direction: column;
        gap: 12px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-grid,
    .models-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

    .pricing-card-featured {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации при скролле для всех секций */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Задержки для последовательной анимации */
.scroll-animate:nth-child(1) { transition-delay: 0s; }
.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.scroll-animate:nth-child(6) { transition-delay: 0.5s; }

/* Анимация для заголовков секций */
.section-title.scroll-animate,
.section-subtitle.scroll-animate {
    transform: translateY(20px);
}

/* Специальные анимации для разных элементов */
.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

