/* ==========================================================================
   WebQubes — Design System
   Tokens: color, type, space, radius, shadow, motion
   ========================================================================== */

:root{
  /* ---- Brand color ---- */
  --navy:        #0B1020;
  --navy-800:    #10162B;
  --navy-700:    #151C36;
  --navy-600:    #1C2444;
  --line-dark:   #262E4E;

  --blue:        #2563EB;
  --blue-500:    #3B82F6;
  --purple:      #7C3AED;
  --cyan:        #06B6D4;

  --white:       #FFFFFF;
  --gray-25:     #FAFBFF;
  --gray-50:     #F5F7FB;
  --gray-100:    #EEF1F8;
  --border:      #E3E7F1;
  --border-soft: #ECEFF6;

  --text-900:    #111827;
  --text-700:    #334155;
  --text-600:    #475569;
  --text-400:    #94A3B8;

  --on-dark-hi:  #F8FAFF;
  --on-dark-lo:  #A6ADC9;
  --on-dark-dim: #6C7599;

  --brand-gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple) 62%, var(--cyan) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(124,58,237,0.10));
  --text-gradient: linear-gradient(100deg, #60A5FA 0%, #A78BFA 45%, #22D3EE 100%);

  /* ---- Type ---- */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* ---- Radius / shadow ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(17,24,39,0.06), 0 1px 1px rgba(17,24,39,0.04);
  --shadow-md: 0 8px 24px rgba(17,24,39,0.08);
  --shadow-lg: 0 24px 64px rgba(11,16,32,0.14);
  --shadow-glow: 0 0 0 1px rgba(124,58,237,0.10), 0 20px 60px rgba(37,99,235,0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-1: 0.18s;
  --speed-2: 0.35s;
  --speed-3: 0.6s;

  --container: 1220px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--white);
  color: var(--text-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg{ max-width: 100%; display: block; }
button{ font: inherit; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
input, textarea, select{ font: inherit; color: inherit; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--text-900);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1{ font-weight: 700; }
h2, h3, h4{ font-weight: 600; }
p{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: absolute;
  left: 12px; top: -48px;
  background: var(--navy);
  color: var(--on-dark-hi);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  z-index: 999;
  transition: top var(--speed-1) var(--ease);
}
.skip-link:focus{ top: 12px; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px){ .container{ padding: 0 32px; } }
@media (min-width: 1280px){ .container{ padding: 0 40px; } }

.section{ padding: 72px 0; }
@media (min-width: 1024px){ .section{ padding: 112px 0; } }

.section-tight{ padding: 56px 0; }
@media (min-width: 1024px){ .section-tight{ padding: 80px 0; } }

.bg-light{ background: var(--white); }
.bg-muted{ background: var(--gray-50); }
.bg-dark{
  background: var(--navy);
  color: var(--on-dark-lo);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4{ color: var(--on-dark-hi); }

.section-border-t{ border-top: 1px solid var(--border-soft); }

.grid{ display: grid; gap: 28px; }
.g2{ grid-template-columns: repeat(1, 1fr); }
.g3{ grid-template-columns: repeat(1, 1fr); }
.g4{ grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px){
  .g2{ grid-template-columns: repeat(2, 1fr); }
  .g4{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .g3{ grid-template-columns: repeat(3, 1fr); }
  .g4{ grid-template-columns: repeat(4, 1fr); }
}

.stack-center{ text-align: center; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Typography components
   ========================================================================== */

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.18);
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
}
.eyebrow::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex: none;
}
.bg-dark .eyebrow{
  color: #B9C4FF;
  background: rgba(148,163,255,0.08);
  border-color: rgba(148,163,255,0.22);
}

.section-head{
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-top: 14px;
}
.section-head p{
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--text-600);
  line-height: 1.65;
}
.bg-dark .section-head p{ color: var(--on-dark-lo); }

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

.lead{
  font-size: 1.15rem;
  color: var(--text-600);
  line-height: 1.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--speed-1) var(--ease), box-shadow var(--speed-1) var(--ease), background var(--speed-1) var(--ease), color var(--speed-1) var(--ease), border-color var(--speed-1) var(--ease);
  min-height: 48px;
}
.btn svg{ width: 18px; height: 18px; flex: none; transition: transform var(--speed-1) var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

.btn-primary{
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,99,235,0.28);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124,58,237,0.34); }
.btn-primary:active{ transform: translateY(0); }

