/* ============================================================
   FlowByte.AI — Design System v2 (2026 redesign)
   Modernized from brandbook: #1D597D (navy) / #38878b (teal)
   ============================================================ */

:root {
  /* Color tokens */
  --bg: #0d1728;
  --bg-2: #131f38;
  --bg-3: #182742;
  --band: rgba(255, 255, 255, 0.028);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.19);
  --text: #e8eef7;
  --text-muted: #93a1b5;
  --text-faint: #5d6b80;
  --accent: #2dd4bf;        /* modern teal (from #38878b) */
  --accent-2: #38bdf8;      /* sky (from #1D597D) */
  --accent-3: #818cf8;      /* indigo edge for gradients */
  --gradient: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  --glow: 0 0 60px rgba(45, 212, 191, 0.18);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 18% -8%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 4%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(ellipse 75% 60% at 50% 108%, rgba(129, 140, 248, 0.12), transparent 62%),
    linear-gradient(170deg, #1a2a4a 0%, #14203c 42%, #0d1728 100%);
  background-repeat: no-repeat;
  background-size: 100% 100vh, 100% 100vh, 100% 100vh, 100% 100%;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(45, 212, 191, 0.3); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { color: var(--text-muted); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px;
  background: var(--gradient); border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; font-size: 1.06rem; }

/* ---------- Scroll-reactive background (homepage) ---------- */
.scroll-bg {
  position: fixed; inset: 0; z-index: -1;
  opacity: 0; transition: opacity 1.4s ease;
  pointer-events: none;
  will-change: opacity; transform: translateZ(0);
}
.scroll-bg.active { opacity: 1; }
.bg-hero {
  background:
    radial-gradient(ellipse 70% 55% at 18% -8%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 4%, rgba(56, 189, 248, 0.14), transparent 60%),
    linear-gradient(170deg, #1a2a4a 0%, #14203c 50%, #0d1728 100%);
}
.bg-teal {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(45, 212, 191, 0.20), transparent 62%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(56, 189, 248, 0.10), transparent 60%),
    linear-gradient(160deg, #0f2b38 0%, #102338 55%, #0d1728 100%);
}
.bg-indigo {
  background:
    radial-gradient(ellipse 75% 55% at 15% 25%, rgba(129, 140, 248, 0.20), transparent 62%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(200deg, #1d2247 0%, #161d3c 50%, #0d1728 100%);
}
.bg-deep {
  background:
    radial-gradient(ellipse 85% 60% at 50% 110%, rgba(45, 212, 191, 0.16), transparent 65%),
    radial-gradient(ellipse 55% 40% at 80% 0%, rgba(129, 140, 248, 0.14), transparent 60%),
    linear-gradient(180deg, #12203c 0%, #0e1d33 50%, #0a1626 100%);
}
body.has-scroll-bg { background-image: none; }

/* Hero headline shimmer */
.shimmer {
  background: linear-gradient(110deg, var(--accent) 20%, var(--accent-2) 40%, var(--accent-3) 55%, var(--accent) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* Floating orbs drift */
.orb-drift { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.08); } }

/* Hero two-column with visual */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-art { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-art img {
  width: 100%; max-width: 560px;
  filter: drop-shadow(0 24px 70px rgba(45, 212, 191, 0.18));
  animation: float 7s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translateY(-16px); } }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art img { max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

/* Credential grid */
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.cred {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.45;
}
.cred b { color: var(--text); }
.cred .tick { color: var(--accent); font-weight: 700; flex-shrink: 0; }
@media (max-width: 560px) { .cred-grid { grid-template-columns: 1fr; } }

/* Service blocks + video links */
.svc-block { padding: 56px 0; border-top: 1px solid var(--border); }
.svc-block:first-of-type { border-top: 0; }
.video-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600;
  font-family: var(--font-display); font-size: 0.92rem;
}
.video-link:hover { text-decoration: underline; }
.video-link::before { content: "▶"; font-size: 0.7rem; }
.case-chip {
  padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; font-size: 0.93rem; color: var(--text-muted);
}
.case-chip b { color: var(--text); }

/* Proof chips */
.proof-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.proof-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-muted);
}
.proof-chip b { color: var(--text); font-family: var(--font-display); }

/* Outcome numbers */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.outcome { text-align: center; padding: 40px 24px; }
.outcome .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outcome p { margin-top: 8px; font-size: 0.95rem; }
@media (max-width: 820px) { .outcomes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; }
  .orb-drift { animation: none; }
  .scroll-bg { transition: none; }
}

/* ---------- Ambient background ---------- */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none; z-index: 0;
  transform: translateZ(0); will-change: transform;
}
.orb-teal { background: rgba(45, 212, 191, 0.13); }
.orb-blue { background: rgba(56, 189, 248, 0.11); }
.orb-indigo { background: rgba(129, 140, 248, 0.10); }

.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 23, 40, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo svg { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gradient); border-radius: 2px;
}
.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-mobile { display: none; }
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #04121a;
  box-shadow: 0 4px 24px rgba(45, 212, 191, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(45, 212, 191, 0.5); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.28); }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 80px; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: 1.18rem; max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap; margin-top: 72px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.hero-stats .stat b {
  display: block; font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700; color: var(--text);
}
.hero-stats .stat span { font-size: 0.9rem; color: var(--text-faint); }

