:root {
      --bg: #061018;
      --bg-soft: #0b1824;
      --bg-card: #101f2d;
      --text: #f4f8fb;
      --muted: #a8b8c7;
      --line: rgba(255, 255, 255, 0.12);
      --accent: #38d6ff;
      --accent-2: #46f0b5;
      --danger: #ff6f61;
      --warn: #ffc857;
      --radius: 22px;
      --max: 1180px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at top right, rgba(56, 214, 255, 0.18), transparent 34%),
        radial-gradient(circle at 20% 20%, rgba(70, 240, 181, 0.08), transparent 30%),
        var(--bg);
      color: var(--text);
      line-height: 1.72;
      font-size: 18px;
    }

    a { color: inherit; text-decoration: none; }
    .container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

    .eyebrow {
      display: none;
    }

    .section { padding: 96px 0; }
    .section-header { max-width: 820px; margin-bottom: 44px; }
    
.section-subtitle {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.72;
  margin-top: 4px;
  max-width: 820px;
}

.section-header h2 {
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      line-height: 1.1;
      margin-bottom: 16px;
      letter-spacing: -0.035em;
      font-weight: 640;
      color: var(--text);
    }
    .section-header p {
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.65;
      max-width: 720px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 22px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid var(--line);
      transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
    }
    .button:hover { transform: translateY(-2px); }
    .button.primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: #041018;
      border: none;
      box-shadow: 0 18px 48px rgba(56, 214, 255, 0.18);
    }
    .button.secondary { color: var(--text); background: rgba(255, 255, 255, 0.05); }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(18px);
      background: rgba(6, 16, 24, 0.76);
      border-bottom: 1px solid var(--line);
    }
    .nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
    .logo { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.04em; }
    .logo span { color: var(--accent); }
    .nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 0.95rem; }
    .nav-links a:hover { color: var(--text); }

    .hero { min-height: auto; display: grid; align-items: center; padding: clamp(72px, 8vw, 112px) 0; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: clamp(32px, 5vw, 60px); align-items: center; }
    .hero h1 {
      font-size: clamp(2.7rem, 3.7vw, 4.1rem);
      line-height: 1.04;
      letter-spacing: -0.045em;
      font-weight: 720;
      max-width: 15ch;
      margin-bottom: 20px;
    }
    