.btn-secondary{
  background: transparent;
  color: var(--text-900);
  border-color: var(--border);
}
.btn-secondary:hover{ border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.bg-dark .btn-secondary{ color: var(--on-dark-hi); border-color: var(--line-dark); }
.bg-dark .btn-secondary:hover{ border-color: #7C8CFF; color: #A9B6FF; }

.btn-ghost-light{
  background: rgba(255,255,255,0.06);
  color: var(--on-dark-hi);
  border-color: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover{ background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-sm{ padding: 10px 18px; font-size: 0.86rem; min-height: 38px; }
.btn-block{ width: 100%; }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
}
.link-arrow svg{ width: 16px; height: 16px; transition: transform var(--speed-1) var(--ease); }
.link-arrow:hover svg{ transform: translateX(4px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: background var(--speed-2) var(--ease), box-shadow var(--speed-2) var(--ease);
}
.site-header.is-scrolled{ box-shadow: 0 6px 24px rgba(17,24,39,0.06); }

.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--text-900);
  flex: none;
}
.brand .mark{ width: 34px; height: 34px; flex: none; }
.brand .word b{ font-weight: 700; }
.brand .word{ color: var(--text-900); }
.brand .word .accent{ background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-logo{ height: 40px; width: auto; display: block; }
@media (max-width: 480px){ .brand-logo{ height: 40px; } }

.nav-primary{
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px){ .nav-primary{ display: flex; } }

.nav-primary > li{ position: relative; }
.nav-link{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-700);
  border-radius: var(--r-pill);
  transition: color var(--speed-1) var(--ease), background var(--speed-1) var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"]{ color: var(--blue); background: rgba(37,99,235,0.06); }
.nav-link[aria-current="page"]{ color: var(--blue); background: rgba(37,99,235,0.06); }
.mobile-link[aria-current="page"]{ color: var(--blue); }
.nav-link svg{ width: 15px; height: 15px; transition: transform var(--speed-1) var(--ease); }
.nav-link[aria-expanded="true"] svg{ transform: rotate(180deg); }

.has-dropdown{ position: static; }

.mega{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(760px, 92vw);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--speed-2) var(--ease), transform var(--speed-2) var(--ease), visibility var(--speed-2);
  z-index: 90;
}
.has-dropdown.is-open .mega{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 8px;
}
.mega-item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  transition: background var(--speed-1) var(--ease);
}
.mega-item:hover{ background: var(--gray-50); }
.mega-item .ic{
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient-soft);
  color: var(--purple);
}
.mega-item .ic svg{ width: 19px; height: 19px; }
.mega-item .t{ font-weight: 600; font-size: 0.9rem; color: var(--text-900); }
.mega-item .d{ font-size: 0.78rem; color: var(--text-400); margin-top: 2px; line-height: 1.4; }

.mega-foot{
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mega-foot p{ font-size: 0.84rem; color: var(--text-600); }

.nav-actions{ display: flex; align-items: center; gap: 10px; }
.nav-actions .btn{ display: none; }
@media (min-width: 1024px){ .nav-actions .btn{ display: inline-flex; } }

.menu-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  flex: none;
}
@media (min-width: 1024px){ .menu-toggle{ display: none; } }
.menu-toggle svg{ width: 20px; height: 20px; }
.menu-toggle .icon-close{ display: none; }
.menu-toggle[aria-expanded="true"] .icon-open{ display: none; }
.menu-toggle[aria-expanded="true"] .icon-close{ display: block; }

/* Mobile full-screen nav */
.mobile-nav{
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  padding: 20px 20px 40px;
  transform: translateX(100%);
  transition: transform var(--speed-2) var(--ease);
}
.mobile-nav.is-open{ transform: translateX(0); }
@media (min-width: 1024px){ .mobile-nav{ display: none; } }

