/* ═══════════════════════════════════════════════════════════
   TechnoMoments Design System
   Brand: Navy #0A1628, Indigo #3D52A0
   Fonts: Cabinet Grotesk (display), Satoshi (body)
   ═══════════════════════════════════════════════════════════ */

/* ── Base Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  /* Brand */
  --navy:          #0A1628;
  --indigo:        #3D52A0;
  --indigo-light:  #6B7FBF;
  --indigo-soft:   rgba(61, 82, 160, 0.08);
  --indigo-border: rgba(61, 82, 160, 0.18);
  --dark:          #0A1628;
  --off-white:     #FAFBFD;

  /* Surfaces */
  --color-bg:        #FAFBFD;
  --color-surface:   #FFFFFF;
  --color-surface-2: #F2F4F8;
  --color-surface-3: #E8ECF2;

  /* Text */
  --color-text:       #0A1628;
  --color-text-muted: #5A6478;
  --color-text-faint: #9AA3B4;

  /* Borders & Shadows */
  --color-border:  #DDE1E9;
  --color-divider: #E8ECF2;
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);


  /* Accent (AgriTech/data tags) */
  --green:        #1A5C38;
  --green-soft:   rgba(26,92,56,0.08);
  --green-border: rgba(26,92,56,0.2);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 100px;

  /* Typography */
  --font-display: 'Cabinet Grotesk', 'Satoshi', sans-serif;
  --font-body:    'Satoshi', 'Inter', 'Segoe UI', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.28vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.65vw, 1.4rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.25rem);
  --text-3xl:  clamp(2.5rem,   1.5rem  + 3.5vw,  4rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Transition */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ── Dark Mode (Legacy) ─────────────────────────────────── */
[data-theme="dark"] {
  --color-bg:        #0B0F18;
  --color-surface:   #121826;
  --color-surface-2: #1A2034;
  --color-surface-3: #222942;
  --color-text:      #E1E5ED;
  --color-text-muted: #8A93A8;
  --color-text-faint: #4D5670;
  --color-border:    #252D40;
  --color-divider:   #1E2538;
  --navy:            #E1E5ED;
  --indigo:          #7B8FD4;
  --indigo-light:    #9AADE0;
  --indigo-soft:     rgba(123,143,212,0.1);
  --indigo-border:   rgba(123,143,212,0.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:        #0B0F18;
    --color-surface:   #121826;
    --color-surface-2: #1A2034;
    --color-surface-3: #222942;
    --color-text:      #E1E5ED;
    --color-text-muted: #8A93A8;
    --color-text-faint: #4D5670;
    --color-border:    #252D40;
    --color-divider:   #1E2538;
    --navy:            #E1E5ED;
    --indigo:          #7B8FD4;
    --indigo-light:    #9AADE0;
    --indigo-soft:     rgba(123,143,212,0.1);
    --indigo-border:   rgba(123,143,212,0.2);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  }
}

/* ── Body ───────────────────────────────────────────────── */
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.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;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul[role="list"] { list-style: none; }

::selection {
  background: rgba(61,82,160,0.2);
  color: var(--color-text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--space-6);
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-4); }
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--indigo);
  color: #FFFFFF;
  border-color: var(--indigo);
}
.btn-primary:hover {
  background: var(--indigo-light);
  border-color: var(--indigo-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(61,82,160,0.35);
}

.btn-teal {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-teal:hover {
  background: var(--indigo);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.btn-white {
  background: #fff;
  color: var(--navy-dark);
  border-color: #fff;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}

.btn-forest {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-forest:hover {
  background: #060F1E;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #3D52A0;
  color: #fff;
  border-color: #3D52A0;
}
.btn-whatsapp:hover {
  background: #2E4190;
  transform: translateY(-2px);
}

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

/* ══════════════════════════════════════════════════════════
   SECTION LABELS & HEADERS
   ══════════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: var(--space-3);
}

/* section-title */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.3px;
}

.section-sub {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 640px;
}

.section-header { margin-bottom: var(--space-12); }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-inline: auto; }

/* ══════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,251,253,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 300ms var(--ease);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.nav-logo {
  height: 38px;
  width: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 200ms var(--ease);
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--navy); }
.nav-links > li > a.active {
  border-bottom: 2px solid var(--indigo);
  padding-bottom: calc(var(--space-2) - 2px);
}

/* Dropdown chevron */
.nav-links .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  transition: transform 200ms var(--ease);
}

/* Dropdown Panel */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  transform: translateX(-50%) translateY(8px);
  z-index: 200;
}
.nav-links > li:hover > .nav-dropdown,
.nav-links > li:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  transition: background 150ms, color 150ms;
}
.nav-dropdown a:hover {
  background: var(--color-surface-2);
  color: var(--indigo);
}

