:root {
  --bg: #001933;
  --accent: #238FFD;
  --accent2: #0066cc;
  --white: #FFFFFF;
  --white75: rgba(255,255,255,0.75);
  --white40: rgba(255,255,255,0.40);
  --white15: rgba(255,255,255,0.15);
  --white08: rgba(255,255,255,0.08);
  --white04: rgba(255,255,255,0.04);
  --card-border: rgba(35,143,253,0.25);
  --card-bg: rgba(255,255,255,0.04);
  --glow: rgba(35,143,253,0.35);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg) !important;
  color: var(--white) !important;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #001020; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── CANVAS BACKGROUND ── */
#canvas-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.35;
}

/* ── CURSOR GLOW ── */
#cursor-glow {
  position: fixed; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,143,253,0.12) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 1;
  transition: opacity 0.3s;
}


#hero .container,
#overview .container,
#problems .container,
#solution .container,
#results .container,
#techstack .container,
#testimonial .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}
section { position: relative; z-index: 2; }


/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 60px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(35,143,253,0.1);
  border: 1px solid rgba(35,143,253,0.25);
  padding: 8px 16px; border-radius: 30px; margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.6); }
}
.hero-title {
  font-size: 72px; font-weight: 900; line-height: 1.0;
  letter-spacing: -3px; margin-bottom: 24px;
}
.hero-title .word-ibvm {
  display: block;
 color: #fff;
}
.hero-title .word-chain {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, #80c0ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: var(--white75); line-height: 1.7;
  max-width: 440px; margin-bottom: 40px; font-weight: 400;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 12px; border: none;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(35,143,253,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(35,143,253,0.6);
  background: #3a9eff;
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white75);
  font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(35,143,253,0.08);
}

/* Hero visual */
.hero-visual { position: relative; height: 560px; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); animation: float-orb 8s ease-in-out infinite;
}
.hero-orb.o1 {
  width: 300px; height: 300px; top: 50px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(35,143,253,0.5) 0%, transparent 70%);
}
.hero-orb.o2 {
  width: 200px; height: 200px; bottom: 80px; right: 20px;
  background: radial-gradient(circle, rgba(0,100,220,0.4) 0%, transparent 70%);
  animation-delay: -3s;
}
@keyframes float-orb {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-20px); }
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(35,143,253,0.25);
  animation: rotate-ring 20s linear infinite;
}
.hero-ring.r1 { width: 320px; height: 320px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hero-ring.r2 { width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 30s; animation-direction: reverse; border-style: dashed; opacity: 0.4; }
.hero-ring.r3 { width: 520px; height: 520px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 40s; opacity: 0.2; }
@keyframes rotate-ring {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
.hero-node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
  animation: pulse-node 3s ease-in-out infinite;
}
@keyframes pulse-node {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.7); }
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(35,143,253,0.2);
  border-radius: 14px; padding: 14px 18px;
  animation: float-card 6s ease-in-out infinite;
}
.float-card.fc1 { top: 30px; right: 30px; animation-delay: -1s; }
.float-card.fc2 { bottom: 100px; left: 10px; animation-delay: -3s; }
.float-card.fc3 { top: 200px; right: 0; animation-delay: -5s; }
@keyframes float-card {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.fc-label { font-size: 10px; color: var(--white40); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.fc-value { font-size: 18px; font-weight: 700; color: var(--white); }
.fc-value span { color: var(--accent); }
.fc-sub { font-size: 11px; color: var(--white40); margin-top: 2px; }

/* L2 viz */
.l2-diagram {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 240px; text-align: center;
}
.l2-layer {
  padding: 10px 20px; border-radius: 10px; margin: 6px 0;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  position: relative;
}
.l2-layer.bitcoin {
  background: linear-gradient(135deg, rgba(247,147,26,0.2), rgba(247,147,26,0.1));
  border: 1px solid rgba(247,147,26,0.4);
  color: #f7931a;
}
.l2-layer.ibvm {
  background: linear-gradient(135deg, rgba(35,143,253,0.25), rgba(35,143,253,0.1));
  border: 1px solid rgba(35,143,253,0.5);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(35,143,253,0.2);
}
.l2-arrow {
  width: 2px; height: 24px; background: linear-gradient(rgba(255,255,255,0.3), transparent);
  margin: 0 auto; position: relative;
}
.l2-arrow::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.3);
}

