/* ═══════════════════════════════════════════════════════════
   CUTFORM — Main Stylesheet

   TABLE OF CONTENTS
   ─────────────────
   1.  Design Tokens
   2.  Reset & Base
   3.  Custom Cursor
   4.  Noise Overlay
   5.  Navigation
   6.  Hero
   7.  Section Utilities
   8.  How It Works — Steps
   9.  Foam Demo Visual
   10. Materials
   11. Metrics Bar
   12. Add-ons
   13. CTA Section
   14. Footer
   15. Animations & Scroll Reveal
   16. Responsive
   ═══════════════════════════════════════════════════════════ */


/* ── 1. DESIGN TOKENS ────────────────────────────────────── */
:root {
  --cf-black:         #0A1628;
  --cf-navy-900:      #0D1E38;
  --cf-navy-800:      #122448;
  --cf-navy-700:      #1A2E58;
  --cf-navy-600:      #223868;
  --cf-navy-500:      #2B4580;
  --cf-blue-400:      #3A5FAE;
  --cf-blue-300:      #4D7DD4;
  --cf-blue-200:      #6B9BE8;
  --cf-blue-100:      #9ABCF4;
  --cf-blue-50:       #D0E3FB;
  --cf-accent:        #4D7DD4;
  --cf-accent-bright: #6B9BE8;
  --cf-white:         #F0F5FF;
  --cf-muted:         #8BAAD6;
  --cf-subtle:        #3A527A;
  --cf-border:        rgba(75, 130, 220, 0.22);
  --cf-border-bright: rgba(107, 155, 232, 0.4);

  --cf-display: 'Bebas Neue', sans-serif;
  --cf-sans:    'IBM Plex Sans', sans-serif;
  --cf-mono:    'IBM Plex Mono', monospace;
}


/* ── 2. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--cf-sans);
  background: var(--cf-navy-900);
  color: var(--cf-white);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }


/* ── 3. CUSTOM CURSOR ────────────────────────────────────── */
.cf-cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--cf-accent-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, opacity .2s;
}
.cf-cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(90,141,224,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, border-color .2s;
}


/* ── 4. NOISE OVERLAY ────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .035;
  pointer-events: none;
  z-index: 1000;
}


/* ── 5. NAVIGATION ───────────────────────────────────────── */
.cf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(4,7,15,.95) 0%, transparent 100%);
}

/* Logo */
.cf-logo {
  font-family: var(--cf-display);
  font-size: 24px;
  letter-spacing: .12em;
  color: var(--cf-white);
  text-decoration: none;
}
.cf-logo span { color: var(--cf-accent-bright); }
.cf-logo-img  { height: 32px; width: auto; }

/* Nav links */
.cf-nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.cf-nav-links a {
  font-family: var(--cf-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-muted);
  transition: color .2s;
}
.cf-nav-links a:hover { color: var(--cf-white); }

/* Nav CTA */
.cf-nav-cta {
  font-family: var(--cf-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-navy-900);
  background: var(--cf-accent-bright);
  padding: 10px 20px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  cursor: none;
}
.cf-nav-cta:hover { background: var(--cf-blue-100); transform: translateY(-1px); }

/* Hamburger toggle (mobile only) */
.cf-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.cf-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cf-muted);
  border-radius: 2px;
}


/* ── 6. HERO ─────────────────────────────────────────────── */
.cf-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Grid background */
.cf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(75,130,220,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,130,220,.1) 1px, transparent 1px),
    linear-gradient(rgba(75,130,220,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,130,220,.04) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

/* Radial glow */
.cf-hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(61,106,196,.3) 0%, transparent 65%);
  pointer-events: none;
}

/* Floating foam image */
.cf-hero-foam-img {
  position: absolute;
  right: 10%; top: 50%;
  transform: translateY(-50%);
  width: 52%; max-width: 640px;
  pointer-events: none;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,.9) 20%, rgba(0,0,0,.5) 55%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,.9) 20%, rgba(0,0,0,.5) 55%, transparent 80%);
  opacity: 0;
  animation: cfFadeIn 1.4s ease forwards .7s;
}

.cf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cf-hero-eyebrow {
  font-family: var(--cf-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cf-accent-bright);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: cfFadeUp .6s ease forwards .2s;
}
.cf-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--cf-accent-bright);
}

