:root {
    --bg: #0A0C10;
    --bg-raised: #0E1117;
    --surface: #151921;
    --surface-hover: #1A1F2B;
    --border: #1E2533;
    --border-bright: #2A3345;
    --text: #E8ECF2;
    --text-secondary: #8B95A8;
    --text-muted: #5A6478;
    --accent: #7DE3FF;
    --accent-dim: rgba(125, 227, 255, 0.08);
    --accent-glow: rgba(125, 227, 255, 0.15);
    --gold: #C9A227;
    --gold-dim: rgba(201, 162, 39, 0.08);
    --gold-glow: rgba(201, 162, 39, 0.15);
    --green: #63E6BE;
    --red: #FF6B6B;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-w: 1140px;
    --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* === Ambient background === */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(125, 227, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* === Noise overlay === */
.noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* === Nav === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.nav-brand-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border: 1px solid rgba(125, 227, 255, 0.12);
    border-radius: 8px;
}
.nav-brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.nav-brand-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--border-bright); background: var(--surface-hover); transform: translateY(-1px); }
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--bg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-gold:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }
.arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow, .btn-gold:hover .arrow { transform: translateX(3px); }

/* === Mobile toggle === */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === Hero === */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: var(--gold-dim);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 100px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.hero-stats-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.hero-stats-inline strong { color: var(--accent); font-weight: 600; }
.stat-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-bright);
}
.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* === Stats Bar === */
.stats-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-raised);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-card {}
.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    font-family: var(--font-mono);
}
.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === Section headers === */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-dim);
    border: 1px solid rgba(125, 227, 255, 0.12);
    border-radius: 100px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* === Pricing === */
.pricing {
    padding: 100px 0;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}
.pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: 0 auto;
    gap: 24px;
}
.price-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s;
}
.price-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(to bottom, rgba(125, 227, 255, 0.04), var(--bg-raised));
    box-shadow: 0 0 40px rgba(125, 227, 255, 0.08);
}
.price-card.sovereign {
    border-color: var(--gold);
    background: linear-gradient(to bottom, rgba(201, 162, 39, 0.04), var(--bg-raised));
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: var(--bg);
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.price-tier {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.price-amount {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}
.price-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}
.price-features {
    list-style: none;
    margin-bottom: 28px;
}
.price-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 20px;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
}

/* === Services === */
.services {
    padding: 100px 0;
    background: var(--bg-raised);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}
.service-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.service-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.service-price {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
}

/* === Why === */
.why {
    padding: 100px 0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.why-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s;
}
.why-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}
.why-icon {
    font-size: 28px;
    margin-bottom: 16px;
}
.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Testimonials === */
.testimonials {
    padding: 100px 0;
    background: var(--bg-raised);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid rgba(125, 227, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}
.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}
.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* === CTA Section === */
.cta-section {
    padding: 100px 0;
}
.cta-box {
    text-align: center;
    padding: 72px 48px;
    background: linear-gradient(135deg, rgba(125, 227, 255, 0.06), rgba(201, 162, 39, 0.06));
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-box h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.cta-box p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
}
.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* === Footer === */
footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-raised);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
}
.footer-corporate {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}
.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-2 { grid-template-columns: 1fr; max-width: 400px; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 12, 16, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 4px;
    }
    .nav-links.active .nav-link {
        padding: 12px 14px;
    }
    .nav-links.active .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 32px; }
    .hero-stats-inline { gap: 12px; }
    .stat-divider { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 15px; }
    .price-amount { font-size: 30px; }
    .stat-value { font-size: 24px; }
}
