/* ═══════════════════════════════════════════════════════════════
   AXCELYON — LANDING PAGE
   Design tokens adapted from SaasAble UI Kit (Phoenixcoded)
   Palette: Blue #006397 · Greys · White · Dark navy #002438
═══════════════════════════════════════════════════════════════ */


/* ──────────────────────────────
   DESIGN TOKENS
────────────────────────────── */
:root {
  /* Blues */
  --blue-50:  #ebf5ff;
  --blue-100: #cce5ff;
  --blue-200: #92ccff;
  --blue-300: #0098e9;
  --blue-400: #007ec0;
  --blue-500: #006397;
  --blue-600: #003e5f;
  --blue-700: #001927;

  /* Neutrals */
  --n-50:  #f9f9fc;
  --n-100: #f1f4f9;
  --n-200: #ebeef3;
  --n-300: #e6e8ee;
  --n-400: #d7dadf;
  --n-600: #c2c7ce;
  --n-700: #72787e;
  --n-800: #42474e;
  --n-900: #1a1c1e;

  /* Semantic */
  --text-primary:   #1a1c1e;
  --text-secondary: #42474e;
  --text-tertiary:  #72787e;
  --border:         #e6e8ee;
  --bg-white:       #ffffff;
  --bg-grey:        #f1f4f9;
  --bg-dark:        #002438;

  /* Typography */
  --font-heading: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body:    'Figtree', system-ui, -apple-system, sans-serif;

  /* Layout */
  --section-py:  96px;
  --container:   1128px;
  --gutter:      24px;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(26,28,30,.06), 0 1px 2px rgba(26,28,30,.04);
  --shadow-md:    0 4px 16px rgba(26,28,30,.08), 0 1px 4px rgba(26,28,30,.04);
  --shadow-lg:    0 12px 40px rgba(26,28,30,.10), 0 4px 8px rgba(26,28,30,.05);
  --shadow-focus: 0 0 0 3px rgba(0,99,151,.22);

  /* Motion */
  --t-fast: 150ms ease;
  --t-mid:  240ms ease;
  --t-slow: 380ms ease;
}


/* ──────────────────────────────
   RESET & BASE
────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevent horizontal scroll from off-screen glow orbs */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

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


/* ──────────────────────────────
   TYPOGRAPHY
────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.625rem); font-weight: 700; }
h3 { font-size: clamp(1.0625rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p { color: var(--text-secondary); line-height: 1.72; }


/* ──────────────────────────────
   LAYOUT UTILITIES
────────────────────────────── */
.container {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-py);
}

.section--dark { background: var(--bg-dark); }
.bg-grey       { background: var(--bg-grey); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}

.section-label--light { color: var(--blue-200); }

.section-desc {
  margin-top: 20px;
  font-size: 1.0625rem;
  line-height: 1.72;
  max-width: 680px;
  margin-inline: auto;
}

.break-lg { display: inline; }


/* ──────────────────────────────
   BUTTONS
────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-pill);
  padding: 13px 26px;
  border: 2px solid transparent;
  transition: background var(--t-mid), border-color var(--t-mid),
              box-shadow var(--t-mid), transform var(--t-mid), color var(--t-mid);
  white-space: nowrap;
  letter-spacing: 0.005em;
}

.btn-primary {
  background: var(--blue-500);
  color: #fff;
  border-color: var(--blue-500);
}
.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  box-shadow: 0 4px 14px rgba(0,99,151,.32);
  transform: translateY(-1px);
}
.btn-primary:active { transform: none; box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border-color: var(--blue-500);
}
.btn-outline:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
}

.btn-lg { font-size: 1rem; padding: 15px 34px; }
.btn-full { width: 100%; }


/* ──────────────────────────────
   NAVBAR
────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  height: 96px;
  gap: 8px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.logo:hover { opacity: 0.82; }

.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover {
  color: var(--blue-500);
  background: rgba(0,99,151,.06);
}

.navbar-actions { margin-left: 20px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.hamburger:hover { background: var(--n-100); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-mid);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px var(--gutter) 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  animation: slideDown 0.2s ease;
}
.mobile-nav.open { display: flex; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 11px 14px;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-nav-link:hover { color: var(--blue-500); background: var(--blue-50); }
.mobile-cta { margin-top: 8px; width: fit-content; }


/* ──────────────────────────────
   HERO
────────────────────────────── */
.hero {
  position: relative;
  padding-top: 110px;
  padding-bottom: 100px;
  background: #fff;
}

