/* ─── Reset + base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --page:     hsl(240, 10%, 3.9%);       /* Aether Dark Canvas */
    --surface:  hsla(240, 10%, 10%, 0.45); /* Glassmorphic Panel BG */
    --line:     hsla(240, 10%, 80%, 0.08); /* Border color */
    --line-2:   hsla(240, 10%, 80%, 0.12);
    --ink:      hsl(0, 0%, 98%);           /* Primary Text */
    --ink-2:    hsl(240, 5%, 65%);         /* Secondary Text */
    --ink-3:    hsl(240, 5%, 45%);         /* Muted Text */
    --ink-4:    hsl(240, 5%, 35%);

    --action:   hsl(267, 100%, 63%);       /* Violet Accent */
    --action-l: hsl(267, 90%, 72%);        /* Lightened Violet */
    --action-bg:hsla(267, 100%, 63%, 0.18);

    /* lane/node colours — Aether Nav permits exactly two hues: the violet
       accent and the electric-cyan highlight. Lanes alternate between them. */
    --bp:       hsl(267, 100%, 63%);       /* Violet */
    --bp-bg:    hsla(267, 100%, 63%, 0.12);
    --ops:      hsl(190, 100%, 50%);       /* Electric Cyan */
    --ops-bg:   hsla(190, 100%, 50%, 0.12);
    --work:     hsl(267, 100%, 63%);       /* Violet */
    --work-bg:  hsla(267, 100%, 63%, 0.12);
    --ppl:      hsl(190, 100%, 50%);       /* Electric Cyan */
    --ppl-bg:   hsla(190, 100%, 50%, 0.12);
    --rpt:      hsl(267, 100%, 63%);       /* Violet */
    --rpt-bg:   hsla(267, 100%, 63%, 0.12);
    --mob:      hsl(190, 100%, 50%);
    --mob-bg:   hsla(190, 100%, 50%, 0.12);

    --sec:      hsl(267, 100%, 63%);
    --sec-bg:   hsla(267, 100%, 63%, 0.12);

    /* Aether Nav radius scale: 8 / 12 / 20 */
    --r:        8px;
    --r-md:     12px;
    --r-lg:     20px;
    --r-xl:     20px;
    /* Premium spring animation easing curves (Aether Nav) */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-spring-heavy: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-snappy: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-fluid: cubic-bezier(0.25, 1, 0.5, 1);

    --shadow-sm:0 2px 8px rgba(0,0,0,.3);
    --shadow:   0 10px 30px rgba(0,0,0,.4);
    --shadow-lg:0 20px 50px rgba(0,0,0,.5);
    --topbar-h: 64px;
}

@keyframes orbitIn { from { opacity:0; transform:scale(.94) translateY(12px); } to { opacity:1; transform:none; } }
@keyframes cardSlideRight { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:none; } }
@keyframes cardSlideLeft  { from { opacity:0; transform:translateX(12px);  } to { opacity:1; transform:none; } }

html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--page);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Glows (Aether Nav) */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}
.glow-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, hsla(267, 100%, 63%, 0.12) 0%, transparent 70%);
    top: -20vh;
    right: -10vw;
}
.glow-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, hsla(190, 100%, 50%, 0.10) 0%, transparent 70%);
    bottom: -10vh;
    left: -10vw;
}
.glow-3 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, hsla(267, 100%, 63%, 0.08) 0%, transparent 75%);
    top: 40vh;
    left: 30vw;
}

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--topbar-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px;
    background: rgba(10, 10, 12, 0.7) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--ink);
    font-size: 15px; font-weight: 800; letter-spacing: -.015em;
}
.brand-mark {
    width: 30px; height: 30px; flex-shrink: 0; display: block;
}
.brand-mark rect:first-child { fill: var(--action) !important; }
.brand-mark path { fill: var(--action) !important; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
    color: var(--ink-2); font-size: 13px; font-weight: 600;
    text-decoration: none; padding: 7px 12px; border-radius: var(--r);
    transition: color 120ms, background 120ms;
}
.site-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }

.site-nav .login-link {
    margin-left: 10px;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: var(--r-md);
    background: var(--action); color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px var(--action-bg);
    transition: background 140ms, box-shadow 140ms;
}
.site-nav .login-link:hover {
    background: var(--action-l);
    box-shadow: 0 6px 18px var(--action-bg);
}
.login-link .ti { font-size: 15px; opacity: .75; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center;
    max-width: 1160px; margin: 0 auto;
    padding: 80px 48px 100px;
    min-height: calc(100vh - var(--topbar-h));
}

.eyebrow {
    display: inline-block; margin-bottom: 16px;
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
    color: var(--action);
}

