/* ============================================================
   NILOCITY DESIGN TOKENS
   ============================================================ */
:root {
  --nl-cyan: #1FB6FF;
  --nl-blue: #2A3FCD;
  --nl-indigo: #3B2F8F;
  --nl-purple: #6A2BB2;
  --nl-magenta: #C42DA8;
  --nl-ink-900: #0B0A1A;
  --nl-ink-800: #141230;
  --nl-ink-700: #1E1B44;
  --nl-ink-500: #4A4570;
  --nl-ink-300: #B8B3CF;
  --nl-ink-100: #ECEAF5;
  --nl-paper: #FAF9FD;
  --nl-paper-2: #F1EEF8;
  --nl-text: #15132B;
  --nl-text-mute: #5A5678;
  --nl-gradient-brand: linear-gradient(90deg, #1FB6FF 0%, #2A3FCD 32%, #6A2BB2 66%, #C42DA8 100%);
  --nl-gradient-hero: radial-gradient(1200px 600px at 10% 0%, rgba(31, 182, 255, .22), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(196, 45, 168, .25), transparent 60%),
    linear-gradient(180deg, #0B0A1A 0%, #141230 70%, #1E1B44 100%);
  --nl-font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --nl-font-body: "Inter", system-ui, -apple-system, Roboto, sans-serif;
  --nl-font-accent: Georgia, "Times New Roman", "Fraunces", serif;
  --nl-font-editorial: Georgia, "Times New Roman", serif;
  --nl-h1: clamp(40px, 5.4vw, 72px);
  --nl-h2: clamp(32px, 3.6vw, 48px);
  --nl-h3: clamp(22px, 2.5vw, 30px);
  --nl-display: clamp(48px, 6.5vw, 88px);
  --nl-lh-tight: 1.08;
  --nl-lh-snug: 1.25;
  --nl-lh-body: 1.60;
  --nl-radius-sm: 8px;
  --nl-radius-md: 14px;
  --nl-radius-lg: 22px;
  --nl-radius-pill: 999px;
  --nl-shadow-2: 0 4px 10px rgba(11, 10, 26, .08), 0 2px 4px rgba(11, 10, 26, .05);
  --nl-shadow-3: 0 14px 36px rgba(11, 10, 26, .14), 0 4px 10px rgba(11, 10, 26, .06);
  --nl-glow: 0 0 0 1px rgba(31, 182, 255, .35), 0 10px 40px rgba(106, 43, 178, .35);
  --nl-ease: cubic-bezier(.22, .61, .36, 1);
  --nl-dur: 240ms;
  --nl-container: 1200px;
  --nl-gutter: clamp(16px, 4vw, 48px);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--nl-font-body);
  font-size: 16px;
  line-height: var(--nl-lh-body);
  color: var(--nl-text);
  background: var(--nl-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--nl-blue);
  text-decoration: none
}

ul {
  list-style: none
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--nl-ease), transform .65s var(--nl-ease);
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.reveal-delay-1 {
  transition-delay: .1s
}

.reveal-delay-2 {
  transition-delay: .2s
}

.reveal-delay-3 {
  transition-delay: .3s
}

.reveal-delay-4 {
  transition-delay: .4s
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--nl-container);
  margin: 0 auto;
  padding-left: var(--nl-gutter);
  padding-right: var(--nl-gutter);
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.grad-text {
  background: var(--nl-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--nl-purple);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--nl-gradient-brand);
  border-radius: 2px;
  flex-shrink: 0;
}

.eyebrow--light {
  color: var(--nl-cyan)
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  user-select: none;
  padding: 15px 28px;
  border-radius: var(--nl-radius-pill);
  transition: transform 140ms var(--nl-ease), box-shadow var(--nl-dur) var(--nl-ease), background-position var(--nl-dur) var(--nl-ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--nl-cyan);
  outline-offset: 2px
}

.btn-primary {
  color: #fff;
  background: var(--nl-gradient-brand);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: var(--nl-shadow-2);
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: var(--nl-glow);
  transform: translateY(-2px);
  color: #fff
}

.btn-outline {
  color: var(--nl-text);
  background: transparent;
  border: 1.5px solid var(--nl-ink-100);
}

.btn-outline:hover {
  border-color: var(--nl-purple);
  background: rgba(106, 43, 178, .04);
  color: var(--nl-purple)
}

.btn-outline-dark {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .35);
}

.btn-outline-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px
}

/* ============================================================
   BADGE
   ============================================================ */
.badge-on-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--nl-font-display);
  border-radius: var(--nl-radius-pill);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nl-purple);
  background: rgba(106, 43, 178, .08);
  border: 1px solid rgba(106, 43, 178, .18);
}

