:root {
    --brand-black: #0a0a0a;
    --brand-dark: #111111;
    --brand-darker: #1a1a1a;
    --teal-primary: #00f5d4;
    --teal-secondary: #00d4aa;
    --teal-dim: rgba(0, 245, 212, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #666666;
    --shadow-glow: 0 0 20px rgba(0, 245, 212, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(0, 245, 212, 0.4);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.8);
    --gradient-teal: linear-gradient(135deg, #00f5d4, #00d4aa);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(0, 245, 212, 0.03) 59px, rgba(0, 245, 212, 0.03) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(0, 245, 212, 0.03) 59px, rgba(0, 245, 212, 0.03) 60px),
        var(--brand-black);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

body::after {
    content: '';
    position: fixed; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(0, 245, 212, 0.35) 50%, transparent 95%);
    box-shadow: 0 0 20px 4px rgba(0, 245, 212, 0.12);
    animation: scanline 6s linear infinite;
    pointer-events: none;
    z-index: 9999;
}
@keyframes scanline { 0% { top: -2px; } 100% { top: 100vh; } }

a { color: var(--teal-primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: #33f7dd; }

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--brand-darker);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-icon {
    width: 36px; height: 36px;
    background: var(--gradient-teal);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--teal-primary);
    box-shadow: var(--shadow-glow);
}
.nav-logo-icon svg { width: 18px; height: 18px; color: var(--brand-black); }
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem; font-weight: 700;
    color: var(--teal-primary);
    letter-spacing: 0.02em;
}
.nav-logo-sub {
    font-size: 0.6rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 1px;
}
.nav-right { display: flex; gap: 2rem; align-items: center; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--teal-primary); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.625rem 1.25rem; border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600; font-size: 0.8rem;
    letter-spacing: 0.02em;
    transition: all 0.3s; cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--gradient-teal);
    color: var(--brand-black);
    border-color: var(--teal-primary);
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: var(--shadow-glow-lg); transform: translateY(-1px) scale(1.02); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
    background: var(--brand-dark);
    color: var(--teal-primary);
    border-color: var(--teal-primary);
}
.btn-secondary:hover { background: var(--teal-dim); box-shadow: var(--shadow-glow); }
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--brand-darker);
}
.btn-ghost:hover { border-color: var(--teal-primary); color: var(--teal-primary); }
.btn-lg { padding: 0.5rem 2rem; font-size: 0.875rem; }

/* Hero */
.hero {
    padding: 10rem 2rem 6rem; text-align: center;
    max-width: 850px; margin: 0 auto;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,245,212,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.375rem 1rem;
    border: 2px solid var(--brand-darker);
    border-radius: 12px;
    font-size: 0.7rem; font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal-primary);
    box-shadow: 0 0 8px var(--teal-primary);
    animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 800;
    line-height: 1.15; margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero h1 span { color: var(--teal-primary); }
