/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:root {
    --bg:        #0b1020;
    --bg-2:      #0e1530;
    --surface:   #121a38;
    --surface-2: #16224a;
    --line:      rgba(255,255,255,0.08);
    --text:      #eaf0ff;
    --muted:     #9fb0d8;
    --accent:    #54f0d6;
    --accent-2:  #7c9cff;
    --radius:    14px;
    --shadow:    0 10px 40px rgba(0,0,0,0.35);
    --maxw:      1140px;
}
body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 80% -10%, #1a2a5e 0%, transparent 60%),
                radial-gradient(900px 500px at -10% 10%, #11204a 0%, transparent 55%),
                var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.grad {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
    text-transform: uppercase; letter-spacing: .18em; font-size: .72rem;
    font-weight: 600; color: var(--accent); margin: 0 0 .6rem;
}

/* ===== Buttons ===== */
.btn-primary, .btn-outline, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .72rem 1.3rem; border-radius: 999px; font-weight: 600;
    font-family: "Sora", "Inter", sans-serif; border: 1px solid transparent;
    cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease;
    text-decoration: none;
}
.btn-primary { background: var(--accent); color: #052028; }
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; filter: brightness(1.05); }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-ghost { color: var(--text); border: 1px solid transparent; }
.btn-ghost:hover { color: var(--accent); border-color: var(--line); text-decoration: none; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11,16,32,0.72); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links > a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links > a:hover { color: var(--text); text-decoration: none; }
.nav-links > .btn-ghost { color: var(--text); padding: .5rem 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-mark { margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.8rem; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Sora", sans-serif; font-size: 1.6rem; color: var(--text); }
.hero-stats span { font-size: .8rem; color: var(--muted); }

.hero-card {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-card::before {
    content: ""; position: absolute; inset: -40% -20% auto; height: 160px;
    background: radial-gradient(closest-side, rgba(84,240,214,.28), transparent);
}
.hex {
    width: 84px; height: 84px; display: grid; place-items: center;
    font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.4rem;
    color: var(--accent);
    background: radial-gradient(circle, rgba(84,240,214,.15), transparent 70%);
    border: 1px solid var(--line); border-radius: 18px; margin-bottom: 1rem;
}
.code {
    margin: 0; padding: 1rem; background: rgba(0,0,0,.3); border: 1px solid var(--line);
    border-radius: 10px; font-size: .82rem; color: var(--muted); overflow: auto;
}
.code .ok { color: var(--accent); }

/* ===== Strip ===== */
.strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); padding: .9rem 0; }
.strip-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.strip-grid span { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* ===== Sections ===== */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section.alt { background: rgba(255,255,255,.02); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ===== Cards grid ===== */
.grid { display: grid; gap: 1.25rem; }
.cards { grid-template-columns: repeat(2, 1fr); }
.features { grid-template-columns: repeat(2, 1fr); }
.card {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(84,240,214,.4); transform: translateY(-3px); }
.card-icon {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border-radius: 12px; background: rgba(84,240,214,.12); color: var(--accent);
    font-family: "Sora", sans-serif; font-weight: 800; font-size: .9rem; letter-spacing: .04em;
    margin-bottom: .9rem;
}
.card-tag { color: var(--accent); font-size: .82rem; font-weight: 600; margin: -.2rem 0 .8rem; }
.card-list { margin: .4rem 0 1rem; padding-left: 1.1rem; color: var(--muted); }
.card-list li { margin: .25rem 0; }
.card-stack { font-size: .8rem; color: var(--accent-2); margin: 0; }

/* ===== Feature ===== */
.feature { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature h3 { color: var(--accent); }
.feature p, .feature code { color: var(--muted); }
.feature code { background: rgba(255,255,255,.06); padding: .1rem .35rem; border-radius: 6px; }

/* ===== Company ===== */
.company { display: grid; grid-template-columns: 1.4fr .9fr; gap: 3rem; align-items: start; }
.company-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; margin: 1.5rem 0 0; }
.company-meta div { border-left: 2px solid var(--accent); padding-left: .8rem; }
.company-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.company-meta dd { margin: .15rem 0 0; font-weight: 600; }
.mission { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.mission h3 { color: var(--accent); }

/* ===== Contact ===== */
.contact { max-width: 760px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; font-weight: 500; }
.field input, .field textarea {
    font: inherit; color: var(--text); background: var(--surface);
    border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem;
    transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.actions { flex-direction: row; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-note { color: var(--muted); font-size: .85rem; }
.contact-direct { margin-top: 2rem; }
.contact-direct ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.contact-direct li { color: var(--muted); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: rgba(0,0,0,.2); padding: 2.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 42ch; margin-top: .8rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { order: -1; max-width: 420px; }
    .company { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start;
        background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1rem 20px; gap: 1rem;
        transform: translateY(-120%); transition: transform .25s ease; }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .cards, .features { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-form { grid-template-columns: 1fr; }
    .company-meta { grid-template-columns: 1fr; }
    .strip-grid { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
