* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #673de6;
    --primary-dark: #5025d1;
    --secondary: #2f1c6a;
    --accent: #fc5185;
    --gradient: linear-gradient(135deg, #673de6 0%, #5025d1 50%, #fc5185 100%);
    --gradient-soft: linear-gradient(135deg, #673de6 0%, #fc5185 100%);
    --text-dark: #0d0e21;
    --text-gray: #595968;
    --text-light: #8080a0;
    --bg-light: #f7f7fb;
    --bg-white: #ffffff;
    --border: #e6e6f0;
    --success: #22c55e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(15, 18, 61, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 18, 61, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 18, 61, 0.12);
    --shadow-glow: 0 20px 80px rgba(103, 61, 230, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

.gradient-text {
    background: var(--gradient-soft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    margin: 0;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

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

.btn-login {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.btn-login:hover {
    color: var(--primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-gradient {
    background: var(--gradient);
}

.btn-gradient:hover {
    background: var(--gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-1px);
}

.btn-block {
    display: flex;
    width: 100%;
    text-align: center;
}

.hero {
    position: relative;
    padding: 80px 24px 100px;
    overflow: hidden;
}

.hero-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(252, 81, 133, 0.1) 0%, rgba(103, 61, 230, 0.1) 100%);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 28px;
    border: 1px solid rgba(103, 61, 230, 0.15);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 20px 12px;
}

.stat-number {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-soft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(103, 61, 230, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
}

.features {
    padding: 100px 24px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.feature-icon.green {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.feature-icon.purple {
    background: rgba(103, 61, 230, 0.12);
    color: #673de6;
}

.feature-icon.orange {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.feature-icon.pink {
    background: rgba(252, 81, 133, 0.12);
    color: #fc5185;
}

.feature-icon.teal {
    background: rgba(20, 184, 166, 0.12);
    color: #14b8a6;
}

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

.feature-desc {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.pricing {
    padding: 100px 24px;
}

.billing-toggle {
    display: inline-flex;
    background: var(--bg-light);
    padding: 6px;
    border-radius: var(--radius-lg);
    margin: 0 auto 48px;
    gap: 4px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border);
}

.billing-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.billing-option:hover {
    color: var(--text-dark);
}

.billing-option.active {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.save-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.save-badge.best {
    background: linear-gradient(135deg, #fc5185 0%, #673de6 100%);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(103, 61, 230, 0.25);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 7px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.plan-header {
    margin-bottom: 24px;
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.plan-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    align-self: flex-start;
    margin-top: 10px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text-dark);
    line-height: 1;
}

.price-period {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 500;
    margin-left: 4px;
}

.price-note {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 28px;
    min-height: 18px;
}

.pricing-card > .btn-primary {
    margin-bottom: 28px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.plan-features li svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.plan-features li.muted {
    color: var(--text-light);
}

.plan-features li.muted svg {
    color: var(--text-light);
}

.faq {
    padding: 100px 24px;
    background: var(--bg-light);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    box-shadow: var(--shadow-sm);
    border-color: transparent;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--text-dark);
    font-weight: 600;
}

.cta {
    padding: 80px 24px;
}

.cta-box {
    background: var(--gradient);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    flex: 1;
    min-width: 280px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

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

.cta .btn-primary:hover {
    background: #f5f3ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer {
    background: #0d0e21;
    color: white;
    padding: 72px 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 20px 0 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: white;
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

@media (max-width: 640px) {
    .nav-container {
        padding: 14px 20px;
    }

    .nav-actions .btn-login {
        display: none;
    }

    .hero {
        padding: 56px 20px 72px;
    }

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

    .stat {
        padding: 12px 8px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features {
        padding: 64px 20px;
    }

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

    .pricing {
        padding: 64px 20px;
    }

    .billing-toggle {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .billing-option {
        padding: 10px 18px;
        font-size: 13px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 48px;
    }

    .faq {
        padding: 64px 20px;
    }

    .faq-question {
        padding: 18px 22px;
        font-size: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 22px 22px;
    }

    .cta {
        padding: 56px 20px;
    }

    .cta-box {
        padding: 40px 28px;
        text-align: center;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn-primary {
        width: 100%;
    }

    .footer {
        padding: 56px 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 40px;
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}
