/* ─── INNER PAGE THEME ─── */
.page-light {
  background: #F8F8F6;
  color: #111111;
  min-height: 100vh;
}
.page-light h1, .page-light h2, .page-light h3, .page-light h4 {
  color: #111111;
}
.page-light p {
  color: #444444;
}
.page-light a {
  color: #2563ff;
}
.page-light .inner-card {
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 12px;
}
.page-light .muted {
  color: #666666;
}
.page-light .eyebrow {
  color: #2563ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── NAV COMPONENT ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 100px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-nav.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.nav-hover-zone {
  position: fixed; top: 0; left: 0; right: 0;
  height: 16px; z-index: 101; pointer-events: all;
}
.site-nav.nav-light {
  background: rgba(248, 248, 246, 0.92);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-nav.nav-light .nav-links a {
  color: rgba(0,0,0,0.5);
}
.site-nav.nav-light .nav-links a:hover {
  color: #111111;
}
.site-nav.nav-light .nav-links a.active {
  color: #111111;
  font-weight: 600;
}
.site-nav.nav-light .nav-hamburger span {
  background: rgba(0,0,0,0.6);
}
.site-nav.nav-default-light {
  background: #F8F8F6;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-nav.nav-default-light .logo-black { display: block; }
.site-nav.nav-default-light .logo-white { display: none; }
.site-nav.nav-default-light .nav-links a {
  color: #aaaaaa;
}
.site-nav.nav-default-light .nav-links a:hover {
  color: #333333;
}
.site-nav.nav-default-light .nav-links a.active {
  color: #111111;
  font-weight: 600;
}
.site-nav.nav-default-light .nav-hamburger span {
  background: rgba(0,0,0,0.4);
}
.site-nav.nav-default-light .nav-cta {
  background: #2563ff;
  color: #ffffff;
}
/* inner page nav stays light — never gets overridden by nav-light scroll toggle */
.site-nav.nav-default-light.nav-light {
  background: #F8F8F6;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 120px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  flex-shrink: 0;
}
.nav-logo .logo-black { display: none; }
.nav-logo .logo-white { display: block; }
.site-nav.nav-light .logo-black { display: block; }
.site-nav.nav-light .logo-white { display: none; }
.nav-links {
  display: flex; gap: 32px; list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: #ffffff; }
.nav-links a.active { color: #ffffff; }
.site-nav.nav-light .nav-links a { color: rgba(0,0,0,0.45); }
.site-nav.nav-light .nav-links a:hover { color: #111111; }
.site-nav.nav-light .nav-links a.active { color: #111111; }
.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 8px;
  background: #2563ff; color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: #3b7fff; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.7); border-radius: 2px;
  transition: 0.3s;
}
.site-nav.nav-light .nav-hamburger span { background: rgba(0,0,0,0.6); }
.nav-mobile {
  display: none; position: fixed;
  top: 100px; left: 0; right: 0;
  background: #0A0A0F;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 40px 32px;
  z-index: 99;
}
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.nav-mobile a {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 500;
  color: rgba(255,255,255,0.7); text-decoration: none;
}
.nav-mobile a:hover { color: #ffffff; }
.nav-cta-mobile {
  display: inline-block; margin-top: 8px;
  font-size: 15px !important; font-weight: 600 !important;
  color: #2563ff !important;
}
.nav-mobile.open { display: block; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav { padding: 0 20px; height: 64px; }
  .nav-logo img { height: 52px !important; }
  .nav-mobile { top: 64px; padding: 20px 20px 28px; }
  .nav-mobile a { font-size: 16px; }
}
/* Light nav mobile menu for inner pages */
.site-nav.nav-default-light .nav-mobile {
  background: #F8F8F6;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-nav.nav-default-light .nav-mobile a {
  color: #444444;
}
.site-nav.nav-default-light .nav-mobile a:hover {
  color: #111111;
}

/* ─── GLOBAL ─── */
:root {
  --bg-dark: #0A0A0F;
  --bg-light: #F8F8F6;
  --bg-grey: #F2F2F0;
  --text-dark: #111111;
  --text-light: #F5F5F5;
  --accent: #2563ff;
  --accent-purple: #7C3AED;
  --accent-light: #EDE9FE;
  --font: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body { background: var(--bg-dark); overflow-x: hidden; color: white; scroll-behavior: smooth; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  font-family: 'Inter', sans-serif;
  padding-top: 72px;
  padding-bottom: 0;
  overflow: visible;
}
#bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px 360px;
  position: relative;
  z-index: 2;
  text-align: center;
  gap: 0;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4f8eff;
  background: rgba(79,142,255,0.1);
  border: 1px solid rgba(79,142,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
  animation: heroFadeUp 0.6s cubic-bezier(0.2,0,0.2,1) both;
}

.hero-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #F0F2FA;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  animation: heroFadeUp 0.7s cubic-bezier(0.2,0,0.2,1) both;
}

.hero-grad {
  background: linear-gradient(135deg, #4f8eff 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
  animation: heroFadeUp 0.7s 0.15s cubic-bezier(0.2,0,0.2,1) both;
}
.hero-sub em {
  font-style: normal;
  color: rgba(255,255,255,0.75);
}

.hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  animation: heroFadeUp 0.6s 0.3s cubic-bezier(0.2,0,0.2,1) both;
}

.cta-micro {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  animation: heroFadeUp 0.6s 0.42s cubic-bezier(0.2,0,0.2,1) both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
  animation: heroFadeUp 0.6s 0.52s cubic-bezier(0.2,0,0.2,1) both;
}
.hero-trust-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-right: 2px;
}
.hero-trust-plat {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.hero-trust-sep {
  color: rgba(255,255,255,0.15);
  font-size: 11px;
}

.hero-chat-wrap {
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 800px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

.hero-fade-top {
  display: none;
  height: 0;
}

.hero-chat-box {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 12px rgba(0,0,0,0.1);
}

.hero-platform-bar {
  display: flex;
  align-items: center;
  padding: 10px 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 2px;
  background: #ffffff;
}

.hero-plat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px 9px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.3);
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  user-select: none;
  font-family: 'Inter', sans-serif;
}

.hero-plat-tab:hover { color: rgba(0,0,0,0.6); background: rgba(0,0,0,0.03); }
.hero-plat-tab.active { color: #111111; border-bottom-color: #2563ff; }

.hero-plat-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-more-pill {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: default;
  font-family: 'Inter', sans-serif;
}

.hero-chat-msgs {
  padding: 16px 20px 12px;
  height: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-msg {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s, transform 0.35s;
}
.hero-msg.show { opacity: 1; transform: none; }
.hero-msg.user { flex-direction: row-reverse; }

.hero-avatar {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  flex-shrink: 0; margin-top: 1px;
}

.hero-bubble {
  padding: 7px 11px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 82%;
  font-family: 'Inter', sans-serif;
  border-radius: 0 8px 8px 8px;
}
.hero-bubble.ai {
  background: #f3f4f6;
  color: #333333;
  border-radius: 0 8px 8px 8px;
}
.hero-bubble.user {
  background: #2563ff;
  color: #ffffff;
  border-radius: 8px 0 8px 8px;
}

.hero-hname {
  color: #2563ff;
  font-weight: 700;
  background: rgba(37,99,255,0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

.hero-cur {
  display: inline-block;
  width: 2px; height: 12px;
  background: #2563ff;
  vertical-align: middle;
  margin-left: 1px;
  animation: herobl 0.8s infinite;
}
@keyframes herobl { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #f9f9f9;
  transition: opacity 0.4s, transform 0.4s;
}
.hero-input-row.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  height: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}

.hero-inp {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  color: rgba(0,0,0,0.3);
  font-family: 'Inter', sans-serif;
  min-height: 52px;
}

.hero-send-btn {
  width: 44px; height: 44px;
  border-radius: 9px;
  background: #2563ff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.bp {
  padding: 14px 30px; border-radius: 12px; background: #2563ff;
  color: #fff; border: none; font-weight: 600; cursor: pointer;
  transition: 0.3s; font-family: 'Inter', sans-serif;
}
.bp:hover { background: #3b7fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37,99,255,0.3); }

.bs {
  padding: 14px 24px; border-radius: 12px; background: transparent;
  color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: 0.3s; font-family: 'Inter', sans-serif; font-size: 14px;
}
.bs:hover { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); }

@media (max-width: 768px) {
  #hero { padding-top: 64px; overflow: visible; z-index: auto; }
  /* Chat flows naturally in document order — no absolute positioning on mobile */
  .hero-content-wrap {
    padding: 88px 16px 32px; /* push content down from nav */
    justify-content: flex-start;
    align-items: center;
    gap: 28px; /* space between text block and chat */
    min-height: auto;
    flex: 1;
  }
  .hero-text-block { margin-bottom: 0; }
  .hero-h1 { font-size: clamp(26px, 7vw, 38px); }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .bp, .bs { width: 100%; text-align: center; font-size: 15px; }
  .cta-micro { margin-bottom: 0; }
  /* Chat widget: in-flow, pushed to bottom of hero */
  .hero-chat-wrap {
    position: static;
    width: 100%;
    max-width: 100%;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: auto;
  }
  .hero-chat-msgs { height: 100px; }
  .hero-input-row { padding: 10px 14px 14px; }
  .hero-inp { min-height: 40px; font-size: 13px; }
  .hero-more-pill { display: none; }
  .hero-plat-tab { font-size: 11px; padding: 6px 8px 9px; gap: 4px; }
}

/* ─── SCROLL INDICATOR ─── */
.scroll-down-icon {
  position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 10; animation: breathe 3s infinite ease-in-out;
}
.scroll-text {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 12px;
}
.chevron-group { display: flex; flex-direction: column; align-items: center; }
.chevron-group span {
  display: block; width: 14px; height: 14px;
  border-bottom: 3px solid rgba(255,255,255,0.35);
  border-right: 3px solid rgba(255,255,255,0.35);
  transform: rotate(45deg); margin-top: -6px;
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.9; transform: translateX(-50%) translateY(12px); }
}

/* ─── PROCESS SECTION ─── */
#process {
  background: #F8F8F6;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 40px 80px;
}


.proc-head {
  text-align: center;
  padding-top: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.proc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563ff;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.proc-h2 {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  color: #111111;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 580px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.proc-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1060px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

/* ── Idle glow keyframes ── */
@keyframes procIdleBlue {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 40px 6px rgba(37,99,255,0.15); }
}
@keyframes procIdlePurple {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 40px 6px rgba(124,58,237,0.15); }
}
@keyframes procIdleGreen {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 40px 6px rgba(5,150,105,0.15); }
}

/* ── Cards ── */
.proc-card {
  width: 300px;
  min-height: 380px;
  flex-shrink: 0;
  border-radius: 24px;
  padding: 36px 28px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  will-change: transform;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.2,0,0.2,1),
              transform 0.8s cubic-bezier(0.2,0,0.2,1);
}

.proc-card.proc-in {
  opacity: 1;
  transform: translateY(0);
}

.proc-card--blue.proc-in   { animation: procIdleBlue   4s ease-in-out infinite; }
.proc-card--purple.proc-in { animation: procIdlePurple 4s ease-in-out infinite 0.8s; }
.proc-card--green.proc-in  { animation: procIdleGreen  4s ease-in-out infinite 1.6s; }

/* top-edge inner highlight */
.proc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
  pointer-events: none;
}

/* shimmer sweep */
.proc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}
.proc-card:hover::after {
  transform: translateX(200%);
  transition: transform 0.6s ease;
}

.proc-card--blue   { background: #1e3a8a; }
.proc-card--purple { background: #4c1d95; }
.proc-card--green  { background: #064e3b; }

.proc-card.proc-in:hover {
  transform: translateY(-14px);
  border-color: rgba(255,255,255,0.35);
  animation: none;
  transition: transform 0.4s ease-out,
              box-shadow 0.3s ease,
              border-color 0.2s ease,
              opacity 0.8s cubic-bezier(0.2,0,0.2,1);
}
.proc-card--blue.proc-in:hover   { box-shadow: 0 40px 100px rgba(30,58,138,0.45), 0 0 60px rgba(37,99,255,0.2); }
.proc-card--purple.proc-in:hover { box-shadow: 0 40px 100px rgba(76,29,149,0.45), 0 0 60px rgba(124,58,237,0.2); }
.proc-card--green.proc-in:hover  { box-shadow: 0 40px 100px rgba(6,78,59,0.45),   0 0 60px rgba(5,150,105,0.2); }

.proc-watermark {
  position: absolute;
  bottom: -18px; right: -8px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
  transform: scale(1);
  transition: transform 0.4s ease, color 0.4s ease;
}
.proc-card:hover .proc-watermark {
  transform: scale(1.15);
  color: rgba(255,255,255,0.12);
}

.proc-pill {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.proc-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}

.proc-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  font-family: 'Inter', sans-serif;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 0.4s ease,
              opacity 0.35s ease 0.1s,
              transform 0.35s ease 0.1s;
}
.proc-card:hover .proc-desc {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.proc-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', sans-serif;
  align-self: flex-start;
  margin-top: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}
.proc-card:hover .proc-tag { opacity: 1; transform: scale(1); }

/* ── Connectors ── */
.proc-connector {
  flex: 1;
  min-width: 32px;
  max-width: 80px;
  position: relative;
  align-self: center;
  height: 2px;
  margin-bottom: 80px;
}

.proc-line {
  position: absolute;
  inset: 0;
  border-radius: 2px;
}
.proc-line--1 { background: linear-gradient(to right, #3b5bdb, #7c3aed); }
.proc-line--2 { background: linear-gradient(to right, #7c3aed, #059669); }

.proc-dot {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  filter: blur(1px);
  animation: procDotTravel 2.5s linear infinite;
}
.proc-dot--1 { background: #818cf8; box-shadow: 0 0 10px 3px rgba(129,140,248,0.8); filter: drop-shadow(0 0 4px #818cf8) blur(1px); }
.proc-dot--2 { background: #a78bfa; box-shadow: 0 0 10px 3px rgba(167,139,250,0.8); filter: drop-shadow(0 0 4px #a78bfa) blur(1px); animation-delay: -1.25s; }

@keyframes procDotTravel {
  0%   { left: 0; }
  100% { left: calc(100% - 12px); }
}

/* ── Bottom CTA ── */
.proc-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

.proc-cta-link {
  font-size: 14px;
  font-weight: 500;
  color: #2563ff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: text-decoration 0.2s;
}
.proc-cta-link:hover { text-decoration: underline; }

.proc-cta-sub {
  font-size: 12px;
  color: #aaaaaa;
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  #process { padding: 40px 16px 60px; min-height: auto; }
  .proc-head { padding-top: 32px; margin-bottom: 32px; }
  .proc-h2 { font-size: clamp(22px, 5vw, 32px); }
  .proc-row { flex-direction: column; align-items: center; gap: 16px; margin-bottom: 36px; }
  .proc-card { width: 100%; min-height: auto; padding: 28px 22px 22px; }
  .proc-connector { display: none; }
  .proc-desc { max-height: none; opacity: 1; transform: none; }
  .proc-tag { opacity: 1; transform: none; margin-top: 8px; }
  .proc-cta-link { font-size: 13px; }
}


/* ─── SCROLL REVEAL ─── */
.reveal-item {
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2,0,0.2,1);
}
.reveal-item.reveal-active,
.reveal-active {
  opacity: 1 !important; transform: translateY(0) !important;
}

/* ─── FEATURED CARD SECTION ─── */
#featured {
  background: #06070d;
  padding: 120px 40px 160px;
  min-height: 100vh;
  justify-content: center;
  display: flex; flex-direction: column; align-items: center;
  font-family: 'Inter', sans-serif;
}

.sb-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #4f8eff; margin-bottom: 14px; text-align: center;
}
.sb-section-title {
  font-family: 'Inter', sans-serif; font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800; color: #f0f2fa; margin-bottom: 60px; text-align: center;
}

/* ── NICHE CARD GRID ── */
.nc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%; max-width: 960px;
}

.nc-card {
  position: relative;
  border-radius: 22px;
  padding: 48px 36px 44px;
  min-height: 380px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 10px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease;
  /* click pop */
}
.nc-card:active {
  transform: scale(0.96) translateY(2px) !important;
  transition-duration: 0.1s !important;
}

/* per-card colour themes */
.nc-ai   { background: linear-gradient(145deg, #0d1433 0%, #0a1128 100%); border: 1px solid rgba(79,142,255,0.22); }
.nc-mkt  { background: linear-gradient(145deg, #130d2e 0%, #0f0a22 100%); border: 1px solid rgba(124,58,237,0.22); }
.nc-seo  { background: linear-gradient(145deg, #0d2218 0%, #091a12 100%); border: 1px solid rgba(16,185,129,0.22); }

/* glow orb behind content */
.nc-glow {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
  border-radius: 22px;
}
.nc-ai  .nc-glow { background: radial-gradient(ellipse at 50% 0%, rgba(37,99,255,0.28) 0%, transparent 70%); }
.nc-mkt .nc-glow { background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.28) 0%, transparent 70%); }
.nc-seo .nc-glow { background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.28) 0%, transparent 70%); }

.nc-card:hover .nc-glow { opacity: 1; }

/* hover lift + glow shadow */
.nc-ai:hover  { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(37,99,255,0.25), 0 0 0 1px rgba(79,142,255,0.35); }
.nc-mkt:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(124,58,237,0.25), 0 0 0 1px rgba(124,58,237,0.35); }
.nc-seo:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(16,185,129,0.25), 0 0 0 1px rgba(16,185,129,0.35); }

/* shimmer sweep on hover */
.nc-shine {
  position: absolute; inset: 0; pointer-events: none; border-radius: 22px;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.55s ease;
}
.nc-card:hover .nc-shine { background-position: 200% 0; }

/* top shimmer line */
.nc-card::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  border-radius: 1px; opacity: 0; transition: opacity 0.4s;
}
.nc-ai::before  { background: linear-gradient(90deg, transparent, rgba(79,142,255,0.7), transparent); }
.nc-mkt::before { background: linear-gradient(90deg, transparent, rgba(167,139,250,0.7), transparent); }
.nc-seo::before { background: linear-gradient(90deg, transparent, rgba(52,211,153,0.7), transparent); }
.nc-card:hover::before { opacity: 1; }

/* icon */
.nc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nc-card:hover .nc-icon { transform: scale(1.15) rotate(-4deg); }

.nc-ai  .nc-icon { background: rgba(37,99,255,0.15); color: #6fa8ff; }
.nc-mkt .nc-icon { background: rgba(124,58,237,0.15); color: #b78cff; }
.nc-seo .nc-icon { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.nc-icon svg { width: 28px; height: 28px; }

.nc-label {
  font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 800;
  color: #f0f2fa; line-height: 1.2; position: relative; z-index: 2;
}
.nc-count {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); position: relative; z-index: 2;
  margin-bottom: 8px;
}

/* hover reveal body */
.nc-hover-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 32px 28px;
  background: linear-gradient(to top, rgba(6,7,13,0.97) 60%, transparent 100%);
  display: flex; flex-direction: column; gap: 14px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 0 0 22px 22px;
}
.nc-card:hover .nc-hover-body { transform: translateY(0); }

.nc-hover-body p {
  font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; margin: 0;
}

.nc-cta-btn {
  display: inline-block; align-self: flex-start;
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif;
  border: none; cursor: pointer; transition: all 0.25s ease;
  white-space: nowrap;
}
.nc-ai  .nc-cta-btn { background: rgba(37,99,255,0.25); color: #93bbff; border: 1px solid rgba(79,142,255,0.35); }
.nc-mkt .nc-cta-btn { background: rgba(124,58,237,0.25); color: #c4a5ff; border: 1px solid rgba(124,58,237,0.35); }
.nc-seo .nc-cta-btn { background: rgba(16,185,129,0.2); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.35); }
.nc-ai:hover  .nc-cta-btn:hover { background: rgba(37,99,255,0.45); box-shadow: 0 0 20px rgba(37,99,255,0.35); }
.nc-mkt:hover .nc-cta-btn:hover { background: rgba(124,58,237,0.45); box-shadow: 0 0 20px rgba(124,58,237,0.35); }
.nc-seo:hover .nc-cta-btn:hover { background: rgba(16,185,129,0.35); box-shadow: 0 0 20px rgba(16,185,129,0.3); }

/* floating particles */
.nc-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  border-radius: 22px; opacity: 0;
  transition: opacity 0.4s ease;
}
.nc-card:hover .nc-particles { opacity: 1; }
.nc-particle {
  position: absolute; border-radius: 50%;
  animation: ncFloat linear infinite;
}
.nc-ai  .nc-particle { background: rgba(79,142,255,0.6); }
.nc-mkt .nc-particle { background: rgba(167,139,250,0.6); }
.nc-seo .nc-particle { background: rgba(52,211,153,0.6); }

@keyframes ncFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-120px) scale(0); opacity: 0; }
}

/* responsive */
@media (max-width: 700px) {
  .nc-grid { grid-template-columns: 1fr; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
}
@media (min-width: 701px) and (max-width: 960px) {
  .nc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #featured { padding: 60px 20px 80px; min-height: auto; }
  .sb-section-title { margin-bottom: 32px; font-size: clamp(22px, 5vw, 32px); }
  .nc-card { min-height: 260px; padding: 32px 24px 32px; }
  .nc-hover-body { transform: translateY(0); padding: 16px 20px 20px; }
  .nc-card:hover .nc-hover-body { transform: translateY(0); }
}

/* ─── ABOUT SECTION V2 ─── */
#about {
  background: #F8F8F6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.ab2-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  width: 100%;
}
.ab2-visual {
  flex: 0 0 460px;
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab2-glow-bg {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ab2-card {
  position: absolute;
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.2,0,0.2,1), box-shadow 0.4s ease;
  cursor: default;
}
.ab2-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  z-index: 10;
}
.ab2-card-1 {
  top: 20px; left: 20px;
  transform: rotate(-3deg);
  z-index: 3;
  animation: abFloat1 5s ease-in-out infinite;
}
.ab2-card-1:hover { transform: rotate(0deg) translateY(-8px) !important; }
.ab2-card-2 {
  top: 110px; left: 60px;
  transform: rotate(1deg);
  z-index: 2;
  animation: abFloat2 5s ease-in-out 0.8s infinite;
}
.ab2-card-2:hover { transform: rotate(0deg) translateY(-8px) !important; }
.ab2-card-3 {
  top: 220px; left: 30px;
  transform: rotate(-1.5deg);
  z-index: 1;
  animation: abFloat3 5s ease-in-out 1.6s infinite;
}
.ab2-card-3:hover { transform: rotate(0deg) translateY(-8px) !important; }
@keyframes abFloat1 {
  0%,100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes abFloat2 {
  0%,100% { transform: rotate(1deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-6px); }
}
@keyframes abFloat3 {
  0%,100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-10px); }
}
.ab2-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ab2-ai-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ab2-ai-name {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  flex: 1;
}
.ab2-ai-verified {
  font-size: 10px;
  font-weight: 600;
  color: #059669;
  letter-spacing: 0.03em;
}
.ab2-card-text {
  font-size: 12.5px;
  color: #555555;
  line-height: 1.6;
}
.ab2-card-text strong {
  color: #111111;
  font-weight: 600;
}
.ab2-badge {
  position: absolute;
  background: #111111;
  color: #ffffff;
  border-radius: 32px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 20;
}
.ab2-badge-1 {
  top: 10px; right: 10px;
  background: #2563ff;
  animation: abBadge1 4s ease-in-out infinite;
}
.ab2-badge-2 {
  bottom: 80px; right: -10px;
  background: #111111;
  animation: abBadge2 4s ease-in-out 1s infinite;
}
.ab2-badge-3 {
  bottom: 20px; left: 10px;
  background: #111111;
  animation: abBadge3 4s ease-in-out 2s infinite;
}
@keyframes abBadge1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes abBadge2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes abBadge3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.ab2-badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: abPulseDot 2s ease-in-out infinite;
}
@keyframes abPulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.ab2-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ab2-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563ff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ab2-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1.5px;
  background: #2563ff;
  border-radius: 2px;
}
.ab2-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #111111;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.ab2-heading span {
  background: linear-gradient(135deg, #4f8eff 20%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab2-desc {
  font-size: 15px;
  color: #555555;
  line-height: 1.75;
  max-width: 460px;
}
.ab2-stats {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.ab2-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ab2-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #111111;
}
.ab2-stat-label {
  font-size: 11px;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.ab2-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ab2-cta-btn {
  padding: 13px 26px;
  border-radius: 10px;
  background: #2563ff;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(37,99,255,0.25);
}
.ab2-cta-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,255,0.35);
}
.ab2-cta-link {
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s;
}
.ab2-cta-link:hover { color: #111111; }
@media (max-width: 900px) {
  #about { padding: 80px 24px; }
  .ab2-inner { flex-direction: column; gap: 48px; }
  .ab2-visual { flex: none; width: 100%; height: 400px; }
  .ab2-stats { gap: 24px; }
}
@media (max-width: 580px) {
  #about { padding: 60px 16px; min-height: auto; }
  .ab2-visual { height: 340px; }
  .ab2-heading { font-size: clamp(26px, 7vw, 38px); }
  .ab2-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ab2-stats { flex-wrap: wrap; gap: 16px; }
}

/* ── BLUE BACKGROUND GLOWS — connected across sections ── */
#featured::after, #about::after, #testimonials::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(100px);
}
/* featured: glow bleeds bottom-left into about */
#featured::after {
  width: 600px; height: 600px; bottom: -160px; left: -100px;
  background: radial-gradient(ellipse, rgba(79,142,255,0.11) 0%, transparent 65%);
}
/* about: glow top-left (matching featured bottom-left) bleeds to bottom-right into testimonials */
#about::after {
  width: 600px; height: 600px; bottom: -160px; right: -100px;
  background: radial-gradient(ellipse, rgba(37,99,255,0.12) 0%, transparent 65%);
}
/* testimonials: top-right picks up from about bottom-right */
#testimonials::after {
  width: 600px; height: 600px; top: -160px; left: -100px;
  background: radial-gradient(ellipse, rgba(79,142,255,0.1) 0%, transparent 65%);
}

