/* ============================================================
   Quantum AI Research & Solutions — stylesheet
   ============================================================ */
:root {
  --indigo:#3b82f6; --violet:#2563eb; --purple:#38bdf8;
  --teal:#2dd4bf; --cyan:#22d3ee; --rose:#fb7185;
  --ink:#0f172a; --slate:#475569; --muted:#64748b; --faint:#94a3b8;
  --line:#e6e8ef; --card:#ffffff; --bg:#f7f8fd;
  --grad:linear-gradient(135deg,#3db9f7,#2f8fe8,#1c62d4);
  --shadow:0 10px 30px -12px rgba(37,99,235,.18);
  --radius:18px;
  --maxw:1160px;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0; font-family:"Inter",system-ui,sans-serif; color:var(--slate);
  background:var(--bg); line-height:1.6; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3 { font-family:"Space Grotesk","Inter",sans-serif; color:var(--ink); line-height:1.1; margin:0; letter-spacing:-.02em; }
p { margin:0; }
a { color:inherit; text-decoration:none; }
ul { margin:0; padding:0; list-style:none; }
img,svg { display:block; max-width:100%; }
::selection { background:rgba(37,99,235,.22); }

.container { width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.gradient-text {
  background:linear-gradient(90deg,#3b82f6,#2563eb,#38bdf8);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.icon { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round; }

/* ---------- Buttons ---------- */
.btn { display:inline-flex; align-items:center; gap:8px; border-radius:999px;
  padding:13px 22px; font-size:14px; font-weight:600; cursor:pointer; border:0;
  transition:transform .18s, box-shadow .18s, background .2s; white-space:nowrap; }
.btn .icon { width:16px; height:16px; }
.btn-primary { background:var(--grad); color:#fff; box-shadow:0 10px 22px -8px rgba(37,99,235,.5); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 14px 28px -8px rgba(37,99,235,.55); }
.btn-ghost { background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:0 1px 2px rgba(15,23,42,.04); }
.btn-ghost:hover { border-color:#cfd3e0; background:#fbfbfe; }
.btn-ghost .play { display:grid; place-items:center; width:24px; height:24px; border-radius:999px;
  background:rgba(37,99,235,.12); color:var(--violet); }
.btn-ghost .play .icon { width:13px; height:13px; fill:currentColor; stroke:none; }

/* ---------- Header ---------- */
.site-header { position:fixed; inset:0 0 auto 0; z-index:50; transition:.3s;
  background:transparent; border-bottom:1px solid transparent; }
.site-header.scrolled { background:rgba(255,255,255,.85); backdrop-filter:blur(12px); border-bottom-color:var(--line); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:18px; height:82px; }
.brand { display:inline-flex; align-items:center; gap:11px; }
.brand .logo-mark { height:44px; width:auto; filter:drop-shadow(0 0 6px rgba(59,130,246,.35)); }
.brand-word { height:27px; width:auto; display:block; transform:scaleX(0.85); transform-origin:left center; }
.brand-tag { width:183px; height:auto; display:block; margin-top:3px; }
.brand-text { display:flex; flex-direction:column; line-height:1; }
.brand-name { font-family:"Space Grotesk",sans-serif; font-weight:600; font-size:21px; color:var(--ink); letter-spacing:.14em; }
.brand-name .accent { color:#94a3b8; font-weight:600; }
.brand-sub { font-size:9.5px; font-weight:600; letter-spacing:.24em; color:var(--faint); text-transform:uppercase; margin-top:4px; }

.main-nav { display:flex; align-items:center; gap:2px; }
.main-nav > a, .dropdown-toggle { position:relative; display:inline-flex; align-items:center; gap:5px;
  padding:8px 12px; font-size:15px; font-weight:500; color:#475569; background:none; border:0;
  cursor:pointer; font-family:inherit; transition:color .2s; white-space:nowrap; }
.main-nav > a:hover, .dropdown-toggle:hover { color:var(--ink); }
.main-nav > a.active { color:var(--violet); }
.main-nav > a.active::after { content:""; position:absolute; left:14px; right:14px; bottom:1px; height:2px;
  border-radius:2px; background:var(--violet); }
.chev { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; transition:transform .2s; }
.has-dropdown { position:relative; }
.has-dropdown:hover .chev { transform:rotate(180deg); }
.dropdown { position:absolute; top:100%; left:0; width:250px; padding-top:8px;
  opacity:0; visibility:hidden; transform:translateY(6px); transition:.2s; }
.has-dropdown:hover .dropdown { opacity:1; visibility:visible; transform:none; }
.dropdown a { display:flex; align-items:center; gap:10px; padding:10px 12px; margin:2px; border-radius:12px;
  font-size:14px; color:var(--muted); background:#fff; }
.dropdown { background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:6px; }
.dropdown a:hover { background:#f5f4fe; color:var(--ink); }
.dropdown a .icon { color:var(--violet); }

.nav-cta { padding:10px 18px; }
.nav-cta .icon { width:15px; height:15px; }

.menu-toggle { display:none; width:42px; height:42px; border:1px solid var(--line); background:#fff;
  border-radius:12px; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.menu-toggle span { width:20px; height:2px; background:var(--ink); border-radius:2px; transition:.25s; }
.menu-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu { display:none; flex-direction:column; gap:2px; padding:12px 24px 20px;
  background:rgba(255,255,255,.97); border-top:1px solid var(--line); }
.mobile-menu.open { display:flex; }
.mobile-menu a { padding:12px 8px; font-weight:500; color:var(--slate); border-radius:10px; }
.mobile-menu a:hover { background:#f5f4fe; }
.mobile-menu .btn { justify-content:center; margin-top:8px; }

/* ---------- Hero ---------- */
.hero { position:relative; padding:132px 0 72px; overflow:hidden; }
.hero-bg { position:absolute; inset:0; z-index:-1; overflow:hidden; background:
  radial-gradient(52rem 34rem at 90% 4%, rgba(29,78,216,.55), transparent 60%),
  radial-gradient(46rem 40rem at 60% 44%, rgba(37,99,235,.4), transparent 62%),
  radial-gradient(40rem 32rem at 24% 94%, rgba(6,182,212,.22), transparent 60%),
  linear-gradient(160deg,#04060d 0%,#091326 52%,#04060d 100%); }
.hero-waves { position:absolute; inset:0; width:100%; height:100%;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 30%);
  mask-image:linear-gradient(90deg, transparent, #000 30%); }

/* Electricity: a bright pulse travels along each curvy line */
.hero-waves .spark { stroke-dasharray:56 1900; stroke-dashoffset:0;
  animation:flow linear infinite; will-change:stroke-dashoffset; }
.hero-waves .s1 { animation-duration:3.4s; animation-delay:0s; }
.hero-waves .s2 { animation-duration:4.6s; animation-delay:-1.4s; }
.hero-waves .s3 { animation-duration:3.9s; animation-delay:-2.6s; }
.hero-waves .s4 { animation-duration:5.4s; animation-delay:-0.7s; }
@keyframes flow { to { stroke-dashoffset:-1956; } }

/* Ambient motion */
.hero-waves .bands { animation:drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform:translate(0,0); } to { transform:translate(-16px,10px); } }
.hero-waves .cubeGlow { transform-box:fill-box; transform-origin:center;
  animation:glowPulse 6.5s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity:.85; } 50% { opacity:1; } }

/* Expanding energy rings (where the cube used to be) */
.hero-waves .ering { transform-box:fill-box; transform-origin:center;
  animation:ering 4.2s ease-out infinite; }
.hero-waves .e2 { animation-duration:5s; animation-delay:-1.4s; }
.hero-waves .e3 { animation-duration:4.6s; animation-delay:-2.8s; }
@keyframes ering {
  0% { transform:scale(.35); opacity:.6; }
  80% { opacity:.06; }
  100% { transform:scale(1.7); opacity:0; }
}

/* Slowly drifting particles */
.hero-waves .p { animation:floatp linear infinite; opacity:0; }
.hero-waves .p1 { animation-duration:9s;  animation-delay:0s; }
.hero-waves .p2 { animation-duration:11s; animation-delay:-3s; }
.hero-waves .p3 { animation-duration:8s;  animation-delay:-5s; }
.hero-waves .p4 { animation-duration:12s; animation-delay:-2s; }
.hero-waves .p5 { animation-duration:10s; animation-delay:-6s; }
.hero-waves .p6 { animation-duration:13s; animation-delay:-4s; }
@keyframes floatp {
  0% { transform:translate(0,0); opacity:0; }
  15% { opacity:.75; }
  85% { opacity:.75; }
  100% { transform:translate(-14px,-72px); opacity:0; }
}

/* Random spark flickers — chaotic electric feel */
.hero-waves .flick { opacity:0; }
.hero-waves .f1 { animation:spark 2.3s linear infinite; }
.hero-waves .f2 { animation:spark 3.1s linear infinite; animation-delay:-0.8s; }
.hero-waves .f3 { animation:spark 1.9s linear infinite; animation-delay:-1.1s; }
.hero-waves .f4 { animation:spark 4.7s linear infinite; animation-delay:-2.3s; }
.hero-waves .f5 { animation:spark 2.7s linear infinite; animation-delay:-0.5s; }
.hero-waves .f6 { animation:spark 3.7s linear infinite; animation-delay:-1.9s; }
@keyframes spark {
  0%, 100% { opacity:0; }
  2% { opacity:1; } 4% { opacity:0; }
  7% { opacity:.9; } 9% { opacity:0; }
  39% { opacity:0; } 41% { opacity:1; } 43% { opacity:0; }
  71% { opacity:0; } 73% { opacity:.85; } 75% { opacity:0; }
}

@media (prefers-reduced-motion:reduce) {
  .hero-waves .spark, .hero-waves .bands, .hero-waves .cubeGlow,
  .hero-waves .ering, .hero-waves .p, .hero-waves .flick,
  .core-orb, .core-ring { animation:none !important; }
  .hero-waves .flick, .hero-waves .p { opacity:0; }
}
.hero-grid { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:30px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--muted);
  background:rgba(37,99,235,.08); border:1px solid rgba(37,99,235,.18); color:var(--violet);
  padding:7px 16px; border-radius:999px; }
.eyebrow span { color:var(--violet); }
.hero h1 { font-size:clamp(34px,5vw,58px); font-weight:700; margin-top:22px; color:var(--ink); }
.hero .lead { margin-top:20px; max-width:520px; font-size:18px; color:var(--muted); }
.hero-actions { display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.trusted { margin-top:34px; font-size:14px; color:var(--faint); }
.chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.chips li { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; font-size:14px; font-weight:500;
  color:var(--slate); background:#fff; border:1px solid var(--line); border-radius:999px; box-shadow:0 1px 2px rgba(15,23,42,.03); }
.chips .icon { width:16px; height:16px; color:var(--violet); }

/* Hero visual */
.hero-visual { position:relative; min-height:470px; }

/* AI core — fills the space the cube used to occupy */
.ai-core { position:absolute; left:42%; top:50%; width:250px; height:250px;
  transform:translate(-50%,-50%); pointer-events:none; }
.core-orb { position:absolute; inset:40%; border-radius:50%;
  background:radial-gradient(circle at 38% 32%, #ffffff, #93c5fd 42%, #1d4ed8 80%);
  box-shadow:0 0 70px 16px rgba(37,99,235,.5), inset 0 0 18px rgba(255,255,255,.45);
  animation:corePulse 4.5s ease-in-out infinite; }
.core-ring { position:absolute; border-radius:50%; }
.core-ring::before { content:""; position:absolute; top:-3.5px; left:50%; margin-left:-3.5px;
  width:7px; height:7px; border-radius:50%; }
.cr1 { inset:4%; border:1px dashed rgba(96,165,250,.4); animation:rotate360 26s linear infinite; }
.cr1::before { background:#60a5fa; box-shadow:0 0 10px 2px rgba(96,165,250,.9); }
.cr2 { inset:22%; border:1px solid rgba(103,232,249,.22); animation:rotate360 18s linear infinite reverse; }
.cr2::before { background:#67e8f9; box-shadow:0 0 10px 2px rgba(103,232,249,.9); }
@keyframes rotate360 { to { transform:rotate(360deg); } }
@keyframes corePulse {
  0%,100% { transform:scale(1);
    box-shadow:0 0 70px 16px rgba(37,99,235,.45), inset 0 0 18px rgba(255,255,255,.45); }
  50% { transform:scale(1.08);
    box-shadow:0 0 95px 24px rgba(37,99,235,.65), inset 0 0 22px rgba(255,255,255,.55); }
}
.cube-scene { position:relative; width:100%; max-width:420px; margin:0 auto; aspect-ratio:1/1;
  display:grid; place-items:center; perspective:1000px; }
.cube-glow { position:absolute; width:70%; height:70%; border-radius:50%; filter:blur(30px);
  background:radial-gradient(circle,rgba(37,99,235,.5),rgba(59,130,246,.15) 55%,transparent 70%); }
.cube { position:relative; width:170px; height:170px; transform-style:preserve-3d; animation:spin 18s linear infinite; }
.cube .face { position:absolute; inset:0; border:1.5px solid rgba(37,99,235,.55); border-radius:14px;
  background:linear-gradient(135deg,rgba(96,165,250,.28),rgba(59,130,246,.1));
  box-shadow:inset 0 0 40px rgba(37,99,235,.25); }
.cube .front { transform:translateZ(85px); }
.cube .back { transform:rotateY(180deg) translateZ(85px); }
.cube .right { transform:rotateY(90deg) translateZ(85px); }
.cube .left { transform:rotateY(-90deg) translateZ(85px); }
.cube .top { transform:rotateX(90deg) translateZ(85px); background:linear-gradient(135deg,rgba(96,165,250,.4),rgba(129,140,248,.15)); }
.cube .bottom { transform:rotateX(-90deg) translateZ(85px); }
.cube .core { position:absolute; top:50%; left:50%; width:66px; height:66px; margin:-33px 0 0 -33px; border-radius:50%;
  background:radial-gradient(circle,#fff,#93c5fd 40%,#1d4ed8 75%); box-shadow:0 0 50px 8px rgba(96,165,250,.8); }
.cube-platform { position:absolute; bottom:9%; width:80%; height:28px; border-radius:50%; filter:blur(6px);
  background:radial-gradient(ellipse,rgba(59,130,246,.32),transparent 70%); }
@keyframes spin { from{transform:rotateX(-22deg) rotateY(0)} to{transform:rotateX(-22deg) rotateY(360deg)} }

.feature-pills { position:absolute; top:50%; right:-6px; transform:translateY(-50%);
  display:flex; flex-direction:column; gap:28px; }
.feature-pills .pill:nth-child(1) { transform:translateX(-30px); }
.feature-pills .pill:nth-child(3) { transform:translateX(-30px); }
.pill { display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:16px;
  background:rgba(255,255,255,.92); border:1px solid var(--line); box-shadow:var(--shadow); backdrop-filter:blur(6px);
  font-size:12px; font-weight:600; color:var(--slate); line-height:1.25; }
.pill-ic { display:grid; place-items:center; width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(37,99,235,.12)); color:var(--violet); }

/* ---------- Dark hero theme (foreground on the dark wallpaper) ---------- */
.hero h1 { color:#f8fafc; }
.hero .lead { color:rgba(255,255,255,.72); }
.hero .eyebrow { background:rgba(37,99,235,.16); border-color:rgba(96,165,250,.35); color:#bfdbfe; }
.hero .eyebrow span { color:#93c5fd; }
.hero .trusted { color:rgba(255,255,255,.55); }
.hero .chips li { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14);
  color:rgba(255,255,255,.9); box-shadow:none; }
.hero .chips .icon { color:#93c5fd; }
.hero .btn-ghost { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:#fff; box-shadow:none; }
.hero .btn-ghost:hover { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.32); }
.hero .btn-ghost .play { background:rgba(96,165,250,.28); color:#dbeafe; }
.pill { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.14);
  color:rgba(255,255,255,.9); box-shadow:0 10px 30px -12px rgba(0,0,0,.5); backdrop-filter:blur(8px); }
.pill-ic { background:linear-gradient(135deg,rgba(96,165,250,.3),rgba(59,130,246,.3)); color:#dbeafe; }

/* Header sitting over the dark hero (top, not scrolled) */
.brand-name { color:#ffffff; }
.brand-sub { color:rgba(255,255,255,.5); }
.main-nav > a, .dropdown-toggle { color:rgba(255,255,255,.72); }
.main-nav > a:hover, .dropdown-toggle:hover { color:#ffffff; }
.main-nav > a.active { color:#93c5fd; }
.main-nav > a.active::after { background:#93c5fd; }
.menu-toggle { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.08); }
.menu-toggle span { background:#ffffff; }

/* Header once scrolled onto the light body — revert to dark text */
.site-header.scrolled .brand-name { color:var(--ink); }
.site-header.scrolled .brand-sub { color:var(--faint); }
.site-header.scrolled .main-nav > a,
.site-header.scrolled .dropdown-toggle { color:#475569; }
.site-header.scrolled .main-nav > a:hover,
.site-header.scrolled .dropdown-toggle:hover { color:#0f172a; }
.site-header.scrolled .main-nav > a.active { color:var(--violet); }
.site-header.scrolled .main-nav > a.active::after { background:var(--violet); }
.site-header.scrolled .menu-toggle { border-color:var(--line); background:#fff; }
.site-header.scrolled .menu-toggle span { background:var(--ink); }

/* ---------- Sections ---------- */
.section { padding:44px 0; }
.section-tight { padding:14px 0; }
.panel { background:rgba(255,255,255,.7); border:1px solid var(--line); border-radius:32px;
  padding:44px; box-shadow:0 1px 2px rgba(15,23,42,.03); }
.kicker { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--violet); }
.kicker .dot { width:7px; height:7px; border-radius:50%; background:var(--violet); }
.arrow-ne { width:14px; height:14px; transform:rotate(-45deg); }

.section-head { display:grid; grid-template-columns:1fr auto; align-items:end; gap:24px; }
.section-head h2 { font-size:clamp(26px,3.2vw,38px); margin-top:16px; }
.section-head-right { display:flex; flex-direction:column; align-items:flex-end; gap:20px; }
.section-head-right p { max-width:340px; text-align:right; color:var(--muted); }

.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:36px; }
.service-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px;
  transition:transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform:translateY(-4px); border-color:rgba(37,99,235,.3); box-shadow:0 16px 30px -14px rgba(37,99,235,.3); }
.s-ic { display:grid; place-items:center; width:48px; height:48px; border-radius:13px; transition:transform .25s; }
.service-card:hover .s-ic { transform:scale(1.08); }
.s-ic .icon { width:24px; height:24px; }
.service-card h3 { font-size:18px; margin-top:18px; }
.service-card p { margin-top:8px; font-size:14px; color:var(--muted); }
.learn { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:14px; font-weight:600; color:var(--violet); }
.learn .icon { width:15px; height:15px; }
.learn:hover { color:var(--indigo); }

.tint-violet { background:#dbeafe; color:var(--violet); }
.tint-cyan { background:#cffafe; color:#0891b2; }
.tint-teal { background:#ccfbf1; color:#0d9488; }
.tint-blue { background:#dbeafe; color:#2563eb; }
.tint-pink { background:#fce7f3; color:#db2777; }
.tint-fuchsia { background:#fae8ff; color:#c026d3; }
.tint-amber { background:#fef3c7; color:#d97706; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  background:rgba(255,255,255,.6); border:1px solid var(--line); border-radius:20px; padding:26px 30px; }
.stat { display:flex; align-items:center; gap:14px; }
.stat-ic { display:grid; place-items:center; width:48px; height:48px; border-radius:50%;
  background:linear-gradient(135deg,rgba(59,130,246,.1),rgba(37,99,235,.1)); color:var(--violet); }
.stat-ic .icon { width:24px; height:24px; }
.stat strong { display:block; font-family:"Space Grotesk",sans-serif; font-size:26px; color:var(--ink); }
.stat span { font-size:14px; color:var(--muted); }

/* ---------- Our Work ---------- */
.work-layout { display:grid; grid-template-columns:.8fr 2fr; gap:32px; align-items:center; }
.work-intro h2 { font-size:clamp(26px,3vw,36px); margin-top:16px; }
.work-intro p { margin-top:14px; font-size:14px; color:var(--muted); }
.work-intro .btn { margin-top:22px; }
.work-slider { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; padding-bottom:4px; scrollbar-width:none; -ms-overflow-style:none; }
.work-slider::-webkit-scrollbar { display:none; }
.work-slider .work-card { flex:0 0 calc((100% - 42px) / 4); min-width:150px; aspect-ratio:1 / 1; scroll-snap-align:start; }
.work-controls { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
.round-btn.is-disabled { opacity:.35; cursor:default; pointer-events:none; }
.work-card { border-radius:16px; overflow:hidden; background:#0f172a; border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 26px -14px rgba(0,0,0,.55); transition:transform .25s, border-color .25s, box-shadow .25s; }
.work-card:hover { transform:translateY(-4px); border-color:rgba(96,165,250,.6);
  box-shadow:0 16px 32px -14px rgba(37,99,235,.45); }
.work-shot { padding:0; line-height:0; position:relative; width:100%; height:100%; overflow:hidden; }
.work-shot .mock { position:absolute; inset:0; width:100%; height:100%; display:block; }
/* Drop-in real photo: add img/work-*.jpg and it covers the mock fallback */
.work-photo { position:absolute; inset:0; background-size:cover; background-position:center;
  background-repeat:no-repeat; }
.grad-1 { background:linear-gradient(135deg,#3b82f6,#2563eb,#38bdf8); }
.grad-2 { background:linear-gradient(135deg,#fb7185,#2563eb,#3b82f6); }
.grad-3 { background:linear-gradient(135deg,#2dd4bf,#22d3ee,#2563eb); }
.grad-4 { background:linear-gradient(135deg,#38bdf8,#3b82f6,#22d3ee); }
.work-meta { position:absolute; left:0; right:0; bottom:0; z-index:2; line-height:1.25;
  padding:14px 12px 11px;
  background:linear-gradient(to top, rgba(2,4,12,.72) 0%, rgba(2,4,12,.2) 34%, transparent 52%); }
.work-meta h3 { font-size:13px; color:#fff; text-shadow:0 1px 6px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.work-meta p { font-size:11px; color:rgba(255,255,255,.9); margin-top:2px; text-shadow:0 1px 6px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }

/* ---------- Why choose ---------- */
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; }
.why-image { position:relative; aspect-ratio:4/3; border-radius:28px; overflow:hidden;
  border:1px solid var(--line); box-shadow:0 20px 45px -22px rgba(37,99,235,.35); }
.why-image img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.why-glow { position:absolute; width:220px; height:220px; border-radius:50%; filter:blur(50px); }
.why-glow.g1 { top:-40px; right:-40px; background:rgba(37,99,235,.18); }
.why-glow.g2 { bottom:-40px; left:-30px; background:rgba(34,211,238,.16); }
.why-brand { position:relative; display:flex; flex-direction:column; align-items:center; gap:10px; }
.why-brand-name { font-family:"Space Grotesk",sans-serif; font-weight:700; font-size:24px; color:var(--ink); }
.why-brand-name .accent { color:#94a3b8; font-weight:600; }
.why-brand-sub { font-size:10px; font-weight:600; letter-spacing:.3em; text-transform:uppercase; color:var(--faint); }
.why-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.why-head h2 { font-size:clamp(26px,3vw,36px); margin-top:16px; }
.carousel-btns { display:flex; gap:8px; }
.round-btn { width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:#fff;
  color:var(--muted); cursor:pointer; display:grid; place-items:center; }
.round-btn.dark { color:var(--ink); }
.round-btn .icon { width:16px; height:16px; }
.flip { transform:rotate(180deg); }
.why-cards { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:28px; }
.why-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; }
.why-card h3 { font-size:16px; margin-top:14px; }
.why-card p { font-size:14px; color:var(--muted); margin-top:6px; }

/* ---------- Tech strip ---------- */
.tech-strip { display:flex; align-items:center; gap:24px; flex-wrap:wrap;
  background:rgba(255,255,255,.6); border:1px solid var(--line); border-radius:20px; padding:22px 28px; }
.tech-label { flex-shrink:0; font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--faint); line-height:1.5; }
.tech-list { display:flex; flex:1; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px 18px; }
.tech-list li { display:flex; align-items:center; gap:7px; font-family:"Space Grotesk",sans-serif;
  font-size:16.5px; font-weight:600; color:var(--ink); transition:transform .2s, opacity .2s; }
.tech-list li:hover { transform:translateY(-2px); }
.tech-ic { display:block; flex-shrink:0; }

/* ---------- Footer ---------- */
.site-footer { margin-top:40px; border-top:1px solid var(--line); background:#f4f5fb; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.5fr; gap:32px; padding:56px 24px 0; }
.footer-desc { margin-top:18px; max-width:280px; font-size:14px; color:var(--muted); }
.socials { display:flex; gap:10px; margin-top:20px; }
.socials a { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; border:1px solid var(--line);
  background:#fff; color:var(--muted); transition:.2s; }
.socials a:hover { color:var(--violet); border-color:rgba(37,99,235,.4); }
.soc { width:16px; height:16px; fill:currentColor; }
.footer-col h2 { font-family:"Space Grotesk",sans-serif; font-size:15px; color:var(--ink); margin-bottom:16px; }
.footer-col { display:flex; flex-direction:column; gap:12px; }
.footer-col a { font-size:14px; color:var(--muted); }
.footer-col a:hover { color:var(--violet); }
.footer-news h2 { font-family:"Space Grotesk",sans-serif; font-size:15px; color:var(--ink); margin-bottom:14px; }
.footer-news p { font-size:14px; color:var(--muted); margin-bottom:14px; }
.news-form { display:flex; gap:8px; align-items:center; background:#fff; border:1px solid var(--line);
  border-radius:12px; padding:6px; }
.news-form:focus-within { border-color:var(--violet); }
.news-form input { flex:1; min-width:0; border:0; background:transparent; padding:8px 10px; font-size:14px; color:var(--ink); outline:none; }
.news-form button { flex-shrink:0; width:36px; height:36px; border:0; border-radius:9px; cursor:pointer;
  background:var(--grad); color:#fff; display:grid; place-items:center; transition:transform .2s; }
.news-form button:hover { transform:scale(1.06); }
.news-form .icon { width:16px; height:16px; }
.news-msg { font-size:13px; color:#0d9488; margin-top:10px; min-height:1em; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
  padding:24px; margin-top:48px; border-top:1px solid var(--line); font-size:13px; color:var(--faint); }
.footer-bottom .location span { color:#cbd5e1; margin:0 4px; }

/* ---------- Back to top ---------- */
.to-top { position:fixed; right:22px; bottom:22px; z-index:40; width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center; background:var(--grad); color:#fff; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.3s; }
.to-top.show { opacity:1; visibility:visible; transform:none; }
.flip-up { transform:rotate(-90deg); width:18px; height:18px; }

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .main-nav, .nav-cta { display:none; }
  .menu-toggle { display:flex; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-visual { order:-1; min-height:0; }
  .ai-core, .hero-stats { display:none; }
  .feature-pills { position:static; transform:none; flex-direction:row; justify-content:center; margin-top:8px; flex-wrap:wrap; }
  .feature-pills .pill:nth-child(1), .feature-pills .pill:nth-child(3) { transform:none; }
  .section-head { grid-template-columns:1fr; }
  .section-head-right { align-items:flex-start; }
  .section-head-right p { text-align:left; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .stats { grid-template-columns:repeat(2,1fr); }
  .work-layout { grid-template-columns:1fr; }
  .work-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1 / -1; }
}
@media (max-width:560px){
  .panel { padding:26px; border-radius:24px; }
  .services-grid { grid-template-columns:1fr; }
  .stats { grid-template-columns:1fr; }
  .work-grid { grid-template-columns:1fr; }
  .why-cards { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero { padding-top:110px; }
}

@media (prefers-reduced-motion:reduce){
  * { animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .cube { transform:rotateX(-22deg) rotateY(-32deg); }
}

/* =========================================================
   DARK THEME
   ========================================================= */
:root {
  --ink:#eef2f8; --slate:#c3ccdb; --muted:#94a3b8; --faint:#6b7688;
  --line:rgba(255,255,255,.09); --card:#0c1424; --bg:#04060e;
}
/* Dark base on <html> so navigation between pages never flashes white */
html { background:#05070f; }
body {
  color:var(--slate);
  background:
    radial-gradient(60rem 40rem at 100% -8%, rgba(37,99,235,.16), transparent 60%),
    radial-gradient(52rem 42rem at -8% 18%, rgba(6,182,212,.09), transparent 55%),
    linear-gradient(180deg,#05070f 0%,#020409 100%);
  background-attachment:fixed;
}

/* Soft page-load entrance (replaces the hard flash on each navigation) */
.site-header { animation:qFadeIn .5s ease both; }
main { animation:qRiseIn .42s ease both; }
@keyframes qFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes qRiseIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* Surfaces */
.panel { background:rgba(255,255,255,.035); border-color:var(--line); box-shadow:none; }
.service-card, .why-card { background:#0f1a33; border-color:var(--line); }
.service-card:hover { border-color:rgba(59,130,246,.45);
  box-shadow:0 18px 34px -16px rgba(37,99,235,.5); }
.stats, .tech-strip { background:rgba(255,255,255,.035); border-color:var(--line); }

/* Buttons */
.btn-ghost { background:rgba(255,255,255,.05); border-color:var(--line); color:var(--ink); box-shadow:none; }
.btn-ghost:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.22); }

/* Header (scrolled onto the dark body) */
.site-header.scrolled { background:rgba(8,13,28,.82); border-bottom-color:var(--line); }
.site-header.scrolled .main-nav > a,
.site-header.scrolled .dropdown-toggle { color:#c3ccdb; }
.site-header.scrolled .main-nav > a:hover,
.site-header.scrolled .dropdown-toggle:hover { color:#fff; }
.site-header.scrolled .main-nav > a.active { color:#60a5fa; }
.site-header.scrolled .main-nav > a.active::after { background:#60a5fa; }
.site-header.scrolled .menu-toggle { background:rgba(255,255,255,.06); border-color:var(--line); }
.menu-toggle { background:rgba(255,255,255,.06); border-color:var(--line); }

/* Dropdown */
.dropdown { background:#0f1a33; border-color:var(--line); }
.dropdown a { background:transparent; color:var(--muted); }
.dropdown a:hover { background:rgba(255,255,255,.06); color:#fff; }

/* Mobile menu */
.mobile-menu { background:rgba(8,13,28,.97); border-top-color:var(--line); }
.mobile-menu a:hover { background:rgba(255,255,255,.06); color:#fff; }

/* Footer */
.site-footer { background:#0a0f20; border-top-color:var(--line); }
.news-form { background:rgba(255,255,255,.05); border-color:var(--line); }
.news-form input { color:var(--ink); }
.socials a { background:rgba(255,255,255,.05); border-color:var(--line); color:var(--muted); }
.socials a:hover { border-color:rgba(59,130,246,.4); color:#60a5fa; }

/* Slider nav */
.round-btn { background:rgba(255,255,255,.05); border-color:var(--line); color:var(--muted); }
.round-btn.dark { color:var(--ink); }

/* Hero floating stat cards */
.hero-stats .hstat { position:absolute; z-index:3; display:flex; flex-direction:column; gap:2px;
  padding:11px 15px; border-radius:14px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13); backdrop-filter:blur(10px);
  box-shadow:0 12px 30px -14px rgba(0,0,0,.55); animation:hfloat 6s ease-in-out infinite; }
.hero-stats .hstat strong { font-family:"Space Grotesk",sans-serif; font-size:22px; font-weight:700; color:#fff; line-height:1; }
.hero-stats .hstat span { font-size:11px; color:rgba(255,255,255,.68); white-space:nowrap; }
.hero-stats .hs1 { top:5%; left:15%; animation-delay:0s; }
.hero-stats .hs2 { top:40%; left:1%; animation-delay:-2s; }
.hero-stats .hs3 { bottom:15%; left:11%; animation-delay:-4s; }
@keyframes hfloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@media (prefers-reduced-motion:reduce) { .hero-stats .hstat { animation:none; } }

/* =========================================================
   MULTI-PAGE COMPONENTS (sub-pages)
   ========================================================= */

/* Anchor offset for the fixed header */
main section[id], .sol-row[id] { scroll-margin-top:96px; }

/* Nav readable on the dark hero (before scroll) */
.main-nav > a, .dropdown-toggle { color:#c3ccdb; }
.main-nav > a:hover, .dropdown-toggle:hover { color:#fff; }
.main-nav > a.active { color:#60a5fa; }
.main-nav > a.active::after { background:#60a5fa; }
.dropdown-toggle.active,
.site-header.scrolled .dropdown-toggle.active { color:#60a5fa; }

/* ---------- Sub-page hero ---------- */
.subhero { position:relative; padding:150px 0 56px; overflow:hidden; }
.subhero-bg { position:absolute; inset:0; z-index:-1; border-bottom:1px solid var(--line);
  background:
    radial-gradient(48rem 30rem at 85% -10%, rgba(37,99,235,.4), transparent 60%),
    radial-gradient(40rem 30rem at 8% 16%, rgba(6,182,212,.14), transparent 60%),
    linear-gradient(160deg,#06091a 0%,#0a1330 60%,#05070f 100%); }
.subhero h1 { font-size:clamp(34px,5vw,56px); margin:10px 0 14px; color:#fff; }
.subhero .lead { max-width:640px; }
.crumb { font-size:13px; color:var(--muted); margin-bottom:18px; }
.crumb a:hover { color:#93c5fd; }
.crumb span { margin:0 6px; opacity:.55; }

/* jump-link chips */
.chip-nav { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.chip-nav a { display:inline-flex; align-items:center; gap:8px; padding:9px 15px; border-radius:999px;
  font-size:13px; font-weight:600; color:#c3ccdb; background:rgba(255,255,255,.05);
  border:1px solid var(--line); transition:.2s; }
.chip-nav a:hover { color:#fff; border-color:rgba(59,130,246,.5); background:rgba(59,130,246,.12); }
.chip-nav a .icon { width:15px; height:15px; color:#60a5fa; }

/* ---------- Solution detail rows ---------- */
.sol-row { display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;
  padding:46px 0; border-top:1px solid var(--line); }
.sol-row:first-child { border-top:0; padding-top:8px; }
.sol-row.reverse .sol-copy { order:2; }
.sol-copy .s-ic { margin-bottom:14px; }
.sol-copy h2 { color:#fff; font-size:clamp(24px,3vw,32px); margin:6px 0 12px; }
.sol-copy > p { margin-bottom:18px; }
.feat-list { display:grid; gap:11px; margin:0 0 24px; }
.feat-list li { display:flex; align-items:flex-start; gap:10px; font-size:15px; }
.feat-list .icon { width:18px; height:18px; color:#34d399; flex:0 0 auto; margin-top:2px; stroke-width:2.4; }

.sol-visual { position:relative; aspect-ratio:4/3; border-radius:24px; overflow:hidden;
  border:1px solid var(--line); display:grid; place-items:center;
  background:radial-gradient(120% 120% at 30% 20%, rgba(59,130,246,.16), rgba(255,255,255,.02)); }
.sol-visual .sv-glow { position:absolute; width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle, rgba(59,130,246,.5), transparent 65%); filter:blur(8px); }
.sol-visual .sv-ic { position:relative; display:grid; place-items:center; width:104px; height:104px;
  border-radius:28px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); }
.sol-visual .sv-ic .icon { width:48px; height:48px; color:#fff; stroke-width:1.6; }
.sol-visual .sv-tag { position:absolute; bottom:16px; right:16px; font-size:11px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:#93c5fd; padding:5px 12px; border-radius:999px;
  background:rgba(4,8,20,.5); border:1px solid var(--line); }
.sol-visual.has-img { aspect-ratio:3 / 2; padding:0; background:#0a1020; }
.sol-visual.has-img img { width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- CTA band ---------- */
.cta-band { display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap;
  padding:40px 44px; border-radius:26px; border:1px solid rgba(59,130,246,.3);
  background:radial-gradient(120% 160% at 100% 0%, rgba(37,99,235,.22), rgba(255,255,255,.03));
  box-shadow:0 24px 60px -30px rgba(37,99,235,.5); }
.cta-band h2 { color:#fff; font-size:clamp(22px,3vw,30px); margin-bottom:6px; }
.cta-band p { max-width:520px; }

/* ---------- Process / steps ---------- */
.proc-head { text-align:center; max-width:560px; margin:0 auto 34px; }
.proc-head h2 { color:#fff; }
.proc-head .kicker { justify-content:center; }
.proc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.proc-step { position:relative; padding:26px 22px; border-radius:20px; background:#0f1a33;
  border:1px solid var(--line); }
.proc-step .proc-no { position:absolute; top:18px; right:20px; font-family:"Space Grotesk",sans-serif;
  font-size:26px; font-weight:700; color:rgba(255,255,255,.1); }
.proc-step .s-ic { margin-bottom:14px; }
.proc-step h3 { color:#fff; font-size:18px; margin-bottom:6px; }
.proc-step p { font-size:14px; }

/* grid variants */
.services-grid.two { grid-template-columns:repeat(2,1fr); }
.services-grid.three { grid-template-columns:repeat(3,1fr); }

/* ---------- Portfolio grid ---------- */
.pf-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.pf-card { border-radius:22px; overflow:hidden; background:#0f1a33; border:1px solid var(--line);
  transition:transform .2s, border-color .2s, box-shadow .2s; }
.pf-card:hover { transform:translateY(-4px); border-color:rgba(59,130,246,.45);
  box-shadow:0 26px 50px -24px rgba(0,0,0,.6); }
.pf-shot { position:relative; aspect-ratio:16/10; overflow:hidden; }
.pf-shot .work-photo { position:absolute; inset:0; background-size:cover; background-position:center;
  transition:transform .4s; }
.pf-card:hover .work-photo { transform:scale(1.05); }
.pf-tags { position:absolute; top:14px; left:14px; display:flex; gap:7px; }
.pf-tags span { font-size:11px; font-weight:700; letter-spacing:.04em; color:#e2e8f0; padding:5px 11px;
  border-radius:999px; background:rgba(4,8,20,.55); border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(4px); }
.pf-body { padding:22px 22px 24px; }
.pf-cat { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#60a5fa;
  margin-bottom:7px; }
.pf-body h3 { color:#fff; font-size:20px; margin-bottom:8px; }
.pf-body > p { font-size:14px; margin-bottom:16px; }

/* ---------- About story ---------- */
.about-story h2 { color:#fff; margin:6px 0 14px; }
.about-story p { margin-bottom:14px; }
.about-story .hero-actions { margin-top:22px; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:28px; align-items:start; }
.contact-info { display:grid; gap:14px; }
.info-card { display:flex; align-items:center; gap:14px; padding:20px; border-radius:18px;
  background:#0f1a33; border:1px solid var(--line); transition:.2s; }
a.info-card:hover { border-color:rgba(59,130,246,.45); }
.info-card h3 { color:#fff; font-size:16px; margin-bottom:3px; }
.info-card p { font-size:14px; }
.info-socials { padding-top:6px; }
.info-socials > p { font-size:13px; color:var(--muted); margin-bottom:10px; }

.contact-form-wrap { padding:30px; border-radius:24px; background:rgba(255,255,255,.035);
  border:1px solid var(--line); }
.contact-form .field { display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.contact-form .field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form label { font-size:13px; font-weight:600; color:var(--ink); }
.contact-form input, .contact-form textarea { width:100%; padding:13px 15px; border-radius:12px;
  background:rgba(255,255,255,.04); border:1px solid var(--line); color:var(--ink);
  font-family:inherit; font-size:14px; transition:.2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color:var(--faint); }
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:rgba(59,130,246,.6);
  background:rgba(59,130,246,.06); }
.contact-form textarea { resize:vertical; min-height:120px; }
.contact-form .btn { width:100%; justify-content:center; margin-top:4px; }
.form-msg { margin-top:12px; font-size:14px; font-weight:500; text-align:center; }

/* ---------- Sub-page responsive ---------- */
@media (max-width:1000px){
  .sol-row, .contact-grid { grid-template-columns:1fr; gap:28px; }
  .sol-row.reverse .sol-copy { order:0; }
  .sol-visual { order:-1; max-width:420px; }
  .proc-grid { grid-template-columns:repeat(2,1fr); }
  .pf-grid { grid-template-columns:1fr; }
  .services-grid.three { grid-template-columns:1fr; }
}
@media (max-width:560px){
  .subhero { padding:120px 0 44px; }
  .cta-band { padding:30px 26px; }
  .proc-grid { grid-template-columns:1fr; }
  .services-grid.two { grid-template-columns:1fr; }
  .contact-form .field-row { grid-template-columns:1fr; }
  .contact-form-wrap { padding:22px; }
}

/* =========================================================
   CONTACT — neural-network stage
   ========================================================= */
.net-stage { position:relative; border-radius:26px; overflow:hidden; border:1px solid var(--line);
  background:#050912; min-height:520px; }
#net { position:absolute; inset:0; z-index:0; width:100%; height:100%; display:block; }
.net-scrim { position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(72% 92% at 20% 42%, rgba(4,6,13,.9), rgba(4,6,13,.4) 58%, transparent),
    radial-gradient(60% 80% at 100% 0%, rgba(20,60,130,.16), transparent 60%),
    linear-gradient(180deg, rgba(4,6,13,.15), rgba(4,6,13,.5)); }
.net-inner { position:relative; z-index:2; display:flex; flex-direction:column; align-items:center;
  padding:54px 40px; }
.net-head { text-align:center; max-width:660px; margin-bottom:30px; }
.net-head .net-eyebrow { justify-content:center; }
.net-head .net-lead { margin:0 auto; }

.net-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:#a9c7ff; margin-bottom:18px; }
.net-eyebrow .pdot { width:7px; height:7px; border-radius:50%; background:#67e8f9;
  box-shadow:0 0 10px #67e8f9; animation:npulse 2s ease-in-out infinite; }
@keyframes npulse { 0%,100%{ opacity:1; } 50%{ opacity:.35; } }
.net-copy h2 { color:#fff; font-size:clamp(28px,3.4vw,42px); font-weight:600; margin-bottom:14px; }
.net-lead { font-size:16px; font-weight:300; color:var(--slate); max-width:360px; margin-bottom:26px; }

.c-list { display:grid; gap:2px; max-width:400px; }
.c-row { display:flex; align-items:center; gap:14px; padding:14px 2px; border-top:1px solid var(--line);
  color:inherit; }
.c-row:first-child { border-top:0; }
a.c-row:hover .c-v { color:#8fd3ff; }
.c-ic { width:38px; height:38px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto;
  background:linear-gradient(135deg, rgba(61,185,247,.18), rgba(28,98,212,.12));
  border:1px solid rgba(120,180,255,.2); color:#8fd3ff; }
.c-ic .icon { width:18px; height:18px; }
.c-txt { display:flex; flex-direction:column; }
.c-k { font-size:12px; color:var(--faint); }
.c-v { font-size:15px; color:#fff; font-weight:500; transition:color .2s; word-break:break-word; }
.net-copy .socials { margin-top:22px; }

.net-form { position:relative; width:100%; max-width:560px; margin:0 auto; border-radius:20px;
  overflow:hidden; padding:30px;
  background:rgba(9,15,29,.72); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.1); box-shadow:0 30px 70px -30px rgba(0,0,0,.65); }
.net-form::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(300px circle at var(--mx,75%) var(--my,-10%), rgba(96,165,250,.2), transparent 60%); }
.net-form::after { content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(140,200,255,.7), transparent); }
.net-form > * { position:relative; z-index:1; }
.net-form h3 { color:#fff; font-size:20px; margin-bottom:4px; }
.net-form .nf-sub { font-size:13px; color:var(--muted); margin-bottom:22px; }

/* centered contact info row under the form */
.net-info { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:14px 26px; margin-top:34px; }
.net-item { display:flex; align-items:center; gap:12px; }
.net-item .c-v { font-size:14px; }
.net-div { width:1px; height:30px; background:var(--line); }
.net-socials { display:flex; justify-content:center; gap:10px; margin-top:22px; }
@media (max-width:620px){ .net-div { display:none; } .net-info { gap:16px 22px; } }

/* Honeypot (spam trap) — hidden from real users */
.contact-form .hp { position:absolute !important; left:-9999px !important; width:1px; height:1px;
  overflow:hidden; opacity:0; pointer-events:none; }

@media (max-width:1000px){
  .net-inner { grid-template-columns:1fr; gap:34px; padding:36px 28px; }
  .net-lead, .c-list { max-width:none; }
}
@media (max-width:560px){
  .net-stage { border-radius:20px; min-height:0; }
  .net-inner { padding:28px 20px; }
  .net-form { padding:22px; }
}
@media (prefers-reduced-motion:reduce){
  .net-eyebrow .pdot { animation:none; }
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-list { max-width:820px; margin:0 auto; display:grid; gap:12px; }
.faq-item { background:#0f1a33; border:1px solid var(--line); border-radius:14px; overflow:hidden;
  transition:border-color .2s; }
.faq-item[open] { border-color:rgba(59,130,246,.4); }
.faq-item summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:18px 22px; font-family:"Space Grotesk",sans-serif; font-weight:600; font-size:16px; color:#fff; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary:hover { color:#8fd3ff; }
.faq-ic { width:18px; height:18px; flex:0 0 auto; stroke:#60a5fa; transition:transform .25s; }
.faq-item[open] summary .faq-ic { transform:rotate(180deg); }
.faq-a { padding:0 22px 20px; }
.faq-a p { color:var(--slate); font-size:15px; line-height:1.7; max-width:70ch; }
@media (prefers-reduced-motion:reduce){ .faq-ic { transition:none; } }

/* =========================================================
   Lighter hero animation (performance)
   — background SVG is now static; only the orb breathes.
   The blur/glow-filtered animations (sparks, particles,
   flickers) were the main per-frame cost, so they're off.
   ========================================================= */
.hero-waves .flickers,
.hero-waves .sparks,
.hero-waves .particles,
.hero-waves .rings { display:none; }                    /* remove glow-filtered animated overlays */
.hero-waves .bands,
.hero-waves .cubeGlow { animation:none; }               /* keep the streaks/glow, but static */
