/* --------------------------------------
   CUSTOM DESIGN TOKENS + COMPONENT STYLES
   -------------------------------------- */

/* GLOBAL RESETS */
html {
  font-family: "elza", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  color: white;
}

/* Offset for fixed navbar so headings don't hide under it */
:root { --nav-h: 80px; } /* adjust if your nav is taller/shorter */
#section-hero,
#section-problem,
#approach,
#section-results,
#cta,
#footer {
  scroll-margin-top: var(--nav-h);
}

body {
  background-color: #000;
  margin: 0;
  padding: 0;
  
}

body {
  margin: 0;
  background-color: #000;
}


/* Dot grid as a full-viewport layer */
.dotgrid-canvas{
  position: fixed;        /* stick to viewport */
  inset: 0;               /* top:0 right:0 bottom:0 left:0 */
  width: 100vw;
  height: 100vh;
  pointer-events: none;   /* never block clicks/scrolls */
  opacity: 0.7;          /* tune overall strength */
  z-index: -1;             /* put ABOVE black backgrounds but BELOW content */
}

/* If any section hides it, raise it slightly, or lower content z-indexes.
   Your hero/sections use z-10; z-index:2 is usually fine. Increase to 5–8 if needed. */

:root {
  --brand-blue: #006dff;
  --brand-cyan: #8DCEFC;
  --brand-pink: #f88aa7;
  --brand-violet:#764aec;
  --brand-green: #D8FF99;
  --brand-greener: #4cff5d;
  --gray-text: #A8A8A8;
  --gray-subtext: #6A6A6A;
  --dark-bg: #171717;
  --font-elza: "elza", sans-serif;
}

/* ==== GRADIENT TEXT UTILITIES ==== */
.text-blue-cyan {
  background: linear-gradient(210deg, var(--brand-cyan), var(--brand-blue));
  -webkit-background-clip: text;   /* Safari / iOS */
  background-clip: text;           /* Standard */
  color: transparent;              /* hide solid fill so gradient shows */
}
.text-violet-pink {
  background: linear-gradient(210deg, var(--brand-pink), var(--brand-violet));
  -webkit-background-clip: text;   /* Safari / iOS */
  background-clip: text;           /* Standard */
  color: transparent;              /* hide solid fill so gradient shows */
}
.text-green-greener {
  background: linear-gradient(210deg, var(--brand-green), var(--brand-greener));
  -webkit-background-clip: text;   /* Safari / iOS */
  background-clip: text;           /* Standard */
  color: transparent;              /* hide solid fill so gradient shows */
}

.gray-text {
  color: var(--gray-text);
}

/* TYPOGRAPHY */

/* Global Font Smoothing and Font Family */
html {
  -webkit-font-smoothing: antialiased;
  font-family: "elza", sans-serif;
}

/* Headings */
h1, .h1 {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;

}
h2, .h2 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
}
h3, .h3 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
}
h4, .h4 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
}

/* Paragraph text */
p, .paragraph {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
}

/* Variants */
.subtitle {
  font-size: 22px;
  font-weight: 500;
}
.body-small {
  font-size: 17px;
  font-weight: 300;
  color: #A8A8A8;
}
.kicker {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgb(106 106 106 / var(--tw-text-opacity, 1));
  letter-spacing: 1.5px;
}


.section-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
  color: white;
}

.section-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: var(--gray-text);
  max-width: 800px;
}

.section-supporting {
  font-size: 22px;
  font-weight: 500;
  color: white;
  max-width: 800px;
}

.section-supporting-gray {
  font-size: 22px;
  font-weight: 400;
  color: var(--gray-subtext);
}

/* PILL CONTAINER + CARDS */
.pill-container {
  background-color: var(--dark-bg);
  border-radius: 40px;
  padding: 100px 40px;
  margin: 60px 20px;
  overflow: hidden;
}

.pill-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
/*  scroll-snap-type: x mandatory;*/
  margin: 0 -40px;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge legacy */
}

.pill-scroll::-webkit-scrollbar {   /* Chrome, Safari, Edge Chromium */
  display: none;
}

.scroll-margin-start {
  margin-left: calc((100vw - 1280px) / 2);
}
.scroll-margin-end {
  margin-right: calc((100vw - 1280px) / 2);
}

.pill-card {
  background-color: #000;
  border-radius: 20px;
  min-width: 350px;
  max-width: 350px;
  scroll-snap-align: start;
  padding: 50px 30px;
  height: 280px;
  color: var(--gray-text);
  font-size: 17px;
  font-weight: 400;
}