/* ── ICONS (replace emoji) ── */
.inline-icon {
  display: inline-block; vertical-align: -2px;
  flex-shrink: 0;
}

/* ── OVERVIEW ── */
#overview { padding: 0px 0; }
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: block;
}
.section-title {
  font-size: 48px; font-weight: 800; line-height: 1.1;
  letter-spacing: -2px; margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #80c0ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lead {
  font-size: 17px; color: var(--white75); line-height: 1.7; margin-bottom: 32px;
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  font-size: 15px; color: var(--white75);
  transition: all 0.3s;
}
.feature-list li:hover {
  background: rgba(35,143,253,0.08);
  border-color: rgba(35,143,253,0.4);
  color: var(--white);
  transform: translateX(4px);
}
.feature-icon {
  width: 28px; height: 28px; min-width: 28px; border-radius: 8px;
  background: rgba(35,143,253,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

/* Architecture visual */
.arch-visual {
  position: relative; height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.arch-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(35,143,253,0.2);
  border-radius: 16px; padding: 24px;
  width: 260px; text-align: center; position: relative;
  z-index: 2;
}
.arch-card-title { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.arch-card-body { font-size: 12px; color: var(--white40); line-height: 1.5; }
.arch-orb {
  position: absolute; border-radius: 50%; filter: blur(40px);
  background: radial-gradient(circle, rgba(35,143,253,0.3) 0%, transparent 70%);
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35,143,253,0.3), transparent);
  margin: 0 auto; width: 80%;
}

/* ── PROBLEMS ── */
#problems { padding: 70px 0; }
.problem-header { text-align: center; margin-bottom: 70px; }
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.problem-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,100,100,0.15);
  border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}
.problem-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,80,80,0.6), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.problem-card:hover {
  border-color: rgba(255,80,80,0.35);
  background: rgba(255,80,80,0.05);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.problem-card:hover::before { opacity: 1; }
.problem-num {
  font-size: 48px; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.05); letter-spacing: -2px;
  position: absolute; top: 16px; right: 24px;
}
.problem-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,100,100,0.9);
  background: rgba(255,80,80,0.1);
  border: 1px solid rgba(255,80,80,0.2);
  padding: 5px 10px; border-radius: 20px; margin-bottom: 16px;
}
.problem-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,100,100,0.9);
}
.problem-text { font-size: 16px; color: var(--white75); line-height: 1.65; }

