/* =============================================================
   Andreina Martínez IFMCP — style.css
   Premium editorial health-tech landing (HTML + CSS + Vanilla JS)
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --ink: #0b1020;
  --ink-soft: #4a4f63;
  --ink-mute: #7a8096;

  --purple: #6d28d9;
  --purple-2: #7c3aed;
  --lavender: #c4b5fd;
  --blue: #2563eb;
  --cyan: #22d3ee;

  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow-color: rgba(20, 20, 40, 0.08);

  --dark: #0a0a18;
  --dark-2: #12122a;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--purple) 0%, var(--purple-2) 45%, var(--blue) 100%);
  --grad-brand-soft: linear-gradient(120deg, #8b5cf6, #6d28d9 60%, #2563eb);
  --grad-light: linear-gradient(120deg, #c4b5fd, #a78bfa 50%, #67e8f9);

  /* Elevation */
  --shadow-sm: 0 2px 8px var(--shadow-color);
  --shadow-md: 0 18px 50px -18px var(--shadow-color);
  --shadow-lg: 0 40px 90px -30px rgba(20, 20, 40, 0.14);
  --shadow-glow: 0 30px 80px -24px rgba(109, 40, 217, 0.35);

  /* Shape & motion */
  --radius: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  /* Layout */
  --maxw: 1440px;
  --pad: 72px;

  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
mark { background: linear-gradient(transparent 60%, rgba(196, 181, 253, 0.55) 0); color: inherit; padding: 0 2px; }

::selection { background: rgba(124, 58, 237, 0.22); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-grad em { font-style: italic; }
.text-grad-light {
  background: var(--grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-index {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 1.4rem;
}
.section-index--light { color: var(--lavender); }

/* ---------- Glass surfaces ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(246, 247, 251, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-md);
}
.glass-dark {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.85rem; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(109, 40, 217, 0.6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -14px rgba(109, 40, 217, 0.7); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(11, 16, 32, 0.1);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--purple-2); box-shadow: var(--shadow-md); }

.btn--dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn--dark:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.12); }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.45);
  animation: ripple 0.65s var(--ease);
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-2);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover { gap: 0.7rem; color: var(--purple); }
.link-arrow--light { color: var(--lavender); }

/* ============================================================
   CURSOR + SCROLL PROGRESS
   ============================================================ */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(109, 40, 217, 0.5);
  transition: transform 0.18s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor.is-active { width: 54px; height: 54px; background: rgba(124, 58, 237, 0.1); }
.cursor-dot { width: 6px; height: 6px; background: var(--purple); }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: calc(var(--maxw) - 48px);
  z-index: 1000;
  transition: top 0.4s var(--ease);
}
.header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 12px 0 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 12px 40px -18px rgba(20, 20, 40, 0.18);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-scrolled .header__inner {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 50px -18px rgba(20, 20, 40, 0.28);
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.16);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.brand__text span { font-size: 0.74rem; color: var(--ink-mute); letter-spacing: 0.02em; }
.brand__text em { font-style: normal; color: var(--purple-2); font-weight: 600; }

.nav__list { display: flex; align-items: center; gap: 0.3rem; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(124, 58, 237, 0.07); }
.nav__link.is-active { color: var(--purple); background: rgba(124, 58, 237, 0.1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 88px; left: 0; right: 0;
  padding: 1.2rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu a {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.mobile-menu a:hover { background: rgba(124, 58, 237, 0.08); color: var(--ink); }
.mobile-menu .btn { justify-content: center; margin-top: 0.5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% 20%, rgba(196, 181, 253, 0.28), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 2rem;
}

/* ---- Hero content ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 1.6rem;
}
.eyebrow i { color: var(--lavender); font-style: normal; }

.hero__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 1.6rem;
}

.hero__lead {
  max-width: 30rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }

.hero__stats { display: flex; gap: 1rem; }
.stat-card {
  flex: 1;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.stat-card__num {
  display: block;
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--purple);
  margin-bottom: 0.3rem;
}
.stat-card__label { font-size: 0.78rem; color: var(--ink-mute); }

/* ---- Hero visual ---- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 560px;
}
.hero__photo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
}
.hero__photo {
  width: 100%;
  border-radius: 24px;
  /* Blend the baked purple photo into the light hero */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 22%, #000 100%),
    linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 22%, #000 100%),
    linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: saturate(1.05) contrast(1.02);
}

/* ============================================================
   HERO — CSS-only cosmic atmosphere
   ============================================================ */
.hero__atmos { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }

.orb--main {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(167, 139, 250, 0.55), rgba(109, 40, 217, 0.35) 40%, rgba(37, 99, 235, 0.15) 68%, transparent 72%);
  filter: blur(6px);
  opacity: 0.75;
  animation: floatY 12s ease-in-out infinite;
}
.orb--main::after {
  content: "";
  position: absolute; inset: -2%;
  border-radius: 50%;
  border: 1px solid rgba(196, 181, 253, 0.35);
  box-shadow: 0 0 120px 30px rgba(124, 58, 237, 0.25) inset;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.glow--purple {
  top: 20%; right: 20%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 70%);
  animation: pulse 9s ease-in-out infinite;
}
.glow--blue {
  bottom: 6%; right: 30%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 70%);
  animation: pulse 11s ease-in-out infinite reverse;
}

.nebula {
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background:
    conic-gradient(from 200deg at 70% 40%, rgba(124, 58, 237, 0.14), transparent 25%, rgba(37, 99, 235, 0.1) 55%, transparent 80%);
  filter: blur(40px);
  opacity: 0.7;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 75% 45%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 75% 45%, #000, transparent 65%);
  opacity: 0.6;
}

/* Floating particles (populated + animated via CSS) */
.particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.95), rgba(124, 58, 237, 0.2));
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.8);
  animation: drift linear infinite;
}

