/* ============================================================
   ASPL Fusion — Pro Max Design System
   Brand: Navy #133E68 · Blue #1577BA · Teal #3BBFBF
   Principles: Trust & Authority · Zero CDN · WCAG AA · 4-breakpoint
   ============================================================ */

/* --- Font-display fallback (ensures text visible while Google Fonts loads) --- */
@font-face {
  font-family: 'IBM Plex Sans';
  font-display: swap;
  src: local('IBM Plex Sans');
}

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

:root {
  /* Brand palette */
  --navy:   #133E68;
  --blue:   #1577BA;
  --teal:   #3BBFBF;
  --teal-soft: #e8f7f7;
  --dark:   #0B1F33;
  --darker: #071525;

  /* Neutrals */
  --slate:  #334155;
  --gray:   #64748B;
  --muted:  #94A3B8;
  --light:  #F8FAFC;
  --lighter:#EDF2F7;
  --border: #E2E8F0;
  --white:  #FFFFFF;

  /* Typography */
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  /* Layout */
  --max-w: 1140px;
  --max-w-narrow: 720px;

  /* Radii */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows (layered for realism) */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
  --shadow-teal: 0 4px 14px rgba(59,191,191,.25);
  --shadow-navy: 0 4px 14px rgba(19,62,104,.20);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 200ms var(--ease);
  --t-slow: 300ms var(--ease);

  /* Spacing scale */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px; /* accounts for fixed header */
}

body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
a:hover { color: var(--teal); }

/* Focus — visible ring for keyboard, invisible for mouse */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 500; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { max-width: 65ch; font-size: 1.0625rem; } /* 17px — optimal legibility */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-6); }

/* --- Skip Link (a11y) --- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: var(--sp-3) var(--sp-6); z-index: 1000;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-slow), box-shadow var(--t-slow), background var(--t-slow);
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--sp-3) var(--sp-6);
}

.logo-link {
  display: flex; align-items: center; gap: var(--sp-3);
  cursor: pointer; text-decoration: none;
}
.logo-link img {
  height: 42px; width: auto;
  transition: transform var(--t-base);
}
.logo-link:hover img { transform: scale(1.05); }
.logo-text {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  letter-spacing: -.02em; line-height: 1.2;
}
.logo-text span {
  display: block; font-size: .6rem; font-weight: 500;
  color: var(--gray); letter-spacing: .06em;
  text-transform: uppercase; margin-top: 1px;
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: var(--sp-8); }
.main-nav a {
  color: var(--gray); font-weight: 500; font-size: .9rem;
  position: relative; cursor: pointer;
  transition: color var(--t-fast);
  padding: var(--sp-1) 0;
}
.main-nav a:hover,
.main-nav a.active { color: var(--navy); }
.main-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; width: 0;
  height: 2px; background: var(--teal); border-radius: 1px;
  transition: width var(--t-base), left var(--t-base);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; left: 0; }

.main-nav a.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white) !important;
  padding: .55rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .85rem; cursor: pointer;
  line-height: 1.4; white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.main-nav a.nav-cta:hover {
  background: var(--blue); color: var(--white) !important;
  transform: translateY(-1px); box-shadow: var(--shadow-navy);
}
.main-nav a.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: var(--sp-2); color: var(--navy);
  transition: color var(--t-fast);
  border-radius: var(--radius-sm);
}
.menu-toggle:hover { color: var(--blue); }
.menu-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: var(--sp-4) var(--sp-6);
  /* Animated open/close */
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
.mobile-nav.open {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.mobile-nav a {
  display: block; padding: var(--sp-3) 0; color: var(--slate);
  font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid var(--lighter);
  cursor: pointer;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-nav a:hover { color: var(--navy); padding-left: var(--sp-2); }
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 11rem 0 6rem;
  background: linear-gradient(165deg, var(--darker) 0%, var(--dark) 35%, var(--navy) 100%);
  color: var(--white);
  position: relative; overflow: hidden;
}

/* Ambient glow orbs */
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,191,191,.1) 0%, transparent 65%);
  border-radius: 50%;
  animation: float-orb 20s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -25%; left: -5%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(21,119,186,.08) 0%, transparent 65%);
  border-radius: 50%;
  animation: float-orb 25s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* Subtle dot grid overlay */