.pill-card h3 {
  color: white;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 8px;
}

.icon-pill {
  color: var(--brand-green);
  font-size: 60px;
  margin-bottom: 12px;
}

/* === OUTCOMES VARIANTS === */

/* Section title with green-white gradient */
.outcome-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
  background: linear-gradient(to bottom, #D8FF99, #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Outcome pill card (less rounded) */
.outcome-card {
  min-width: 320px;
  max-width: 320px;
  background-color: black;
  border-radius: 16px;
  padding: 24px;
  flex-shrink: 0;
}

/* Icon override for outcomes */
.outcome-icon {
  font-size: 60px;
  color: #D8FF99;
  margin-bottom: 16px;
}


/* BUTTONS */
.btn-primary {
  background-color: white;
  color: black;
  border-radius: 999px;
  padding: 12px 40px;
  font-size: 22px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--brand-green);
}

/* NAVIGATION */
.nav-link {
  font-size: 16px;
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: white;
}

/* ═════ NAVBAR COMPONENT ═════ */
.navbar-fixed {
  position: fixed;
  inset: 0 auto auto 0;         /* top:0 left:0 */
  width: 100vw;
  z-index: 100;
  background: rgba(23,23,23,.70);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow: 0 1px 2px rgba(0,0,0,.6);
}

.navbar-logo {
  width: 220px;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Link container */
.nav-links {
  /* hidden by default (mobile) */
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: absolute;
  top: 100%; left: 0;
  width: 100vw;
  background: #000;
  padding: 24px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex !important;                   /* visible desktop */
    position: static;
    flex-direction: row;
    align-items: center;                        /* vertical centre */
    background: transparent;
    padding: 0;
    width: auto;
    gap: 24px;
  }
}



/* —— SPEED-UP: mobile dropdown should be pre-rendered —— */
.nav-links {
  /* mobile defaults: keep it in the DOM and just hide visually */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  display: block;                 /* no display toggling on mobile */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate3d(0, -8px, 0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;

  background: #000;               /* solid to avoid expensive backdrop-filter */
  will-change: opacity, transform;
  z-index: 101;                   /* above the bar */
  display: flex;
}

/* open state (toggled by JS) */
.nav-links.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s; /* show immediately */
}

/* Desktop layout overrides (≥768px) */
@media (min-width: 768px) {
  .nav-links {
    position: static;
    display: flex !important;     /* horizontal */
    flex-direction: row;
    align-items: center;
    gap: 24px;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    background: transparent;
  }
}

/* Make the hamburger physically responsive quickly */
.nav-toggle {
  touch-action: manipulation;     /* removes any lingering tap delay on mobile */
}



/* Utility when dropdown is open */
.nav-open { display: flex !important; }

/* ––– hamburger ––– */
/* Hamburger button  ─ mobile only ─ */
.nav-toggle {
  display: inline-flex;                 /* acts like flex without utility */
  width: 36px; height: 36px;
  border: 1px solid #555;
  border-radius: 9999px;
  color: #fff; background: transparent;
  align-items: center; justify-content: center;
}

@media (min-width: 768px) {
  .nav-toggle { display: none !important; }  /* overrides any utility */
}


/* ==== ARROW CONTROL COMPONENT ==== */
.arrow-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555;
  border-radius: 9999px;         /* full pill */
  color: #ffffff;
  background: transparent;
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
}
.arrow-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* ==== STEP-CARD COMPONENT ==== */
.step-card {
  background: var(--dark-bg);   /* #171717 */
  border-radius: 30px;
  padding: 100px 70px;
  margin: 20px 0px;
}

/* two-column grid (shape | text) */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .step-grid { grid-template-columns: 1fr 1fr; }
}