/* Decorative DNA helix line */
.helix {
  position: absolute;
  top: 12%;
  right: 4%;
  width: 90px; height: 480px;
  opacity: 0.5;
}
.helix span {
  position: absolute;
  left: 50%;
  width: 70px; height: 8px;
  margin-left: -35px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.8), rgba(34, 211, 238, 0.7));
  animation: helixSpin 6s linear infinite;
}
.helix span:nth-child(1) { top: 0%; animation-delay: 0s; }
.helix span:nth-child(2) { top: 10%; animation-delay: -0.6s; }
.helix span:nth-child(3) { top: 20%; animation-delay: -1.2s; }
.helix span:nth-child(4) { top: 30%; animation-delay: -1.8s; }
.helix span:nth-child(5) { top: 40%; animation-delay: -2.4s; }
.helix span:nth-child(6) { top: 50%; animation-delay: -3s; }
.helix span:nth-child(7) { top: 60%; animation-delay: -3.6s; }
.helix span:nth-child(8) { top: 70%; animation-delay: -4.2s; }
.helix span:nth-child(9) { top: 80%; animation-delay: -4.8s; }
.helix span:nth-child(10) { top: 90%; animation-delay: -5.4s; }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid rgba(11, 16, 32, 0.18);
  z-index: 4;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--purple);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits { margin-top: -46px; position: relative; z-index: 5; }
.benefits__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0.6rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
}
.benefit {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.benefit:hover { background: rgba(124, 58, 237, 0.05); transform: translateY(-3px); }
.benefit__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  color: var(--purple);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), rgba(37, 99, 235, 0.08));
}
.benefit strong { display: block; font-size: 0.92rem; font-weight: 700; }
.benefit span { font-size: 0.8rem; color: var(--ink-mute); }

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
.problem,
.approach,
.process-about,
.resources { padding-block: clamp(70px, 9vw, 130px); }

/* ---- Problem ---- */
.problem__card {
  position: relative;
  padding: clamp(2.4rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid rgba(196, 181, 253, 0.35);
  box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.35);
  overflow: hidden;
}
.problem__card::before {
  content: "";
  position: absolute;
  top: -140px; left: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.4), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.problem__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.problem__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.problem__text p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1rem; }
