/* ============================================================
   GreatWhiteShark Security Group — gwssg
   ============================================================ */

:root {
    --bg-deep: #02060d;
    --bg-base: #060c18;
    --bg-elev: #0a1424;
    --bg-card: #0d1a2d;
    --line: rgba(108, 165, 220, 0.12);
    --line-strong: rgba(108, 165, 220, 0.28);
    --ink: #e6eef9;
    --ink-dim: #8aa2c0;
    --ink-mute: #5a7088;
    --accent: #4ad6ff;
    --accent-2: #2487ff;
    --danger: #ff3d57;
    --warn: #ffb547;
    --ok: #2bd884;
    --shark: #d8e5f1;
    --grad-blue: linear-gradient(135deg, #2487ff 0%, #4ad6ff 100%);
    --grad-deep: linear-gradient(180deg, #02060d 0%, #060c18 60%, #0a1424 100%);
    --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--bg-deep);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(36, 135, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 10%, rgba(74, 214, 255, 0.08), transparent 50%),
        var(--bg-deep);
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ink); }

img { max-width: 100%; display: block; }

::selection { background: var(--accent-2); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1a2942; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2a4470; }

/* ============================================================
   Layout
   ============================================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    padding: 96px 0;
}

.section-head {
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
    max-width: 760px;
}

.section-title em {
    font-style: normal;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    margin-top: 20px;
    font-size: 18px;
    color: var(--ink-dim);
    max-width: 680px;
}

/* ============================================================
   Top bar / Navigation
   ============================================================ */

.demo-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 16px;
    text-align: center;
    background: linear-gradient(90deg, rgba(255, 181, 71, 0.16), rgba(255, 181, 71, 0.08));
    border-bottom: 1px solid rgba(255, 181, 71, 0.35);
    color: var(--warn);
    font-family: var(--mono);
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.demo-banner strong { color: #ffd9a1; font-weight: 700; }

.topbar {
    position: fixed;
    top: 34px; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    background: rgba(2, 6, 13, 0.72);
    border-bottom: 1px solid var(--line);
    transition: padding .2s ease;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-name {
    font-size: 15px;
    line-height: 1;
}

.brand-name small {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    padding: 8px 14px;
    color: var(--ink-dim);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}

.nav a:hover, .nav a.active {
    color: var(--ink);
    background: rgba(74, 214, 255, 0.06);
}

.nav-cta {
    margin-left: 12px;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    width: 40px; height: 40px;
    color: var(--ink);
    cursor: pointer;
    align-items: center; justify-content: center;
}

.burger svg { width: 18px; height: 18px; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-blue);
    color: #001022;
    box-shadow: 0 0 0 1px rgba(74, 214, 255, .3), 0 8px 28px -10px rgba(74, 214, 255, .55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(74, 214, 255, .6), 0 14px 40px -12px rgba(74, 214, 255, .8);
    color: #001022;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(74, 214, 255, 0.04);
}

.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#globeCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .9;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 50%, transparent 0%, var(--bg-deep) 85%),
        linear-gradient(180deg, transparent 60%, var(--bg-deep) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 214, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 214, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(13, 26, 45, 0.6);
    backdrop-filter: blur(10px);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.hero-tag .pill {
    background: var(--grad-blue);
    color: #001022;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 24px 0 24px;
    color: var(--ink);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ffffff 0%, #4ad6ff 50%, #2487ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-dim);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 56px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-meta-item {
    border-left: 1px solid var(--line-strong);
    padding-left: 16px;
}

.hero-meta-num {
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.hero-meta-lbl {
    font-size: 12px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 2px;
}

/* Live feed panel (hero right) */
.live-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(13, 26, 45, 0.85) 0%, rgba(6, 12, 24, 0.85) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    box-shadow:
        0 30px 80px -30px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.live-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.live-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.dot-pulse {
    width: 8px; height: 8px;
    background: var(--ok);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(43, 216, 132, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(43, 216, 132, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(43, 216, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 216, 132, 0); }
}

.live-panel-meta {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
}

.live-feed {
    height: 360px;
    overflow: hidden;
    position: relative;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.55;
}

.live-feed::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(180deg, transparent, rgba(6, 12, 24, 1));
    pointer-events: none;
}

.live-line {
    padding: 6px 18px;
    border-bottom: 1px solid rgba(108, 165, 220, 0.05);
    color: var(--ink-dim);
    display: grid;
    grid-template-columns: 78px 64px 1fr;
    gap: 12px;
    animation: feedIn .4s ease both;
}

.live-line .ts { color: var(--ink-mute); }
.live-line .sev { font-weight: 600; }
.live-line .sev.crit { color: var(--danger); }
.live-line .sev.high { color: var(--warn); }
.live-line .sev.med  { color: var(--accent); }
.live-line .sev.low  { color: var(--ok); }
.live-line .msg em { color: var(--ink); font-style: normal; }

@keyframes feedIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.live-panel-foot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
}

.live-stat {
    padding: 14px 16px;
    border-right: 1px solid var(--line);
}

.live-stat:last-child { border-right: none; }

.live-stat-num {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.live-stat-lbl {
    font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 2px;
}

/* Trust strip */
.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
    background: rgba(13, 26, 45, 0.4);
    overflow: hidden;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.trust-strip-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid var(--line);
    padding-right: 40px;
}

/* ============================================================
   Marquee (partners)
   ============================================================ */

.marquee {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-track .partner {
    color: var(--ink-mute);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color .2s ease;
}

.marquee-track .partner:hover { color: var(--ink); }
.marquee-track .partner svg { width: 22px; height: 22px; opacity: .8; }

@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   Capabilities grid (What We Do)
   ============================================================ */

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.cap {
    padding: 32px 28px;
    background: var(--bg-card);
    transition: background .2s ease;
    position: relative;
    min-height: 240px;
}

.cap:hover {
    background: #11203a;
}

.cap-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(74, 214, 255, 0.12), rgba(36, 135, 255, 0.04));
    border: 1px solid var(--line-strong);
    display: grid; place-items: center;
    color: var(--accent);
    margin-bottom: 18px;
}

.cap-icon svg { width: 22px; height: 22px; }

.cap h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--ink);
}