/* ============================================================
   1. NAVIGATION
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,300;1,300&display=swap');

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px var(--nl-gutter); /* Using responsive gutter instead of fixed 50px */
  min-height: 96px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s, padding 0.5s, box-shadow 0.5s, border-color 0.5s;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 1);
  padding: 10px var(--nl-gutter); /* Using responsive gutter */
  min-height: 80px;
  box-shadow: 0 4px 20px rgba(11, 10, 26, .06);
  border-bottom-color: var(--nl-ink-100);
}

.nav-container {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}

.nav-brand img {
  height: 72px;
  width: auto;
  display: block;
  transition: height var(--nl-dur) var(--nl-ease);
}

.site-nav.scrolled .nav-brand img {
  height: 60px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px
}

.nav-links a {
  font-family: var(--nl-font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--nl-text-mute);
  transition: color var(--nl-dur) var(--nl-ease);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--nl-text)
}

.nav-cta {
  margin-left: 24px
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nl-text);
  border-radius: 2px;
  transition: transform var(--nl-dur) var(--nl-ease), opacity var(--nl-dur) var(--nl-ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #fff;
  flex-direction: column;
  padding: 32px var(--nl-gutter) 48px;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex
}

.mobile-nav a {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--nl-text-mute);
  padding: 14px 0;
  border-bottom: 1px solid var(--nl-ink-100);
  transition: color var(--nl-dur) var(--nl-ease);
}

.mobile-nav a:hover {
  color: var(--nl-text)
}

.mobile-nav .btn-primary {
  margin-top: 24px;
  width: 100%;
  font-size: 18px;
  padding: 18px;
  justify-content: center
}

@media(max-width:768px) {
  .site-nav {
    height: 104px
  }

  .mobile-nav {
    top: 104px
  }

  .hero {
    padding-top: 104px
  }

  .nav-brand img {
    height: 64px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .nav-links,
  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #fff;
  padding-top: 104px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(31, 182, 255, .28), transparent 70%);
  top: -120px;
  left: -140px
}

.hero-orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(196, 45, 168, .22), transparent 70%);
  bottom: -80px;
  right: -100px
}

.hero-orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(106, 43, 178, .18), transparent 70%);
  top: 40%;
  right: 18%
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 10, 26, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 10, 26, .04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 0;
  max-width: 820px
}

.hero-badge {
  margin-bottom: 28px
}

.hero h1 {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: var(--nl-display);
  line-height: var(--nl-lh-tight);
  letter-spacing: -.03em;
  color: var(--nl-text);
  margin-bottom: 28px;
  max-width: 16ch;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--nl-text-mute);
  max-width: 58ch;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center
}



/* ============================================================
   3. STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--nl-paper-2);
  border-top: 1px solid var(--nl-ink-100);
  border-bottom: 1px solid var(--nl-ink-100);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative
}

.stat-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(11, 10, 26, .10);
}

.stat-item:last-child::after {
  display: none
}

.stat-num {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 60px);
  background: var(--nl-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--nl-text-mute);
  font-size: 14px;
  line-height: 1.45;
  max-width: 180px;
  margin: 0 auto
}

@media(max-width:768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-item:nth-child(2)::after {
    display: none
  }
}

@media(max-width:420px) {
  .stats-grid {
    grid-template-columns: 1fr
  }

  .stat-item::after {
    display: none
  }
}

/* ============================================================
   4. SERVICES
   ============================================================ */
.services-section {
  background: var(--nl-paper);
  padding: 96px 0
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px
}

.section-header h2 {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: var(--nl-h2);
  line-height: var(--nl-lh-tight);
  letter-spacing: -.02em;
  color: var(--nl-text);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--nl-text-mute);
  font-size: 18px;
  line-height: 1.65
}

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

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--nl-ink-100);
  border-radius: var(--nl-radius-lg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(11, 10, 26, .05);
  transition: transform var(--nl-dur) var(--nl-ease), box-shadow var(--nl-dur) var(--nl-ease), border-color var(--nl-dur) var(--nl-ease);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nl-gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--nl-dur) var(--nl-ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nl-shadow-3);
  border-color: transparent
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-card.featured {
  background: linear-gradient(145deg, rgba(31, 182, 255, .06), rgba(196, 45, 168, .08));
  border-color: rgba(106, 43, 178, .2);
}

.service-card.featured::before {
  transform: scaleX(1)
}

.service-num {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--nl-purple);
  opacity: .7;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--nl-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--nl-text);
  line-height: 1.25;
}

