/* ═══════════════════════════════════════════
   AlgoriumAI — Premium Design System
   ═══════════════════════════════════════════ */
:root {
  --bg: #050816;
  --bg2: #0B1022;
  --accent: #3B82F6;
  --accent2: #8B5CF6;
  --text: #FFFFFF;
  --sub: #B7C0D8;
  --grad: linear-gradient(135deg, #3B82F6, #8B5CF6);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--sub); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container-narrow { width: min(860px, 92%); }
.center { text-align: center; margin-top: 3rem; }

.grad-text {
  background: linear-gradient(135deg, #60a5fa, #8B5CF6, #60a5fa);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

/* ── Accessibility ── */
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 300;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top 0.25s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Loader ── */
.loader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: var(--bg); transition: opacity 0.6s, visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { display: grid; place-items: center; gap: 20px; }
.loader-mark svg { animation: loaderPulse 1.4s ease-in-out infinite; }
@keyframes loaderPulse { 50% { transform: scale(1.12); filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.7)); } }
.loader-bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--grad); animation: loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ── Glassmorphism ── */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 999px; border: none; cursor: pointer;
  position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); border-color: rgba(139,92,246,0.5); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn .ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.45);
  transform: scale(0); animation: ripple 0.6s ease-out; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 14px 0;
}
.nav.scrolled {
  background: rgba(5, 8, 22, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 10px 40px rgba(0,0,0,0.45);
  padding: 8px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a:not(.btn) {
  padding: 8px 13px; font-size: 0.9rem; color: var(--sub); border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.nav-menu a:not(.btn):hover, .nav-menu a.active:not(.btn) { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 210; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.35s var(--ease); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden;
}
#neural-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; top: -350px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59,130,246,0.16), rgba(139,92,246,0.08) 45%, transparent 70%);
  filter: blur(50px); animation: glowDrift 12s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translateX(-46%) translateY(50px) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: #93c5fd; padding: 8px 18px; border-radius: 999px;
  background: rgba(59,130,246,0.09); border: 1px solid rgba(59,130,246,0.25); margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulseDot 2s infinite; flex-shrink: 0; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }
.hero-sub { font-size: 1.13rem; max-width: 560px; margin: 24px 0 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 26px; margin-top: 44px; }
.hero-proof div:not(.sep) { display: grid; }
.hero-proof strong { font-family: var(--font-head); font-size: 1.5rem; }
.hero-proof span { font-size: 0.82rem; color: var(--sub); }
.hero-proof .sep { width: 1px; height: 36px; background: var(--glass-border); }

/* Hero visual / dashboard */
.hero-visual { position: relative; }
.dashboard {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(59,130,246,0.12);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY { 50% { transform: translateY(-14px); } }
.dash-head { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--glass-border); background: rgba(255,255,255,0.03); }
.dash-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #4ade80; }
.dash-title { margin-left: 10px; font-size: 0.78rem; color: var(--sub); font-family: monospace; }
.dash-body { padding: 22px; }
.dash-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--sub); }
.dash-val { color: #4ade80; font-weight: 700; font-family: var(--font-head); }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 18px 0; }
.dash-bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(59,130,246,0.35), rgba(139,92,246,0.85));
  animation: barGrow 1.2s var(--ease) backwards;
}
.dash-bars span:nth-child(odd) { animation-delay: 0.15s; }
.dash-bars span:nth-child(3n) { animation-delay: 0.3s; }
@keyframes barGrow { from { height: 0; } }
.dash-status { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--sub); margin-bottom: 12px; }
.typing-line { display: flex; align-items: center; background: rgba(0,0,0,0.35); border-radius: 9px; padding: 10px 14px; font-family: monospace; font-size: 0.78rem; color: #93c5fd; min-height: 38px; }
.caret { width: 7px; height: 15px; background: #8B5CF6; margin-left: 3px; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.float-card {
  position: absolute; padding: 11px 18px; font-size: 0.83rem; font-weight: 600;
  border-radius: 12px; white-space: nowrap;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  animation: floatY 6s ease-in-out infinite;
}
.fc-1 { top: -26px; left: -34px; animation-delay: 0.4s; color: #93c5fd; }
.fc-2 { top: 24%; right: -44px; animation-delay: 1.1s; color: #c4b5fd; }
.fc-3 { bottom: 30%; left: -52px; animation-delay: 1.8s; color: #86efac; }
.fc-4 { bottom: -22px; right: 12%; animation-delay: 0.8s; color: #fca5f1; }
.fc-5 { top: 55%; right: -30px; animation-delay: 2.3s; color: #93c5fd; }
.fc-6 { bottom: -26px; left: 4%; animation-delay: 2.9s; color: #7dd3fc; }
.fc-7 { top: -20px; right: 16%; animation-delay: 1.5s; color: #c4b5fd; }
.fc-8 { top: -34px; left: 24%; animation-delay: 3.4s; color: #86efac; }
.fc-9 { top: 22%; left: -48px; animation-delay: 2.0s; color: #fca5f1; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.25); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 60% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* ── Trust marquee ── */
.trust { padding: 54px 0; border-block: 1px solid rgba(255,255,255,0.05); background: var(--bg2); }
/* ── Sections ── */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { margin-top: 18px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(59,130,246,0.09); border: 1px solid rgba(59,130,246,0.22);
}

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Service cards ── */
.card { padding: 30px 26px; position: relative; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(99,102,241,0.13), transparent 45%);
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: rgba(139,92,246,0.4); box-shadow: 0 22px 55px rgba(0,0,0,0.45), 0 0 34px rgba(59,130,246,0.1); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 14px; background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px rgba(99,102,241,0.4);
  transition: transform 0.4s var(--ease);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); }
.card-icon svg { width: 26px; height: 26px; fill: currentColor; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9rem; margin-bottom: 18px; }
.card-link { font-size: 0.87rem; font-weight: 600; color: #93c5fd; transition: gap 0.3s; display: inline-flex; gap: 6px; align-items: center; }
.card-link:hover { color: #c4b5fd; }
.card-link span { transition: transform 0.3s; display: inline-block; }
.card-link:hover span { transform: translateX(4px); }

/* ── Feature cards ── */
.feature { padding: 28px 24px; text-align: center; transition: transform 0.4s var(--ease), border-color 0.4s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(59,130,246,0.4); }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: 0.86rem; }

/* ── Timeline ── */
.timeline { max-width: 780px; margin: 0 auto; position: relative; padding-left: 0; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2), var(--accent));
  background-size: 100% 300%;
  animation: connFlow 5s linear infinite;
  opacity: 0.5;
}
@keyframes connFlow { to { background-position: 0 300%; } }
.tl-item { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 30px; position: relative; }
.tl-num {
  flex-shrink: 0; width: 80px; height: 80px; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  background: var(--bg2); border: 2px solid rgba(59,130,246,0.4);
  color: #93c5fd; box-shadow: 0 0 26px rgba(59,130,246,0.16); z-index: 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.tl-item:hover .tl-num { transform: scale(1.1); box-shadow: 0 0 40px rgba(139,92,246,0.5); border-color: var(--accent2); }
.tl-body { flex: 1; padding: 24px 28px; transition: transform 0.35s var(--ease), border-color 0.35s; }
.tl-item:hover .tl-body { transform: translateX(6px); border-color: rgba(139,92,246,0.35); }
.tl-body p { font-size: 0.93rem; margin-top: 6px; }

/* ── Case studies ── */
.case { overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.case:hover { transform: translateY(-8px); border-color: rgba(139,92,246,0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.case-top {
  height: 120px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: 0.9; position: relative; overflow: hidden;
}
.case-top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.22), transparent 55%); }
.case-top svg { width: 46px; height: 46px; color: #fff; z-index: 1; transition: transform 0.4s var(--ease); }
.case:hover .case-top svg { transform: scale(1.18); }
.case-body { padding: 24px; }
.case-tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: #93c5fd; font-weight: 600; }
.case-body h3 { margin: 10px 0 8px; }
.case-body > p { font-size: 0.89rem; }
.case-tech { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.case-tech span { font-size: 0.72rem; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); color: var(--sub); }
.case-impact { font-size: 0.85rem; font-weight: 600; color: #4ade80; padding-top: 14px; border-top: 1px solid var(--glass-border); }

/* ── Industries ── */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ind {
  display: grid; place-items: center; gap: 10px; padding: 28px 12px;
  font-weight: 600; font-size: 0.92rem; text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.ind:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(59,130,246,0.45); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 26px rgba(59,130,246,0.12); }
.ind-ic { font-size: 2.1rem; transition: transform 0.35s var(--ease); }
.ind:hover .ind-ic { transform: scale(1.2) rotate(-6deg); }

/* ── Stats ── */
.stats { padding: 40px 0 110px; }
.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr); text-align: center;
  padding: 44px 24px; gap: 20px;
  background: linear-gradient(135deg, rgba(59,130,246,0.09), rgba(139,92,246,0.09));
  border: 1px solid rgba(139,92,246,0.22);
  box-shadow: 0 0 80px rgba(59,130,246,0.08) inset;
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 0.86rem; color: var(--sub); }

/* ── Tech stack ── */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tech {
  display: grid; place-items: center; padding: 24px 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--sub);
  transition: transform 0.35s var(--ease), color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.tech:hover { transform: translateY(-5px); color: #fff; border-color: rgba(59,130,246,0.5); box-shadow: 0 0 30px rgba(59,130,246,0.15); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about-card { padding: 34px 32px; transition: transform 0.4s var(--ease), border-color 0.4s; }
.about-card:hover { transform: translateY(-5px); border-color: rgba(139,92,246,0.35); }
.about-card h3 { font-size: 1.3rem; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.values-card { grid-column: 1 / -1; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.values li { color: var(--sub); font-size: 0.94rem; padding-left: 24px; position: relative; }
.values li::before { content: "◆"; position: absolute; left: 0; color: var(--accent2); font-size: 0.7rem; top: 5px; }
.values strong { color: #fff; }

/* ── Blog ── */
.blog-card { overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.blog-card:hover { transform: translateY(-8px); border-color: rgba(139,92,246,0.4); box-shadow: 0 22px 55px rgba(0,0,0,0.45); }
.blog-thumb {
  height: 150px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--c1), var(--c2)); opacity: 0.85;
}
.blog-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.35;
}
.blog-body { padding: 24px; }
.blog-tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em; color: #93c5fd; font-weight: 600; }
.blog-body h3 { font-size: 1.05rem; margin: 10px 0 8px; }
.blog-body p { font-size: 0.88rem; margin-bottom: 16px; }
/* ── FAQ ── */
.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(139,92,246,0.4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.faq-ic::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-ic::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.faq-item[open] .faq-ic::after { transform: rotate(90deg); }
.faq-body { padding: 0 26px 24px; }
.faq-body p { font-size: 0.94rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { margin: 16px 0 18px; }
.contact-info > p { font-size: 1.02rem; }
.contact-links { margin: 30px 0; display: grid; gap: 15px; }
.contact-links li { display: flex; align-items: center; gap: 13px; }
.contact-links a { color: var(--sub); transition: color 0.3s; }
.contact-links a:hover { color: #93c5fd; }
.ci { font-size: 1.1rem; }
.contact-note { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 0.87rem; color: var(--sub); border-radius: 999px; }
.contact-form { padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: #dde3f0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 11px; font-family: inherit; font-size: 0.94rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s; resize: vertical;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B7C0D8' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--bg2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f87171; }
.err { display: block; font-size: 0.78rem; color: #fca5a5; margin-top: 5px; min-height: 1em; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success {
  margin-top: 18px; padding: 15px 20px; border-radius: 12px; font-weight: 600;
  color: #4ade80; background: rgba(74,222,128,0.09); border: 1px solid rgba(74,222,128,0.3);
  animation: fadeUp 0.5s var(--ease);
}

/* ── Footer ── */
.footer { background: #03040d; border-top: 1px solid rgba(255,255,255,0.06); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { font-size: 0.9rem; margin: 18px 0 22px; max-width: 280px; }
.footer h4 { font-size: 0.9rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { font-size: 0.88rem; color: var(--sub); transition: color 0.25s; }
.footer ul a:hover { color: #93c5fd; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--sub);
  transition: 0.3s;
}
.socials a:hover { color: #fff; background: var(--grad); transform: translateY(-3px); border-color: transparent; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p, .footer-bottom a { font-size: 0.84rem; color: var(--sub); }
.footer-bottom a:hover { color: #93c5fd; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* Stagger children in grids */
.grid .reveal:nth-child(2), .ind-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid .reveal:nth-child(3), .ind-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.grid .reveal:nth-child(4), .ind-grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.grid .reveal:nth-child(5), .ind-grid .reveal:nth-child(5) { transition-delay: 0.07s; }
.grid .reveal:nth-child(6), .ind-grid .reveal:nth-child(6) { transition-delay: 0.14s; }
.grid .reveal:nth-child(7), .ind-grid .reveal:nth-child(7) { transition-delay: 0.21s; }
.grid .reveal:nth-child(8), .ind-grid .reveal:nth-child(8) { transition-delay: 0.28s; }
.grid .reveal:nth-child(9), .ind-grid .reveal:nth-child(9) { transition-delay: 0.07s; }
.grid .reveal:nth-child(10), .ind-grid .reveal:nth-child(10) { transition-delay: 0.14s; }
.grid .reveal:nth-child(11) { transition-delay: 0.21s; }
.grid .reveal:nth-child(12) { transition-delay: 0.28s; }
.grid .reveal:nth-child(13) { transition-delay: 0.07s; }
.grid .reveal:nth-child(14) { transition-delay: 0.14s; }
.grid .reveal:nth-child(15) { transition-delay: 0.21s; }
.grid .reveal:nth-child(16) { transition-delay: 0.28s; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(4, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .fc-1 { left: -10px; } .fc-3, .fc-9 { left: -14px; } .fc-2, .fc-5 { right: -10px; }
  .fc-6 { bottom: 14%; left: -14px; }
  .fc-8 { top: 40%; bottom: auto; left: -14px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 205; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(5,8,22,0.97); backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform 0.45s var(--ease);
  }
  .nav-menu.open { transform: none; }
  .nav-menu a:not(.btn) { font-size: 1.2rem; padding: 12px 24px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { padding-top: 110px; }
  .hero-proof { gap: 18px; }
  .float-card { display: none; }
  .fc-1, .fc-4 { display: block; }
  .fc-1 { top: -18px; left: 0; }
  .fc-4 { bottom: -16px; right: 4px; }
  .timeline::before { left: 29px; }
  .tl-num { width: 60px; height: 60px; font-size: 1rem; }
  .contact-form { padding: 26px 20px; }
  .testimonial { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════
   v2 Upgrade Layer — enterprise polish
   ═══════════════════════════════════════════ */

/* More whitespace + refined type rhythm */
.section { padding: 130px 0; }
.section-head { margin-bottom: 76px; }
.section-head p { font-size: 1.08rem; line-height: 1.75; }
h2 { letter-spacing: -0.025em; }
.grid { gap: 26px; }

/* Polished glassmorphism: inner highlight + softer surface */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Sharper gradient treatment on primary buttons */
.btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #6366f1 50%, #8B5CF6 100%);
  background-size: 160% 160%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background-position 0.5s;
}
.btn-primary:hover { background-position: 100% 100%; }

/* ── "Coming Soon" trust strip (replaces fake logos) ── */
.trust { padding: 74px 0; }
.soon-strip {
  text-align: center; max-width: 640px; margin: 0 auto;
  display: grid; justify-items: center; gap: 14px;
}
.soon-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.soon-strip p { font-size: 0.98rem; }
.soon-strip .btn { margin-top: 10px; }
.soon-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #c4b5fd; padding: 6px 14px; border-radius: 999px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.32);
}
.blog-body .soon-badge { margin-top: 4px; }

/* ── Why-us premium SVG icons ── */
.why-grid .feature { text-align: left; padding: 32px 28px; position: relative; overflow: hidden; }
.why-grid .feature::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.14), transparent 70%);
  transition: transform 0.5s var(--ease);
}
.why-grid .feature:hover::after { transform: scale(1.6); }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 14px; color: #93c5fd;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.28);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, color 0.4s;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg); color: #c4b5fd;
  box-shadow: 0 0 26px rgba(139,92,246,0.3); border-color: rgba(139,92,246,0.45);
}
.why-grid h3 { font-size: 1.08rem; }
.why-grid p { font-size: 0.9rem; line-height: 1.7; }

/* ── Grouped tech stack ── */
.tech-groups { display: grid; gap: 40px; }
.tech-group-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sub); margin-bottom: 16px; text-align: center;
}
.tech-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Founder story ── */
.founder {
  display: flex; gap: 30px; align-items: flex-start;
  padding: 44px 46px; margin-bottom: 26px; position: relative; overflow: hidden;
}
.founder::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at 0% 0%, rgba(59,130,246,0.09), transparent 55%);
}
.founder-mark { flex-shrink: 0; padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); animation: floatY 7s ease-in-out infinite; }
.founder-body h3 { font-size: 1.45rem; margin: 12px 0 16px; }
.founder-body p { max-width: 70ch; margin-bottom: 14px; line-height: 1.8; }
.founder-body p:last-child { margin-bottom: 0; }

/* ── Leadership team ── */
.leadership { margin: 10px 0 40px; }
.leadership .section-head { margin-bottom: 44px; }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.leader {
  padding: 42px 38px 36px; text-align: center; position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.leader::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at 50% 0%, rgba(139,92,246,0.12), transparent 60%);
  transition: opacity 0.45s;
}
.leader:hover { transform: translateY(-8px); border-color: rgba(139,92,246,0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 34px rgba(59,130,246,0.1); }
.leader:hover::before { opacity: 1; }
.leader-photo {
  width: 118px; height: 118px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: linear-gradient(160deg, rgba(59,130,246,0.14), rgba(139,92,246,0.14));
  border: 1px solid var(--glass-border);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.leader-photo::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--grad); opacity: 0.55; z-index: -1;
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
.leader-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.leader:hover .leader-photo { transform: scale(1.06); box-shadow: 0 0 34px rgba(139,92,246,0.35); }
.leader-initials {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.leader-name { font-size: 1.35rem; margin-bottom: 6px; }
.leader-title {
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block; margin-bottom: 10px;
}
.leader-edu { font-size: 0.88rem; color: var(--sub); margin-bottom: 20px; }
.leader-quote { position: relative; margin: 0 auto 24px; max-width: 46ch; }
.leader-quote p { font-size: 0.95rem; line-height: 1.75; font-style: italic; color: var(--sub); }
.leader-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.leader-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: #93c5fd; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, color 0.35s;
}
.leader-link:hover { transform: translateY(-3px); color: #fff; background: var(--grad); border-color: transparent; }

/* ── Portfolio note ── */
.portfolio-note { margin-bottom: 20px; font-size: 0.95rem; }

/* ── Calendly placeholder ── */
.book .section-head { margin-bottom: 48px; }
.calendly { max-width: 720px; margin: 0 auto; overflow: hidden; }
.calendly-ph {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: 64px 36px; color: #93c5fd; position: relative;
}
.calendly-ph::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.calendly-ph svg { animation: floatY 6s ease-in-out infinite; }
.calendly-ph h3 { color: #fff; font-size: 1.3rem; }
.calendly-ph p { max-width: 46ch; }
.calendly-ph .btn { margin-top: 10px; }

/* ── Map placeholder ── */
.map-ph {
  margin-top: 26px; position: relative; overflow: hidden;
  min-height: 180px; display: grid; place-items: center; text-align: center;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,132,246,0.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,132,246,0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
}
.map-pin { position: relative; margin-bottom: 6px; animation: pinBounce 2.4s ease-in-out infinite; }
@keyframes pinBounce { 50% { transform: translateY(-8px); } }
.map-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  width: 22px; height: 6px; border-radius: 50%; background: rgba(139,92,246,0.35);
  animation: pinShadow 2.4s ease-in-out infinite;
}
@keyframes pinShadow { 50% { transform: translateX(-50%) scale(0.7); opacity: 0.5; } }
.map-ph p { position: relative; font-size: 0.86rem; padding-bottom: 18px; }

/* ── Hero proof: qualitative version ── */
.hero-proof strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.hero-proof span { max-width: 150px; }

/* ── Responsive additions ── */
@media (max-width: 1080px) {
  .tech-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .founder { flex-direction: column; padding: 34px 28px; }
  .leader-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 86px 0; }
  .section-head { margin-bottom: 52px; }
  .why-grid { grid-template-columns: 1fr; }
  .tech-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .calendly-ph { padding: 44px 22px; }
  .hero-proof { flex-wrap: wrap; }
  .hero-proof .sep { display: none; }
  .hero-proof div:not(.sep) { flex: 1 1 40%; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══ Legal & 404 pages ═══ */
.legal-main { padding: 150px 0 90px; min-height: 60vh; }
.legal-main h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.legal-updated { font-size: 0.85rem; color: var(--sub); margin-bottom: 44px; }
.legal-body h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.legal-body p, .legal-body li { color: var(--sub); font-size: 0.97rem; line-height: 1.8; margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-body a { color: #93c5fd; }
.legal-body a:hover { color: #c4b5fd; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 14px; border: 1px solid var(--glass-border); color: var(--sub); }
.legal-body th { color: #fff; background: rgba(255,255,255,0.04); }
.nf-main { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 24px; }
.nf-code {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 20vw, 12rem); line-height: 1;
  background: linear-gradient(135deg, #60a5fa, #8B5CF6, #60a5fa); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradShift 6s linear infinite;
}
.nf-main h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 14px 0 12px; }
.nf-main p { max-width: 46ch; margin: 0 auto 30px; }
.nf-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   v3 Final Polish Layer
   ═══════════════════════════════════════════ */

/* Typography hierarchy: tighter display, calmer body */
h1 { line-height: 1.08; }
.section-head h2 { max-width: 22ch; margin-inline: auto; }
.section-head { max-width: 760px; }

/* Refined multi-layer shadows */
.card:hover, .case:hover, .blog-card:hover {
  box-shadow:
    0 2px 6px rgba(0,0,0,0.3),
    0 24px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(59,130,246,0.09);
}
.dashboard {
  box-shadow:
    0 2px 8px rgba(0,0,0,0.4),
    0 30px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(59,130,246,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Button micro-interactions: pressed state + arrow slide */
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn span[aria-hidden] { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
.btn.is-sending { opacity: 0.75; cursor: progress; }
.btn.is-sending::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite; margin-left: 4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Timeline: numbers fill on hover */
.tl-num { position: relative; overflow: hidden; }
.tl-num::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--grad); opacity: 0; transition: opacity 0.35s;
}
.tl-item:hover .tl-num::before { opacity: 0.18; }

/* FAQ: subtle hover + smooth body reveal */
.faq-item summary:hover { color: #c7d4f5; }
.faq-item .faq-body p { animation: fadeUp 0.4s var(--ease); }

/* Form: success/error states with entrance animation */
.form-success {
  display: flex; align-items: flex-start; gap: 10px;
  animation: successPop 0.55s var(--ease);
}
@keyframes successPop {
  0% { opacity: 0; transform: translateY(12px) scale(0.97); }
  60% { transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
.form-success.is-error {
  color: #fca5a5; background: rgba(248,113,113,0.09); border-color: rgba(248,113,113,0.32);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,0.18); }
.field.invalid .err { animation: errShake 0.35s var(--ease); }
@keyframes errShake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* Focus visibility on interactive glass elements */
.faq-item summary:focus-visible, .nav-menu a:focus-visible, .card-link:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* Nav: gradient underline for active link */
.nav-menu a:not(.btn) { position: relative; }
.nav-menu a.active:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--grad);
}

/* Footer link hover micro-slide */
.footer ul a { display: inline-block; transition: color 0.25s, transform 0.25s; }
.footer ul a:hover { transform: translateX(3px); }

/* Section CTA rows: breathing room */
.center { margin-top: 3.4rem; display: grid; justify-items: center; gap: 4px; }

/* Mobile spacing refinements */
@media (max-width: 640px) {
  .container { width: 90%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .center { margin-top: 2.6rem; }
  .section-head p { font-size: 0.98rem; }
  .founder-body h3 { font-size: 1.25rem; }
  .card, .feature { padding: 26px 22px; }
  .footer-grid { gap: 30px; }
}

/* Print: strip decoration */
@media print {
  .loader, .nav-toggle, .hero-glow, #neural-canvas, .float-card, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
}