.cap p {
    font-size: 14.5px;
    color: var(--ink-dim);
    line-height: 1.6;
}

.cap-tag {
    position: absolute;
    top: 20px; right: 20px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================
   Why us / split sections
   ============================================================ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-imgwrap {
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 4/3;
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list .check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(74, 214, 255, 0.12);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: grid; place-items: center;
    margin-top: 2px;
}

.feature-list .check svg { width: 12px; height: 12px; }

.feature-list strong {
    display: block;
    font-size: 15.5px;
    color: var(--ink);
    margin-bottom: 2px;
    font-weight: 600;
}

.feature-list span { font-size: 14px; color: var(--ink-dim); }

/* ============================================================
   AI section
   ============================================================ */

.ai {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(36, 135, 255, 0.12), transparent 70%),
        var(--bg-base);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ai-card {
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(13, 26, 45, 0.7), rgba(6, 12, 24, 0.85));
    padding: 56px 48px;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(74, 214, 255, 0.4), transparent 50%, rgba(36, 135, 255, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: .6;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pipeline {
    position: relative;
    font-family: var(--mono);
    font-size: 12px;
}

.pipe-row {
    display: grid;
    grid-template-columns: 100px 1fr 60px;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 8px;
    align-items: center;
}

.pipe-row .label { color: var(--accent); letter-spacing: 0.06em; }
.pipe-row .bar {
    height: 6px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.pipe-row .bar i {
    display: block; height: 100%;
    background: var(--grad-blue);
    border-radius: 3px;
    animation: barFlow 2.4s ease-in-out infinite;
    width: 60%;
}
.pipe-row:nth-child(2) .bar i { animation-delay: .2s; width: 78%; }
.pipe-row:nth-child(3) .bar i { animation-delay: .4s; width: 45%; }
.pipe-row:nth-child(4) .bar i { animation-delay: .6s; width: 92%; }
.pipe-row:nth-child(5) .bar i { animation-delay: .8s; width: 30%; }
.pipe-row .num { color: var(--ink); text-align: right; }

@keyframes barFlow {
    0%, 100% { transform: scaleX(1); transform-origin: left; }
    50% { transform: scaleX(0.6); }
}

/* ============================================================
   Stats band
   ============================================================ */

.stats-band {
    background: var(--bg-elev);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 56px 0;
}

.stats-band-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat {
    text-align: left;
    padding-left: 18px;
    border-left: 2px solid var(--accent);
}

.stat-num {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
    font-family: var(--mono);
}

.stat-num small { font-size: .55em; color: var(--accent); margin-left: 2px; }

.stat-lbl {
    margin-top: 10px;
    font-size: 13px;
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   Blog
   ============================================================ */

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

.post {
    border: 1px solid var(--line);
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
}

.post:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.post-cover {
    aspect-ratio: 16/9;
    background: var(--bg-elev);
    position: relative;
    overflow: hidden;
}

.post-cover::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 12, 24, 0.6));
}

.post-cover svg { width: 100%; height: 100%; display: block; }

.post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.post-meta .tag {
    color: var(--accent);
    border: 1px solid var(--line-strong);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
}

.post h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 10px;
}

