/* ═══════════════════════════════════════════
   MadasHealth.ai — Design System
   Font: Plus Jakarta Sans (body) + Instrument Serif (display)
   ═══════════════════════════════════════════ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: #1a1816;
  background: #FAFAF8;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }

/* --- Tokens --- */
:root {
  --teal: #00BFA6;  --teal-light: #26C9B5; --teal-dark: #008F7A; --teal-darker: #004D41;
  --coral: #FF4025; --coral-light: #FF6B50;
  --bg: #FAFAF8;    --bg-warm: #F5F4F0;    --bg-white: #fff;
  --ink: #1a1816;   --ink-2: #3D3A36;       --ink-3: #7C7770;    --ink-4: #A8A39B;
  --border: #E8E6E1;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Layout --- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.container--sm { max-width: 760px; }
.center { text-align: center; }
.section { padding: clamp(5rem, 3rem + 7vw, 10rem) 0; position: relative; overflow: hidden; }
.section--dark { background: #0a0908; color: #f0eeea; }
.section--dark-grad { background: linear-gradient(165deg, #071210 0%, #0d3b33 50%, #0a5c4f 100%); color: #f0eeea; }
.section--warm { background: var(--bg-warm); }
.section--coral { background: linear-gradient(140deg, #c9220f 0%, #FF4025 45%, #FF6B50 100%); color: #fff; }
.font-serif { font-family: 'Instrument Serif', Georgia, serif; }

/* --- Accessibility --- */
.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; }
.skip-link { position: fixed; top: -100%; left: var(--gutter); z-index: 10000; padding: 10px 22px; background: var(--teal); color: #fff; font-weight: 700; border-radius: 0 0 12px 12px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim, .line__inner { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* --- Film Grain --- */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .02; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ═══════════════════════════════════════════
   TYPOGRAPHY — Modern, bold, readable
   ═══════════════════════════════════════════ */
.hero__title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(3.2rem, 1.8rem + 6vw, 7.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--teal-light);
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: .06em; left: -4px; right: -4px;
  height: .3em;
  background: linear-gradient(135deg, rgba(0,191,166,.22), rgba(0,191,166,.05));
  border-radius: 6px;
  z-index: -1;
}

.sec-head__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-top: .5rem;
}
.sec-head__sub {
  font-size: clamp(.95rem, .9rem + .2vw, 1.05rem);
  color: var(--ink-3);
  max-width: 520px;
  margin: .75rem auto 0;
  line-height: 1.7;
}
.section--dark .sec-head__sub,
.section--dark-grad .sec-head__sub { color: rgba(255,255,255,.55); }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .25rem;
}
.section--dark .eyebrow,
.section--dark-grad .eyebrow { color: var(--teal-light); }
.section--coral .eyebrow { color: rgba(255,255,255,.75); }

.body-text { font-size: clamp(.95rem, .92rem + .15vw, 1.05rem); color: var(--ink-3); line-height: 1.75; }

.grad-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shimmer-text {
  background: linear-gradient(90deg, var(--teal-light), #fff 45%, #fff 55%, var(--teal-light));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: -100% 50%; } }

/* --- Text Transitions --- */
.line { display: block; overflow: hidden; padding-bottom: .15em; }
.line__inner { display: block; transform: translateY(115%); opacity: 0; will-change: transform; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; margin-right: .3em; }
.sw-i { display: inline-block; transform: translateY(100%); opacity: 0; }

.rotator { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; height: 1.15em; min-width: 12ch; }
.rotator span { position: absolute; left: 0; top: 0; display: block; opacity: 0; white-space: nowrap; color: var(--teal-light); font-style: italic; animation: wordCycle 8s ease-in-out infinite; }
.rotator span:nth-child(2) { animation-delay: 2s; }
.rotator span:nth-child(3) { animation-delay: 4s; }
.rotator span:nth-child(4) { animation-delay: 6s; }
@keyframes wordCycle {
  0%   { opacity: 0; transform: translateY(100%) rotateX(-40deg); }
  5%,20% { opacity: 1; transform: translateY(0) rotateX(0); }
  25%,100% { opacity: 0; transform: translateY(-100%) rotateX(40deg); }
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
@media (hover:hover) and (pointer:fine) {
  .cursor { position: fixed; width: 20px; height: 20px; border: 2px solid var(--teal); border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%,-50%); transition: width .3s var(--spring), height .3s var(--spring), background .3s, opacity .3s; mix-blend-mode: difference; opacity: 0; }
  .cursor.on { opacity: 1; }
  .cursor.big { width: 52px; height: 52px; background: rgba(0,191,166,.06); }
  .cursor-dot { position: fixed; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; pointer-events: none; z-index: 100000; transform: translate(-50%,-50%); opacity: 0; }
  .cursor-dot.on { opacity: 1; }
}

/* ═══════════════════════════════════════════
   BUTTONS — Refined, modern
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  line-height: 1.4; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; position: relative; overflow: hidden;
  transition: all .4s var(--ease);
}
.btn--lg { padding: 14px 32px; font-size: .95rem; }
.btn--primary { background: linear-gradient(135deg, #FF4025, #FF6040); color: #fff; border-color: transparent; box-shadow: 0 4px 20px rgba(255,64,37,.25); }
.btn--primary:hover { box-shadow: 0 10px 32px rgba(255,64,37,.35); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--teal-dark); border-color: rgba(0,191,166,.35); }
.btn--outline:hover { background: rgba(0,191,166,.06); border-color: var(--teal); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.btn--ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-w:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.25); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 18px 0; transition: all .4s var(--ease); }
.nav.scrolled { padding: 10px 0; background: rgba(10,9,8,.9); backdrop-filter: blur(20px) saturate(1.6); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav.hide { transform: translateY(-100%); }
.nav__wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo__img { height: 44px; width: auto; max-width: 200px; object-fit: contain; transition: transform .3s var(--spring); border-radius: 8px; }
.logo:hover .logo__img { transform: scale(1.05); }
.footer .logo__img { height: 42px; max-width: 180px; }
.nav__links { display: none; list-style: none; gap: 2px; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__link { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 100px; transition: all .25s; position: relative; }
.nav__link::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px; background: var(--teal-light); border-radius: 2px; transform: translateX(-50%); transition: width .3s var(--ease); }
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.active::after { width: 18px; }
.nav__link.active { color: #fff; }
.nav__cta { display: none; }
@media (min-width: 1024px) { .nav__cta { display: inline-flex; } }

.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .35s var(--ease); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu { position: fixed; inset: 0; z-index: 999; background: rgba(10,9,8,.97); backdrop-filter: blur(30px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu__link { color: #fff; text-decoration: none; font-family: 'Instrument Serif', serif; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); opacity: 0; transform: translateY(24px); transition: all .45s var(--ease); }
.mobile-menu.open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: .06s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: .1s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: .14s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: .18s; }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: .22s; }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: .26s; }
.mobile-menu.open .mobile-menu__link:nth-child(7) { transition-delay: .3s; }
.mobile-menu.open .mobile-menu__link:nth-child(8) { transition-delay: .34s; }
.mobile-menu__link:hover { color: var(--teal-light); }
.mobile-menu__link--accent { color: var(--teal-light); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: #0a0908; padding: 100px 0 60px; position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(100px); animation: orbDrift 22s ease-in-out infinite; }
.hero__orb--1 { width: 650px; height: 650px; background: radial-gradient(circle, rgba(0,191,166,.35), transparent 70%); top: -15%; right: -8%; }
.hero__orb--2 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(0,143,122,.3), transparent 70%); bottom: -10%; left: 5%; animation-delay: -7s; }
.hero__orb--3 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,64,37,.15), transparent 70%); top: 28%; left: 45%; animation-delay: -14s; }
@keyframes orbDrift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(35px,-45px) scale(1.06); } 66% { transform: translate(-25px,30px) scale(.94); } }
.hero__dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,191,166,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 60% 50% at 55% 45%, #000, transparent); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 55% 45%, #000, transparent); }
.hero__body { position: relative; z-index: 2; max-width: 880px; }

.hero__chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 10px; background: rgba(0,191,166,.06); border: 1px solid rgba(0,191,166,.12); border-radius: 100px; margin-bottom: 2rem; }
.hero__chip-dot { width: 7px; height: 7px; background: var(--teal-light); border-radius: 50%; box-shadow: 0 0 8px rgba(0,191,166,.5); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.6); } }
.hero__chip span { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(38,201,181,.85); }

.hero__desc { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255,255,255,.5); max-width: 600px; line-height: 1.7; margin-bottom: 2rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.28); font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 44px; position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--teal-light)); animation: scrollDrop 2s ease-in-out infinite; }
@keyframes scrollDrop { to { top: 100%; } }

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.stats { background: var(--bg-white); border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
.stats__row { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats__row { grid-template-columns: repeat(4, 1fr); } }
.stats__item { padding: 2.2rem 1rem; text-align: center; position: relative; }
.stats__item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: var(--border); }
.stats__num { display: block; font-family: 'Instrument Serif', serif; font-size: clamp(2.4rem, 2rem + 1.5vw, 3.6rem); color: var(--teal-dark); line-height: 1; }
.stats__label { display: block; font-size: .82rem; color: var(--ink-3); font-weight: 600; margin-top: 6px; }

/* ═══════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════ */
.about-mission { text-align: center; margin-bottom: clamp(3rem, 2.5rem + 2vw, 5rem); }
.mission__quote { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); line-height: 1.65; text-align: center; color: rgba(255,255,255,.7); letter-spacing: -.01em; border: none; padding: 0; position: relative; }
.mission__quote strong { color: var(--teal-light); font-weight: 400; }
.divider { width: 72px; height: 3px; background: linear-gradient(90deg, var(--teal), var(--coral)); border: none; border-radius: 3px; margin: 2rem auto; }
.mission__vision { font-family: 'Instrument Serif', Georgia, serif; text-align: center; font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); color: rgba(255,255,255,.7); max-width: 580px; margin: 0 auto; line-height: 1.65; }

/* ═══════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════ */
.sec-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ═══════════════════════════════════════════
   GLASS CARDS (Pillars) — 3D tilt
   ═══════════════════════════════════════════ */
.glass-card {
  position: relative; padding: 2.2rem 1.8rem; border-radius: 20px; cursor: default;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .5s var(--ease);
  transform-style: preserve-3d; perspective: 800px;
  overflow: hidden;
}
.glass-card__shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.1), transparent 55%); transition: opacity .4s; z-index: 0; }
.glass-card:hover .glass-card__shine { opacity: 1; }
.glass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--coral)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.glass-card:hover::before { transform: scaleX(1); }
.glass-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); box-shadow: 0 28px 60px rgba(0,0,0,.25), 0 0 40px rgba(0,191,166,.06); }

