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

:root {
  --navy:   #012968;
  --red:    #FC364D;
  --blue:   #0437F2;
  --white:  #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #f1f3f8;
  --mid-gray: #e2e6ef;
  --text-dark: #0d1b2e;
  --text-mid: #4a5568;
  --text-light: #8896a7;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(1,41,104,0.06);
  --shadow-md: 0 8px 32px rgba(1,41,104,0.10);
  --shadow-lg: 0 20px 60px rgba(1,41,104,0.14);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY UTILITIES
═══════════════════════════════════════════ */
.accent-red  { color: var(--red); }
.accent-blue { color: var(--blue); }
.accent-navy { color: var(--navy); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(4,55,242,0.07);
  border: 1px solid rgba(4,55,242,0.15);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,55,242,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  padding: 10px 22px;
  font-size: 0.875rem;
}
.btn-nav:hover {
  background: #e02a40;
  border-color: #e02a40;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252,54,77,0.3);
}

.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid-gray);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links li a:not(.btn):hover {
  color: var(--navy);
  background: var(--light-gray);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Subtle background decoration — right side glow */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(4,55,242,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(252,54,77,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(252,54,77,0.07);
  border: 1px solid rgba(252,54,77,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 28px;
  max-width: 820px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
}



.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--mid-gray), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════
   WHY NOW
═══════════════════════════════════════════ */
.why-now {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}

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

.why-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.service-card--featured {
  border-color: var(--navy);
  background: linear-gradient(135deg, rgba(1,41,104,0.02) 0%, rgba(4,55,242,0.03) 100%);
}
.service-card--featured::before {
  content: 'Start Here';
  position: absolute;
  top: -1px; right: 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}

.service-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--navy);
  color: var(--white);
}
.service-card:hover .service-icon-wrap svg path { fill: var(--white); }

/* Icon colour variants */
.service-icon-wrap.icon-blue  { background: rgba(4,55,242,0.1);  color: var(--blue); }
.service-icon-wrap.icon-navy  { background: rgba(1,41,104,0.1);  color: var(--navy); }
.service-icon-wrap.icon-red   { background: rgba(252,54,77,0.1); color: var(--red); }
.service-icon-wrap.icon-black { background: rgba(15,23,42,0.07); color: var(--text-dark); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(4,55,242,0.07);
  border-radius: 100px;
  padding: 4px 12px;
}

/* ═══════════════════════════════════════════
   JOURNEY DIAGRAM
═══════════════════════════════════════════ */
.journey {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}

/* ── Iterative Cycle Diagram ── */
/* ── Journey section: side-by-side layout ── */
.journey-layout {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}

/* Left: vertical legend cards */
.journey-legend {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 280px;
}
.journey-legend-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 22px 20px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.journey-legend-card:hover { box-shadow: 0 6px 24px rgba(1,41,104,0.08); }
.journey-legend-card--navy { border-color: #012968; background: rgba(1,41,104,0.03); }
.journey-legend-card--blue { border-color: #0437F2; background: rgba(4,55,242,0.03); }
.journey-legend-card--red  { border-color: #FC364D; background: rgba(252,54,77,0.03); }
.journey-legend-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
  flex-shrink: 0;
}
.journey-legend-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.journey-legend-desc {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.7;
}

/* Right: diagram wrapper */
.journey-diagram-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Diagram container */
.iter-diagram-container {
  position: relative;
  width: 760px;
  height: 760px;
  flex-shrink: 0;
}

.iter-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Governance pill */
.iter-gov-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1.5px solid rgba(252,54,77,0.4);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FC364D;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(252,54,77,0.1);
}

/* Central hub */
.iter-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 0 10px rgba(1,41,104,0.08), 0 0 0 20px rgba(1,41,104,0.04);
}
.iter-hub-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
}
.iter-hub-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  text-align: center;
  line-height: 1.4;
}

/* Service cards */
.iter-card {
  position: absolute;
  width: 190px;
  background: #fff;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  z-index: 10;
  transition: box-shadow 0.2s ease;
}
.iter-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.14); }

/* Card positions — centred in 760×760, top/bottom pushed outward */
.iter-card-top    { top: 68px;    left: 50%; transform: translateX(-50%); }
.iter-card-right  { top: 50%;     right: 80px; transform: translateY(-50%); }
.iter-card-bottom { bottom: 68px; left: 50%; transform: translateX(-50%); }
.iter-card-left   { top: 50%;     left: 80px; transform: translateY(-50%); }