.cf-hero h1 {
  font-family: var(--cf-display);
  font-size: clamp(72px, 10vw, 130px);
  line-height: .92;
  letter-spacing: .02em;
  color: var(--cf-white);
  margin-bottom: 40px;
  max-width: 900px;
  opacity: 0;
  animation: cfFadeUp .7s ease forwards .35s;
}
.cf-accent-word {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cf-blue-300);
}

.cf-hero-body {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  opacity: 0;
  animation: cfFadeUp .7s ease forwards .5s;
}
.cf-hero-desc { max-width: 440px; }
.cf-hero-desc p {
  font-size: 16px;
  font-weight: 300;
  color: var(--cf-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.cf-hero-actions { display: flex; align-items: center; gap: 24px; }

/* Buttons */
.cf-btn-primary {
  font-family: var(--cf-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-navy-900);
  background: var(--cf-accent-bright);
  border: none;
  padding: 14px 28px;
  cursor: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s, transform .15s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.cf-btn-primary:hover { background: var(--cf-blue-100); transform: translateY(-2px); }
.cf-btn-primary.cf-btn-lg {
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  padding: 16px 32px;
  font-size: 13px;
}

.cf-btn-ghost {
  font-family: var(--cf-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-muted);
  background: none;
  border: none;
  cursor: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.cf-btn-ghost:hover { color: var(--cf-white); }
.cf-btn-ghost svg { transition: transform .2s; }
.cf-btn-ghost:hover svg { transform: translateX(4px); }

/* Stats */
.cf-hero-stats { display: flex; flex-direction: column; gap: 24px; flex-shrink: 0; }
.cf-stat { border-left: 1px solid var(--cf-border-bright); padding-left: 16px; }
.cf-stat-num {
  font-family: var(--cf-display);
  font-size: 32px;
  letter-spacing: .05em;
  color: var(--cf-white);
  line-height: 1;
}
.cf-stat-num span { color: var(--cf-accent-bright); }
.cf-stat-label {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cf-muted);
  margin-top: 3px;
}

/* Scroll hint */
.cf-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: cfFadeIn 1s ease forwards 1.2s;
}
.cf-scroll-hint span {
  font-family: var(--cf-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cf-subtle);
}
.cf-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cf-accent), transparent);
  animation: cfScrollPulse 2s ease-in-out infinite;
}


/* ── 7. SECTION UTILITIES ────────────────────────────────── */
.cf-section {
  padding: 100px 48px;
  position: relative;
}

.cf-section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 60px;
}
.cf-section-num {
  font-family: var(--cf-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--cf-subtle);
}
.cf-section-title {
  font-family: var(--cf-display);
  font-size: 48px;
  letter-spacing: .04em;
  color: var(--cf-white);
  line-height: 1;
}
.cf-section-line {
  flex: 1;
  height: 1px;
  background: var(--cf-border);
  margin-bottom: 4px;
}


/* ── 8. HOW IT WORKS — STEPS ─────────────────────────────── */
.cf-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.cf-step-card {
  background: var(--cf-navy-700);
  border: 1px solid var(--cf-border);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.cf-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cf-accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.cf-step-card:hover { border-color: var(--cf-border-bright); background: var(--cf-navy-600); }
.cf-step-card:hover::before { opacity: 1; }

.cf-step-count {
  font-family: var(--cf-display);
  font-size: 64px;
  letter-spacing: .02em;
  color: var(--cf-navy-600);
  line-height: 1;
  margin-bottom: 20px;
  transition: color .3s;
}
.cf-step-card:hover .cf-step-count { color: var(--cf-navy-500); }

.cf-step-img {
  width: 100%; height: 200px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 4px;
  mix-blend-mode: lighten;
  margin-bottom: 16px;
  opacity: .9;
}

.cf-step-card h3 {
  font-family: var(--cf-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--cf-white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.cf-step-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--cf-muted);
  line-height: 1.7;
}


/* ── 9. FOAM DEMO VISUAL ─────────────────────────────────── */
.cf-visual-section {
  padding: 0 48px 100px;
  position: relative;
}

.cf-foam-demo {
  background: var(--cf-navy-800);
  border: 1px solid var(--cf-border);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-foam-demo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(75,130,220,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,130,220,.14) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cf-foam-demo-inner {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 760px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cf-foam-label {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cf-accent-bright);
  margin-bottom: 32px;
  opacity: .7;
}

.cf-foam-demo-img {
  width: 100%; max-width: 640px;
  border-radius: 4px;
  filter: drop-shadow(0 8px 40px rgba(42,79,158,.4));
}

.cf-demo-caption {
  margin-top: 28px;
  font-family: var(--cf-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cf-muted);
  text-align: center;
}

/* Corner decorations */
.cf-corner { position: absolute; width: 20px; height: 20px; }
.cf-corner::before, .cf-corner::after { content: ''; position: absolute; background: var(--cf-accent-bright); }
.cf-corner::before { width: 100%; height: 1px; top: 0; left: 0; }
.cf-corner::after  { width: 1px; height: 100%; top: 0; left: 0; }
.cf-corner-tl { top: 16px; left: 16px; }
.cf-corner-tr { top: 16px; right: 16px; transform: scaleX(-1); }
.cf-corner-bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
.cf-corner-br { bottom: 16px; right: 16px; transform: scale(-1); }


/* ── 10. MATERIALS ───────────────────────────────────────── */
.cf-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cf-material-card {
  background: var(--cf-navy-700);
  border: 1px solid var(--cf-border);
  padding: 28px 24px;
  position: relative;
  transition: border-color .3s, transform .3s;
  overflow: hidden;
}
.cf-material-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cf-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.cf-material-card:hover { border-color: var(--cf-border-bright); transform: translateY(-4px); }
.cf-material-card:hover::after { transform: scaleX(1); }

.cf-mat-thickness {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cf-accent-bright);
  margin-bottom: 14px;
}
.cf-material-card h4 {
  font-family: var(--cf-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--cf-white);
  margin-bottom: 10px;
}
.cf-material-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--cf-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.cf-mat-tag {
  display: inline-block;
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--cf-border-bright);
  color: var(--cf-blue-100);
  background: rgba(58,106,200,.1);
}