/* ---------- Cards ---------- */
.card {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.35);
  background: var(--surface-2);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--gradient); opacity: 0; transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(56,189,248,0.12));
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--accent);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.97rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  color: var(--accent);
}
.card .card-link:hover { gap: 10px; }

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

/* ---------- Process timeline ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; }
.step-num {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 0.93rem; }
.step::after {
  content: "→"; position: absolute; right: -19px; top: 40px;
  color: var(--text-faint); font-size: 1.2rem; z-index: 2;
}
.step:last-child::after { display: none; }

/* ---------- Tabs (services) ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text-muted);
  border: 1px solid var(--border); transition: all 0.25s;
}
.tab-btn:hover { color: var(--text); border-color: var(--border-strong); }
.tab-btn.active {
  background: var(--gradient); color: #04121a; border-color: transparent;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.benefits { list-style: none; margin: 24px 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-muted); }
.benefits li::before {
  content: "✓"; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(45,212,191,0.14); color: var(--accent);
  font-size: 0.85rem; font-weight: 700; margin-top: 2px;
}
.benefits b { color: var(--text); }

/* ---------- Team ---------- */
.team-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px;
  align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px; position: relative; z-index: 1;
}
.team-card .portrait {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 4/5; background: var(--bg-3);
}
.team-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role {
  font-family: var(--font-display); color: var(--accent);
  font-weight: 600; font-size: 0.95rem; margin: 6px 0 18px;
}
.team-card p { margin-bottom: 14px; font-size: 0.98rem; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted); transition: all 0.25s;
}
.socials a:hover { color: var(--accent); border-color: rgba(45,212,191,0.4); transform: translateY(-2px); }

/* ---------- Blog ---------- */
.post-card { padding: 0; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; font-size: 0.82rem; color: var(--text-faint); }
.post-meta .cat {
  padding: 3px 12px; border-radius: 999px;
  background: rgba(56,189,248,0.12); color: var(--accent-2);
  font-weight: 600; font-size: 0.78rem;
}
.post-card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { font-size: 0.94rem; flex: 1; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; padding-top: calc(var(--nav-h) + 60px); }
.article-head { margin-bottom: 44px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 18px 0; }
.article-body h2 { font-size: 1.6rem; margin: 44px 0 16px; }
.article-body h3 { font-size: 1.25rem; margin: 34px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--text-muted); }
.article-body li { margin-bottom: 10px; }
.article-body b, .article-body strong { color: var(--text); }
.article-body a { color: var(--accent); border-bottom: 1px solid rgba(45,212,191,0.35); }
.article-body a:hover { border-bottom-color: var(--accent); }
.article-body blockquote {
  margin: 28px 0; padding: 20px 26px;
  border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text); font-family: var(--font-display); font-size: 1.06rem;
}
.article-body img { border-radius: var(--radius); margin: 26px 0; }
.article-cta {
  margin: 56px 0; padding: 36px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center;
}
.article-cta h3 { margin-bottom: 12px; }
.article-cta .btn { margin-top: 20px; }

/* ---------- Contact / forms ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { margin-bottom: 26px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--text-muted); }
.contact-line .icon-sm {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); flex-shrink: 0;
}
.contact-line a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--text); font-family: var(--font-display); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.97rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; z-index: 1; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 72px 48px; text-align: center;
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(45,212,191,0.14), transparent 65%),
    var(--bg-2);
}
.cta-band h2 { max-width: 640px; margin: 0 auto 18px; }
.cta-band p { max-width: 520px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px; margin-top: 40px;
  background: var(--bg-2); position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-size: 0.92rem; margin-bottom: 18px; color: var(--text); }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-muted); font-size: 0.93rem; transition: color 0.2s; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand svg { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.93rem; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-faint);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 88px) 0 40px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 620px; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  section { padding: 68px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .nav-mobile {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(13, 23, 40, 0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px; z-index: 99;
  }
  .nav.open .nav-mobile { display: block; }
  .nav-mobile ul { list-style: none; display: grid; gap: 4px; }
  .nav-mobile a { display: block; padding: 13px 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; border-radius: 10px; }
  .nav-mobile a:hover, .nav-mobile a.active { background: var(--surface-2); color: var(--accent); }
  .nav-mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; padding: 28px; }
  .team-card .portrait { max-width: 280px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .cta-band { padding: 52px 24px; }
}
@media (max-width: 520px) {
  .grid-4, .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* deploy-pipeline-test 20260901102421 */