.hero p {
    font-size: 1rem; font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Stats */
.stats {
    display: flex; justify-content: center; gap: 3rem;
    margin-top: 4rem; padding-top: 3rem;
    border-top: 2px solid var(--brand-darker);
    flex-wrap: wrap;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 800;
    color: var(--teal-primary);
}
.stat-label {
    font-size: 0.7rem; font-weight: 400;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sections */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}
.section-header p {
    font-size: 0.875rem; font-weight: 300;
    color: var(--text-secondary);
    max-width: 500px; margin: 0 auto;
}

/* Cards */
.card {
    background: var(--brand-dark);
    border: 2px solid var(--brand-darker);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}
.card:hover { border-color: var(--teal-primary); box-shadow: var(--shadow-glow), var(--shadow-card); }
.card-icon {
    width: 44px; height: 44px;
    background: var(--gradient-teal);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    border: 2px solid var(--teal-primary);
    box-shadow: var(--shadow-glow);
}
.card-icon svg { width: 20px; height: 20px; color: var(--brand-black); }
.card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600;
    margin-bottom: 0.625rem;
    letter-spacing: 0.02em;
}
.card p {
    color: var(--text-secondary);
    font-size: 0.8rem; font-weight: 300;
    line-height: 1.7;
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.step { text-align: center; padding: 2rem; }
.step-num {
    width: 44px; height: 44px;
    background: var(--gradient-teal);
    color: var(--brand-black);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700; font-size: 1rem;
    margin-bottom: 1.25rem;
    border: 2px solid var(--teal-primary);
    box-shadow: var(--shadow-glow);
}
.step h3 {
    font-family: var(--font-display);
    font-size: 0.9rem; font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
.step p { color: var(--text-secondary); font-size: 0.8rem; font-weight: 300; }

/* Pricing */
.pricing-alt { background: rgba(17, 17, 17, 0.5); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.pricing-card {
    background: var(--brand-dark);
    border: 2px solid var(--brand-darker);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--brand-darker); }
.pricing-card.featured { border-color: var(--teal-primary); box-shadow: var(--shadow-glow), var(--shadow-card); }
.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}
.pricing-card .price {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 800;
    color: var(--teal-primary);
    margin: 1rem 0;
}
.pricing-card .price small { font-size: 0.75rem; color: var(--text-secondary); font-weight: 400; font-family: var(--font-body); }
.pricing-card ul { list-style: none; text-align: left; margin: 1.5rem 0; }
.pricing-card li {
    padding: 0.375rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem; font-weight: 300;
    display: flex; align-items: center; gap: 0.625rem;
}
.pricing-card li::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--teal-primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--teal-primary);
}

/* CTA */
.cta-section { text-align: center; padding: 5rem 2rem; position: relative; }
.cta-section::before {
    content: '';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 500px; height: 300px;
    background: radial-gradient(circle, rgba(0,245,212,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-section p { color: var(--text-secondary); font-size: 0.875rem; font-weight: 300; margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 2px solid var(--brand-darker); }
.faq-question {
    width: 100%; background: none; border: none; color: var(--text-primary);
    font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
    text-align: left; padding: 1.5rem 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    letter-spacing: 0.02em;
}
.faq-question:hover { color: var(--teal-primary); }
.faq-question .faq-toggle {
    width: 24px; height: 24px; color: var(--teal-primary);
    transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
    padding: 0 0 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem; font-weight: 300;
    line-height: 1.8;
}

/* Page hero (subpages) */
.page-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.25rem; font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 0.95rem; font-weight: 300;
}

/* Prose content (for about, privacy, terms) */
.prose { max-width: 750px; margin: 0 auto; }
.prose h2 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
    margin: 2.5rem 0 1rem;
    letter-spacing: 0.02em;
}
.prose h3 {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600;
    margin: 2rem 0 0.75rem;
}
.prose p {
    color: var(--text-secondary);
    font-size: 0.85rem; font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.prose ul { margin: 0.5rem 0 1.5rem 1.5rem; }
.prose li {
    color: var(--text-secondary);
    font-size: 0.85rem; font-weight: 300;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Footer */
footer {
    border-top: 2px solid var(--brand-darker);
    padding: 2rem;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { color: var(--text-tertiary); font-size: 0.7rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-tertiary); font-size: 0.7rem; }
.footer-links a:hover { color: var(--teal-primary); }

/* Animations */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Mobile */
@media (max-width: 768px) {
    .hero { padding: 8rem 1.5rem 4rem; }
    .hero h1 { font-size: 2rem; }
    .hero::before { width: 300px; height: 300px; }
    section { padding: 3.5rem 1.5rem; }
    .section-header h2 { font-size: 1.35rem; }
    .nav-links { display: none; }
    .stats { gap: 1.5rem; }
    .stat-value { font-size: 1.25rem; }
    .page-hero h1 { font-size: 1.75rem; }
}