.nav-cta {
  background: var(--indigo);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all 200ms var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--indigo-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(61,82,160,0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 200ms var(--ease);
}
.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(250, 251, 253, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.12);
  z-index: 98;
  padding: var(--space-3) var(--space-6) var(--space-5);
  flex-direction: column;
}
.mobile-menu.open { display: flex; }

/* Top-level list */
.mobile-menu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Top-level items */
.mobile-menu > ul > li > a,
.mobile-menu > ul > li > button.mobile-accordion-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-divider);
  transition: color 150ms var(--ease);
  text-decoration: none;
}
.mobile-menu > ul > li > a:hover,
.mobile-menu > ul > li > button.mobile-accordion-toggle:hover {
  color: var(--indigo);
}

/* Chevron icon on accordion toggles */
.mobile-accordion-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}
.mobile-accordion-toggle.open::after {
  transform: rotate(-135deg);
}

/* Sub-links — hidden by default */
.mobile-dropdown {
  display: none;
  flex-direction: column;
  padding: var(--space-1) 0 var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-dropdown.open {
  display: flex;
}
.mobile-dropdown a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  display: block;
  transition: color 150ms var(--ease);
  text-decoration: none;
}
.mobile-dropdown a:hover { color: var(--indigo); }

.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
  margin-left: 8px;
}

.mobile-dropdown-toggle.open::after {
  transform: rotate(-135deg);
}


/* ══════════════════════════════════════════════════════════
   PAGE HERO (dark)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  background: #0A1628 ;
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle,  rgba(61,82,160,0.4), 0%, transparent 80%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  max-width: 800px;
  margin-inline: auto;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-lg);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.page-hero .btn { margin: 0 var(--space-2); }

/* ══════════════════════════════════════════════════════════
   HOME HERO (special full-width)
   ══════════════════════════════════════════════════════════ */
.home-hero {
  background: #0A1628 ;
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0 clamp(var(--space-12), 8vw, var(--space-20));
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle,  rgba(61,82,160,0.35) 0%, rgba(61,82,160,0.08) 40%, transparent 30%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.home-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: var(--space-5);
  letter-spacing: -0.5px;
}
.home-hero .hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.home-hero .hero-btns {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.home-hero .trust-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  font-weight: 500;
}
.trust-stat-icon {
  font-size: 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   ORIGIN STRIP
   ══════════════════════════════════════════════════════════ */
.origin-strip {
  background: var(--off-white);
  padding: var(--space-16) 0;
}
.origin-strip .container {
  max-width: 720px;
  text-align: center;
}
.origin-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.origin-attr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   CAPABILITY CARDS (What We Build)
   ══════════════════════════════════════════════════════════ */
.capabilities {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.cap-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: all 250ms var(--ease);
}
.cap-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cap-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.cap-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--indigo-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  flex-shrink: 0;
}
.cap-card-icon svg { width: 22px; height: 22px; }
.cap-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.cap-card > p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}
.cap-card .learn-more {
  color: var(--indigo);
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms var(--ease);
}
.cap-card .learn-more:hover { gap: 8px; }

/* ══════════════════════════════════════════════════════════
   ROUTING CARDS (Who We Serve)
   ══════════════════════════════════════════════════════════ */
.routing-section {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  background: var(--off-white);
}

.routing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.routing-card {
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 250ms var(--ease);
}
.routing-card:hover { transform: translateY(-3px); }
.routing-card.forest { background: var(--navy); }
.routing-card.teal { background: var(--indigo); }
.routing-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.routing-card p {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.routing-card .card-cta {
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms var(--ease);
}
.routing-card .card-cta:hover { gap: 10px; }

/* ══════════════════════════════════════════════════════════
   FOUNDER SECTION
   ══════════════════════════════════════════════════════════ */
.founder-section {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}
.founder-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.founder-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #CBD5E1;
  margin: 0 auto var(--space-6);
}
.founder-quote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  max-width: 680px;
  margin-inline: auto;
}
.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}
.founder-title {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  margin-bottom: var(--space-3);
}
.founder-linkedin {
  color: var(--indigo);
  font-size: var(--text-sm);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ══════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--navy);
  padding: var(--space-16) 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-6);
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-6);
}

