:root{
  --bg: #0b0f19;
  --bg2:#0f172a;
  --card:#0c1222;
  --text:#e5e7eb;
  --muted:#a3a3a3;
  --line: rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), #070a12 70%);
  color:var(--text);
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }

.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.header{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.55);
  border-bottom:1px solid var(--line);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand__mark {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  overflow: hidden;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.16));
}
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-weight:700; letter-spacing:.2px; }
.brand__tag{ font-size:12px; color:var(--muted); margin-top:3px; }

.nav{
  display:flex;
  gap: 14px;
  align-items:center;
  color: rgba(229,231,235,.92);
  font-size:14px;
}
.nav a{ padding: 8px 10px; border-radius: 10px; }
.nav a:hover{ background: rgba(255,255,255,.06); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  font-weight: 650;
  font-size:14px;
  transition: transform .08s ease, background .15s ease;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); }
.btn--primary{
  background: linear-gradient(135deg, rgba(99,102,241,.95), rgba(34,197,94,.75));
  border-color: rgba(255,255,255,.16);
}
.btn--ghost{ background: rgba(255,255,255,.04); }

.mobileToggle{
  display:none;
  width:44px; height:44px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  padding: 10px;
}
.mobileToggle span{
  display:block;
  height:2px;
  margin:6px 0;
  background: rgba(229,231,235,.9);
  border-radius: 2px;
}
.mobileNav{
  border-top:1px solid var(--line);
  padding: 10px 0 14px;
}
.mobileNav a{
  display:block;
  padding: 12px 4vw;
  color: rgba(229,231,235,.94);
}
.mobileNav a:hover{ background: rgba(255,255,255,.06); }

.hero{
  padding: 72px 0 36px;

}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(229,231,235,.92);
  font-size: 13px;
}
.dot{
  width:8px; height:8px;
  border-radius:50%;
  background: rgba(34,197,94,.95);
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.grad{
  background: linear-gradient(135deg, rgba(99,102,241,1), rgba(34,197,94,1));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.lead{
  margin: 14px 0 18px;
  font-size: 16px;
  color: rgba(229,231,235,.86);
  max-width: 56ch;
}

.notice{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.78);
  font-size: 13px;
}

.ctaRow{ display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 18px; }

.trustRow{
  display:flex;
  gap: 16px;
  flex-wrap:wrap;
  border-top: 1px dashed rgba(255,255,255,.12);
  padding-top: 16px;
}
.trustItem{ min-width: 170px; }
.trustItem strong{ display:block; }
.trustItem span{ color: var(--muted); font-size: 13px; }

.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__top{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom:1px solid var(--line);
}
.windowDots span{
  display:inline-block;
  width:10px; height:10px;
  border-radius:50%;
  background: rgba(255,255,255,.18);
  margin-right:6px;
}
.card__title{ font-size: 13px; color: rgba(229,231,235,.86); flex:1; }
.card__right{ display:flex; gap:8px; }

.statusPill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(229,231,235,.78);
}
.statusPill--ok{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
  color: rgba(34,197,94,.95);
}

.card__bottom{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  padding: 12px 14px;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(229,231,235,.82);
}

/* ---------- HERO UI PANEL ---------- */
.uiPanel{
  display:grid;
  grid-template-columns: 260px 1fr;
  min-height: 360px;
}

.uiLeft{
  padding: 14px;
  border-right:1px solid var(--line);
  background: rgba(7,10,18,.35);
}
.uiSectionTitle{
  font-size: 12px;
  letter-spacing:.3px;
  color: rgba(229,231,235,.62);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.uiList{ display:grid; gap: 10px; }
.uiItem{
  display:flex;
  gap:10px;
  padding: 10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.uiItem--active{
  border-color: rgba(99,102,241,.30);
  background: rgba(99,102,241,.08);
}
.uiDot{
  width:10px; height:10px;
  border-radius:50%;
  margin-top: 5px;
  background: rgba(34,197,94,.95);
}
.uiDot--muted{ background: rgba(229,231,235,.25); }
.uiItemTitle{ font-weight:700; font-size: 13px; }
.uiItemSub{ color: rgba(229,231,235,.62); font-size: 12px; margin-top: 2px; }

.uiDivider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin: 14px 0;
}

.chipRow{ display:flex; flex-wrap:wrap; gap: 8px; }
.chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.72);
}
.chip--on{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
  color: rgba(34,197,94,.95);
}

.uiRight{ padding: 14px; }
.uiHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.uiHeaderTitle{ font-weight:800; letter-spacing:-.2px; }
.uiHeaderSub{ color: rgba(229,231,235,.62); font-size: 12.5px; margin-top: 2px; }