.glass-card__ico { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; font-size: 1.5rem; margin-bottom: 1.25rem; transition: transform .4s var(--spring); position: relative; z-index: 1; }
.glass-card:hover .glass-card__ico { transform: scale(1.1) translateY(-3px); }
.glass-card__ico--teal { background: linear-gradient(135deg, rgba(0,191,166,.18), rgba(0,191,166,.06)); box-shadow: 0 4px 18px rgba(0,191,166,.12); }
.glass-card__ico--coral { background: linear-gradient(135deg, rgba(255,64,37,.18), rgba(255,64,37,.06)); box-shadow: 0 4px 18px rgba(255,64,37,.12); }
.glass-card__ico--amber { background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(245,158,11,.06)); box-shadow: 0 4px 18px rgba(245,158,11,.12); }
.glass-card__title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .6rem; position: relative; z-index: 1; }
.glass-card__text { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.7; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   PRODUCT CARDS — Clean, modern 3D
   ═══════════════════════════════════════════ */
.prod-card {
  background: var(--bg-white); border: 1px solid rgba(0,0,0,.06); border-radius: 20px;
  padding: 2rem; position: relative; overflow: hidden;
  transition: all .5s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.03);
  will-change: transform;
}
.prod-card__glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,191,166,.05), transparent 50%); transition: opacity .5s; }
.prod-card:hover .prod-card__glow { opacity: 1; }
.prod-card:hover { border-color: rgba(0,191,166,.15); box-shadow: 0 20px 50px rgba(0,0,0,.07), 0 0 0 1px rgba(0,191,166,.06); }