.iter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.iter-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  line-height: 1.35;
}
.iter-card-desc {
  font-size: 0.88rem;
  color: #0f172a;
  line-height: 1.55;
}

/* Teams Split */
/* ── Teams Split (Who We Work With) ── */
.teams-split {
  margin-top: 0;
  background: #f5f7ff;
  border-radius: 24px;
  padding: 56px 48px 48px;
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.team-card {
  background: var(--white);
  border: 1.5px solid var(--mid-gray);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(1,41,104,0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.team-card:hover {
  box-shadow: 0 10px 40px rgba(1,41,104,0.12);
  transform: translateY(-4px);
}
.team-card--on::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--navy);
  border-radius: 20px 20px 0 0;
}
.team-card--in::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  border-radius: 20px 20px 0 0;
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.team-tag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.team-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.team-card--on .team-list li::before { background: var(--navy); }
.team-card--in .team-list li::before { background: var(--red); }

.team-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  gap: 16px;
}
.team-divider-line {
  width: 1.5px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);
}
.team-divider-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.team-divider-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }

/* Bridge statement */
.teams-bridge {
  margin-top: 40px;
  text-align: center;
  padding: 22px 32px;
  background: var(--white);
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.teams-bridge p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
}
.teams-bridge strong {
  color: var(--navy);
  font-style: normal;
}

/* ═══════════════════════════════════════════
   AIOS SECTION
═══════════════════════════════════════════ */
.aios-section {
  padding: 100px 0;
  background: var(--white);
}

.aios-diagram-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.aios-diagram {
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.aios-svg {
  width: 100%;
  height: auto;
}

.aios-label {
  position: absolute;
  text-align: left;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--mid-gray);
}

/* AIOS diagram animations */
@keyframes aiosSpin {
  from { transform: rotate(0deg); transform-origin: 480px 360px; }
  to   { transform: rotate(360deg); transform-origin: 480px 360px; }
}
@keyframes aiosPulse {
  0%   { r: 50; opacity: 0.5; }
  100% { r: 110; opacity: 0; }
}
.aios-spin { animation: aiosSpin 80s linear infinite; transform-box: fill-box; transform-origin: center; }
.aios-p1   { animation: aiosPulse 3s ease-out infinite; }
.aios-p2   { animation: aiosPulse 3s ease-out infinite 1s; }
.aios-p3   { animation: aiosPulse 3s ease-out infinite 2s; }

.aios-layer-num {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2px;
}
.aios-layer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.aios-layer-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  max-width: 140px;
  line-height: 1.4;
}

.aios-layers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.aios-layer-card {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.aios-layer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}


