:root{
    --bg: #0b0b10;
    --bg2:#0f0f18;
    --text:#f4f4ff;
    --muted:rgba(244,244,255,.72);
    --muted2:rgba(244,244,255,.55);
    --card: rgba(255,255,255,.06);
    --stroke: rgba(255,255,255,.10);
    --shadow: 0 18px 60px rgba(0,0,0,.45);

    /* Your accents */
    --a1:#f6a192; /* warm */
    --a2:#ca94f7; /* purple */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    background: radial-gradient(900px 420px at 20% 20%, rgba(246,161,146,.12), transparent 55%),
    radial-gradient(900px 420px at 80% 30%, rgba(202,148,247,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
    color:var(--text);
    font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset: 4px; }

.container{
    width:min(1100px, calc(100% - 40px));
    margin:0 auto;
}

.bg-grid{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background-image:
            linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);

    background-size: 48px 48px;

    /* scroll-driven offset */
    background-position: var(--grid-x) var(--grid-y);

    opacity: .55;

    mask-image: linear-gradient(
            to bottom,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,.85) 35%,
            rgba(0,0,0,.4) 65%,
            rgba(0,0,0,0) 100%
    );

    will-change: background-position;
}

.header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:22px 0;
}

.brand{ display:flex; align-items:center; gap:12px; }
.logo{
    width:14px; height:14px; border-radius:4px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    box-shadow: 0 0 0 6px rgba(246,161,146,.10), 0 0 0 12px rgba(202,148,247,.07);
}
.brand-name{ font-weight:650; letter-spacing:.2px; }

.nav{ display:flex; gap:18px; color:var(--muted); }
.nav a{ opacity:.9; }
.nav a:hover{ opacity:1; }

.hero{
    display:grid;
    grid-template-columns: 1.15fr .85fr;
    gap:28px;
    padding:42px 0 10px;
    align-items:start;
}

.pill{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:7px 12px;
    border:1px solid var(--stroke);
    background: rgba(255,255,255,.05);
    border-radius: 999px;
    color:var(--muted);
    width:max-content;
    box-shadow: var(--shadow);
}

h1{
    font-size: clamp(30px, 3.3vw, 46px);
    line-height:1.06;
    margin:16px 0 14px;
    letter-spacing:-.6px;
}

.lead{
    color:var(--muted);
    font-size: 1.05rem;
    max-width: 60ch;
    margin:0 0 20px;
}

.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 14px;
    border-radius: 12px;
    border:1px solid var(--stroke);
    background: rgba(255,255,255,.05);
    box-shadow: var(--shadow);
    font-weight:600;
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
    border-color: rgba(246,161,146,.35);
    background: linear-gradient(135deg, rgba(246,161,146,.22), rgba(202,148,247,.18));
}
.btn-ghost{
    color:var(--muted);
}

.fineprint{
    color:var(--muted2);
    margin-top:14px;
    font-size:.95rem;
}

.section{
    padding:48px 0 0;
}
.section h2{
    font-size: 1.45rem;
    margin:0 0 8px;
    letter-spacing:-.3px;
}
.muted{ color:var(--muted); margin:0 0 18px; }

.grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:14px;
}
.grid-2{
    grid-template-columns: repeat(2, 1fr);
}

.card{
    border:1px solid var(--stroke);
    background: rgba(255,255,255,.05);
    border-radius: 18px;
    padding:16px 16px 14px;
    box-shadow: var(--shadow);
}
.card h3{ margin:0 0 6px; font-size:1.05rem; }
.card p{ margin:0; color:var(--muted); }

.hero-right .terminal{
    padding:0;
    overflow:hidden;
}
.terminal-top{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 12px;
    border-bottom:1px solid var(--stroke);
    background: rgba(255,255,255,.04);
}
.dot{
    width:10px; height:10px; border-radius:999px;
    background: rgba(255,255,255,.18);
}
.terminal-title{
    margin-left:8px;
    color:var(--muted2);
    font-size:.9rem;
}
.terminal-body{
    margin:0;
    padding:14px 14px 4px;
    color: rgba(244,244,255,.85);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .92rem;
    white-space: pre-wrap;
}
.terminal-note{
    margin:0;
    padding: 0 14px 14px;
    color: var(--muted2);
    font-size: .9rem;
}

.stats{
    display:grid;
    grid-template-columns: 1fr;
    gap:12px;
    margin-top:12px;
}
.stat{
    border:1px solid var(--stroke);
    background: rgba(255,255,255,.04);
    border-radius: 16px;
    padding:12px 14px;
}
.stat-k{
    font-weight:650;
    letter-spacing:-.2px;
}
.stat-v{
    color:var(--muted);
    margin-top:2px;
}

.timeline{
    display:grid;
    gap:12px;
}
.step{
    display:grid;
    grid-template-columns: 90px 1fr;
    gap:12px;
    align-items:start;
}
.badge{
    width:max-content;
    padding:7px 12px;
    border-radius: 999px;
    border:1px solid var(--stroke);
    background: rgba(255,255,255,.04);
    color: var(--muted);
}
.step .content h3{
    margin:0 0 3px;
    font-size:1.05rem;
}
.step .content p{
    margin:0;
    color:var(--muted);
}

.footer-card{ margin-top:18px; }

.footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:34px 0 38px;
    gap:12px;
    flex-wrap:wrap;
}

@media (max-width: 920px){
    .hero{ grid-template-columns: 1fr; }
    .grid{ grid-template-columns: 1fr; }
    .grid-2{ grid-template-columns: 1fr; }
    .nav{ display:none; }
}

header, main, footer {
    position: relative;
    z-index: 1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
            1200px 600px at 50% 30%,
            rgba(0,0,0,0),
            rgba(0,0,0,.35)
    );
    z-index: 0;
}

:root{
    --grid-y: 0px;
    --grid-x: 0px;
}