@media (max-width: 900px) {
  #about { flex-direction: column; gap: 48px; padding: 80px 40px; }
  .ab-img-wrap { flex: none; width: 100%; max-width: 380px; }
  .ab-stats { gap: 24px; }
}

/* ═══════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════ */
#testimonials {
  background: #F8F8F6;
  padding: 120px 40px 160px;
  min-height: 100vh;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: visible;
}

/* ambient background glow */
#testimonials::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(37,99,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.tm-eyebrow {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #2563ff;
  margin-bottom: 14px; text-align: center;
}
.tm-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800; color: #111111;
  margin-bottom: 16px; text-align: center;
}
.tm-sub {
  font-size: 14px; color: #666666;
  margin-bottom: 70px; text-align: center;
}

/* ── STACK CONTAINER ── */
.tm-stack-wrap {
  position: relative;
  width: 100%; max-width: 520px;
  height: 360px;
  margin-bottom: 48px;
  overflow: visible;
}

/* ── INDIVIDUAL CARD ── */
.tm-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
  will-change: transform;

  /* glass */
  background: #ffffff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,0.08);

  /* shadow */
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);

  transition: box-shadow 0.3s ease;
}

.tm-card:active { cursor: grabbing; }

/* top card gets a brighter glow */
.tm-card.is-top {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(37,99,255,0.15);
}