#particle-canvas {
  position: absolute; top: 0; left: 0; z-index: 1;
  pointer-events: none; display: block;
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero .container { position: relative; z-index: 2; }

/* Hero split layout: text left, image right */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero-content { text-align: center; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-visual img {
  width: 100%; max-width: 500px; height: auto;
  filter: drop-shadow(0 0 40px rgba(59,191,191,.15)) drop-shadow(0 0 80px rgba(255,140,50,.1));
  transition: transform var(--t-slow), filter var(--t-slow);
  animation: hero-float 6s ease-in-out infinite;
}
.hero-visual img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px rgba(59,191,191,.25)) drop-shadow(0 0 100px rgba(255,140,50,.15));
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: var(--sp-6); }
  .hero-visual img { max-width: 280px; margin: 0 auto; }
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--teal);
  font-style: italic;
  margin-bottom: var(--sp-2);
  opacity: .9;
}
.hero-hindi {
  font-size: .85rem; color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-8);
  letter-spacing: .02em;
}
.hero h1 {
  color: var(--white); margin-bottom: var(--sp-6);
  max-width: 780px; margin-left: auto; margin-right: auto;
  font-weight: 600;
}
.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.75);
  margin-left: auto; margin-right: auto;
  max-width: 620px; margin-bottom: var(--sp-12);
  line-height: 1.85;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; justify-content: center; }

/* Trust badge row under hero */
.hero-trust {
  display: flex; align-items: center; gap: var(--sp-6);
  margin-top: var(--sp-12); padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap; justify-content: center;
}
.hero-trust-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: .8rem; color: rgba(255,255,255,.6);
}
.hero-trust-item svg {
  width: 16px; height: 16px; color: var(--teal); opacity: .7;
  flex-shrink: 0;
}

/* ================================================================
   BUTTONS — Pro Max
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: .9rem 2rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none;
  transition: all var(--t-base);
  position: relative; overflow: hidden;
  letter-spacing: -.01em;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--teal); color: var(--dark);
}
.btn-primary:hover {
  background: #2fb3b3; color: var(--dark);
  transform: translateY(-2px); box-shadow: var(--shadow-teal);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: var(--teal); color: var(--teal);
  background: rgba(59,191,191,.06);
}

.btn-secondary {
  background: var(--navy); color: var(--white);
}
.btn-secondary:hover {
  background: var(--blue); color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-navy);
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: var(--sp-32) 0; }
.section-alt { background: var(--light); }

.section-header { text-align: center; margin-bottom: var(--sp-20); }
.section-header p {
  max-width: 620px; margin: 0 auto;
  color: var(--gray); font-size: 1.1rem; line-height: 1.8;
}

.section-label {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--teal); margin-bottom: var(--sp-4);
  padding: var(--sp-1) var(--sp-3);
  background: var(--teal-soft);
  border-radius: 100px;
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ================================================================
   IMPACT BAR
   ================================================================ */