/* ── 11. METRICS BAR ─────────────────────────────────────── */
.cf-metrics-section {
  padding: 80px 48px;
  background: var(--cf-navy-800);
  border-top: 1px solid var(--cf-border);
  border-bottom: 1px solid var(--cf-border);
}
.cf-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cf-metric {
  padding: 32px 40px;
  border-right: 1px solid var(--cf-border);
}
.cf-metric:last-child { border-right: none; }

.cf-metric-val {
  font-family: var(--cf-display);
  font-size: 52px;
  letter-spacing: .03em;
  color: var(--cf-white);
  line-height: 1;
  margin-bottom: 8px;
}
.cf-metric-val span { color: var(--cf-accent-bright); }

.cf-metric-desc {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cf-muted);
  line-height: 1.5;
}


/* ── 12. ADD-ONS ─────────────────────────────────────────── */
.cf-addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.cf-addon-card {
  background: var(--cf-navy-800);
  border: 1px solid var(--cf-border);
  overflow: hidden;
  transition: border-color .3s;
}
.cf-addon-card:hover { border-color: var(--cf-border-bright); }

.cf-addon-img-wrap { overflow: hidden; }
.cf-addon-img {
  width: 100%; height: 320px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform .5s ease;
}
.cf-addon-card:hover .cf-addon-img { transform: scale(1.03); }

.cf-addon-body { padding: 28px 32px; }
.cf-addon-tag {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cf-accent-bright);
  margin-bottom: 12px;
}
.cf-addon-card h4 {
  font-family: var(--cf-sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--cf-white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.cf-addon-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--cf-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cf-addon-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cf-addon-features li {
  font-family: var(--cf-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cf-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cf-addon-features li::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--cf-accent-bright);
  flex-shrink: 0;
}


/* ── 13. CTA SECTION ─────────────────────────────────────── */
.cf-cta-section {
  padding: 100px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cf-cta-section::before {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(43,69,128,.6) 0%, transparent 60%);
  pointer-events: none;
}

.cf-cta-eyebrow {
  font-family: var(--cf-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cf-accent-bright);
  margin-bottom: 20px;
}
.cf-cta-left h2 {
  font-family: var(--cf-display);
  font-size: 56px;
  letter-spacing: .03em;
  line-height: .95;
  color: var(--cf-white);
  margin-bottom: 20px;
}
.cf-cta-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--cf-muted);
  line-height: 1.7;
  max-width: 480px;
}

.cf-cta-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  align-items: flex-start;
}
.cf-cta-note {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-subtle);
}