/* Subtle dot grid — fades out at the bottom so it blends into the next section */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--n-300) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

/* Ambient glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow--1 {
  width: 700px; height: 600px;
  background: rgba(0,152,233,.06);
  top: -140px; right: -80px;
}
.hero-glow--2 {
  width: 480px; height: 480px;
  background: rgba(146,204,255,.07);
  bottom: -80px; left: -100px;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-500);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px 7px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}

.badge-pulse {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
  flex-shrink: 0;
  position: relative;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--blue-300);
  opacity: 0;
  animation: ripple 2.2s ease-out infinite;
}
@keyframes ripple {
  0%   { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Headline gradient */
.hero-headline {
  max-width: 840px;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(148deg, var(--n-900) 30%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 600px;
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}


/* ──────────────────────────────
   TRUST BAR
────────────────────────────── */
.trust-bar {
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.trust-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--n-800);
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--n-600);
  flex-shrink: 0;
}


/* ──────────────────────────────
   PROBLEM SECTION
────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--n-400);
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--blue-100);
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.problem-card p { font-size: 0.9375rem; }


/* ──────────────────────────────
   FEATURES / OVERWATCH
────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Shared card base */
.feature-card {
  background: var(--n-100);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--n-400);
}

/* Primary card (full-width banner) */
.feature-card--primary {
  grid-column: span 3;
  background: linear-gradient(125deg, var(--blue-50) 0%, #fff 55%);
  border-color: var(--blue-100);
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 40px 44px;
}
.feature-card--primary:hover { border-color: var(--blue-200); }

.feature-content { flex: 1; min-width: 0; }
.feature-visual   { flex-shrink: 0; }

/* Feature icon (small cards) */
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Feature tag pill */
.feature-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 1.0625rem; margin-bottom: 12px; line-height: 1.3; }
.feature-card--primary h3 { font-size: 1.25rem; margin-bottom: 14px; }
.feature-card p { font-size: 0.9375rem; }


/* ── Monitor Mockup ── */
.monitor-mockup {
  width: 292px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.monitor-bar {
  height: 42px;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.monitor-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  flex-shrink: 0;
}
.monitor-dot--dim { background: rgba(255,255,255,.25); }

.monitor-title {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.monitor-rows {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.monitor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--n-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.monitor-row--alert {
  background: #fff8f0;
  border-color: #fde8c8;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status--green {
  background: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.14);
}
.status--amber {
  background: #e65100;
  box-shadow: 0 0 0 3px rgba(230,81,0,.14);
}

.row-label {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.row-value {
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.row-value--ok   { color: #2e7d32; }
.row-value--warn { color: #e65100; }

.monitor-alert-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff3e0;
  border: 1px solid #fde8c8;
  border-radius: var(--r-md);
  padding: 9px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #bf360c;
  font-family: var(--font-heading);
}


/* ──────────────────────────────
   ABOUT / MISSION (DARK)
────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 { color: #fff; margin-bottom: 24px; }

.about-text p {
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }

/* Pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-xl);
  transition: background var(--t-mid), border-color var(--t-mid);
}
.pillar:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: rgba(0,152,233,.16);
  border: 1px solid rgba(0,152,233,.3);
  color: var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pillar-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.56);
  margin: 0;
  line-height: 1.6;
}


/* ──────────────────────────────
   LOGO IMAGE
────────────────────────────── */
.logo-img {
  display: block;
  width: auto;
}

/* Navbar: invert the white logo to dark for light background */
.logo-img--nav {
  height: 90px;
  filter: brightness(0);
  transition: opacity var(--t-fast);
}
.logo:hover .logo-img--nav { opacity: 0.75; }

/* Footer: show white logo on dark background */
.logo-img--footer {
  height: 100px;
}


/* ──────────────────────────────
   CAPABILITY ROW
────────────────────────────── */
.capability-row {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--n-100);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.capability-intro {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list li {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px 14px;
}


/* ──────────────────────────────
   TEAM
────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 28px 36px;
  transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--n-400);
}

.team-photo {
  position: relative;
  margin-bottom: 24px;
  display: inline-flex;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Neutral grey overlay — unifies all three photos without a colour cast */
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(55, 62, 70, 0.36);
  pointer-events: none;
}

/* Real photo */
.team-photo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 99, 151, 0.25);
  box-shadow: 0 6px 24px rgba(0, 99, 151, 0.18);
  display: block;
  filter: grayscale(100%) brightness(1.06) contrast(1.05);
}

/* Fallback placeholder (if no photo) */
.photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-300), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,99,151,.22);
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.team-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.team-role {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.02em;
}

.team-bio {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 240px;
}


/* ──────────────────────────────
   CONTACT
────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 {
  font-size: clamp(1.375rem, 2.5vw, 2.125rem);
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 1rem;
  margin-bottom: 16px;
}
.contact-text p:last-of-type { margin-bottom: 0; }

/* Perks list */
.access-perks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.access-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.perk-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form wrapper */
.contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.req          { color: var(--blue-500); }
.label-opt    { font-weight: 400; color: var(--text-tertiary); }

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--n-50);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--n-600); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--shadow-focus);
  background: #fff;
}

