/* ============================================================================
   SPORTGEST — Landing Page Styles
   Design: Dark sports theme | Electric green accent | Bold typography
   ============================================================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Colors */
    --bg-primary: #06080d;
    --bg-secondary: #0c1017;
    --bg-card: #111722;
    --bg-card-hover: #161e2d;
    --bg-surface: #1a2233;

    --text-primary: #f0f2f5;
    --text-secondary: #8892a4;
    --text-muted: #5a6478;

    --accent: #22c55e;
    --accent-light: #4ade80;
    --accent-dark: #16a34a;
    --accent-glow: rgba(34, 197, 94, 0.15);

    --blue: #3b82f6;
    --purple: #a855f7;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --teal: #14b8a6;

    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}


/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 8, 13, 0.85);
    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;
    gap: 32px;
}

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

.logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--accent));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

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

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

.btn-login {
    color: var(--text-secondary) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
}

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

.btn-trial {
    background: var(--accent);
    color: #000 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-trial:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.title-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg, .btn i { width: 18px; height: 18px; }

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.btn-white {
    background: white;
    color: #000;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    50.01% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ═══════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════ */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.trust-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-dot { color: var(--accent); font-size: 8px; }


/* ═══════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* ═══════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════ */
.features { padding: var(--section-padding); }

.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: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(34, 197, 94, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-icon.icon-blue { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.feature-icon.icon-amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.feature-icon.icon-purple { background: rgba(168, 85, 247, 0.12); color: var(--purple); }
.feature-icon.icon-rose { background: rgba(244, 63, 94, 0.12); color: var(--rose); }
.feature-icon.icon-teal { background: rgba(20, 184, 166, 0.12); color: var(--teal); }

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 12px;
}


/* ═══════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════ */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 46px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--bg-surface);
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition);
}

.step-card:hover .step-number { color: var(--accent); }

.step-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    transition: var(--transition);
}

.step-card:hover .step-content {
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-4px);
}

.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════
   PROFILES
   ═══════════════════════════════════════════════════ */
.profiles { padding: var(--section-padding); }

.profiles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.profile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 20px 10px 10px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.profile-chip:hover { border-color: var(--border-light); transform: translateY(-2px); }

.chip-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.chip-level.l1 { background: rgba(34, 197, 94, 0.15); color: var(--accent); }
.chip-level.l2 { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.chip-level.l3 { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.chip-level.l4 { background: rgba(168, 85, 247, 0.15); color: var(--purple); }


/* ═══════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════ */
.pricing {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 60px var(--accent-glow);
}

.pricing-card.popular:hover {
    box-shadow: 0 0 80px rgba(34, 197, 94, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

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

.plan-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.price-currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    align-self: flex-start;
    margin-top: 8px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.price-value.free { color: var(--accent); font-size: 42px; }

.price-suffix {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 2px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-features li strong { color: var(--text-primary); }

.pricing-cta { margin-top: auto; }


/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
.faq { padding: var(--section-padding); }

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active { border-color: rgba(34, 197, 94, 0.2); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

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

.faq-question svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* ═══════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════ */
.cta-section {
    padding: 80px 0 120px;
}

.cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(34, 197, 94, 0.1), transparent),
        radial-gradient(ellipse 40% 60% at 20% 30%, rgba(59, 130, 246, 0.05), transparent);
    z-index: 0;
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom a { color: var(--accent); }

.footer-payment {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-badge { height: 24px; opacity: 0.7; }


/* ═══════════════════════════════════════════════════
   MODAL CHECKOUT
   ═══════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { border-color: var(--text-muted); color: var(--text-primary); }

.modal-header {
    margin-bottom: 28px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.modal-header p {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.checkout-summary {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 24px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.summary-row.total {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 8px;
    font-size: 16px;
}

.summary-row.total strong { color: var(--accent); font-size: 20px; }

.checkout-safe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}

.checkout-safe svg { width: 14px; height: 14px; color: var(--accent); }


/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-timeline { grid-template-columns: repeat(3, 1fr); }
    .steps-timeline::before { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px 0; }

    .nav-links, .nav-actions { display: none; }

    .nav-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        padding: 100px 32px 32px;
        gap: 24px;
        z-index: 998;
    }

    .nav-links.active a { font-size: 24px; }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 32px;
        left: 32px;
        right: 32px;
        z-index: 998;
        gap: 12px;
    }

    .nav-actions.active .btn-trial { width: 100%; text-align: center; justify-content: center; }

    .features-grid { grid-template-columns: 1fr; }
    .steps-timeline { grid-template-columns: 1fr; gap: 12px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }

    .cta-card { padding: 48px 24px; }

    .hero-title { letter-spacing: -1px; }

    .modal-card { padding: 28px; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
}