.impact-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  color: var(--white); padding: var(--sp-12) 0;
  text-align: center; position: relative;
}
.impact-bar::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(59,191,191,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.impact-stats {
  display: flex; justify-content: center;
  gap: var(--sp-16); flex-wrap: wrap;
  position: relative; z-index: 1;
}
.impact-stat { min-width: 140px; }
.impact-stat strong {
  display: block; font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--teal); font-weight: 800;
  line-height: 1;
}
.impact-stat span {
  display: block; margin-top: var(--sp-2);
  font-size: .85rem; color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* Separator line between stats */
.impact-stat + .impact-stat { position: relative; }
.impact-stat + .impact-stat::before {
  content: ''; position: absolute; left: calc(var(--sp-16) / -2);
  top: 15%; height: 70%; width: 1px;
  background: rgba(255,255,255,.12);
}
@media (max-width: 600px) {
  .impact-stats { gap: var(--sp-8); }
  .impact-stat + .impact-stat::before { display: none; }
}

/* ================================================================
   PARTNER STRIP
   ================================================================ */
.partner-strip {
  padding: var(--sp-10) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.partner-label {
  text-align: center; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: var(--sp-6);
}
.partner-logos {
  display: flex; justify-content: center; align-items: center;
  gap: var(--sp-12); flex-wrap: wrap;
}
.partner-logo-item {
  text-align: center;
  opacity: .6; transition: opacity var(--t-base);
}
.partner-logo-item:hover { opacity: 1; }
.partner-name {
  display: block; font-size: 1.15rem; font-weight: 600;
  color: var(--navy); letter-spacing: .02em;
}
.partner-desc {
  display: block; font-size: .72rem; color: var(--muted);
  margin-top: 2px; letter-spacing: .01em;
}

/* ================================================================
   MISSION / PHASES — 4-Phase Vertical Timeline
   ================================================================ */
.phase-timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.phase-timeline-item {
  display: flex;
  gap: var(--sp-6);
  position: relative;
  padding-bottom: var(--sp-8);
}
.phase-timeline-item:last-child { padding-bottom: 0; }

.phase-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
  padding-top: var(--sp-6);
}
.phase-timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
  flex-shrink: 0;
  z-index: 1;
}
.phase-timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--teal), var(--blue));
  opacity: .3;
  margin-top: var(--sp-2);
}

.phase-card {
  padding: var(--sp-8) var(--sp-8);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  flex: 1;
}
.phase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.phase-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.phase-card-header {
  display: flex; align-items: center; gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}

.phase-num {
  display: inline-block;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--teal);
  padding: var(--sp-1) var(--sp-3);
  background: var(--teal-soft); border-radius: 100px;
}

.phase-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  color: var(--navy);
  padding: var(--sp-1) var(--sp-3);
  background: rgba(19, 62, 104, .08);
  border-radius: 100px;
}
.phase-badge-concurrent {
  color: var(--blue);
  background: rgba(21, 119, 186, .1);
  font-style: italic;
}

.phase-card h3 { font-size: 1.25rem; margin-bottom: var(--sp-3); }
.phase-card p { color: var(--gray); line-height: 1.75; font-size: .97rem; }

@media (max-width: 600px) {
  .phase-timeline-marker { display: none; }
  .phase-timeline-item { padding-bottom: var(--sp-5); }
  .phase-card { padding: var(--sp-6); }
}

/* ================================================================
   APPLICATIONS (categorised grid replacing old 3-col focus)
   ================================================================ */
.app-category {
  margin-bottom: var(--sp-10);
}
.app-category:last-child { margin-bottom: 0; }

.app-category-title {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--teal-soft);
}
.app-category-title svg { color: var(--teal); flex-shrink: 0; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
}

.app-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.app-card h4 {
  font-size: .95rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.app-card p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
}

/* ================================================================
   TECHNOLOGY (4-col grid)
   ================================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 1024px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-item {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: default;
}
.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59,191,191,.3);
}

.tech-icon {
  width: 60px; height: 60px; margin: 0 auto var(--sp-5);
  border-radius: 50%;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-base), transform var(--t-base);
}
.tech-item:hover .tech-icon {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  transform: scale(1.08);
}
.tech-icon svg {
  width: 26px; height: 26px; color: var(--blue);
  transition: color var(--t-base);
}
.tech-item:hover .tech-icon svg { color: var(--white); }

.tech-item h3 { margin-bottom: var(--sp-2); font-size: 1.05rem; }
.tech-item p { font-size: .95rem; color: var(--gray); line-height: 1.7; }

/* ================================================================
   TEAM
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); max-width: none; } }

.team-card {
  text-align: center;
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base);
  cursor: default;
}
.team-card:hover { transform: translateY(-4px); }

.team-photo {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto var(--sp-4);
  border: 3px solid var(--lighter);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.team-card:hover .team-photo {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
  transform: scale(1.04);
}

.team-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white); font-size: 1.6rem; font-weight: 700;
  letter-spacing: .04em;
}

/* Tier labels */
.team-tier-label {
  text-align: center; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--teal); margin-bottom: var(--sp-8);
  margin-top: var(--sp-16);
}
.team-tier-label:first-of-type { margin-top: 0; }