/* shimmer line along top edge */
.tm-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37,99,255,0.3) 40%,
    rgba(124,58,237,0.3) 60%,
    transparent 100%);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.4s;
}
.tm-card.is-top::before { opacity: 1; }

/* quote mark */
.tm-quote-mark {
  font-family: 'Inter', sans-serif;
  font-size: 56px; line-height: 1;
  color: rgba(37,99,255,0.2);
  margin-bottom: -10px;
  display: block;
}

.tm-text {
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
  flex: 1;
  margin-bottom: 24px;
}

.tm-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tm-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.tm-avatar.a0 { background: rgba(37,99,255,0.25); color: #6fa8ff; }
.tm-avatar.a1 { background: rgba(124,58,237,0.25); color: #b78cff; }
.tm-avatar.a2 { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.tm-avatar.a3 { background: rgba(245,158,11,0.2); color: #fcd34d; }
.tm-avatar.a4 { background: rgba(236,72,153,0.2); color: #f9a8d4; }

.tm-author-info { display: flex; flex-direction: column; gap: 2px; }
.tm-author-name { font-size: 13px; font-weight: 500; color: #111111; }
.tm-author-role { font-size: 11px; color: #888888; letter-spacing: 0.05em; }

/* drag hint on top card */
.tm-drag-hint {
  position: absolute;
  bottom: -28px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(0,0,0,0.25);
  white-space: nowrap;
  transition: opacity 0.4s;
  pointer-events: none;
}

/* ── CONTROLS ── */
.tm-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}
.tm-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: #ffffff;
  color: rgba(0,0,0,0.4);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.tm-btn:hover {
  border-color: #2563ff;
  color: #2563ff;
  box-shadow: 0 0 20px rgba(37,99,255,0.25);
  transform: translateY(-2px);
}

.tm-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tm-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.tm-dot.active {
  background: #2563ff;
  box-shadow: 0 0 8px rgba(37,99,255,0.8);
  width: 18px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  #testimonials { padding: 60px 20px 80px; min-height: auto; }
  .tm-title { font-size: clamp(22px, 5vw, 32px); }
  .tm-sub { margin-bottom: 40px; font-size: 13px; }
  .tm-stack-wrap { max-width: 100%; }
}
@media (max-width: 580px) {
  .tm-stack-wrap { height: 360px; }
  .tm-card { padding: 24px 20px 20px; }
  .tm-text { font-size: 13px; }
  .tm-quote-mark { font-size: 44px; }
}
/* ═══════════════════════════════════════
   AGENCY / BUSINESS SECTION
═══════════════════════════════════════ */
#agency {
  background: #F8F8F6;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
  padding: 120px 80px;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: visible;
}

#agency::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(124,58,237,0.045) 0%, rgba(37,99,255,0.035) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

#agency::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: -100px; right: -80px;
  background: radial-gradient(ellipse, rgba(37,99,255,0.05) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.agency-left {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.agency-right {
  flex: 0 0 500px;
  position: relative;
  z-index: 2;
}

.ag-eyebrow {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #2563ff;
}

.ag-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800; color: #111111; line-height: 1.12;
}
.ag-heading span {
  background: linear-gradient(135deg, #4f8eff 0%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.ag-desc {
  font-size: 15px; color: #555555; line-height: 1.75; max-width: 440px;
}

/* ── Service list ── */
.ag-services {
  list-style: none; display: flex; flex-direction: column; gap: 20px;
}
.ag-services li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.ag-services li:hover {
  border-color: rgba(37,99,255,0.25);
  background: rgba(37,99,255,0.03);
}
.ag-service-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(37,99,255,0.08);
  border: 1px solid rgba(37,99,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #2563ff;
}
.ag-service-icon svg { width: 18px; height: 18px; }
.ag-services li strong {
  display: block; font-size: 14px; font-weight: 600;
  color: #111111; margin-bottom: 4px;
}
.ag-services li p {
  font-size: 13px; color: #666666; line-height: 1.55; margin: 0;
}

/* ── CTA row ── */
.ag-cta-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.ag-cta-btn {
  padding: 14px 28px; border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #4f8eff);
  color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(124,58,237,0.35);
}
.ag-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.55);
}
.ag-trust {
  font-size: 12px; color: #999999;
  letter-spacing: 0.02em;
}

/* ── Form Card ── */
.ag-form-card {
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.ag-form-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37,99,255,0.3) 40%, rgba(124,58,237,0.3) 60%, transparent 100%);
}

.ag-form-header { margin-bottom: 28px; }
.ag-form-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px; font-weight: 800; color: #111111; margin-bottom: 6px;
}
.ag-form-header p { font-size: 13px; color: #666666; }

.ag-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px;
}
.ag-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.ag-field:last-child { margin-bottom: 0; }

.ag-field label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #444444;
}

.ag-field input,
.ag-field select,
.ag-field textarea {
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 11px 14px;
  color: #111111;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.ag-field select { appearance: none; cursor: pointer; }
.ag-field input::placeholder,
.ag-field textarea::placeholder { color: #aaaaaa; }
.ag-field input:focus,
.ag-field select:focus,
.ag-field textarea:focus {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.ag-field textarea { resize: vertical; min-height: 80px; }

/* Phone field */
.ag-field-phone .ag-phone-wrap {
  display: flex; gap: 8px;
}
.ag-country-select {
  flex: 0 0 auto;
  width: 100px !important;
  padding: 11px 8px !important;
  font-size: 13px !important;
}
.ag-phone-input { flex: 1; }

/* Goal buttons */
.ag-goal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.ag-goal-btn {
  padding: 9px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #f5f5f5;
  color: #555555;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.25s ease;
  text-align: center;
}
.ag-goal-btn:hover {
  border-color: rgba(124,58,237,0.4);
  color: #7c3aed;
  background: rgba(124,58,237,0.1);
}
.ag-goal-btn.selected {
  border-color: rgba(124,58,237,0.7);
  color: #fff;
  background: rgba(124,58,237,0.22);
  box-shadow: 0 0 12px rgba(124,58,237,0.25);
}

/* Submit button */
.ag-submit-btn {
  width: 100%;
  padding: 15px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #4f8eff);
  color: #fff; font-weight: 700; font-size: 15px;
  font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(124,58,237,0.3);
  margin-top: 6px;
}
.ag-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.5);
}
.ag-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.ag-disclaimer {
  font-size: 11px; color: #999999;
  text-align: center; margin-top: 10px; letter-spacing: 0.04em;
}

/* Success state */
.ag-success-state {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ag-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(52,211,153,0.2));
  border: 2px solid rgba(52,211,153,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #6ee7b7;
  box-shadow: 0 0 30px rgba(16,185,129,0.25);
}
.ag-success-state h3 {
  font-family: 'Inter', sans-serif; font-size: 22px;
  font-weight: 800; color: #111111;
}
.ag-success-state p { font-size: 14px; color: #555555; max-width: 320px; line-height: 1.6; }
.ag-success-sub { font-size: 12px !important; color: rgba(255,255,255,0.25) !important; }

/* Error state */
.ag-field input.ag-error,
.ag-field select.ag-error {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

@media (max-width: 1000px) {
  #agency {
    flex-direction: column;
    align-items: center;
    padding: 80px 40px;
    gap: 60px;
  }
  .agency-left { max-width: 100%; }
  .agency-right { flex: none; width: 100%; max-width: 560px; }
}

@media (max-width: 768px) {
  #agency { padding: 60px 20px; gap: 48px; min-height: auto; }
  .agency-right { max-width: 100%; }
}
@media (max-width: 580px) {
  .ag-field-row { grid-template-columns: 1fr; }
  .ag-goal-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-form-card { padding: 24px 18px; }
  .ag-heading { font-size: clamp(24px, 6vw, 36px); }
  .ag-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ═══════════════════════════════════════
   PERFORMANCE & UX OPTIMIZATIONS
═══════════════════════════════════════ */

/* Compositing hints — GPU-accelerated layers */
#bg        { will-change: contents; }
#bloom     { will-change: opacity; }
.tm-card   { will-change: transform, opacity; }
.nc-card   { will-change: transform; }
.word      { will-change: opacity, transform; }
.reveal-item { will-change: opacity, transform; }

/* content-visibility: skip off-screen rendering cost */
#about, #testimonials, #agency {
  content-visibility: auto;
  contain-intrinsic-size: 0 900px;
}

/* Form input: smooth, non-janky transitions */
.ag-field input,
.ag-field select,
.ag-field textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Prevent layout shift on font load */
html { font-display: swap; }

/* ── SMOOTH CARET & SELECTION ── */
.ag-field input,
.ag-field textarea {
  caret-color: #7c3aed;
}
.ag-field input::selection,
.ag-field textarea::selection {
  background: rgba(124,58,237,0.3);
}

/* ── FOCUS VISIBLE — keyboard nav ── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #4f8eff;
  outline-offset: 3px;
}

/* ── PREFERS REDUCED MOTION ──
   Respect user's OS accessibility setting.
   All animations disabled when requested.
── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #bg { display: none; }
  .word, .eyebrow, .sub, .btns,
  #hL, #hR, #bloom, #rays {
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal-item { opacity: 1 !important; transform: none !important; }
}

/* ── SCROLLBAR STYLING (Webkit) ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #06070d; }
::-webkit-scrollbar-thumb { background: rgba(37,99,255,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,255,0.7); }

/* ── SITE FOOTER ── */
.site-footer {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.site-footer-logo {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem;
  letter-spacing: -0.02em; text-decoration: none; color: #fff;
}
.site-footer-logo span { color: #2563ff; }
.site-footer p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.site-footer-links { display: flex; gap: 1.5rem; }
.site-footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.site-footer-links a:hover { color: #fff; }
@media (max-width: 900px) {
  .site-footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}

/* ─── GLOBAL MOBILE UTILITIES ─── */
@media (max-width: 768px) {
  /* Inner page main content offset for shorter mobile nav */
  main[style*="padding-top: 72px"],
  main[style*="padding-top:72px"] {
    padding-top: 64px !important;
  }
  /* Prevent horizontal overflow */
  body { overflow-x: hidden; }
  /* Footer stacking */
  .site-footer { flex-direction: column; text-align: center; padding: 1.5rem 1rem; }
  .site-footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .site-footer p { font-size: 0.7rem; }
}