/* ── 14. FOOTER ──────────────────────────────────────────── */
.cf-footer {
  padding: 32px 48px;
  border-top: 1px solid var(--cf-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cf-footer-logo {
  font-family: var(--cf-display);
  font-size: 18px;
  letter-spacing: .12em;
  color: var(--cf-muted);
}
.cf-footer-logo span { color: var(--cf-accent); }

.cf-footer p {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--cf-subtle);
}

.cf-footer-links { display: flex; gap: 24px; }
.cf-footer-links a {
  font-family: var(--cf-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-subtle);
  transition: color .2s;
}
.cf-footer-links a:hover { color: var(--cf-muted); }


/* ── 15. ANIMATIONS & SCROLL REVEAL ─────────────────────── */
@keyframes cfFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cfFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cfScrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── 16. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .cf-nav { padding: 16px 24px; }
  .cf-nav-links { display: none; }
  .cf-nav-toggle { display: flex; }

  .cf-hero { padding: 100px 24px 60px; }
  .cf-hero h1 { font-size: clamp(52px, 10vw, 80px); }
  .cf-hero-body { flex-direction: column; gap: 32px; }
  .cf-hero-stats { flex-direction: row; gap: 20px; }
  .cf-hero-foam-img { display: none; }

  .cf-section { padding: 60px 24px; }
  .cf-steps-grid { grid-template-columns: 1fr; gap: 2px; }
  .cf-materials-grid { grid-template-columns: 1fr; gap: 12px; }
  .cf-metrics-section { padding: 48px 24px; }
  .cf-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-metric { padding: 24px 20px; }
  .cf-metric:nth-child(2) { border-right: none; }
  .cf-cta-section { padding: 60px 24px; grid-template-columns: 1fr; gap: 28px; }
  .cf-visual-section { padding: 0 24px 60px; }
  .cf-footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  .cf-footer-links { justify-content: center; }
}

/* Mobile nav drawer */
@media (max-width: 900px) {
  .cf-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13,30,56,.97);
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--cf-border);
    gap: 1rem;
    z-index: 99;
  }
}

@media (max-width: 600px) {
  .cf-nav { padding: 14px 20px; }
  .cf-logo { font-size: 20px; }
  .cf-nav-cta { font-size: 10px; padding: 8px 14px; }

  /* Hide custom cursor on touch */
  .cf-cursor, .cf-cursor-ring { display: none; }
  body { cursor: auto; }

  .cf-hero { padding: 90px 20px 56px; min-height: 100svh; }
  .cf-hero-eyebrow { font-size: 10px; margin-bottom: 16px; }
  .cf-hero h1 { font-size: clamp(44px, 14vw, 64px); margin-bottom: 24px; }
  .cf-hero-body { flex-direction: column; gap: 28px; }
  .cf-hero-desc p { font-size: 14px; }
  .cf-hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cf-btn-primary { font-size: 11px; padding: 12px 20px; width: 100%; justify-content: center; }
  .cf-hero-stats { flex-direction: row; flex-wrap: wrap; gap: 16px 28px; }
  .cf-stat-num { font-size: 24px; }
  .cf-scroll-hint { display: none; }

  .cf-section { padding: 48px 20px; }
  .cf-section-title { font-size: 32px; }
  .cf-visual-section { padding: 0 20px 48px; }
  .cf-foam-demo-inner { padding: 24px 16px; }
  .cf-step-card { padding: 24px 20px; }
  .cf-step-count { font-size: 48px; margin-bottom: 12px; }
  .cf-material-card { padding: 20px 16px; }

  .cf-metrics-section { padding: 40px 20px; }
  .cf-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-metric { padding: 20px 16px; border-right: none; border-bottom: 1px solid var(--cf-border); }
  .cf-metric:nth-child(odd) { border-right: 1px solid var(--cf-border); }
  .cf-metric:nth-child(3), .cf-metric:nth-child(4) { border-bottom: none; }
  .cf-metric-val { font-size: 36px; }

  .cf-addon-grid { grid-template-columns: 1fr; }
  .cf-addon-img { height: 220px; }
  .cf-addon-body { padding: 20px 16px; }

  .cf-cta-section { padding: 48px 20px; grid-template-columns: 1fr; gap: 24px; }
  .cf-cta-left h2 { font-size: 38px; }
  .cf-cta-left p { font-size: 14px; }
  .cf-cta-right { align-items: stretch; }
  .cf-btn-primary.cf-btn-lg { width: 100%; justify-content: center; }

  .cf-footer { padding: 20px; flex-direction: column; gap: 10px; text-align: center; }
  .cf-footer-links { justify-content: center; gap: 16px; }
}