/* Leadership row: 3 centered */
.team-grid-leadership {
  grid-template-columns: repeat(3, 1fr);
  max-width: 700px; margin: 0 auto var(--sp-4);
}
/* Advisors row: single centered column (adapts to 1 or 2 members) */
.team-grid-advisors {
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  max-width: 460px; margin: 0 auto var(--sp-4);
}
@media (max-width: 600px) {
  .team-grid-leadership { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .team-grid-advisors { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

.team-card h3 { font-size: 1rem; margin-bottom: 2px; }
.team-card .role {
  color: var(--gray); font-size: .82rem;
  font-weight: 500;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-12); align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { margin-bottom: var(--sp-4); font-size: 1.3rem; }
.contact-info > p { color: var(--gray); margin-bottom: var(--sp-6); line-height: 1.75; }

.contact-detail {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4); color: var(--slate);
  font-size: .95rem;
}
.contact-detail svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--teal);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .9rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .95rem;
  color: var(--slate); background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

.contact-form input:hover,
.contact-form textarea:hover { border-color: var(--gray); }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59,191,191,.12);
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-status { font-size: .88rem; min-height: 1.5rem; font-weight: 500; }
.form-status.success { color: #059669; }
.form-status.error { color: #DC2626; }

.form-privacy {
  font-size: .72rem; color: var(--muted); line-height: 1.55;
  max-width: 460px;
}
.form-privacy a { color: var(--gray); text-decoration: underline; }
.form-privacy a:hover { color: var(--blue); }

/* Hide default reCAPTCHA badge — we show our own attribution per Google's TOS */
.grecaptcha-badge { visibility: hidden !important; }

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  padding: var(--sp-4) var(--sp-6);
  /* Animated entrance */
  transform: translateY(100%);
  transition: transform var(--t-slow);
}
.cookie-banner[hidden] { display: block; transform: translateY(100%); pointer-events: none; }
.cookie-banner.visible { transform: translateY(0); pointer-events: auto; }

.cookie-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
}
.cookie-inner p {
  font-size: .85rem; color: rgba(255,255,255,.65);
  line-height: 1.5; margin: 0; flex: 1; min-width: 240px;
}
.cookie-actions { display: flex; gap: var(--sp-3); align-items: center; flex-shrink: 0; }

.btn-sm { padding: .5rem 1.2rem; font-size: .82rem; }

.cookie-decline {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 500;
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  transition: color var(--t-fast);
}
.cookie-decline:hover { color: rgba(255,255,255,.7); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--darker); color: rgba(255,255,255,.6);
  padding: var(--sp-12) 0 var(--sp-6);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  flex-wrap: wrap; gap: var(--sp-8); margin-bottom: var(--sp-8);
}
.footer-brand { max-width: 360px; }
.footer-brand img {
  height: 48px; width: auto; margin-bottom: var(--sp-3);
  filter: brightness(1.8) contrast(.9);
  opacity: .85;
}
.footer-brand p { font-size: .88rem; line-height: 1.65; }

.footer-links h4 {
  color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 600;
  margin-bottom: var(--sp-3); text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-links a:not(.footer-social-icon) {
  display: block; color: rgba(255,255,255,.65);
  font-size: .88rem; padding: var(--sp-1) 0;
  cursor: pointer;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-links a:not(.footer-social-icon):hover { color: var(--teal); padding-left: var(--sp-1); }
.footer-connect-row {
  display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap;
}
a.footer-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.7);
  cursor: pointer; padding: 0;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
a.footer-social-icon:hover {
  background: var(--teal); color: var(--dark);
  transform: translateY(-2px); padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: var(--sp-6); text-align: center;
  font-size: .78rem; color: rgba(255,255,255,.6);
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast);
}
.back-to-top.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ================================================================
   UTILITIES
   ================================================================ */