/* shape wrapper (300 × 300 circle / rhombus / rect) */
.step-shape {
  width: 400px;
  height: 360px;
  position: relative;
}
.step-shape svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* label + title inside shapes */
.step-label  { font-size: 16px; text-transform: uppercase; font-weight: 400; color: #000; letter-spacing:1.5px; }
.step-title  { font-size: 38px; font-weight: 500; color: #000; }

/* main supporting block under the three steps */
.support-block {margin: 150px 0;}
.support-block h3 { font-size: 42px; font-weight: 300; color: #fff; line-height:1.2; }
.support-block p  { font-size: 22px; color: var(--gray-subtext); max-width: 960px; margin: 0 auto; line-height: 1.3; margin-top: 20px;}

/* compact, center-aligned contact lines for CTA */
.cta-contact {
  font-size:22px;
  line-height: 1.2;
  color: #A8A8A8;
}

/* ==== FOOTER HELPERS (updated sizes) ==== */
.footer-divider {
  border-top: 1px solid #333;
}
.footer-container {
  padding: 20px;
}

.footer-logo   { font-size: 20px; font-weight: 500; color: #fff; }
.footer-meta   { font-size: 14px; font-weight: 400; color: #6A6A6A; }
.footer-link   { font-size: 14px; font-weight: 400; color: #fff; text-decoration: underline; }


/* ───  ANIMATED HERO GRAPHIC ─── */
/* ─── W R A P P E R ─── */
.svg-hero{width:100%;max-width:1300px;display:block;margin-inline:auto}

/* ─── L I N E  setup ─── */
.svg-hero .anim-line{
  stroke-dasharray:var(--len);            /* injected via JS  */
  stroke-dashoffset:var(--len);
}

.svg-hero .anim-shape{
  animation:subtle-shift 10s linear infinite;
  transition:fill .4s ease;
}
.svg-hero .anim-shape:hover{ fill:#ffffff; }


/* ═════════  MOBILE LAYER  (<768 px)  ═════════ */
@media (max-width: 767px) {

  /* --- TYPOGRAPHY --- */
  h1, .h1 { font-size: 50px; line-height: 1; }
  h2, .h2 { font-size: 32px; line-height: 1.3; }
  h3, .h3 { font-size: 24px; }
  p, .paragraph,
  .subtitle,
  .section-supporting,
  .section-supporting-gray { font-size: 20px; line-height: 1.5; }
  .body-small   { font-size: 15px; }
  .step-title   { font-size: 28px; }
  .support-block h3 { font-size: 30px; }

  /* --- HERO SECTION --- */
  #section-hero { padding: 140px 0 80px 0; }
  #section-hero .subtitle { margin-top: 24px; }
  #section-hero .svg-hero { height: auto; max-height: 260px; }
  #section-hero p.text-[38px] { font-size: 26px; padding-top: 100px; }

  /* --- NAVBAR --- */
  .nav-inner { padding: 12px 16px; }
  .nav-toggle { width: 32px; height: 32px; }

  /* --- PILL CONTAINERS --- */
  .pill-container {
    border-radius: 24px;
    padding: 60px 20px;
    margin: 40px 10px;
  }
  .pill-scroll { gap: 16px; }
  .pill-card {
    min-width: 270px;
    max-width: 270px;
    height: auto;
    padding: 32px 24px;
  }

  /* arrow buttons move below scroll area & center-align */
  .arrow-btn    { width: 40px; height: 40px; }
  #section-problem  .grid, 
  #section-results  .grid { grid-template-columns: 1fr; text-align: left; }
  #section-problem  .arrow-btn,
  #section-results  .arrow-btn { margin-top: 20px; }

  /* --- STEP CARDS --- */
  .step-card { padding: 60px 24px; }
  .step-shape { width: 280px; height: 250px; }
  .step-grid  { gap: 24px; }

  /* --- SUPPORT BLOCK --- */
  .support-block { margin: 50px 0 0; }
  .support-block p { font-size: 19px; }

  /* --- CTA --- */
  #cta { padding: 80px 24px; }
  #cta .btn-primary { font-size: 19px; padding: 10px 32px; margin-top: 60px; }
  .cta-contact { font-size: 19px; }

  /* --- FOOTER --- */
  .footer-container { padding: 16px; }
  .footer-logo { font-size: 18px; }
  .footer-meta,
  .footer-link { font-size: 13px; }

  /* --- UTILITY: hide horizontal scrollbar gap that appears on
       very small viewports when scroll-margin calc overflows --- */
  .scroll-margin-start {
    margin-left:50px;
  }
  .scroll-margin-end { margin-right: 50px; }
}

@media (max-width: 1400px) {
  .scroll-margin-start {
    margin-left:50px;
  }
  .scroll-margin-end { margin-right: 50px; }
}


/* ==== 3D tilt container + SVG perf ==== */
.tilt-3d { perspective: 900px; }
.svg-hero { will-change: transform; transform-style: preserve-3d; transition: transform .06s linear; }

/* ==== Shapes can scale around their own bbox center ==== */
.interactive-shape { transform-box: fill-box; transform-origin: center; transition: transform 120ms ease; }

/* Optional: glow softness tunable via filter; pulse overlay is semi-opaque */
.pulse-line { opacity: .9; }

/* GPU-friendly transforms for the hero SVG */
.svg-hero {
  will-change: transform;
  transform-style: preserve-3d;
}