.problem__text strong { color: var(--ink); font-weight: 700; }

/* ---- Approach ---- */
.approach__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3.5rem;
  align-items: center;
}

.orbit {
  --r: 190px; /* node orbit radius */
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(124, 58, 237, 0.2);
}
.orbit::after { inset: 0; border-style: solid; border-color: rgba(124, 58, 237, 0.1); }

.orbit__core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 35%, rgba(167, 139, 250, 0.5), rgba(109, 40, 217, 0.35) 55%, rgba(37, 99, 235, 0.2));
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.25);
  animation: pulse 6s ease-in-out infinite;
}
.orbit__dna {
  width: 46%; height: 60%;
  background:
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(255, 255, 255, 0.85) 12px 14px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 80'%3E%3Cpath d='M8 4C8 24 32 24 32 44S8 64 8 84' fill='none' stroke='black' stroke-width='4'/%3E%3Cpath d='M32 4C32 24 8 24 8 44S32 64 32 84' fill='none' stroke='black' stroke-width='4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 80'%3E%3Cpath d='M8 4C8 24 32 24 32 44S8 64 8 84' fill='none' stroke='black' stroke-width='4'/%3E%3Cpath d='M32 4C32 24 8 24 8 44S32 64 32 84' fill='none' stroke='black' stroke-width='4'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  animation: dnaFlow 3s linear infinite;
}

.orbit__ring { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.node {
  position: absolute;
  top: 50%; left: 50%;
  transform:
    rotate(var(--a))
    translateX(var(--r))
    rotate(calc(-1 * var(--a)));
  margin: -18px 0 0 -18px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  animation: spinReverse 40s linear infinite;
}
.node--adn { color: var(--purple); border-color: rgba(124, 58, 237, 0.4); }

/* Services */
.approach__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.service-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.service-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  margin-bottom: 1.2rem;
  color: var(--purple);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(37, 99, 235, 0.08));
}
.service-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }

/* ============================================================
   PROCESS + ABOUT
   ============================================================ */
.process-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.4rem;
  position: relative;
}
.timeline__step { position: relative; }
.timeline__dot {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.06), var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.timeline__step:hover .timeline__dot { transform: translateY(-5px) scale(1.05); box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.1), var(--shadow-glow); }
.timeline__step h3 { font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.3rem; }
.timeline__step p { font-size: 0.86rem; color: var(--ink-soft); }

.about {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 20ch;
}
.about__text { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 42ch; }
.about__signature {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--purple);
  opacity: 0.85;
}
.about__portrait {
  position: absolute;
  right: -40px; bottom: -20px;
  width: 190px; height: 240px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  opacity: 0.92;
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }

/* ============================================================
   TESTIMONIALS (dark)
   ============================================================ */
.testimonials {
  position: relative;
  padding-block: clamp(70px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(700px 500px at 90% 90%, rgba(37, 99, 235, 0.2), transparent 60%),
    linear-gradient(160deg, var(--dark), var(--dark-2));
  color: #fff;
  overflow: hidden;
}
.testimonials__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.testimonials__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: #fff;
}
.testimonials__head .section-index { margin-bottom: 0; }