.prod-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 1rem; }
.prod-card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, #E6F7F5, #CCF0EB); box-shadow: 0 2px 8px rgba(0,191,166,.1); transition: transform .4s var(--spring); }
.prod-card:hover .prod-card__ico { transform: scale(1.08) rotate(-3deg); }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: .65rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--blue { background: #DBEAFE; color: #1E40AF; }
.chip--blue .chip__dot { animation: pulse 2s infinite; }
.chip--amber { background: #FEF3C7; color: #92400E; }
.chip--gray { background: #F3F2EF; color: #6B6860; }

.prod-card__name { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: .5rem; letter-spacing: -.02em; }
.prod-card__desc { font-size: .9rem; color: var(--ink-3); line-height: 1.7; margin-bottom: 1.2rem; }
.prod-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--teal-dark); text-decoration: none; transition: all .25s; }
.prod-card__link .arr { transition: transform .3s var(--spring); }
.prod-card__link:hover { color: var(--teal); }
.prod-card__link:hover .arr { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   IMPACT SECTION
   ═══════════════════════════════════════════ */
.impact { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .impact { grid-template-columns: auto 1fr; gap: 4rem; } }
.impact__big { font-family: 'Instrument Serif', serif; font-size: clamp(7rem, 5rem + 8vw, 14rem); line-height: .78; color: #fff; letter-spacing: -.04em; text-shadow: 0 4px 40px rgba(255,255,255,.1); }
.impact__title { font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); font-weight: 800; margin: .5rem 0 0; }
.impact__list { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-top: 1.25rem; }
.impact__list li { display: flex; gap: 10px; font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.impact__list span { color: rgba(255,255,255,.4); flex-shrink: 0; margin-top: 2px; }

/* ═══════════════════════════════════════════
   TECH CARDS
   ═══════════════════════════════════════════ */
.tech-card {
  padding: 1.8rem; border-radius: 18px;
  background: var(--bg-white); border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: all .45s var(--ease); position: relative; overflow: hidden;
}
.tech-card:hover { border-color: rgba(0,191,166,.15); box-shadow: 0 14px 36px rgba(0,0,0,.06); transform: translateY(-5px); }
.tech-card__ico { font-size: 1.8rem; margin-bottom: .75rem; display: block; transition: transform .35s var(--spring); }
.tech-card:hover .tech-card__ico { transform: scale(1.12); }
.tech-card__name { font-size: 1rem; font-weight: 800; margin-bottom: .4rem; color: var(--ink); letter-spacing: -.01em; }
.tech-card__desc { font-size: .88rem; color: var(--ink-3); line-height: 1.65; }

/* ═══════════════════════════════════════════
   CODE BLOCK
   ═══════════════════════════════════════════ */
.code-block { margin-top: 3.5rem; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.1); border: 1px solid rgba(0,0,0,.08); background: #0a0908; }
.code-block__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); }
.code-block__dots { display: flex; gap: 7px; }
.code-block__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.code-block__file { font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: rgba(255,255,255,.3); }
.code-block__pre { padding: 1.75rem; overflow-x: auto; margin: 0; font-family: 'JetBrains Mono', monospace; font-size: clamp(.75rem, .7rem + .2vw, .88rem); line-height: 1.85; color: rgba(255,255,255,.8); }
.c-kw { color: #FF79C6; } .c-str { color: #50FA7B; } .c-cmt { color: rgba(255,255,255,.22); } .c-fn { color: #8BE9FD; } .c-prop { color: #BD93F9; }

/* ═══════════════════════════════════════════
   TRAINING SPLIT
   ═══════════════════════════════════════════ */
.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.training-vis { aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(135deg, #CCF0EB, #80DFD3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 2rem; box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.training-vis__ico { width: 80px; height: 80px; background: #fff; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,.07); transition: transform .4s var(--spring); }
.training-vis:hover .training-vis__ico { transform: scale(1.1) rotate(-5deg); }
.training-vis__title { font-weight: 700; font-size: 1.1rem; color: var(--teal-darker); text-align: center; }
.training-vis__sub { font-size: .88rem; color: var(--teal-dark); }

.feat-list { display: flex; flex-direction: column; gap: 1.2rem; margin: 1.5rem 0; }
.feat { display: flex; gap: 14px; }
.feat__ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: #E6F7F5; display: grid; place-items: center; font-size: 1.1rem; transition: all .3s var(--spring); }
.feat:hover .feat__ico { background: #CCF0EB; transform: scale(1.08); }
.feat strong { font-size: .95rem; font-weight: 700; display: block; margin-bottom: 2px; color: var(--ink); }
.feat p { font-size: .88rem; color: var(--ink-3); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════
   VALUE CARDS
   ═══════════════════════════════════════════ */
.val-card {
  padding: 1.8rem 1.4rem; border-radius: 18px; text-align: center;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06);
  transition: all .45s var(--ease); position: relative; overflow: hidden;
}
.val-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: linear-gradient(to top, rgba(0,191,166,.06), transparent); transition: height .5s var(--ease); }
.val-card:hover { background: rgba(255,255,255,.08); transform: translateY(-5px); border-color: rgba(255,255,255,.12); }
.val-card:hover::after { height: 100%; }
.val-card__n { font-family: 'Instrument Serif', serif; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); color: var(--teal-light); opacity: .3; line-height: 1; margin-bottom: .8rem; display: block; transition: all .4s; }
.val-card:hover .val-card__n { opacity: .6; transform: scale(1.05); }
.val-card__t { font-size: .88rem; font-weight: 700; margin-bottom: .35rem; position: relative; z-index: 1; }
.val-card__d { font-size: .78rem; color: rgba(255,255,255,.42); line-height: 1.6; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════ */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee__label { padding-top: 2.5rem; }
.marquee__track { display: flex; animation: scroll 32s linear infinite; padding: 2rem 0; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__track span { flex-shrink: 0; padding: 0 clamp(1.5rem, 1rem + 2vw, 3rem); font-weight: 700; font-size: clamp(.9rem, .85rem + .2vw, 1.05rem); color: var(--ink-4); white-space: nowrap; transition: color .25s; }
.marquee__track span:hover { color: var(--ink-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   COLLABORATION CARDS
   ═══════════════════════════════════════════ */
.collab-card {
  position: relative; padding: 2.2rem 1.8rem; border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .5s var(--ease); overflow: hidden;
}
.collab-card:hover { background: rgba(255,255,255,.08); border-color: rgba(0,191,166,.2); box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 30px rgba(0,191,166,.05); transform: translateY(-5px); }
.collab-card__badge { position: absolute; top: 1.2rem; right: 1.2rem; padding: 4px 12px; border-radius: 100px; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(135deg, rgba(0,191,166,.15), rgba(0,191,166,.06)); color: var(--teal-light); border: 1px solid rgba(0,191,166,.2); }
.collab-card__badge--humanitarian { background: linear-gradient(135deg, rgba(255,107,80,.15), rgba(255,107,80,.06)); color: var(--coral-light); border-color: rgba(255,107,80,.2); }
.collab-card__logo-wrap { margin-bottom: 1.2rem; }
.collab-card__ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; font-size: 1.5rem; background: linear-gradient(135deg, rgba(0,191,166,.12), rgba(0,191,166,.04)); box-shadow: 0 4px 14px rgba(0,191,166,.1); transition: transform .4s var(--spring); }
.collab-card:hover .collab-card__ico { transform: scale(1.1) translateY(-2px); }
.collab-card__name { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: .3rem; letter-spacing: -.01em; }
.collab-card__region { font-size: .75rem; font-weight: 600; color: var(--teal-light); opacity: .7; margin-bottom: 1rem; letter-spacing: .02em; }
.collab-card__desc { font-size: .88rem; color: rgba(255,255,255,.48); line-height: 1.75; margin-bottom: 1.2rem; }
.collab-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.2rem; }
.collab-card__tags span { padding: 3px 10px; border-radius: 100px; font-size: .62rem; font-weight: 600; letter-spacing: .03em; background: rgba(255,255,255,.05); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.06); }
.collab-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--teal-light); text-decoration: none; transition: all .25s; }
.collab-card__link .arr { transition: transform .3s var(--spring); }
.collab-card__link:hover { color: #fff; }
.collab-card__link:hover .arr { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta { text-align: center; }
.cta__glow { position: absolute; width: 550px; height: 550px; border-radius: 50%; background: radial-gradient(circle, rgba(0,191,166,.08), transparent 60%); left: 50%; top: 50%; transform: translate(-50%,-50%); animation: ctaPulse 4s ease-in-out infinite; }
@keyframes ctaPulse { 50% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } }
.cta__title { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 4rem); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; margin: .5rem 0 1rem; position: relative; }
.cta__title em { color: var(--teal-dark); }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { background: #0a0908; color: rgba(255,255,255,.6); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.06); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.35); margin-top: .75rem; }
.footer__address { font-style: normal; font-size: .82rem; color: rgba(255,255,255,.3); margin-top: .6rem; line-height: 1.6; }
.footer h4 { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; font-size: .88rem; color: rgba(255,255,255,.45); transition: all .25s; display: inline-block; }
.footer a:hover { color: var(--teal-light); transform: translateX(3px); }
.footer__form { display: flex; gap: 8px; margin-top: 1rem; }
.footer__form input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; color: #fff; font-family: inherit; font-size: .88rem; outline: none; transition: border-color .25s; }
.footer__form input::placeholder { color: rgba(255,255,255,.2); }
.footer__form input:focus { border-color: var(--teal); }
.footer__form button { padding: 10px 18px; background: var(--teal-dark); border: none; border-radius: 10px; color: #fff; font-weight: 700; font-size: .85rem; cursor: pointer; font-family: inherit; transition: background .25s; }
.footer__form button:hover { background: var(--teal); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 1.5rem; font-size: .72rem; color: rgba(255,255,255,.2); }
.footer__bottom div { display: flex; gap: 20px; }

/* ═══════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════ */
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; z-index: 1001; background: linear-gradient(90deg, var(--teal), var(--coral)); transform-origin: left; transform: scaleX(0); }
.to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 100; width: 46px; height: 46px; background: #1a1816; color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .35s var(--ease); }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--teal-dark); transform: translateY(-2px); }

.anim { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }

@media (max-width: 640px) {
  .impact__big { text-align: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