/* ── SOLUTION ── */
#solution { padding: 70px 0; }
.solution-header { text-align: center; margin-bottom: 70px; }
.solution-blocks { display: flex; flex-direction: column; gap: 24px; }
.sol-block {
  display: grid; gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 20px; overflow: hidden;
  transition: all 0.4s;
}
.sol-block:hover {
  border-color: rgba(35,143,253,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.sol-block.left-accent { grid-template-columns: 6px 1fr; }
.sol-block.right-accent { grid-template-columns: 1fr 6px; }
.sol-stripe-left { background: linear-gradient(180deg, var(--accent), #0040aa); border-radius: 20px 0 0 20px; }
.sol-stripe-right { background: linear-gradient(180deg, #0040aa, var(--accent)); border-radius: 0 20px 20px 0; }
.sol-content {
  padding: 32px 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.sol-icon-area {
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.sol-icon-box {
  width: 100px; height: 100px; border-radius: 24px;
  background: rgba(35,143,253,0.12);
  border: 1px solid rgba(35,143,253,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 40px rgba(35,143,253,0.15);
}
.sol-text-area {}
.sol-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px; display: block;
}
.sol-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.sol-body { font-size: 15px; color: var(--white75); line-height: 1.65; }

/* ── RESULTS ── */
#results { padding: 70px 0; }
.results-header { text-align: center; margin-bottom: 70px; }
.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 24px;
}
.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(35,143,253,0.2);
  border-radius: 20px; padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: all 0.4s; cursor: default;
}
.metric-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.metric-card:hover {
  background: rgba(35,143,253,0.08);
  border-color: rgba(35,143,253,0.5);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,25,51,0.6), 0 0 30px rgba(35,143,253,0.15);
}
.metric-card:hover::after { opacity: 1; }
.metric-platform {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white40); margin-bottom: 12px;
}
.metric-value {
  font-size: 44px; font-weight: 900; line-height: 1;
  letter-spacing: -2px; color: var(--white);
  margin-bottom: 6px;
}
.metric-value .metric-accent { color: var(--accent); }
.metric-label { font-size: 14px; color: var(--white75); margin-bottom: 16px; line-height: 1.4; }
.metric-bar-wrap {
  height: 4px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.metric-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #80c0ff);
  animation: bar-grow 2s ease-out forwards;
  transform-origin: left;
}
@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.metric-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,143,253,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* bottom CTA row */
.presale-card {
  background: linear-gradient(135deg, rgba(35,143,253,0.15), rgba(0,64,170,0.1));
  border: 1px solid rgba(35,143,253,0.35);
  border-radius: 20px; padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.presale-content {}
.presale-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px; display: block;
}
.presale-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.presale-body { font-size: 15px; color: var(--white75); }
.presale-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(35,143,253,0.2); border: 1px solid rgba(35,143,253,0.4);
  border-radius: 12px; padding: 12px 24px;
  font-size: 14px; font-weight: 700; color: var(--accent);
  white-space: nowrap;
}

/* ── TECH STACK ── */
#techstack { padding: 70px 0; }
.tech-header { text-align: center; margin-bottom: 60px; }
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px; padding: 30px 24px;
  display: flex; align-items: center; gap: 18px;
  position: relative; overflow: hidden;
  transition: all 0.4s; cursor: default;
}
.tech-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.tech-card:hover {
  background: rgba(35,143,253,0.08);
  border-color: rgba(35,143,253,0.5);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,25,51,0.6), 0 0 30px rgba(35,143,253,0.15);
}
.tech-card:hover::after { opacity: 1; }
.tech-card-icon {
  width: 56px; height: 56px; min-width: 56px; border-radius: 14px;
  background: rgba(35,143,253,0.12);
  border: 1px solid rgba(35,143,253,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: all 0.3s;
}
.tech-card:hover .tech-card-icon {
  background: rgba(35,143,253,0.2);
  border-color: rgba(35,143,253,0.5);
  box-shadow: 0 0 24px rgba(35,143,253,0.3);
}
.tech-card-text {}
.tech-card-name { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: -0.2px; }
.tech-card-role {
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white40);
}

/* ── TESTIMONIAL ── */
#testimonial { padding: 70px 0; }
.testimonial-wrap {
  max-width: 860px; margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(35,143,253,0.2);
  border-radius: 28px; padding: 60px;
  position: relative; overflow: hidden;
  text-align: center;
}
.testimonial-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,143,253,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.quote-mark {
  font-size: 80px; line-height: 1; color: rgba(35,143,253,0.2);
  margin-bottom: 8px;
  display: block;
}
.testimonial-quote {
  font-size: 20px; line-height: 1.7; color: var(--white75);
  margin-bottom: 40px; font-weight: 400; font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0044cc);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff;
  border: 2px solid rgba(35,143,253,0.4);
}
.author-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.author-title { font-size: 13px; color: var(--white40); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* JS-off / noscript fallback — ensure content never stays hidden */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* ── AMBIENT ORBS ── */
.ambient-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(100px); z-index: 0;
}