.service-card p {
  color: var(--nl-text-mute);
  font-size: 15px;
  line-height: 1.65;
  flex: 1
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--nl-text-mute)
}

.service-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nl-gradient-brand);
  margin-top: 6px;
}

.service-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--nl-purple);
  transition: gap var(--nl-dur) var(--nl-ease), color var(--nl-dur) var(--nl-ease);
  margin-top: auto;
  padding-top: 8px;
}

.service-learn:hover {
  gap: 10px;
  color: var(--nl-magenta)
}

@media(max-width:900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .service-card.featured {
    grid-column: span 2
  }
}

@media(max-width:580px) {
  .services-grid {
    grid-template-columns: 1fr
  }

  .service-card.featured {
    grid-column: span 1
  }
}

/* WHO WE SERVE STRIP */
.who-strip {
  background: var(--nl-paper-2);
  padding: 48px 0;
  border-top: 1px solid var(--nl-ink-100);
  border-bottom: 1px solid var(--nl-ink-100);
}

.who-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap
}

.who-label {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nl-text-mute);
  white-space: nowrap;
  flex-shrink: 0;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.who-tag {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--nl-radius-pill);
  border: 1.5px solid var(--nl-ink-100);
  color: var(--nl-text-mute);
  background: #fff;
  transition: border-color var(--nl-dur) var(--nl-ease), color var(--nl-dur) var(--nl-ease);
}

.who-tag:hover {
  border-color: var(--nl-purple);
  color: var(--nl-purple)
}

/* ============================================================
   5. FOUNDER
   ============================================================ */
.founder-section {
  background: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  display: none;
}

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

.founder-image-wrap {
  position: relative
}

.founder-image-frame {
  position: relative;
  border-radius: var(--nl-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 420px;
}

.founder-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center
}

.founder-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 10, 26, .3) 0%, transparent 50%);
}



.founder-credential-pill {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nl-ink-100);
  border-radius: var(--nl-radius-pill);
  padding: 10px 18px;
  color: var(--nl-text);
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(11, 10, 26, .10);
}

.founder-credential-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nl-gradient-brand);
  flex-shrink: 0;
}

.founder-content {
  color: var(--nl-text)
}

.founder-name {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--nl-text);
  margin-bottom: 6px;
}

.founder-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--nl-purple);
  font-family: var(--nl-font-body);
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.founder-bio {
  color: var(--nl-text-mute);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px
}

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px
}

.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--nl-radius-pill);
  border: 1px solid var(--nl-ink-100);
  background: var(--nl-paper-2);
  color: var(--nl-text);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--nl-font-display);
}

.founder-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--nl-radius-md);
  background: var(--nl-paper-2);
  border: 1px solid var(--nl-ink-100);
  transition: border-color var(--nl-dur) var(--nl-ease), box-shadow var(--nl-dur) var(--nl-ease);
  text-decoration: none;
  color: var(--nl-text);
  width: fit-content;
}

.founder-contact:hover {
  border-color: rgba(106, 43, 178, .30);
  color: var(--nl-text);
  box-shadow: 0 8px 24px rgba(106, 43, 178, .10)
}

.founder-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--nl-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-contact-text {
  font-size: 13px;
  color: var(--nl-text-mute)
}

.founder-contact-email {
  font-weight: 600;
  font-size: 15px;
  color: var(--nl-text);
  display: block
}

@media(max-width:900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .founder-image-frame {
    max-width: 340px;
    margin: 0 auto
  }
}

/* ============================================================
   6. WHY NILOCITY
   ============================================================ */
.why-section {
  background: var(--nl-paper);
  padding: 96px 0
}

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

.why-card {
  padding: 40px 32px;
  border-radius: var(--nl-radius-lg);
  background: #fff;
  border: 1px solid var(--nl-ink-100);
  position: relative;
  overflow: hidden;
  transition: transform var(--nl-dur) var(--nl-ease), box-shadow var(--nl-dur) var(--nl-ease);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nl-shadow-3)
}

.why-card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  top: -60px;
  right: -60px;
  opacity: .09;
}

.why-card:nth-child(1) .why-card-glow {
  background: var(--nl-cyan)
}

.why-card:nth-child(2) .why-card-glow {
  background: var(--nl-purple)
}

