/* ======== CSS Variables ======== */
:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --bg-nav: rgba(10, 10, 15, 0.85);
    --surface: #16161f;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #f0f0f5;
    --text-muted: #8888a0;
    --text-dim: #5c5c72;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --green: #00cec9;
    --green-glow: rgba(0, 206, 201, 0.15);
    --gradient: linear-gradient(135deg, #6c5ce7, #a29bfe, #00cec9);
    --gradient-bg: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 206, 201, 0.05));
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ======== Reset ======== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ======== Container ======== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======== Typography ======== */
h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======== Buttons ======== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 12px 28px;
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.btn-nav {
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.85rem;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-nav:hover {
    background: var(--accent-light);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* ======== Badges ======== */
.section-badge,
.hero-badge,
.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge {
    background: var(--gradient-bg);
    color: var(--accent-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    margin-bottom: 24px;
}

.section-badge {
    background: var(--gradient-bg);
    color: var(--accent-light);
    border: 1px solid rgba(108, 92, 231, 0.15);
    margin-bottom: 16px;
}

.pricing-badge {
    background: linear-gradient(135deg, rgba(0, 206, 201, 0.15), rgba(108, 92, 231, 0.15));
    color: var(--green);
    border: 1px solid rgba(0, 206, 201, 0.2);
    margin-bottom: 24px;
}

/* ======== Navbar ======== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ======== Hero ======== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-container {
    position: relative;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 24px auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ======== Section Headers ======== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* ======== Features ======== */
.features-section {
    padding: 120px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ======== Pricing ======== */
.pricing-section {
    padding: 120px 0;
    position: relative;
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 32px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.pricing-features .check {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ======== CTA Section ======== */
.cta-section {
    padding: 80px 0 120px;
}

.cta-card {
    background: var(--gradient-bg);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.cta-card h2 {
    position: relative;
    margin-bottom: 16px;
}

.cta-card p {
    position: relative;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-card .btn {
    position: relative;
}

/* ======== Footer ======== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-container {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.footer-brand .logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-brand p {
    width: 100%;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ======== Privacy Policy ======== */
.privacy-section {
    padding: 140px 0 100px;
}

.privacy-container {
    max-width: 780px;
}

.privacy-section h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.privacy-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.privacy-content h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text);
}

.privacy-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.8;
}

.privacy-content ul {
    margin: 12px 0 20px 24px;
    list-style: disc;
}

.privacy-content ul li {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-content a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-content a:hover {
    color: var(--accent);
}

.privacy-content strong {
    color: var(--text);
}

/* ======== Responsive ======== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .privacy-section {
        padding: 120px 0 60px;
    }
}

/* ======== Animations ======== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero h1,
.hero-subtitle,
.hero-cta {
    animation: fadeInUp 0.7s ease forwards;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-cta {
    animation-delay: 0.3s;
}

.hero-stats {
    animation: fadeInUp 0.7s ease 0.5s forwards;
    opacity: 0;
}