.hero-subheadline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: #d8e2ec;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero p {
      color: var(--muted);
      font-size: 1.12rem;
      max-width: 680px;
      margin-bottom: 28px;
      line-height: 1.72;
      opacity: 0.92;
    }
    .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

    .visual-card {
      position: relative;
      min-height: clamp(360px, 42vw, 500px);
      border-radius: 34px;
      border: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(56, 214, 255, 0.14), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--bg-card);
      overflow: hidden;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
    }
    .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle at center, black, transparent 76%); }
    .glow-orb { position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; background: radial-gradient(circle, rgba(56,214,255,0.38), transparent 68%); filter: blur(8px); }
    .wave { position: absolute; inset: 82px 34px auto 34px; height: 210px; border-radius: 24px; border: 1px solid var(--line); background: rgba(4, 16, 24, 0.6); overflow: hidden; }
    .wave svg { width: 100%; height: 100%; }
    .metric-row { position: absolute; left: 34px; right: 34px; bottom: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .metric { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.055); backdrop-filter: blur(14px); }
    .metric strong { display: block; font-size: 1.55rem; line-height: 1; margin-bottom: 8px; }
    .metric span { color: var(--muted); font-size: 0.86rem; }

    .cards-3, .cards-4, .cards-6 { display: grid; gap: 22px; }
    .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)); box-shadow: 0 20px 50px rgba(0,0,0,0.16); }
    .card h3 { font-size: 1.18rem; margin-bottom: 10px; }
    .card p {
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.7;
    }
    .icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(56, 214, 255, 0.14); border: 1px solid rgba(56, 214, 255, 0.32); margin-bottom: 18px; display: grid; place-items: center; color: var(--accent-2); }
    .icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

    .flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
    .flow .card { min-height: 190px; }

    .figure-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; margin-top: 26px; }
    .image-card { padding: 20px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,0.045); overflow: hidden; }
    .image-card img { width: 100%; height: auto; display: block; border-radius: 18px; background: rgba(255,255,255,0.92); }
    .protocols { display: grid; gap: 12px; margin-top: 18px; }
    .protocol { display: flex; justify-content: space-between; gap: 12px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.035); color: var(--muted); }
    .protocol strong { color: var(--text); }

    .results { background: linear-gradient(180deg, rgba(56, 214, 255, 0.08), rgba(70, 240, 181, 0.035)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .results-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 36px; align-items: stretch; }
    
    .result-number span { color: var(--accent-2); }
    .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .chart-card { padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: rgba(5, 14, 22, 0.68); }
    .chart-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
    .chart-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
    .chart svg { width: 100%; height: 250px; display: block; }
    .caption { color: var(--muted); font-size: 0.86rem; margin-top: 18px; }

    .product-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
    .list { display: grid; gap: 14px; margin-top: 22px; }
    .list li {
      list-style: none;
      padding: 16px 18px;
      border: 1px solid var(--line);
      border-radius: 14px;
      color: var(--muted);
      background: rgba(255, 255, 255, 0.035);
      font-size: 1rem;
      line-height: 1.65;
    }

    .cta { text-align: center; padding: 100px 0; background: radial-gradient(circle at center, rgba(56, 214, 255, 0.16), transparent 52%); }
    .cta h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -0.06em; margin-bottom: 22px; }
    .cta p { max-width: 690px; color: var(--muted); margin: 0 auto 32px; font-size: 1.12rem; }
    footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); }
    .footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

    @media (max-width: 1020px) {
      .cards-6 { grid-template-columns: repeat(2, 1fr); }
      .chart-grid, .figure-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 920px) {
      .nav-links { display: none; }
      .hero-grid, .results-grid, .product-grid { grid-template-columns: 1fr; }
      .cards-3, .cards-4, .flow { grid-template-columns: 1fr; }
      .hero { padding: 56px 0 72px; }
      .visual-card { min-height: 430px; }
      .metric-row { grid-template-columns: 1fr; }
      .wave { inset: 46px 22px auto 22px; }
    }
    @media (max-width: 620px) {
      .cards-6 { grid-template-columns: 1fr; }
    }
    @media (max-width: 520px) {
      .container { width: min(100% - 28px, var(--max)); }
      .section { padding: 72px 0; }
      .hero h1 {
      font-size: clamp(2.35rem, 3.1vw, 3.5rem);
      line-height: 1.04;
      letter-spacing: -0.04em;
      margin-bottom: 18px;
      font-weight: 680;
      color: var(--text);
      max-width: 920px;
    }
      .button { width: 100%; }
      .hero-actions { width: 100%; }
    }
  
/* --- Readability and section hierarchy repair --- */
body {
  font-size: 18px;
  line-height: 1.72;
}

h1, h2, h3 {
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.4rem, 5.6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 980px;
}

.hero-subheadline {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.22;
  font-weight: 500;
  color: #d8e2ec;
  max-width: 820px;
  margin: 0 0 22px;
}

.hero p {
  font-size: clamp(1.05rem, 1.25vw, 1.16rem);
  line-height: 1.72;
  max-width: 700px;
}

.section-header {
  max-width: 900px;
  margin-bottom: 46px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 680;
  color: var(--text);
  margin-bottom: 14px;
}

.section-subtitle,
.section-header p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  max-width: 820px;
}