.why-card:nth-child(3) .why-card-glow {
  background: var(--nl-magenta)
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--nl-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.why-card h3 {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--nl-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-card p {
  color: var(--nl-text-mute);
  font-size: 15px;
  line-height: 1.7
}

@media(max-width:768px) {
  .why-grid {
    grid-template-columns: 1fr
  }
}

/* ============================================================
   7. TESTIMONIAL
   ============================================================ */
.testimonial-section {
  background: var(--nl-paper-2);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 0% 50%, rgba(31, 182, 255, .10), transparent),
    radial-gradient(600px 300px at 100% 50%, rgba(196, 45, 168, .10), transparent);
  pointer-events: none;
}

.testimonial-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center
}

.quote-mark {
  font-family: var(--nl-font-accent);
  font-size: 120px;
  line-height: .6;
  background: var(--nl-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: block;
}

.testimonial-quote {
  font-family: var(--nl-font-accent);
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.4;
  color: var(--nl-text);
  margin-bottom: 36px;
}

.testimonial-divider {
  width: 64px;
  height: 2px;
  background: var(--nl-gradient-brand);
  border-radius: 2px;
  margin: 0 auto 24px
}

.testimonial-author {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--nl-text-mute);
  letter-spacing: .04em
}

.testimonial-author strong {
  color: var(--nl-text);
  display: block;
  font-size: 17px;
  margin-bottom: 4px
}

/* ============================================================
   8. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: var(--nl-ink-900)
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 20% 50%, rgba(31, 182, 255, .15), transparent 60%),
    radial-gradient(700px 400px at 80% 50%, rgba(196, 45, 168, .18), transparent 60%);
  pointer-events: none;
}

.cta-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto
}

.cta-inner h2 {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: var(--nl-h1);
  line-height: var(--nl-lh-tight);
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 18px;
  color: var(--nl-ink-300);
  line-height: 1.65;
  margin-bottom: 44px
}

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

/* ============================================================
   9. FOOTER
   ============================================================ */
.site-footer {
  background: var(--nl-ink-900);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 72px 0 40px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 18px rgba(31, 182, 255, .25));
}

.footer-brand p {
  color: var(--nl-ink-300);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nl-cyan);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--nl-dur) var(--nl-ease);
}

.footer-email-link:hover {
  color: #fff
}

.footer-col h5 {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-col ul li a {
  color: var(--nl-ink-300);
  font-size: 14px;
  transition: color var(--nl-dur) var(--nl-ease)
}

.footer-col ul li a:hover {
  color: #fff
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--nl-ink-500);
  font-size: 13px
}

.footer-tagline {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 13px;
  background: var(--nl-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }

  .footer-brand {
    grid-column: span 2
  }
}

@media(max-width:540px) {
  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-brand {
    grid-column: span 1
  }
}

/* ============================================================
   MISSION (WHO + WHY)
   ============================================================ */
.mission-section {
  background: var(--nl-paper);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 182, 255, .08), transparent 60%);
  pointer-events: none;
}

.mission-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 45, 168, .08), transparent 60%);
  pointer-events: none;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mission-eyebrow {
  margin-bottom: 24px
}

.mission-headline {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: var(--nl-h2);
  line-height: var(--nl-lh-tight);
  letter-spacing: -.02em;
  color: var(--nl-text);
  margin-bottom: 28px;
}

.mission-statement {
  font-family: var(--nl-font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.65;
  color: var(--nl-text);
  border-left: 3px solid transparent;
  border-image: var(--nl-gradient-brand) 1;
  padding-left: 24px;
  margin-bottom: 28px;
}

.mission-body {
  color: var(--nl-text-mute);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px
}

.mission-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.mission-kw {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--nl-radius-pill);
  background: rgba(106, 43, 178, .08);
  color: var(--nl-purple);
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
}

.mission-kw::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nl-gradient-brand)
}

.mission-visual {
  position: relative;
  border-radius: var(--nl-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--nl-shadow-3);
}

.mission-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--nl-ease)
}

.mission-visual:hover img {
  transform: scale(1.04)
}

.mission-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(106, 43, 178, .25));
  pointer-events: none;
}

.mission-visual-frame {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--nl-radius-lg) + 2px);
  background: var(--nl-gradient-brand);
  z-index: -1;
}

.mission-visual-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--nl-font-editorial);
  font-style: italic;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
  max-width: 240px;
  line-height: 1.35;
}

.mission-visual-tag strong {
  display: block;
  color: var(--nl-cyan);
  font-weight: 600;
  font-style: normal;
  font-family: var(--nl-font-display);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 8px
}

@media(max-width:900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .mission-visual {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4/5
  }
}

/* ============================================================
   APPROACH (HOW)
   ============================================================ */
.approach-section {
  background: var(--nl-paper-2);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px
}