.mobile-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-900);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-accordion-btn{
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.mobile-accordion-btn svg{ width: 18px; height: 18px; transition: transform var(--speed-1) var(--ease); }
.mobile-accordion-btn[aria-expanded="true"] svg{ transform: rotate(180deg); }
.mobile-sublist{
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed-2) var(--ease);
}
.mobile-sublist.is-open{ max-height: 620px; }
.mobile-sublist a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px 12px 8px;
  font-size: 0.95rem;
  color: var(--text-600);
}
.mobile-sublist a svg{ width: 16px; height: 16px; color: var(--purple); flex: none; }
.mobile-cta{ margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Hero (dark)
   ========================================================================== */

.hero{
  position: relative;
  overflow: hidden;
  padding: 64px 0 90px;
  isolation: isolate;
}
@media (min-width: 1024px){ .hero{ padding: 96px 0 130px; } }

.hero-glow{
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 18% 22%, rgba(37,99,235,0.38), transparent 70%),
    radial-gradient(34% 40% at 82% 12%, rgba(124,58,237,0.34), transparent 70%),
    radial-gradient(30% 34% at 68% 78%, rgba(6,182,212,0.22), transparent 70%);
  filter: blur(10px);
  animation: blob-drift 22s ease-in-out infinite alternate;
}
@keyframes blob-drift{
  from{ transform: translate3d(0,0,0) scale(1); }
  to{ transform: translate3d(-2%, 2%, 0) scale(1.06); }
}
.hero-grid-lines{
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px){ .hero-layout{ grid-template-columns: 1.05fr 0.95fr; gap: 40px; } }

.hero-copy h1{
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  color: var(--on-dark-hi);
}
.hero-copy .lead{
  margin-top: 20px;
  max-width: 52ch;
  color: var(--on-dark-lo);
  font-size: 1.12rem;
}
.hero-actions{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-proof{
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.hero-stat{ display: flex; flex-direction: column; gap: 2px; }
.hero-stat + .hero-stat{ padding-left: 26px; border-left: 1px solid var(--line-dark); }
.hero-stat .v{ font-family: var(--font-mono); font-size: 1.55rem; font-weight: 600; color: var(--on-dark-hi); font-variant-numeric: tabular-nums; }
.hero-stat .l{ font-size: 0.74rem; color: var(--on-dark-dim); }
@media (max-width: 560px){
  .hero-stat + .hero-stat{ padding-left: 0; border-left: none; }
  .hero-proof{ gap: 22px 30px; }
}

.hero-trust{
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--on-dark-dim);
}
.hero-trust .avatars{ display: flex; }
.hero-trust .avatars span{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--brand-gradient);
  margin-left: -8px;
}
.hero-trust .avatars span:first-child{ margin-left: 0; }

/* Floating visual stack */
.hero-visual{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 34px;
}

.dash-wrap{
  position: relative;
  width: 100%;
  max-width: 440px;
}

.float-card{
  position: absolute;
  background: rgba(21,28,54,0.72);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  padding: 16px;
  animation: float-y 6s ease-in-out infinite;
  z-index: 2;
}
@keyframes float-y{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-14px); }
}

.fc-analytics{ top: -88px; left: -34px; width: 178px; animation-delay: 0s; }
.fc-conversion{ bottom: -68px; right: -28px; width: 138px; animation-delay: 0.9s; }
@media (max-width: 560px){
  .fc-analytics{ width: 152px; top: -70px; left: -12px; }
  .fc-conversion{ width: 118px; bottom: -54px; right: -8px; }
}