.miniBtn{
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(229,231,235,.86);
  padding: 8px 10px;
  font-weight: 650;
  font-size: 12px;
}
.miniBtn:hover{ background: rgba(255,255,255,.08); }

.uiConsole{
  padding: 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,10,18,.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size: 12.5px;
}
.uiLine{ margin: 0 0 8px; }
.k{ color: rgba(229,231,235,.62); }
.v{ color: rgba(229,231,235,.92); }
.uiSpacer{ height: 10px; }

.uiBlock{
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}
.uiBlockTitle{
  font-weight: 800;
  margin-bottom: 8px;
}
.uiBullets{
  margin:0;
  padding-left: 18px;
  color: rgba(229,231,235,.78);
}
.uiFooter{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-top: 10px;
  color: rgba(229,231,235,.62);
  font-size: 12.5px;
}
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  padding: 2px 7px;
  border-radius: 8px;
  color: rgba(229,231,235,.78);
}
.uiFooterText{ margin-left: 2px; }

/* ---------- SECTIONS ---------- */
.section{ padding: 56px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.sectionHead{ max-width: 70ch; margin-bottom: 22px; }
.sectionHead h2{ margin: 0 0 8px; font-size: 28px; letter-spacing:-.3px; }
.sectionHead p{ margin:0; color: rgba(229,231,235,.78); }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature{
  padding: 16px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.feature h3{ margin: 0 0 8px; font-size: 16px; }
.feature p{ margin:0; color: rgba(229,231,235,.72); font-size: 14px; }

.feature--big h3{ font-size: 18px; }
.feature--big p{ font-size: 14px; }
.featureList{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(229,231,235,.78);
  font-size: 14px;
}

/* ---------- SCREENS ---------- */
.screens{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.screenBody{ padding: 14px; }

.screenGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.screenLabel{
  font-size: 12px;
  color: rgba(229,231,235,.62);
  text-transform: uppercase;
  letter-spacing:.3px;
  margin: 2px 0 8px;
}
.screenBox{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,10,18,.45);
  padding: 12px;
}
.screenBox--tall{ min-height: 220px; }
.screenPrompt{ font-weight: 750; }
.screenMeta{ display:flex; gap: 8px; flex-wrap:wrap; margin-top: 10px; }

.pillTiny{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(229,231,235,.72);
}

.screenLine{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.screenLine:last-child{ border-bottom:none; }
.tag{
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  border:1px solid rgba(99,102,241,.35);
  background: rgba(99,102,241,.10);
  color: rgba(229,231,235,.86);
}

.screenResultTitle{
  font-weight: 850;
  margin: 0 0 8px;
}
.screenResultText{
  margin: 0 0 12px;
  color: rgba(229,231,235,.78);
}
.screenResultList{
  margin:0;
  padding-left: 18px;
  color: rgba(229,231,235,.78);
}
.screenDivider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin: 14px 0;
}
.screenMetaRow{ display:flex; gap: 8px; flex-wrap:wrap; }

/* ---------- BRAIN SCREEN ---------- */
.brainGrid{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 12px;
}
.brainLeft{
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(7,10,18,.30);
}
.brainList{ display:grid; gap: 10px; }
.brainItem{
  padding: 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.brainItem--active{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
}
.brainItemTitle{ font-weight: 800; }
.brainItemSub{ color: rgba(229,231,235,.62); font-size: 12px; margin-top: 2px; }

.brainRight{ padding: 12px; }
.brainHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.brainChat{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,10,18,.45);
  padding: 12px;
}
.chatBubble{
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  margin-bottom: 10px;
}
.chatBubble--q{
  border-color: rgba(99,102,241,.30);
  background: rgba(99,102,241,.08);
}
.chatBubble--a{
  border-color: rgba(34,197,94,.30);
  background: rgba(34,197,94,.08);
}
.chatRole{
  font-size: 12px;
  color: rgba(229,231,235,.62);
  text-transform: uppercase;
  letter-spacing:.3px;
  margin-bottom: 4px;
}
.chatText p{ margin: 0 0 10px; color: rgba(229,231,235,.80); }
.chatCallouts{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calloutMini{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 10px;
}
.calloutMiniTitle{ font-weight: 850; margin-bottom: 6px; }
.calloutMiniText{ color: rgba(229,231,235,.74); font-size: 13px; }
.brainFooter{ display:flex; gap: 8px; flex-wrap:wrap; margin-top: 10px; }

/* ---------- PRIVACY + CONTACT ---------- */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items:start;
}
.leadSmall{ color: rgba(229,231,235,.80); }

.bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(229,231,235,.78);
}

.callout{
  padding: 16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(99,102,241,.10);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.callout h3{ margin:0 0 10px; }
.callout ul{ margin:0; padding-left: 18px; color: rgba(229,231,235,.82); }

.contactCard{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  padding: 18px;
  border-radius: calc(var(--radius) + 6px);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.contactCard--simple p{ color: rgba(229,231,235,.78); }
.contactRow{ display:flex; gap: 12px; align-items:flex-start; flex-wrap:wrap; margin-top: 12px; }
.contactMeta{ display:grid; gap: 6px; }
.mutedSmall{ color: rgba(229,231,235,.62); font-size: 13px; }

.contactAside{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,10,18,.45);
  padding: 12px;
}
.contactAsideTitle{ font-weight: 850; margin-bottom: 10px; }
.contactAsideList{ margin:0; padding-left: 18px; color: rgba(229,231,235,.78); }

.footer{
  padding: 26px 0 18px;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}
.footer__right{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  color: rgba(229,231,235,.84);
}
.footer__bottom{
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 14px;
  font-size: 13px;
}
.brand--small .brand__mark{ width:34px; height:34px; border-radius: 11px; }

/* ===== Hero ambient motion layer ===== */
.hero{
  position: relative;
  overflow: hidden;
}

.heroMotion{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  filter: saturate(1.05);
}

/* Keep your real hero content above it */
.hero__grid{
  position: relative;
  z-index: 1;
}

/* Console panels */
.console{
  position: absolute;
  width: 44vw;
  max-width: 620px;
  height: 32vh;
  max-height: 260px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.20);
  background: linear-gradient(180deg, rgba(40,70,120,.35), rgba(10,16,28,.25));
  box-shadow:
    0 34px 120px rgba(0,0,0,.62),
    0 0 0 1px rgba(34,197,94,.10) inset;
  backdrop-filter: blur(6px);
  filter: blur(1.05px);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}


/* Fake header bar */
.console::before{
  content:"";
  position:absolute;
  inset: 0 0 auto 0;
  height: 38px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Fake “code lines” — abstract, unreadable */
.console::after{
  content:"";
  position:absolute;
  left: 18px;
  top: 54px;
  right: 18px;
  bottom: 16px;

  /* 1) moving scan sheen
     2) abstract line blocks */
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(34,197,94,0.00) 35%,
      rgba(34,197,94,0.12) 45%,
      rgba(255,255,255,0.10) 50%,
      rgba(34,197,94,0.12) 55%,
      rgba(34,197,94,0.00) 65%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(120,200,255,.18) 0 60%, transparent 60% 100%),
    linear-gradient(90deg, rgba(120,200,255,.12) 0 40%, transparent 40% 100%),
    linear-gradient(90deg, rgba(120,200,255,.14) 0 75%, transparent 75% 100%),
    linear-gradient(90deg, rgba(120,200,255,.10) 0 55%, transparent 55% 100%),
    linear-gradient(90deg, rgba(120,200,255,.12) 0 30%, transparent 30% 100%);

  background-repeat: no-repeat;

  /* sheen is oversized so it can sweep */
  background-size:
    220% 220%,
    100% 10px,
    100% 10px,
    100% 10px,
    100% 10px,
    100% 10px;

  background-position:
    -140% 40%,
    0 0,
    0 22px,
    0 44px,
    0 66px,
    0 88px;

  opacity: .92;
  filter: blur(.35px);
  animation: scanSheen 3.0s ease-in-out infinite, keyLines 1.2s steps(2,end) infinite;
}

/* desync panels */
.console--b::after{ animation-duration: 3.6s, 1.35s; opacity: .84; }
.console--c::after{ animation-duration: 4.3s, 1.55s; opacity: .68; }

@keyframes scanSheen{
  0%   { background-position: -140% 40%, 0 0, 0 22px, 0 44px, 0 66px, 0 88px; }
  60%  { background-position:  120% 55%, 0 0, 0 22px, 0 44px, 0 66px, 0 88px; }
  100% { background-position:  140% 60%, 0 0, 0 22px, 0 44px, 0 66px, 0 88px; }
}

@keyframes keyLines{
  0%{
    background-image:
      linear-gradient(120deg, transparent 0%, rgba(34,197,94,0.00) 35%, rgba(34,197,94,0.12) 45%, rgba(255,255,255,0.10) 50%, rgba(34,197,94,0.12) 55%, rgba(34,197,94,0.00) 65%, transparent 100%),
      linear-gradient(90deg, rgba(120,200,255,.18) 0 62%, transparent 62% 100%),
      linear-gradient(90deg, rgba(120,200,255,.12) 0 38%, transparent 38% 100%),
      linear-gradient(90deg, rgba(120,200,255,.14) 0 78%, transparent 78% 100%),
      linear-gradient(90deg, rgba(120,200,255,.10) 0 52%, transparent 52% 100%),
      linear-gradient(90deg, rgba(120,200,255,.12) 0 28%, transparent 28% 100%);
  }
  100%{
    background-image:
      linear-gradient(120deg, transparent 0%, rgba(34,197,94,0.00) 35%, rgba(34,197,94,0.12) 45%, rgba(255,255,255,0.10) 50%, rgba(34,197,94,0.12) 55%, rgba(34,197,94,0.00) 65%, transparent 100%),
      linear-gradient(90deg, rgba(120,200,255,.18) 0 55%, transparent 55% 100%),
      linear-gradient(90deg, rgba(120,200,255,.12) 0 46%, transparent 46% 100%),
      linear-gradient(90deg, rgba(120,200,255,.14) 0 70%, transparent 70% 100%),
      linear-gradient(90deg, rgba(120,200,255,.10) 0 58%, transparent 58% 100%),
      linear-gradient(90deg, rgba(120,200,255,.12) 0 36%, transparent 36% 100%);
  }
}

/* Positions + drift animations */
.console--a{
  left: 8%;
  top: 10%;
  width: 42vw;
  height: 30vh;
  transform: rotate(-4deg) translate3d(0,0,0);
  opacity: .78;
  animation: driftA 9.5s ease-in-out infinite;
}

.console--b{
  right: 6%;
  top: 28%;
  width: 40vw;
  height: 28vh;
  transform: rotate(2deg);
  opacity: .85;
  animation: driftB 10.5s ease-in-out infinite;
}

.console--c{
  left: 26%;
  top: 58%;
  width: 46vw;
  height: 28vh;
  transform: rotate(-1deg);
  opacity: .55;
  animation: driftC 12s ease-in-out infinite;
}

/* Gentle floating motion */
@keyframes driftA{
  0%,100% { transform: translate3d(0,0,0) rotate(-2deg); }
  50%     { transform: translate3d(16px,-10px,0) rotate(-1deg); }
}

@keyframes driftB{
  0%,100% { transform: translate3d(0,0,0) rotate(2deg); }
  50%     { transform: translate3d(-14px,12px,0) rotate(1deg); }
}

@keyframes driftC{
  0%,100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50%     { transform: translate3d(10px,8px,0) rotate(-2deg); }
}

/* Waveform SVG */
.waveSvg{
  position:absolute;
  left: -3%;
  right: -3%;
  top: 50%;
  height: 140px;
  opacity: .60;
  filter: blur(.6px);
  mix-blend-mode: screen;
}


.wavePath{
  fill: none;

  /* base stroke */
  stroke: rgba(34,197,94,.55);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;

  /* “layered” look via multiple shadows */
  filter:
    drop-shadow(0 0 10px rgba(34,197,94,.25))
    drop-shadow(0 0 18px rgba(34,197,94,.18))
    drop-shadow(0 0 28px rgba(99,102,241,.12));

  /* make it feel more like waveform art */
  stroke-dasharray: none;              /* a bit chunkier */
  animation: waveFloat 4.2s ease-in-out infinite;

  opacity: .78;
}

.wavePath--echo{
  stroke: rgba(99,102,241,.22);
  stroke-width: 6;
  stroke-dasharray: none;
  opacity: .35;
  filter: blur(1.4px);
  transform: translateY(14px);
  animation: waveDash 2.4s linear infinite, waveFloat 7.0s ease-in-out infinite;
}

.wavePath--glow{
  stroke: rgba(34,197,94,.28);
  stroke-width: 10;
  stroke-dasharray: none;
  opacity: .18;
  filter: blur(2.2px);
  transform: translateY(14px);
  animation-duration: 1.1s, 4.8s;
}

@keyframes waveDash{
  to { stroke-dashoffset: -56; }
}

@keyframes waveFloat{
  0%,100% { transform: translateY(0px); opacity: .50; }
  50%     { transform: translateY(-10px); opacity: .65; }
}

/* Particles layer */
.particles{
  position:absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0 1px, transparent 2px),
    radial-gradient(circle at 60% 40%, rgba(255,255,255,.10) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.10) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 80%, rgba(255,255,255,.08) 0 1px, transparent 2px);
  background-size: 240px 240px;
  opacity: .35;
  animation: particleDrift 14s linear infinite;
}

@keyframes particleDrift{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-80px,40px,0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .console, .console::after, .particles, .wavePath { animation: none !important; }
  .heroMotion { opacity: 0.25; }
}




/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .uiPanel{ grid-template-columns: 1fr; }
  .uiLeft{ border-right:none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .split{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .screenGrid{ grid-template-columns: 1fr; }
  .brainGrid{ grid-template-columns: 1fr; }
  .brainLeft{ border-right:none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .contactCard{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .mobileToggle{ display:block; }
}