.approach-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--nl-ink-100);
  border-radius: var(--nl-radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--nl-dur) var(--nl-ease), box-shadow var(--nl-dur) var(--nl-ease), border-color var(--nl-dur) var(--nl-ease);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nl-shadow-3);
  border-color: rgba(106, 43, 178, .2)
}

.approach-num {
  font-family: var(--nl-font-editorial);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  background: var(--nl-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}

.approach-card h3 {
  font-family: var(--nl-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--nl-text);
  line-height: 1.2;
}

.approach-card p {
  color: var(--nl-text-mute);
  font-size: 15px;
  line-height: 1.65
}

.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px
}

.approach-tag {
  font-family: var(--nl-font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--nl-radius-pill);
  border: 1px solid var(--nl-ink-100);
  color: var(--nl-text-mute);
}

@media(max-width:900px) {
  .approach-grid {
    grid-template-columns: 1fr
  }
}

/* ============================================================
   PARTNERS / TRUSTED BY
   ============================================================ */
.partners-section {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--nl-ink-100);
  border-bottom: 1px solid var(--nl-ink-100);
}

.partners-label {
  text-align: center;
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--nl-text-mute);
  margin-bottom: 32px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: center;
  justify-items: center;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  border-radius: var(--nl-radius-md);
  transition: transform var(--nl-dur) var(--nl-ease);
  width: 100%;
}

.partner:hover {
  transform: translateY(-2px)
}

.partner-mark {
  width: 100%;
  max-width: 240px;
  height: 110px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform var(--nl-dur) var(--nl-ease), filter var(--nl-dur) var(--nl-ease);
  filter: grayscale(20%);
  opacity: .92;
}

.partner:hover .partner-mark {
  transform: translateY(-2px);
  filter: grayscale(0%);
  opacity: 1;
}

.partner-mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-name {
  font-family: var(--nl-font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--nl-text);
  letter-spacing: .01em;
}

.partner-role {
  font-size: 12px;
  color: var(--nl-text-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--nl-font-display);
  font-weight: 500;
}

@media(max-width:760px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media(max-width:640px) {
  .hero h1 {
    font-size: clamp(36px, 10vw, 56px)
  }

  .hero-inner {
    padding: 72px 0
  }

  .section-header h2 {
    font-size: clamp(28px, 8vw, 38px)
  }

  .services-section,
  .founder-section,
  .why-section,
  .testimonial-section,
  .mission-section,
  .approach-section {
    padding: 72px 0
  }

  .cta-section {
    padding: 72px 0
  }

  .cta-inner h2 {
    font-size: clamp(28px, 8vw, 42px)
  }

  .mission-headline {
    font-size: clamp(28px, 8vw, 38px)
  }
}

/* ============================================================
   RESPONSIVE TWEAKS & MOBILE OPTIMIZATION
   ============================================================ */

/* 1. Prevent Horizontal Overflow Globally */
html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

@media(max-width:768px) {
  /* 2. Site Navigation Mobile Menu Legibility */
  .mobile-nav .btn-primary {
    background: var(--nl-purple) !important; /* Force a solid background for contrast */
    color: #fff !important; /* Force white text */
    -webkit-text-fill-color: #fff !important; /* Extra safety for some iOS browsers */
    font-weight: 700;
    border: none;
  }

  .site-nav, 
  .site-nav.scrolled {
    padding-left: 16px !important; /* Move logo closer to the left corner */
    padding-right: 16px !important;
    min-height: 70px;
  }

  .nav-brand img {
    height: 46px !important; /* Make logo a tad bit smaller */
  }

  /* 3. Stats Section Stacking */
  .stats-grid {
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  
  .stat-item::after {
    display: none; 
  }

  /* 4. Vision / Image Grid Stacking */
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-visual {
    aspect-ratio: auto; /* Let the image's natural aspect ratio dictate height */
    width: 100%;
    height: auto;
  }

  .mission-visual img {
    height: auto; /* Remove artificial CSS cropping */
    width: 100%;
    object-position: center; 
    object-fit: contain; /* Ensure the whole image fits without being cut off */
  }

  /* 5. General Section Padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 100%;
  }

  /* 6. Partner/Collaboration Sections */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media(max-width:640px) {
  .hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-inner {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: clamp(26px, 9vw, 34px);
  }

  .mission-headline {
    font-size: clamp(26px, 9vw, 34px);
  }
  
  .mission-statement {
    font-size: 18px;
    padding-left: 16px;
  }
}

@media(max-width:480px) {
  /* 7. Button Adjustments */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

  /* 8. Badge/Pill Wrapping Fix */
  .who-tags {
    gap: 8px;
  }

  .who-tag {
    font-size: 12px;
    padding: 6px 14px;
  }
}