.slider { display: flex; align-items: center; gap: 1rem; }
.slider__viewport { overflow: hidden; flex: 1; }
.slider__track {
  display: flex;
  gap: 1.4rem;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.testi-card {
  position: relative;
  flex: 0 0 calc((100% - 2.8rem) / 3);
  padding: 2rem;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.92);
}
.testi-card__quote {
  position: absolute;
  top: 0.4rem; left: 1.4rem;
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1;
  color: rgba(196, 181, 253, 0.55);
}
.testi-card p { margin-top: 1.4rem; font-size: 0.96rem; line-height: 1.6; }
.testi-card__foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.avatar--a { background: linear-gradient(135deg, #7c3aed, #2563eb); }
.avatar--b { background: linear-gradient(135deg, #a78bfa, #22d3ee); }
.avatar--c { background: linear-gradient(135deg, #6d28d9, #22d3ee); }
.testi-card__foot strong { display: block; font-size: 0.9rem; }
.testi-card__foot span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 1px; }

.slider__nav {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.slider__nav:hover { background: rgba(124, 58, 237, 0.5); transform: scale(1.08); }
.slider__nav:disabled { opacity: 0.3; cursor: not-allowed; }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.slider__dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.slider__dots button.is-active { width: 28px; background: var(--lavender); }

/* ============================================================
   RESOURCES / NEWSLETTER / CTA
   ============================================================ */
.resources__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "products newsletter"
    "products cta";
  gap: 1.6rem;
}
.resources__products { grid-area: products; }
.newsletter { grid-area: newsletter; }
.cta-final { grid-area: cta; }

.products__list { display: grid; gap: 1rem; margin-top: 1.4rem; }
.product-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 1.2rem;
  align-items: start;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(20, 20, 40, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card__thumb {
  grid-row: 1 / span 3;
  display: grid; place-items: center;
  width: 96px; height: 96px;
  border-radius: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.product-card__thumb--1 { background: linear-gradient(140deg, #7c3aed, #4c1d95); }
.product-card__thumb--2 { background: linear-gradient(140deg, #2563eb, #1e1b4b); }
.product-card__thumb--3 { background: linear-gradient(140deg, #a78bfa, #22d3ee); }
.product-card h3 { font-family: var(--font-title); font-size: 1.2rem; font-weight: 600; }
.product-card p { font-size: 0.82rem; color: var(--ink-soft); margin: 0.3rem 0 0.7rem; }

.newsletter { padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--radius-lg); }
.newsletter__title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.newsletter p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.newsletter .field { display: flex; flex-direction: column; gap: 0.7rem; }
.newsletter input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 20, 40, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.newsletter input:focus { outline: none; border-color: var(--purple-2); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); }
.newsletter .btn { justify-content: center; }
.newsletter small { display: block; margin-top: 0.8rem; font-size: 0.74rem; color: var(--ink-mute); }
.form-msg { font-size: 0.82rem; font-weight: 600; min-height: 1em; margin-top: 0.6rem; }
.form-msg.is-ok { color: #16a34a; }
.form-msg.is-err { color: #dc2626; }

/* CTA */
.cta-final {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 400px at 80% 120%, rgba(124, 58, 237, 0.5), transparent 60%),
    linear-gradient(160deg, var(--dark), var(--dark-2));
  color: #fff;
  overflow: hidden;
}
.orb--cta {
  position: absolute;
  right: -60px; bottom: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.7), rgba(109, 40, 217, 0.4) 45%, transparent 70%);
  filter: blur(6px);
  animation: floatY 10s ease-in-out infinite;
}
.cta-final__title {
  position: relative;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.6rem;
  max-width: 16ch;
}
.cta-final__actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(50px, 7vw, 90px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.brand--footer .brand__mark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text span { color: rgba(255, 255, 255, 0.55); }
.brand--footer .brand__text em { color: var(--lavender); }
.footer__brand > p { font-size: 0.88rem; margin: 1.2rem 0 1.4rem; max-width: 34ch; }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { background: rgba(124, 58, 237, 0.4); color: #fff; transform: translateY(-3px); }

.footer__col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 1.2rem; }
.footer__col a { display: block; font-size: 0.88rem; padding: 0.32rem 0; color: rgba(255, 255, 255, 0.65); transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__news p { font-size: 0.86rem; margin-bottom: 1rem; }
.footer__form { display: flex; gap: 0.5rem; }
.footer__form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.85rem;
}
.footer__form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer__form input:focus { outline: none; border-color: var(--lavender); }
.footer__form button {
  display: grid; place-items: center;
  width: 44px; flex-shrink: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--grad-brand);
  transition: transform 0.3s var(--ease);
}
.footer__form button:hover { transform: translateY(-2px); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}
@keyframes helixSpin {
  0%, 100% { transform: scaleX(1); opacity: 0.9; }
  50% { transform: scaleX(0.1); opacity: 0.35; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes dnaFlow { to { background-position: 0 26px; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--purple-2); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