.form-group input.field-error { border-color: #c62828; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-align: center;
}

/* Success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 48px 20px;
}
.form-success[hidden] { display: none; }

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.form-success p { max-width: 320px; font-size: 0.9375rem; }


/* ──────────────────────────────
   FOOTER
────────────────────────────── */
.footer { background: var(--n-900); }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-block: 44px;
}

.footer .logo-wordmark { color: #fff; }
.footer .logo:hover { opacity: 0.78; }

.footer-tagline {
  margin-top: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.38);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 6px;
}

.footer-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.52);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 20px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-inner p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.3);
}

.footer-legal { font-size: 0.75rem !important; }


/* ──────────────────────────────
   SCROLL REVEAL ANIMATIONS
────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grid children */
.problem-grid   .problem-card:nth-child(2) { transition-delay: 0.09s; }
.problem-grid   .problem-card:nth-child(3) { transition-delay: 0.18s; }
.features-grid  .feature-card:nth-child(2) { transition-delay: 0.08s; }
.features-grid  .feature-card:nth-child(3) { transition-delay: 0.14s; }
.features-grid  .feature-card:nth-child(4) { transition-delay: 0.20s; }
.team-grid      .team-card:nth-child(2)    { transition-delay: 0.10s; }
.team-grid      .team-card:nth-child(3)    { transition-delay: 0.20s; }
.about-pillars  .pillar:nth-child(2)       { transition-delay: 0.10s; }
.about-pillars  .pillar:nth-child(3)       { transition-delay: 0.20s; }


/* ──────────────────────────────
   RESPONSIVE — TABLET (≤1024px)
────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrapper { max-width: 600px; }

  .feature-card--primary {
    flex-direction: column;
    gap: 36px;
  }
  .feature-visual { width: 100%; display: flex; justify-content: center; }

  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}


/* ──────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* Nav */
  .nav-links,
  .navbar-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-top: 72px; padding-bottom: 64px; }

  /* Grids → single column */
  .problem-grid  { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--primary { grid-column: span 1; }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  /* Contact */
  .contact-form-wrapper { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  /* Trust bar */
  .trust-dot { display: none; }
  .trust-items { flex-direction: column; gap: 6px; text-align: center; }
}


/* ──────────────────────────────
   RESPONSIVE — SMALL (≤480px)
────────────────────────────── */
@media (max-width: 480px) {
  :root { --section-py: 48px; }

  .hero { padding-top: 56px; }
  .break-lg { display: none; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  .btn-lg { padding: 14px 24px; }

  .section-header { margin-bottom: 40px; }
  .team-grid { max-width: 100%; }
  .monitor-mockup { width: 100%; max-width: 292px; }

  .logo-img--nav { height: 60px; }
  .logo-img--footer { height: 68px; }

  .capability-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