.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;
}

/* ================================================================
   RESPONSIVE — 4 breakpoints: 480, 600, 768, 1024
   ================================================================ */
@media (max-width: 1024px) {
  .hero { padding: 9rem 0 5rem; }
}
@media (max-width: 768px) {
  .hero { padding: 8rem 0 4rem; }
  .section { padding: var(--sp-12) 0; }
  .section-header { margin-bottom: var(--sp-8); }
  .hero-trust { gap: var(--sp-4); }
}
@media (max-width: 480px) {
  .hero { padding: 7rem 0 3rem; }
  .hero h1 { font-size: 1.75rem; }
  .container { padding: 0 var(--sp-4); }
}

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

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  .site-header, .menu-toggle, .mobile-nav, .back-to-top,
  .hero::before, .hero::after, .hero-bg-pattern { display: none; }
  .hero { padding: 2rem 0; background: var(--white) !important; color: var(--navy); }
  .hero h1, .hero-tagline { color: var(--navy); }
  .hero-desc, .hero-hindi { color: var(--slate); }
  .section { padding: 2rem 0; }
  body { font-size: 11pt; }
}

/* ================================================================
   APPLICATION LANDING PAGES
   ================================================================ */

/* Clickable app cards on index.html */
a.app-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
a.app-card-link .app-card { cursor: pointer; height: 100%; display: flex; flex-direction: column; }
a.app-card-link .app-card p { flex: 1; }

/* Landing hero */
.landing-hero {
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 40%, var(--navy) 100%);
  color: var(--white);
  padding: calc(80px + var(--sp-16)) 0 var(--sp-16);
  position: relative;
}

.landing-breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: .82rem; color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-6);
}
.landing-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.landing-breadcrumb a:hover { color: var(--teal); }
.landing-breadcrumb span[aria-current] { color: rgba(255,255,255,.9); }

.landing-category {
  display: inline-block;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--teal);
  padding: var(--sp-1) var(--sp-3);
  background: rgba(59,191,191,.15); border-radius: 100px;
  margin-bottom: var(--sp-4);
}

.landing-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: var(--sp-4);
  max-width: 720px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.landing-tagline {
  font-size: 1.1rem; line-height: 1.6;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: var(--sp-8);
}

.landing-hero-actions {
  display: flex; gap: var(--sp-4); flex-wrap: wrap;
}

/* Narrow container for text-heavy sections */
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; }

/* Tighter section spacing for landing pages (less content per section than homepage) */
.landing-hero ~ .section { padding: var(--sp-16) 0; }
.landing-hero ~ .section-alt { background: #F1F5F9; }

/* Body text in landing sections */
.landing-body {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--gray);
}

/* Benefits grid */
.landing-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
@media (max-width: 768px) { .landing-benefits { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.benefit-icon svg { color: var(--white); }

.benefit-card h3 {
  font-size: 1.05rem; font-weight: 600;
  color: var(--navy); margin-bottom: var(--sp-2);
}
.benefit-card p { color: var(--gray); font-size: .95rem; line-height: 1.7; }

/* Use cases list */
.landing-use-cases {
  list-style: none; padding: 0;
}
.landing-use-cases li {
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--teal);
  margin-bottom: var(--sp-3);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem; color: var(--slate);
  box-shadow: var(--shadow-xs);
}

/* Related applications */
.landing-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 768px) { .landing-related { grid-template-columns: 1fr; } }

.landing-related-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-6) var(--sp-5);
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none; color: var(--navy);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.landing-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.landing-related-card h3 { font-size: .95rem; font-weight: 600; }
.landing-related-arrow {
  font-size: 1.2rem; color: var(--teal);
  transition: transform var(--t-base);
}
.landing-related-card:hover .landing-related-arrow { transform: translateX(4px); }

/* CTA bar */
.landing-cta-bar {
  background: var(--navy);
  padding: var(--sp-10) 0;
}
.landing-cta-bar .container {
  display: flex; justify-content: center; gap: var(--sp-4); flex-wrap: wrap;
}