.aios-layer-badge {
  display: inline-block;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.aios-layer-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.aios-layer-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   WHY HURDL
═══════════════════════════════════════════ */
.why-hurdl {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}

.why-hurdl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-hurdl-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.why-hurdl-text .btn { margin-top: 12px; }

/* Hurdle Visual */
.hurdle-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hurdle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all var(--transition);
  animation: slideInRight 0.6s ease both;
}
.hurdle-bar--1 { animation-delay: 0.1s; }
.hurdle-bar--2 { animation-delay: 0.2s; }
.hurdle-bar--3 { animation-delay: 0.3s; }
.hurdle-bar--4 { animation-delay: 0.4s; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.hurdle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.hurdle-cross {
  width: 32px; height: 32px;
  background: rgba(252,54,77,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hurdle-result {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 8px;
  animation: slideInRight 0.6s ease 0.5s both;
}
.hurdle-result-icon {
  width: 36px; height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hurdle-result span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
  padding: 4px 0;
}

/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.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: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--mid-gray);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1,41,104,0.08);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { cursor: pointer; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 340px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .aios-layers-grid { grid-template-columns: repeat(3, 1fr); }
  .aios-layers-grid .aios-layer-card:nth-child(4),
  .aios-layers-grid .aios-layer-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .why-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .team-divider { flex-direction: row; padding: 12px 0; }
  .team-divider-line { width: 100%; height: 1px; flex: 1; }
  .why-hurdl-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .aios-layers-grid { grid-template-columns: repeat(2, 1fr); }

  .journey { overflow: hidden; }
  /* Diagram on top, legend cards stacked below */
  .journey-layout { flex-direction: column-reverse; align-items: stretch; gap: 0; }
  /* Stack all 3 cards vertically so they are always visible */
  .journey-legend { flex-direction: column; gap: 16px; margin-top: 32px; }
  .journey-legend-card { width: 100%; box-sizing: border-box; }
  .journey-diagram-wrap { width: 100%; overflow: hidden; display: flex; justify-content: center; }
  /* Scale the whole 760px diagram to fit tablet width */
  .iter-diagram-container {
    width: 760px !important;
    height: 760px !important;
    max-width: none !important;
    flex-shrink: 0;
    transform-origin: top center;
    transform: scale(0.74);
    margin-bottom: -198px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 120px 0 80px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .stat { padding: 16px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .aios-layers-grid { grid-template-columns: 1fr; }
  .aios-layers-grid .aios-layer-card--featured { grid-column: span 1; }
  .aios-label { display: none; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  /* Why Now cards — stack vertically */
  .why-cards { grid-template-columns: 1fr; }

  /* Services grid — single column */
  .services-grid { grid-template-columns: 1fr; }

  /* Journey section — diagram on top, legend cards below */
  .journey { overflow: hidden; }
  .journey-layout { flex-direction: column-reverse; align-items: stretch; gap: 0; }
  .journey-legend { flex-direction: column; gap: 12px; margin-top: 24px; }
  .journey-legend-card { width: 100%; box-sizing: border-box; }
  .journey-diagram-wrap { width: 100%; overflow: hidden; display: flex; justify-content: center; }
  /* Scale the whole 760px diagram down to ~50% for mobile */
  .iter-diagram-container {
    width: 760px !important;
    height: 760px !important;
    max-width: none !important;
    flex-shrink: 0;
    transform-origin: top center;
    transform: scale(0.50);
    margin-bottom: -380px;
  }

  /* Who We Serve */
  .teams-grid { grid-template-columns: 1fr; }

  /* AIOS diagram — full width, scrollable if needed */
  .aios-diagram { max-width: 100%; overflow-x: auto; }
  .aios-diagram-wrap { margin-bottom: 8px; }

  /* AIOS Management grid */
  .mgmt-grid-page { grid-template-columns: 1fr; }
  .mgmt-card-page:last-child { grid-column: span 1; }
  .mgmt-header-page { flex-direction: column; }
  .mgmt-cta-strip-page { flex-direction: column; align-items: flex-start; }

  /* Why hurdl section */
  .why-hurdl-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Contact form */
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Section titles */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .section-sub { font-size: 1rem; }
}

/* ── Extra small (phones < 480px) ── */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .nav-logo-img { height: 36px; }
  /* Scale diagram even smaller for tiny phones */
  .iter-diagram-container {
    transform: scale(0.42);
    margin-bottom: -441px;
  }
  .journey-legend-card { padding: 16px; box-sizing: border-box; width: 100%; }
  .aios-layers-grid { grid-template-columns: 1fr; gap: 12px; }
  .services-grid { gap: 16px; }
  .why-cards { gap: 16px; }
  .contact-inner { gap: 24px; }
  .footer-inner { gap: 24px; }
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   AIOS MANAGEMENT & GOVERNANCE
═══════════════════════════════════════════ */
.mgmt-section-page {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.mgmt-inner-page {
  position: relative;
}

.mgmt-inner-page::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(4,55,242,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.mgmt-header-page {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.mgmt-header-left { max-width: 640px; }

.always-on-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #16a34a;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

.always-on-dot {
  width: 7px; height: 7px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.mgmt-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.mgmt-card-page {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  --card-accent-page: #012968;
}

.mgmt-card-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent-page);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.mgmt-card-page:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.mgmt-card-page:hover::before { transform: scaleX(1); }

.mgmt-card-page:last-child {
  grid-column: span 2;
}

.mgmt-card-icon-page {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mgmt-card-icon-page svg { width: 20px; height: 20px; }

.mgmt-card-page h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.mgmt-card-page p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.mgmt-cta-strip-page {
  background: var(--light-gray);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mgmt-cta-strip-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.mgmt-cta-strip-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

@media (max-width: 900px) {
  .mgmt-header-page { flex-direction: column; }
  .mgmt-grid-page { grid-template-columns: 1fr 1fr; }
  .mgmt-card-page:last-child { grid-column: span 2; }
}

@media (max-width: 600px) {
  .mgmt-grid-page { grid-template-columns: 1fr; }
  .mgmt-card-page:last-child { grid-column: span 1; }
  .mgmt-cta-strip-page { flex-direction: column; align-items: flex-start; }
}