.post p { font-size: 14px; color: var(--ink-dim); flex: 1; }

.post-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ink-mute);
}

/* ============================================================
   Team
   ============================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.member {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color .2s ease, transform .2s ease;
}

.member:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.member-photo {
    aspect-ratio: 1/1;
    background: var(--bg-elev);
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05) brightness(.92);
    transition: filter .3s ease, transform .4s ease;
}

.member:hover .member-photo img {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.03);
}

.member-photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(2, 6, 13, 0.55));
}

.member-body { padding: 18px 20px; }

.member-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.member-role {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

.member-bio {
    margin-top: 10px;
    font-size: 13px;
    color: var(--ink-dim);
    line-height: 1.55;
}

/* ============================================================
   CTA band
   ============================================================ */

.cta {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
}

.cta::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 30% 50%, rgba(36, 135, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(74, 214, 255, 0.14), transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    text-align: center;
    padding: 40px 0;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    max-width: 880px;
    margin: 0 auto 18px;
}

.cta h2 em { font-style: normal; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cta p { color: var(--ink-dim); font-size: 18px; margin-bottom: 32px; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */

.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    padding: 64px 0 32px;
    color: var(--ink-mute);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer h4 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 18px;
    font-weight: 500;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--ink-dim); }
.footer ul a:hover { color: var(--accent); }

.footer-blurb {
    color: var(--ink-dim);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--ink-mute);
    font-family: var(--mono);
    letter-spacing: 0.05em;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-status .dot-pulse { width: 6px; height: 6px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in   { opacity: 1; transform: translateY(0); }

/* ============================================================
   Sub-pages (about / contact / services / team)
   ============================================================ */

.page-hero {
    padding: 160px 0 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 60% 60% at 50% 0%, rgba(36, 135, 255, 0.16), transparent 70%),
        var(--bg-deep);
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    max-width: 820px;
    margin-top: 16px;
}

.page-hero p {
    font-size: 19px;
    color: var(--ink-dim);
    max-width: 640px;
    margin-top: 20px;
}

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
}

.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 8px;
}
.field input, .field textarea, .field select {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-elev);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    background: var(--bg-card);
    margin-bottom: 18px;
}

.contact-card h4 {
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-card p, .contact-card a {
    font-size: 14px;
    color: var(--ink-dim);
}

.contact-card .label-mini {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

/* About timeline */
.timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 6px; bottom: 6px;
    width: 1px;
    background: var(--line-strong);
}
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
    content: '';
    position: absolute;
    left: -27px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 2px solid var(--accent);
}
.tl-year {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.tl-item h4 { font-size: 17px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.tl-item p { color: var(--ink-dim); font-size: 14.5px; }

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.value {
    border: 1px solid var(--line);
    background: var(--bg-card);
    border-radius: 12px;
    padding: 28px;
}
.value h4 { color: var(--ink); font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.value p { color: var(--ink-dim); font-size: 14.5px; }

.value-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.16em;
    margin-bottom: 16px;
}

/* Services detail rows */
.svc-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    padding: 56px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.svc-row:first-child { border-top: none; }

.svc-row h3 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 10px;
}

.svc-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}

.svc-row .desc { color: var(--ink-dim); font-size: 16px; }

.svc-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
    padding: 5px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-dim);
    letter-spacing: 0.06em;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .ai-grid { grid-template-columns: 1fr; gap: 40px; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-band-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .svc-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    section { padding: 64px 0; }
    .demo-banner { min-height: 30px; padding: 5px 12px; }
    .topbar { top: 52px; }
    .nav { display: none; }
    .nav.open {
        display: flex;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(2, 6, 13, 0.96);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        padding: 16px 24px;
        gap: 8px;
    }
    .nav.open .nav-cta { margin-left: 0; }
    .burger { display: inline-flex; }
    .cap-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .live-feed { height: 300px; }
    .live-line { grid-template-columns: 60px 50px 1fr; gap: 8px; font-size: 11px; padding: 5px 14px; }
    .live-panel-foot { grid-template-columns: 1fr 1fr; }
    .live-stat:nth-child(2) { border-right: none; }
    .live-stat:nth-child(1), .live-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .trust-strip-inner { gap: 24px; }
    .trust-strip-label { padding-right: 20px; font-size: 10px; }
}