.hero-copy h1 {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: var(--ink);
    margin-bottom: 20px;
}
.hero-text {
    font-size: 17px; color: var(--ink-2); line-height: 1.78;
    max-width: 480px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.primary-action {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px; border-radius: var(--r-md);
    background: var(--action); color: #fff;
    font-size: 14px; font-weight: 700; text-decoration: none;
    box-shadow: 0 4px 16px var(--action-bg);
    transition: background 160ms var(--ease-fluid), transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-snappy);
}
.primary-action:hover {
    background: var(--action-l); transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--action-bg);
}
.primary-action .ti { font-size: 15px; opacity: .75; }

.secondary-action {
    display: inline-flex; align-items: center;
    padding: 13px 24px; border-radius: var(--r-md);
    border: 1.5px solid var(--line);
    color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none;
    transition: border-color 140ms, color 140ms, background 140ms;
    background: transparent;
}
.secondary-action:hover { border-color: var(--action-l); color: var(--ink); background: rgba(255,255,255,0.02); }

/* Hero visual */
.hero-visual { display: flex; flex-direction: column; gap: 14px; }

.signal-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 16px 20px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 4px;
}
.signal-card span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.signal-card strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.signal-card.command { border-left: 3px solid var(--action); align-self: flex-start; min-width: 220px; }
.signal-card.proof   { border-left: 3px solid var(--sec);    align-self: flex-end;   min-width: 220px; }