/* ══════════════════════════════════════════════════════════
   CONTENT SECTIONS (generic)
   ══════════════════════════════════════════════════════════ */
.content-section {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}
.content-section.alt-bg {
  background: var(--off-white);
}
.content-section.dark-bg {
  background: var(--navy-dark);
  color: #fff;
}
.content-section.dark-bg .section-title{color: #fff; }
.content-section.dark-bg .section-sub { color: rgba(255,255,255,0.6); }
.content-section.dark-bg .section-label { color: var(--indigo-light); }

/* Pull-quote */
.pull-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-8) 0;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}
.pull-quote cite {
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-text-muted);
}

/* Callout box */
.callout-box {
  background: var(--off-white);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto var(--space-8);
}

/* Feature list (icon + text) */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 200ms;
}
.feature-item:hover { border-color: var(--indigo); }
.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--indigo-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.feature-item p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Steps (How It Works) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.step {
  text-align: center;
  padding: var(--space-6);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.step h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Card grid generic */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all 250ms var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--indigo-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-bottom: var(--space-4);
}
.card .card-icon svg { width: 24px; height: 24px; }

/* Link card (card with arrow link) */
.link-card {
  text-decoration: none;
  display: block;
}
.link-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--indigo);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-4);
  transition: gap 200ms var(--ease);
}
.link-card:hover .card-link { gap: 8px; }

/* Pain points cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.pain-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
}
.pain-card .pain-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}
.pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.pain-card p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Bullet list styled */
.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.styled-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.styled-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  flex-shrink: 0;
}

/* Two-column text */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.two-col-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}
.two-col-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: var(--space-3);
}
.two-col-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Company details small card */
.company-details {
  background: var(--off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-8);
}

/* Team card */
.team-card {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  max-width: 600px;
}
.team-card .founder-photo {
  margin: 0;
  flex-shrink: 0;
}
.team-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-4);
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.contact-info > p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--indigo);
  flex-shrink: 0;
}
.contact-detail a {
  color: var(--indigo);
  text-decoration: none;
  font-weight: 500;
}
.contact-detail a:hover { text-decoration: underline; }

.map-placeholder {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.calendly-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-4);
  background: var(--off-white);
  border-radius: var(--radius-md);
}
.calendly-note a { color: var(--indigo); font-weight: 600; }

/* Contact Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-5);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.form-group label .required { color: #EF4444; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 200ms;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(61,82,160,0.1);
}
.form-group textarea { resize: vertical; }
.form-group select { appearance: auto; }

.pdpa-consent {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.5;
}
.pdpa-consent a { color: var(--indigo); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   PRIVACY POLICY
   ══════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}
.legal-content p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.legal-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}
.legal-content ul li {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}
.legal-content a { color: var(--indigo); }

/* ══════════════════════════════════════════════════════════
   THANK YOU PAGE
   ══════════════════════════════════════════════════════════ */
.thank-you-section {
  background: var(--navy-dark);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
}
.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: #fff;
}
.thank-you-icon svg { width: 36px; height: 36px; }
.thank-you-section h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}
.thank-you-section p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.thank-you-btns {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════ */
.error-section {
  background: var(--navy-dark);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-6);
}
.error-section .error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.error-section h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
}
.error-section p {
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-8);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: #0A1628 ;
  padding: var(--space-12) 0 var(--space-6);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: invert(0.85) hue-rotate(180deg);
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}
.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-col h4 {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--space-2); }
.footer-col a {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
  transition: color 200ms var(--ease);
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-sm);
}
.footer-contact-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--indigo);
}
.footer-contact-list a {
  color: rgba(255,255,255,0.4);
  transition: color 200ms;
}
.footer-contact-list a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-xs);
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-xs);
  transition: color 200ms;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
}

/* ══════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 200ms var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(61,82,160,0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-dark);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .routing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col-text { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .home-hero h1 { font-size: clamp(1.75rem, 1rem + 4vw, 2.5rem); }

  .cap-grid { grid-template-columns: 1fr; }
  .routing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .team-card { flex-direction: column; align-items: center; text-align: center; }

  .btn { width: 100%; justify-content: center; }
  .home-hero .hero-btns .btn,
  .page-hero .btn,
  .cta-banner .btn,
  .thank-you-btns .btn { width: auto; }
}

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