.fc-label{
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.fc-label .dot{ width: 6px; height: 6px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 8px #22D3EE; }
.fc-big{ font-family: var(--font-mono); font-size: 1.5rem; color: var(--on-dark-hi); font-variant-numeric: tabular-nums; }
.fc-sub{ font-size: 0.72rem; color: #34D399; margin-top: 2px; font-weight: 600; }
.fc-spark{ display: block; width: 100%; height: 26px; margin-top: 6px; }

/* Dashboard mockup — primary hero visual */
.dash-mock{
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
}
.dash-mock-top{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
}
.dash-mock-top .dot{ width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-r{ background: #F87171; }
.dot-y{ background: #FBBF24; }
.dot-g{ background: #34D399; }
.dash-mock-url{
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--on-dark-dim);
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 999px;
}

.dash-mock-body{ padding: 22px 22px 26px; }

.dash-head{ display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.dash-title{ font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--on-dark-hi); }
.dash-sub{ font-size: 0.72rem; color: var(--on-dark-dim); margin-top: 3px; }
.dash-pill{
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34D399;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.3);
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.dash-pill::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 6px #34D399; }

.dash-kpis{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.dash-kpi{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-kpi .k-label{ font-size: 0.62rem; color: var(--on-dark-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.dash-kpi .k-val{ font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--on-dark-hi); font-variant-numeric: tabular-nums; }
.dash-kpi .k-delta{ font-size: 0.66rem; font-weight: 600; }
.dash-kpi .k-delta.up{ color: #34D399; }

.dash-chart{ position: relative; margin-bottom: 22px; }
.dash-chart svg{ width: 100%; height: 108px; display: block; }
.grid-line{ stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.dash-chart-tag{
  position: absolute;
  top: -6px;
  right: 4px;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--on-dark-hi);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.dash-chart-tag span{ color: var(--on-dark-dim); font-weight: 400; margin-left: 3px; }

.dash-sources{ display: flex; flex-direction: column; gap: 10px; }
.dash-source-row{ display: flex; align-items: center; gap: 10px; font-size: 0.72rem; color: var(--on-dark-lo); }
.dash-source-row span:first-child{ width: 50px; flex: none; }
.dash-source-row .pct{ width: 30px; flex: none; text-align: right; font-family: var(--font-mono); color: var(--on-dark-hi); }
.bar-track{ flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar-fill{ height: 100%; border-radius: 999px; background: var(--brand-gradient); }

.particles{
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Logo strip
   ========================================================================== */

.logo-strip{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: center;
}
@media (min-width: 640px){ .logo-strip{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .logo-strip{ grid-template-columns: repeat(6, 1fr); } }
.logo-strip .logo-item{
  display: flex; align-items: center; justify-content: center;
  height: 64px;
  color: var(--text-400);
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--speed-2) var(--ease), opacity var(--speed-2) var(--ease), transform var(--speed-2) var(--ease);
}
.logo-strip .logo-item:hover{ filter: grayscale(0); opacity: 1; color: var(--blue); transform: translateY(-2px); }
.logo-strip svg{ width: 100%; height: 30px; }

.capability-strip{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.capability-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border-soft);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-700);
  transition: transform var(--speed-2) var(--ease), box-shadow var(--speed-2) var(--ease), border-color var(--speed-2) var(--ease), color var(--speed-1) var(--ease);
}
.capability-chip:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(124,58,237,0.28);
  color: var(--blue);
}
.capability-chip .ic{
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient-soft);
  color: var(--purple);
  flex: none;
}
.capability-chip .ic svg{ width: 16px; height: 16px; }

.capability-note{
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-600);
}

/* ==========================================================================
   Cards — services / features / values
   ========================================================================== */

.service-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform var(--speed-2) var(--ease), box-shadow var(--speed-2) var(--ease), border-color var(--speed-2) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(124,58,237,0.22);
}
.service-card .ic{
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  margin-bottom: 20px;
}
.service-card .ic svg{ width: 24px; height: 24px; }
.service-card h3{ font-size: 1.18rem; }
.service-card p{ margin-top: 10px; color: var(--text-600); font-size: 0.92rem; line-height: 1.6; flex: 1; }
.service-card .card-link{ margin-top: 18px; }

.feature-card{
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: border-color var(--speed-2) var(--ease), transform var(--speed-2) var(--ease), background var(--speed-2) var(--ease);
}
.feature-card:hover{ border-color: rgba(37,99,235,0.2); transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow-md); }
.feature-card .idx{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--purple);
  font-weight: 600;
}
.feature-card h3{ font-size: 1.08rem; margin-top: 12px; }
.feature-card p{ margin-top: 8px; color: var(--text-600); font-size: 0.9rem; line-height: 1.6; }

.tech-card{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color var(--speed-2) var(--ease), transform var(--speed-2) var(--ease), box-shadow var(--speed-2) var(--ease);
}
.tech-card:hover{ border-color: rgba(37,99,235,0.22); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-card .ic{
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient-soft);
  color: var(--blue);
  margin-bottom: 16px;
}
.tech-card .ic svg{ width: 21px; height: 21px; }
.tech-card h3{ font-size: 1.02rem; }
.tech-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tech-tag{
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gray-50);
  border: 1px solid var(--border-soft);
  color: var(--text-600);
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-mono);
}

.value-card{
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 26px;
  text-align: left;
}
.value-card .ic{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-gradient-soft);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-card .ic svg{ width: 22px; height: 22px; }
.value-card h3{ font-size: 1.05rem; }
.value-card p{ margin-top: 8px; font-size: 0.88rem; color: var(--text-600); line-height: 1.6; }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px){ .stats-grid{ grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.stat{
  border-top: 2px solid;
  border-image: var(--brand-gradient) 1;
  padding-top: 16px;
}
.stat .num{
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text-900);
  font-variant-numeric: tabular-nums;
}
.bg-dark .stat .num{ color: var(--on-dark-hi); }
.stat .label{ margin-top: 6px; font-size: 0.86rem; color: var(--text-600); line-height: 1.4; }
.bg-dark .stat .label{ color: var(--on-dark-lo); }

/* ==========================================================================
   Process / timeline
   ========================================================================== */

.process-wrap{ position: relative; }
.process-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}
@media (min-width: 900px){ .process-grid{ grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.process-line{
  display: none;
}
@media (min-width: 900px){
  .process-line{
    display: block;
    position: absolute;
    top: 27px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, rgba(148,163,255,0.06), rgba(148,163,255,0.35), rgba(148,163,255,0.06));
    z-index: 0;
  }
  .process-line .fill{
    position: absolute;
    inset: 0;
    background: var(--brand-gradient);
    width: 0%;
    transition: width 1.2s var(--ease);
  }
  .process-line.in-view .fill{ width: 100%; }
}

.process-step{ position: relative; z-index: 1; }
.process-step .num-badge{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 1px solid var(--line-dark);
  color: var(--on-dark-hi);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.process-step h3{ font-size: 1.12rem; }
.process-step p{ margin-top: 8px; font-size: 0.88rem; line-height: 1.6; color: var(--on-dark-lo); }

/* light variant of process (used on light sections) */
.process-light .process-step .num-badge{ background: var(--white); border-color: var(--border); color: var(--purple); }
.process-light .process-step p{ color: var(--text-600); }

/* ==========================================================================
   Case studies
   ========================================================================== */

.case-grid{ display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px){ .case-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px){ .case-grid{ grid-template-columns: repeat(3, 1fr); } }

.case-card{
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--white);
  transition: transform var(--speed-2) var(--ease), box-shadow var(--speed-2) var(--ease);
}
.case-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-visual{
  height: 170px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.case-visual .badge{
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.case-visual.v1{ background: linear-gradient(135deg, #1E3A8A, #7C3AED); }
.case-visual.v2{ background: linear-gradient(135deg, #0E7490, #2563EB); }
.case-visual.v3{ background: linear-gradient(135deg, #6D28D9, #DB2777); }
.case-visual.v4{ background: linear-gradient(135deg, #0F172A, #2563EB); }
.case-visual.v5{ background: linear-gradient(135deg, #7C3AED, #06B6D4); }
.case-visual.v6{ background: linear-gradient(135deg, #1E293B, #7C3AED); }

.case-body{ padding: 22px; }
.case-body .client-row{ display: flex; justify-content: space-between; align-items: center; }
.case-body .client{ font-weight: 700; color: var(--text-900); }
.case-body .industry{ font-size: 0.76rem; color: var(--text-400); }
.case-body .services{ margin-top: 10px; font-size: 0.8rem; color: var(--text-600); }
.case-metrics-row{
  margin-top: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.case-metrics-row .m{ font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; color: var(--blue); }
.case-metrics-row .m span{ display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.7rem; color: var(--text-400); margin-top: 2px; }
.case-body .card-link{ margin-top: 18px; }
.placeholder-note{ font-size: 0.7rem; color: var(--text-400); margin-top: 4px; font-style: italic; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testi-wrap{ position: relative; max-width: 780px; margin: 0 auto; }
.testi-track{ overflow: hidden; }
.testi-slides{ display: flex; transition: transform var(--speed-3) var(--ease); }
.testi-slide{ flex: 0 0 100%; padding: 4px; }
.testi-card{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testi-stars{ display: flex; justify-content: center; gap: 4px; color: #F59E0B; margin-bottom: 18px; }
.testi-stars svg{ width: 18px; height: 18px; }
.testi-quote{ font-size: 1.2rem; color: var(--text-900); line-height: 1.6; font-family: var(--font-display); font-weight: 500; }
.testi-person{ margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi-avatar{ width: 44px; height: 44px; border-radius: 50%; background: var(--brand-gradient); flex: none; }
.testi-name{ font-weight: 700; font-size: 0.92rem; color: var(--text-900); text-align: left; }
.testi-role{ font-size: 0.78rem; color: var(--text-400); text-align: left; }

.testi-controls{ display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; }
.testi-arrow{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--speed-1) var(--ease);
}
.testi-arrow:hover{ border-color: var(--blue); color: var(--blue); }
.testi-arrow svg{ width: 18px; height: 18px; }
.testi-dots{ display: flex; gap: 8px; }
.testi-dots button{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  border: none; cursor: pointer;
  padding: 0;
  transition: all var(--speed-1) var(--ease);
}
.testi-dots button.is-active{ width: 22px; border-radius: var(--r-pill); background: var(--brand-gradient); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band{
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 64px);
  text-align: center;
  background: var(--navy);
  isolation: isolate;
}
.cta-band::before{
  content: "";
  position: absolute; inset: -30%;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 20% 30%, rgba(37,99,235,0.45), transparent 70%),
    radial-gradient(40% 60% at 80% 70%, rgba(124,58,237,0.4), transparent 70%);
  animation: blob-drift 18s ease-in-out infinite alternate;
}
.cta-band h2{ color: var(--on-dark-hi); font-size: clamp(2rem, 4.4vw, 3.1rem); }
.cta-band p{ margin: 18px auto 0; max-width: 52ch; color: var(--on-dark-lo); font-size: 1.05rem; }
.cta-band .hero-actions{ justify-content: center; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list{ max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item{ border: 1px solid var(--border-soft); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-900);
}
.faq-q svg{ width: 20px; height: 20px; flex: none; color: var(--purple); transition: transform var(--speed-1) var(--ease); }
.faq-q[aria-expanded="true"] svg{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height var(--speed-2) var(--ease); }
.faq-a-in{ padding: 0 22px 20px; color: var(--text-600); font-size: 0.92rem; line-height: 1.65; }

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-shell{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px){ .contact-shell{ grid-template-columns: 1fr 1.15fr; gap: 56px; } }

.contact-info-card{
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  color: var(--on-dark-lo);
}
.contact-info-card h3{ color: var(--on-dark-hi); font-size: 1.2rem; }
.contact-info-row{ display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; }
.contact-info-row .ic{
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-info-row .ic svg{ width: 18px; height: 18px; color: #A9B6FF; }
.contact-info-row .t{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-dim); font-family: var(--font-mono); }
.contact-info-row .v{ margin-top: 3px; font-size: 0.94rem; color: var(--on-dark-hi); }
.map-placeholder{
  margin-top: 26px;
  border-radius: var(--r-md);
  height: 160px;
  background:
    linear-gradient(rgba(148,163,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,255,0.05) 1px, transparent 1px),
    rgba(255,255,255,0.03);
  background-size: 22px 22px, 22px 22px, auto;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark-dim);
  font-size: 0.78rem;
  gap: 8px;
}
.map-placeholder svg{ width: 16px; height: 16px; }

.form-card{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-grid{ display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px){ .form-grid.two{ grid-template-columns: 1fr 1fr; } }
.field label{
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
}
.field .req{ color: var(--purple); }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--gray-25);
  font-size: 0.94rem;
  transition: border-color var(--speed-1) var(--ease), box-shadow var(--speed-1) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field-full{ grid-column: 1 / -1; }
.form-note{ font-size: 0.78rem; color: var(--text-400); margin-top: 4px; }
.form-success{
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.28);
  color: #047857;
  padding: 16px 18px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.form-success.is-visible{ display: flex; }
.form-success svg{ width: 20px; height: 20px; flex: none; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs{
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  color: var(--on-dark-dim);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumbs a:hover{ color: var(--on-dark-hi); }
.breadcrumbs svg{ width: 13px; height: 13px; }
.breadcrumbs .current{ color: var(--on-dark-hi); }

/* ==========================================================================
   Comparison (GEO page)
   ========================================================================== */

.compare-grid{ display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px){ .compare-grid{ grid-template-columns: 1fr auto 1fr; align-items: center; } }
.compare-col{ border-radius: var(--r-lg); padding: 28px; }
.compare-col.old{ background: var(--gray-50); border: 1px solid var(--border-soft); }
.compare-col.new{ background: var(--navy); }
.compare-col.new *{ color: var(--on-dark-hi); }
.compare-col h4{ font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-400); }
.compare-col.new h4{ color: #B9C4FF; }
.compare-flow{ margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.compare-flow .step{
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--border-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.compare-col.new .compare-flow .step{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.compare-flow svg{ width: 15px; height: 15px; color: var(--text-400); }
.compare-vs{
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff; font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}

/* ==========================================================================
   Funnel viz (email page)
   ========================================================================== */

.funnel{ display: flex; flex-direction: column; gap: 8px; max-width: 440px; margin: 0 auto; }
.funnel .row{
  padding: 16px 20px;
  border-radius: var(--r-sm);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
}
.funnel .row span:last-child{ font-family: var(--font-mono); font-weight: 500; opacity: 0.85; }
.funnel .row:nth-child(1){ background: #2563EB; width: 100%; }
.funnel .row:nth-child(2){ background: #4C5FE0; width: 88%; margin-left: 6%; }
.funnel .row:nth-child(3){ background: #6D5DDB; width: 74%; margin-left: 13%; }
.funnel .row:nth-child(4){ background: #7C3AED; width: 58%; margin-left: 21%; }

/* ==========================================================================
   Device mockups
   ========================================================================== */

.browser-mock{
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-700);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.browser-mock .top{ display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.browser-mock .top span{ width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.browser-mock .body{ padding: 26px; }
.browser-mock .body .block{ border-radius: 8px; background: rgba(255,255,255,0.06); }

.phone-mock{
  width: 220px;
  border-radius: 34px;
  background: var(--navy-700);
  border: 6px solid var(--navy-800);
  box-shadow: var(--shadow-lg);
  padding: 14px 12px;
  margin: 0 auto;
}
.phone-mock .notch{ width: 60px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.14); margin: 0 auto 14px; }
.phone-mock .screen .block{ border-radius: 10px; background: rgba(255,255,255,0.07); margin-bottom: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{ background: var(--navy); color: var(--on-dark-lo); padding: 72px 0 28px; }
.footer-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 768px){ .footer-top{ grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; } }

.footer-brand .brand{ color: var(--on-dark-hi); }
.footer-brand .brand .word{ color: var(--on-dark-hi); }
.footer-brand p{ margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 34ch; color: var(--on-dark-lo); }
.footer-social{ display: flex; gap: 10px; margin-top: 22px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--speed-1) var(--ease);
}
.footer-social a:hover{ background: var(--brand-gradient); border-color: transparent; transform: translateY(-3px); }
.footer-social svg{ width: 16px; height: 16px; }

.footer-col h4{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-hi);
  margin-bottom: 18px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 0.88rem; transition: color var(--speed-1) var(--ease); }
.footer-col a:hover{ color: var(--on-dark-hi); }

.footer-contact-list li{ display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-list .ic{
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  color: #A9B6FF;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.footer-contact-list .ic svg{ width: 15px; height: 15px; }
.footer-contact-list li a, .footer-contact-list li span.txt{ font-size: 0.88rem; padding-top: 6px; }
.footer-contact-cta{ margin-top: 4px; }

.footer-bottom{
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--on-dark-dim);
}
.footer-bottom .legal-links{ display: flex; gap: 18px; }
.footer-bottom .legal-links a:hover{ color: var(--on-dark-hi); }

.footer-locations{
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--on-dark-dim);
}
.footer-locations span.lbl{ font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; color: var(--on-dark-lo); }
.footer-locations a{ color: var(--on-dark-dim); }
.footer-locations a:hover{ color: var(--on-dark-hi); }
.footer-locations .sep{ color: var(--on-dark-lo); }

/* ==========================================================================
   Sitemap page
   ========================================================================== */

.sitemap-col{
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--bg-1, #fff);
}
.sitemap-col h4{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-900);
  margin-bottom: 18px;
}
.sitemap-col ul{ display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal{ opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{ opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.is-visible > *{ opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay: 0.44s; }
.reveal-stagger.is-visible > *:nth-child(8){ transition-delay: 0.51s; }
.reveal-stagger.is-visible > *:nth-child(9){ transition-delay: 0.58s; }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{ opacity: 1; transform: none; }
  .float-card, .hero-glow, .cta-band::before{ animation: none; }
}

/* ==========================================================================
   Page hero (inner pages — smaller than home hero)
   ========================================================================== */

.page-hero{ padding: 48px 0 76px; position: relative; overflow: hidden; }
.page-hero .container{ position: relative; z-index: 1; }
.page-hero h1{ font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--on-dark-hi); max-width: 18ch; }
.page-hero .lead{ margin-top: 18px; max-width: 58ch; color: var(--on-dark-lo); }

.tag-row{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag-pill{
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--on-dark-hi);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}

/* ==========================================================================
   Utility list w/ check icons
   ========================================================================== */

.check-list{ display: flex; flex-direction: column; gap: 14px; }
.check-list li{ display: flex; align-items: flex-start; gap: 12px; font-size: 0.94rem; color: var(--text-700); }
.check-list svg{ width: 20px; height: 20px; flex: none; color: #10B981; margin-top: 1px; }

.two-col{ display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px){ .two-col{ grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col.reverse{ direction: rtl; }
.two-col.reverse > *{ direction: ltr; }

.kpi-row{ display: flex; flex-wrap: wrap; gap: 14px; }
.kpi-chip{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 16px 20px;
  min-width: 110px;
}
.kpi-chip .k{ font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600; color: var(--blue); }
.kpi-chip .l{ font-size: 0.72rem; color: var(--text-400); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

.workflow-strip{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }
.workflow-strip .node{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-900);
}
.workflow-strip svg{ width: 16px; height: 16px; color: var(--text-400); flex: none; }

/* ==========================================================================
   Post mockups (social page)
   ========================================================================== */

.post-mock-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px){ .post-mock-grid{ grid-template-columns: repeat(4, 1fr); } }
.post-mock{
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--navy-700);
}
.post-mock .img{ height: 110px; }
.post-mock .cap{ padding: 12px; }
.post-mock .cap .lines span{ display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.10); margin-bottom: 6px; }
.post-mock .cap .lines span:last-child{ width: 60%; }

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37,99,235,0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--speed-2) var(--ease), transform var(--speed-2) var(--ease), visibility var(--speed-2), box-shadow var(--speed-1) var(--ease);
  z-index: 80;
}
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ box-shadow: 0 14px 34px rgba(124,58,237,0.38); transform: translateY(-3px); }
.back-to-top svg{ width: 20px; height: 20px; }
@media (max-width: 640px){
  .back-to-top{ right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