/* section headings alignment */
.problem-header .section-title,
.solution-header .section-title,
.results-header .section-title,
.tech-header .section-title {
  text-align: center;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet  ≤ 900px
═══════════════════════════════════════ */
@media (max-width: 900px) {

  /* --- scoped container (beats the desktop 48px rule) --- */
  #hero .container,
  #overview .container,
  #problems .container,
  #solution .container,
  #results .container,
  #techstack .container,
  #testimonial .container {
    padding: 0 24px;
  }

  /* --- hero --- */
  #hero { padding: 80px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 52px; letter-spacing: -2px; }
  .hero-subtitle { font-size: 16px; max-width: 100%; margin-bottom: 28px; }
  .hero-visual { height: 300px; }

  /* shrink rings so they don't overflow phone width */
  .hero-ring.r1 { width: 220px; height: 220px; }
  .hero-ring.r2 { width: 300px; height: 300px; }
  .hero-ring.r3 { display: none; }

  /* --- overview --- */
  #overview .container { padding-top: 60px !important; }
  .overview-grid { grid-template-columns: 1fr; gap: 40px; }
  .arch-visual { height: auto; min-height: 360px; padding: 20px 0; }

  /* --- section typography --- */
  .section-title { font-size: 36px; letter-spacing: -1.5px; }
  .section-lead  { font-size: 14px; }
.feature-list li, .presale-body{
    font-size: 14px;
}
  /* --- problems --- */
  #problems { padding: 60px 0; }
  .problem-header { margin-bottom: 40px; }
  .problem-grid { grid-template-columns: 1fr; }

  /* --- solution --- */
  #solution { padding: 60px 0; }
  .solution-header { margin-bottom: 40px; }
  /* override inline direction:rtl on right-accent blocks */
  .sol-content {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    padding: 24px 20px;
    gap: 20px;
  }

  /* --- results --- */
  #results { padding: 60px 0; }
  .results-header { margin-bottom: 40px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-value { font-size: 38px; }
  .presale-card { flex-direction: column; text-align: center; padding: 28px 24px; }
  .presale-title { font-size: 22px; }

  /* --- tech --- */
  #techstack { padding: 60px 0; }
  .tech-header { margin-bottom: 40px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }

  /* --- testimonial --- */
  #testimonial { padding: 60px 0; }
  .testimonial-wrap { padding: 40px 28px; }
  .testimonial-quote { font-size: 17px; margin-bottom: 28px; }
  .quote-mark { font-size: 60px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile  ≤ 600px
═══════════════════════════════════════ */
@media (max-width: 600px) {

  /* --- scoped container (tighter on phones) --- */
  #hero .container,
  #overview .container,
  #problems .container,
  #solution .container,
  #results .container,
  #techstack .container,
  #testimonial .container {
    padding: 0 16px;
  }

  /* --- hero --- */
  #hero { min-height: auto; padding: 80px 0 40px; }
  .hero-title { font-size: 42px; letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary,
  .btn-ghost { width: 100%; justify-content: center;         padding: 8px 12px;
        font-size: 14px;}
  .hero-visual { height: 260px; }
  .hero-ring.r2 { display: none; }
  /* hide floating stat cards — they overlap the L2 diagram on small screens */
  .float-card { display: none; }
.l2-layer {
    padding: 7px 16px;
}
  /* --- section typography --- */
  .section-title { font-size: 30px; letter-spacing: -1px; }

  /* --- overview --- */
  #overview .container { padding-top: 44px !important; }
  .arch-visual { min-height: 300px; }
  /* let arch-cards fill available width */
  .arch-card { width: auto !important; max-width: 100%; box-sizing: border-box; }

  /* --- problems --- */
  #problems { padding: 50px 0; }
  .problem-card { padding: 24px 18px; }
  .problem-num { font-size: 36px; }
  .problem-text { font-size: 14px; }

  /* --- solution --- */
  #solution { padding: 50px 0; }
  .sol-content { padding: 20px 16px; gap: 16px; }
  .sol-icon-box { width: 80px; height: 80px; border-radius: 18px; }
  .sol-title { font-size: 18px; }
  .sol-body  { font-size: 14px; }

  /* --- results --- */
  #results { padding: 50px 0; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-value { font-size: 40px; }

  /* --- tech --- */
  #techstack { padding: 50px 0; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { padding: 20px 16px; }

  /* --- testimonial --- */
  #testimonial { padding: 50px 0; }
  .testimonial-wrap { padding: 28px 20px; border-radius: 16px; }
  .testimonial-quote { font-size: 15px; }
  .testimonial-author { flex-direction: column; gap: 10px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small phones  ≤ 400px
═══════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-title  { font-size: 36px; }
  .section-title { font-size: 26px; }
  .hero-visual { height: 200px; }
  .hero-ring.r1 { width: 170px; height: 170px; }
  .presale-badge { padding: 10px 14px; font-size: 12px; }
  .presale-title { font-size: 20px; }
  .testimonial-wrap { padding: 22px 14px; }
  .testimonial-quote { font-size: 14px; }
  .problem-card { padding: 20px 14px; }
  .sol-content { padding: 16px 12px; }
}