.card h3 {
  font-size: clamp(1.22rem, 1.5vw, 1.38rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.card p,
.card li,
.list li,
.price,
.chart-labels,
.metric span,
footer {
  font-size: 1.02rem;
  line-height: 1.68;
}

.metric strong {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.nav-links {
  font-size: 1rem;
}

.button {
  font-size: 1rem;
}

/*
@media (max-width: 920px) {
  body { font-size: 17px; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
  .hero-subheadline { font-size: clamp(1.45rem, 5vw, 2rem); }
  .section-header h2 { font-size: clamp(2.25rem, 7vw, 3.2rem); }
}
*/
@media (max-width: 920px) {
  .nav {
    height: auto;
    min-height: 78px;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    flex-direction: column;
  }

  .nav-links {
    display: flex;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .nav-links .button {
    padding: 10px 14px;
  }
}

@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.6rem); }
  .hero-subheadline { font-size: 1.35rem; }
  .section-header h2 { font-size: 2.25rem; }
  .section { padding: 68px 0; }
}

/* --- Hamburger / mobile nav --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

header.open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header.open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
header.open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
  .hamburger {
    display: flex;
  }

  .nav {
    flex-direction: row;
    height: 78px;
    min-height: 78px;
    align-items: center;
    padding: 0;
    gap: 0;
    position: static;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px 16px;
    background: rgba(6, 16, 24, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    overflow: visible;
    white-space: normal;
    width: auto;
    font-size: 1.05rem;
  }

  header.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    color: var(--muted);
  }

  .nav-links a:last-child {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .nav-links a:hover {
    color: var(--text);
  }
@media (max-width: 920px) {
  .visual-card {
    min-height: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .visual-card .wave {
    position: relative;
    inset: auto;
    height: 220px;
    width: 100%;
  }

  .visual-card .metric-row {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
  }
}
}

/* =========================================================
   Hero layout final adjustment — desktop + responsive
   Place this at the very end of styles.css
   ========================================================= */

:root {
  --max: 1320px;
}

body {
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 214, 255, 0.18), transparent 34%),
    radial-gradient(circle at 16% 30%, rgba(70, 240, 181, 0.075), transparent 28%),
    var(--bg);
}

.hero {
  min-height: calc(100vh - 78px);
  padding: clamp(76px, 8vh, 118px) 0 clamp(52px, 7vh, 90px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(480px, 0.88fr) minmax(620px, 1.12fr);
  gap: clamp(72px, 7vw, 120px);
  align-items: center;
}

.hero-grid > div:first-child {
  max-width: 620px;
}

.hero-grid > div:first-child::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 22px rgba(56, 214, 255, 0.32);
}

.hero h1 {
  font-size: clamp(2.65rem, 3.15vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 740;
  max-width: 600px;
  margin: 0 0 24px;
}


.hero-subheadline {
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  line-height: 1.24;
  font-weight: 500;
  max-width: 580px;
  margin: 0 0 26px;
  color: #dce8f1;
}

.hero p {
  font-size: clamp(1.04rem, 1.18vw, 1.18rem);
  line-height: 1.68;
  max-width: 590px;
  margin-bottom: 18px;
  color: #b9c8d6;
  opacity: 0.96;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-actions .button {
  min-height: 56px;
  padding: 15px 24px;
  font-size: 1rem;
}

.visual-card {
  width: 100%;
  min-width: 0;
  min-height: clamp(520px, 42vw, 610px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 4%, rgba(56, 214, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--bg-card);
}

.wave {
  inset: 48px 32px auto 32px;
  height: clamp(238px, 18vw, 280px);
  border-radius: 18px;
}

.metric-row {
  left: 32px;
  right: 32px;
  bottom: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  min-width: 0;
  min-height: 185px;
  padding: 26px 22px;
  border-radius: 18px;
}

.metric strong {
  display: block;
  font-size: clamp(1.55rem, 1.8vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  white-space: nowrap;
}

.metric span {
  display: block;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.55;
  color: #b7c5d2;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-grid > div:first-child {
    max-width: 780px;
  }

  .hero h1,
  .hero-subheadline,
  .hero p {
    max-width: 760px;
  }

  .visual-card {
    max-width: 820px;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding: 58px 0 76px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-grid > div:first-child::before {
    margin-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 8vw, 4.2rem);
  }

  .visual-card {
    min-height: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .visual-card .wave {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(210px, 34vw, 270px);
  }

  .visual-card .metric-row {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .metric {
    min-height: 150px;
    padding: 20px 18px;
  }

  .metric strong {
    font-size: clamp(1.25rem, 3vw, 1.55rem);
  }
}

@media (max-width: 720px) {
  .visual-card .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem);
    line-height: 1.07;
  }

  .hero-subheadline {
    font-size: 1.32rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }
}