.orbit-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 22px;
    box-shadow: var(--shadow-lg);
    animation: orbitIn .5s cubic-bezier(.34,1.2,.64,1) .2s both;
}
.signal-card.command { animation: cardSlideRight .4s ease .1s both; }
.signal-card.proof   { animation: cardSlideLeft  .4s ease .3s both; }
.node {
    padding: 12px 8px; border-radius: var(--r-md);
    font-size: 12px; font-weight: 800; text-align: center;
    letter-spacing: -.01em;
    transition: transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-snappy);
}
.node:hover { transform: scale(1.04); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.node.blueprint { background: var(--bp-bg);   color: var(--bp);   }
.node.sites     { background: var(--ops-bg);  color: var(--ops);  }
.node.work      { background: var(--work-bg); color: var(--work); }
.node.people    { background: var(--ppl-bg);  color: var(--ppl);  }
.node.reports   { background: var(--rpt-bg);  color: var(--rpt);  }
.node.mobile    { background: var(--mob-bg);  color: var(--mob);  }

/* ─── Trust strip ───────────────────────────────────────────────────────────── */
.trust-strip {
    background: var(--surface);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 8px 36px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.trust-strip > div {
    display: flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.trust-icon {
    font-size: 18px; color: var(--action); flex-shrink: 0;
}

/* ─── Full-width section wrappers ───────────────────────────────────────────── */
.section-wrap { width: 100%; position: relative; }

.flow-wrap    { background: linear-gradient(180deg, var(--page) 0%, rgba(20,20,25,0.4) 100%); border-top: 1px solid var(--line); }
.security-wrap { background: var(--page); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-wrap { background: rgba(10,10,12,0.8); }

/* ─── Shared section layout ─────────────────────────────────────────────────── */
.section { max-width: 1160px; margin: 0 auto; padding: 96px 48px; }

.section-heading { max-width: 620px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 {
    font-size: clamp(24px, 3.4vw, 40px);
    font-weight: 900; letter-spacing: -.03em; line-height: 1.12;
    color: var(--ink); margin-bottom: 14px;
}
.section-heading p { font-size: 16px; color: var(--ink-2); line-height: 1.75; }

/* ─── Flow section ──────────────────────────────────────────────────────────── */
.flow-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.flow-lane {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 26px 20px 22px;
    display: flex; flex-direction: column; gap: 12px;
    position: relative;
    transition: box-shadow 240ms var(--ease-snappy), transform 240ms var(--ease-snappy), border-color 240ms var(--ease-snappy);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.flow-lane:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--action-l) !important; }

.flow-lane.blueprint  { border-top: 4px solid var(--bp) !important;   }
.flow-lane.operations { border-top: 4px solid var(--ops) !important;  }
.flow-lane.work       { border-top: 4px solid var(--work) !important; }
.flow-lane.people     { border-top: 4px solid var(--ppl) !important;  }
.flow-lane.reports    { border-top: 4px solid var(--rpt) !important;  }

.flow-lane::before { display: none !important; }

/* Arrow between lanes */
.flow-lane:not(:last-child)::after {
    content: '→'; position: absolute; right: -18px; top: 40px; z-index: 2;
    font-size: 18px; color: var(--ink-3); line-height: 1; pointer-events: none;
}

.lane-title { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lane-icon {
    width: 34px; height: 34px; border-radius: var(--r); flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.flow-lane.blueprint  .lane-icon { background: var(--bp-bg);   color: var(--bp);   }
.flow-lane.operations .lane-icon { background: var(--ops-bg);  color: var(--ops);  }
.flow-lane.work       .lane-icon { background: var(--work-bg); color: var(--work); }
.flow-lane.people     .lane-icon { background: var(--ppl-bg);  color: var(--ppl);  }
.flow-lane.reports    .lane-icon { background: var(--rpt-bg);  color: var(--rpt);  }

.lane-title h3 { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }

.flow-lane > p { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

.flow-lane ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.flow-lane ul li {
    font-size: 12px; font-weight: 600; color: var(--ink-2);
    padding: 7px 10px; border-radius: var(--r); background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
}
.flow-lane.blueprint  ul li { border-left: 2.5px solid var(--bp);   }
.flow-lane.operations ul li { border-left: 2.5px solid var(--ops);  }
.flow-lane.work       ul li { border-left: 2.5px solid var(--work); }
.flow-lane.people     ul li { border-left: 2.5px solid var(--ppl);  }
.flow-lane.reports    ul li { border-left: 2.5px solid var(--rpt);  }

/* ─── Security section ──────────────────────────────────────────────────────── */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.security-grid article {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 26px;
    display: grid; grid-template-rows: auto auto 1fr; gap: 10px;
    transition: box-shadow 240ms var(--ease-snappy), transform 240ms var(--ease-snappy), border-color 240ms var(--ease-snappy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.security-grid article:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--action-l) !important; }

.security-icon {
    width: 40px; height: 40px; border-radius: var(--r-md);
    background: var(--sec-bg); color: var(--action);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.security-grid article h3 { font-size: 14px; font-weight: 800; color: var(--ink); }
.security-grid article p  { font-size: 13px; color: var(--ink-2); line-height: 1.65; }

/* ─── Experience section ────────────────────────────────────────────────────── */
.experience-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.experience-grid article {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 26px 20px;
    display: flex; flex-direction: column; gap: 10px;
    transition: box-shadow 240ms var(--ease-snappy), transform 240ms var(--ease-snappy), border-color 240ms var(--ease-snappy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.experience-grid article:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--action-l) !important; }

.experience-grid article span {
    display: block; font-size: 26px; font-weight: 900; letter-spacing: -.04em;
    line-height: 1; margin-bottom: 4px;
    background: linear-gradient(135deg, var(--action) 20%, var(--ops) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.experience-grid article h3 { font-size: 15px; font-weight: 800; color: var(--ink); }
.experience-grid article p  { font-size: 12px; color: var(--ink-3); line-height: 1.65; }

/* ─── CTA section ───────────────────────────────────────────────────────────── */
.cta {
    background: hsla(240, 10%, 10%, 0.6); padding: 96px 48px;
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.cta .eyebrow { color: var(--action-l); margin-bottom: 0; }
.cta h2 {
    font-size: clamp(24px, 3.4vw, 42px);
    font-weight: 900; letter-spacing: -.03em; line-height: 1.12;
    color: #fff; max-width: 560px;
}
.cta > p { font-size: 15px; color: var(--ink-2); max-width: 440px; }
.cta .primary-action {
    margin-top: 12px;
    background: var(--action); color: #fff;
    box-shadow: 0 4px 24px var(--action-bg);
    padding: 15px 32px; font-size: 15px;
}
.cta .primary-action:hover { background: var(--action-l); transform: translateY(-1px); box-shadow: 0 8px 32px var(--action-bg); }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
    background: hsl(240, 10%, 3.9%);
    border-top: 1px solid var(--line);
    padding: 22px 48px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand rect:first-child { fill: var(--action) !important; }
.footer-brand path { fill: var(--action) !important; }

.footer-mark { width: 20px; height: 20px; flex-shrink: 0; }
.footer-brand > span { font-size: 13px; font-weight: 800; color: rgba(255,255,255,.3); }
.site-footer nav { display: flex; gap: 2px; }
.site-footer nav a {
    color: var(--ink-3); font-size: 13px; font-weight: 600;
    text-decoration: none; padding: 5px 10px; border-radius: var(--r);
    transition: color 120ms;
}
.site-footer nav a:hover { color: var(--ink); }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .hero { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding: 60px 48px 80px; }
    .hero-visual { max-width: 480px; }
    .flow-map { grid-template-columns: repeat(3, 1fr); }
    .flow-lane:nth-child(3)::after,
    .flow-lane:last-child::after { display: none; }
    .experience-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .site-header { padding: 0 18px; }
    .site-nav a:not(.login-link) { display: none; }
    .hero, .section, .cta { padding-left: 20px; padding-right: 20px; }
    .trust-strip { padding: 14px 20px; }
    .flow-map { grid-template-columns: repeat(2, 1fr); }
    .flow-lane::after { display: none; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer { padding: 20px; }
}
@media (max-width: 480px) {
    .flow-map, .security-grid { grid-template-columns: 1fr; }
    .experience-grid { grid-template-columns: 1fr 1fr; }
    .orbit-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-copy h1 { font-size: 28px; }
}
