:root {
    --bg: #04080f;
    --surface: #0b1120;
    --surface2: #111827;
    --accent: #f97316;
    --accent2: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.25);
    --blue: #3b82f6;
    --blue-dim: rgba(59, 130, 246, 0.15);
    --text: #f1f5f9;
    --muted: #64748b;
    --border: rgba(255,255,255,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── GRAIN OVERLAY ── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* ── GRID LINES ── */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image:
            linear-gradient(var(--border) 1px, transparent 1px),
            linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

/* ── AMBIENT GLOW ── */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.glow-blob-1 {
    width: 600px; height: 400px;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.glow-blob-2 {
    width: 400px; height: 400px;
    bottom: 20%; right: -100px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.1) 0%, transparent 70%);
}

/* ── LAYOUT ── */
.wrapper {
    position: relative; z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(4,8,15,0.9) 0%, transparent 100%);
    backdrop-filter: blur(4px);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1100px; margin: 0 auto; padding: 0 32px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text);
}
.logo-mark {
    width: 32px; height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}
.nav-pill {
    font-size: 13px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 120px 32px 80px;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px;
    color: var(--accent);
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.2);
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 36px;
    animation: fadeSlideDown 0.8s ease both;
}
.hero-tag-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(44px, 8vw, 88px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 28px;
    animation: fadeSlideDown 0.8s 0.1s ease both;
}
h1 span.accent { color: var(--accent); }
h1 .dim { color: var(--muted); }

.hero-sub {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 52px;
    animation: fadeSlideDown 0.8s 0.2s ease both;
}

/* ── EMAIL FORM ── */
.signup-form {
    display: flex; gap: 0;
    /*max-width: 460px; width: 100%;*/
    max-width: 220px; width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(249,115,22,0.3);
    box-shadow: 0 0 40px rgba(249,115,22,0.08), 0 0 0 4px rgba(249,115,22,0.04);
    animation: fadeSlideDown 0.8s 0.3s ease both;
    margin-bottom: 16px;
    justify-content: space-around;
}
.signup-form input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    background: var(--surface);
    border: none;
    color: var(--text);
    outline: none;
}
.signup-form input[type="email"]::placeholder { color: var(--muted); }
.signup-form button {
    padding: 16px 24px;
    background: var(--accent);
    color: white;
    border: none;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}
.signup-form button:hover { background: var(--accent2); }
.signup-form button:active { transform: scale(0.98); }

.signup-form,
.cta-email-row {
    flex-wrap: wrap;
}

.signup-form input[type="email"],
.cta-email-row input[type="email"] {
    min-width: 0;
}

.signup-form button[disabled],
.cta-email-row button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.inline-link {
    color: var(--accent);
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

[data-role="message"] {
    width: 100%;
    display: none;
    /*margin-top: 12px;*/
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text);
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    animation: fadeSlideDown 0.8s 0.4s ease both;
}

/* ── DIVIDER ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
    margin: 60px 0;
}

/* ── FEATURES ── */
.features {
    padding: 80px 0 100px;
}
.section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 60px;
    max-width: 560px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.feature-card {
    background: var(--surface);
    padding: 36px 32px;
    transition: background 0.25s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249,115,22,0.4), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}
.feature-card:hover { background: var(--surface2); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    background: var(--surface2);
    border: 1px solid var(--border);
}
.feature-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── SECTORS ── */
.sectors {
    padding: 80px 0;
}
.sector-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sector-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 40px 36px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}
.sector-card:hover {
    border-color: rgba(249,115,22,0.3);
    transform: translateY(-2px);
}
.sector-card.large {
    grid-column: span 2;
    display: flex; align-items: center; gap: 40px;
}
.sector-badge {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.sector-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}
.sector-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 360px;
}
.sector-art {
    flex-shrink: 0;
    width: 200px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    font-size: 64px;
    background: var(--surface2);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.sector-card .coming-soon-badge {
    display: inline-block;
    margin-top: 14px;
    font-size: 11px;
    background: var(--blue-dim);
    color: var(--blue);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: 0.08em;
}

/* ── STATS ── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 60px 0;
}
.stat {
    background: var(--surface);
    padding: 36px 32px;
    text-align: center;
}
.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: var(--muted);
}

/* ── CTA BOTTOM ── */
.cta-section {
    padding: 80px 0 120px;
    text-align: center;
}
.cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 72px 40px;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-glow {
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 200px;
    background: radial-gradient(ellipse, rgba(249,115,22,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.cta-box p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 36px;
}
.cta-email-row {
    display: flex; gap: 0; justify-content: center;
    max-width: 420px;
    margin: 0 auto 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(249,115,22,0.3);
}
.cta-email-row input[type="email"] {
    flex: 1; padding: 14px 18px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    border: none; color: var(--text);
    outline: none;
}
.cta-email-row input[type="email"]::placeholder { color: var(--muted); }
.cta-email-row button {
    padding: 14px 22px;
    background: var(--accent);
    color: white; border: none;
    font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.cta-email-row button:hover { background: var(--accent2); }

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-left {
    font-size: 13px;
    color: var(--muted);
}
.footer-left a {
    color: var(--accent);
    text-decoration: none;
}
.footer-right {
    font-size: 12px;
    color: var(--muted);
    opacity: 0.6;
}

/* ── ANIMATIONS ── */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.legal-page {
    padding: 140px 0 80px;
    position: relative;
    z-index: 1;
}

.legal-wrapper {
    max-width: 900px;
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
}

.legal-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.legal-updated {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 36px;
}

.legal-section + .legal-section {
    margin-top: 28px;
}

.legal-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.legal-section p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-back {
    margin-top: 36px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
    .sector-row { grid-template-columns: 1fr; }
    .sector-card.large { flex-direction: column; gap: 20px; }
    .sector-card.large { grid-column: span 1; }
    .stats-bar { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .nav-pill { display: none; }
    .legal-card { padding: 32px 22px; }
}