/* ============================================================
   KUOOD LABS — Variables & Reset
   ============================================================ */
:root {
  --orange:         #f45a2a;
  --orange-dim:     rgba(244,90,42,0.12);
  --orange-border:  rgba(244,90,42,0.3);
  --gold:         #E3A91E;
  --gold-dim:     rgba(227,169,30,0.12);
  --gold-border:  rgba(227,169,30,0.3);
  --gold-glow:    rgba(227,169,30,0.2);
  --bg:             #080910;
  --bg-2:           #0d0f1a;
  --bg-card:        #0f1120;
  --bg-card-h:      #131526;
  --border:         rgba(255,255,255,0.07);
  --border-bright:  rgba(255,255,255,0.12);
  --text:           #e8eaf0;
  --text-muted:     rgba(232,234,240,0.5);
  --text-dim:       rgba(232,234,240,0.25);
  --white:          #ffffff;
  --green:          #22c55e;
  --mono:           'JetBrains Mono', monospace;
  --sans:           'Inter', system-ui, sans-serif;
  --radius:         10px;
  --radius-lg:      18px;
  --ease:           cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Gradient text ───────────────────────────────────────── */
.gradient-orange {
  background: linear-gradient(100deg, var(--orange) 0%, #ff9a5c 60%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-gold {
  background: linear-gradient(100deg, #E3A91E 0%, #f5c842 55%, #E3A91E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Scroll animations ───────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-animate="fade-left"]  { transform: translateX(32px); }
[data-animate="fade-right"] { transform: translateX(-32px); }
[data-animate].visible { opacity: 1; transform: none; }

/* ─── Tag pill ────────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.tag-pill.orange {
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid var(--orange-border);
}
.tag-pill.gold {
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  font-family: var(--sans);
}
.btn-orange:hover {
  background: #d9481e;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,90,42,0.4);
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0a0800;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  font-family: var(--sans);
}
.btn-gold:hover {
  background: #c9901a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(227,169,30,0.4);
}
/* Official App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  opacity: 0.92;
}
.appstore-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-dim);
}

/* Product-specific buttons */
.btn-purple {
  display: inline-flex; align-items: center; gap: 8px;
  background: #7B5CF5; color: #fff;
  font-weight: 700; font-size: 0.9rem;
  padding: 0.75rem 1.6rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-family: var(--sans);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-purple:hover {
  background: #6344e0; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123,92,245,0.45);
}
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: #22c55e; color: #011a0b;
  font-weight: 700; font-size: 0.9rem;
  padding: 0.75rem 1.6rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-family: var(--sans);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-green:hover {
  background: #16a34a; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,197,94,0.4);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(8,9,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-color: var(--border-bright);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-kuood {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--orange);
}
.nav-logo .logo-sep {
  color: var(--border-bright);
  font-weight: 300;
}
.nav-logo .logo-labs {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  font-family: var(--mono);
}
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--text-dim);
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.nav-back:hover { color: var(--text-muted); }
.nav-back svg { opacity: 0.5; }

/* Lang pills */
.lang-pill-wrap {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 3px 9px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang-pill.active {
  background: var(--gold);
  color: #0a0800;
}
.lang-pill:not(.active):hover { color: var(--text-muted); }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem 3rem;
}

/* Animated code backdrop */
.hero-code-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.code-col {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: codeScroll 18s linear infinite;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  white-space: nowrap;
  opacity: 0.13;
  will-change: transform;
}
.code-col:nth-child(1)  { left: 2%;  animation-duration: 22s; }
.code-col:nth-child(2)  { left: 14%; animation-duration: 18s; animation-delay: -6s; }
.code-col:nth-child(3)  { left: 27%; animation-duration: 25s; animation-delay: -3s; }
.code-col:nth-child(4)  { left: 40%; animation-duration: 20s; animation-delay: -9s; }
.code-col:nth-child(5)  { left: 53%; animation-duration: 17s; animation-delay: -2s; }
.code-col:nth-child(6)  { left: 66%; animation-duration: 23s; animation-delay: -7s; }
.code-col:nth-child(7)  { left: 79%; animation-duration: 19s; animation-delay: -4s; }
.code-col:nth-child(8)  { left: 90%; animation-duration: 21s; animation-delay: -11s; }
@keyframes codeScroll {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.code-col span { color: var(--gold); display: block; }
.code-col span.dim { color: var(--text-dim); }
.code-col span.orange { color: var(--orange); }

/* Glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 700px;
  height: 500px;
  background: rgba(227,169,30,0.18);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px;
  height: 300px;
  background: rgba(244,90,42,0.09);
  bottom: 0;
  right: 10%;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,169,30,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
  display: none;
}
body:hover .cursor-glow { display: block; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 0.75rem;
}
.hero-skin {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 0.85rem 1.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 1.4rem;
}
.hero-stat-val {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-lbl {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-stat-sep {
  width: 1px;
  height: 2rem;
  background: var(--border-bright);
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
  padding: 4rem 2rem 6rem;
  max-width: 1160px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Product card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  margin-bottom: 2.5rem;
  transition: border-color 0.3s;
}
.product-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.product-card.reverse { direction: rtl; }
.product-card.reverse > * { direction: ltr; }

.product-copy {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.status-live {
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 3px 10px;
  border-radius: 999px;
}
.status-beta {
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid var(--orange-border);
  padding: 3px 10px;
  border-radius: 999px;
}
.status-dot-live  { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.status-dot-beta  { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }

.product-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.3rem;
  line-height: 1.15;
}
.product-hook {
  font-size: 0.88rem;
  color: var(--gold);
  font-family: var(--mono);
  margin-bottom: 1.1rem;
  letter-spacing: 0.3px;
}
.product-copy p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1.6rem;
}

/* Tech stack list */
.tech-list {
  margin-bottom: 2rem;
}
.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
}
.tech-item::before {
  content: '';
  width: 1px;
  background: var(--border);
  position: absolute;
  left: 10px;
  top: 28px;
  bottom: -6px;
}
.tech-item:last-child::before { display: none; }
.tech-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.tech-dot svg { width: 10px; height: 10px; }
.tech-item strong {
  color: var(--text);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 0.8rem;
}
.tech-item span { display: block; }

/* Tooltip */
.tech-tooltip-wrap {
  position: relative;
  display: inline;
}
.tech-tooltip-wrap .tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card-h);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: var(--text);
  white-space: nowrap;
  z-index: 10;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.tech-tooltip-wrap:hover .tooltip { display: block; }
.has-tooltip {
  cursor: help;
  border-bottom: 1px dashed var(--gold-border);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold);
}

/* Product visual panel */
.product-visual {
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.product-card.reverse .product-visual {
  border-left: none;
  border-right: 1px solid var(--border);
}

/* Ambient glow inside visual */
.visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.visual-glow-gold {
  width: 300px;
  height: 300px;
  background: var(--gold-glow);
  top: -60px;
  right: -60px;
}
.visual-glow-orange {
  width: 200px;
  height: 200px;
  background: rgba(244,90,42,0.1);
  bottom: -40px;
  left: -40px;
}

/* iOS Flow mockup */
.flow-mockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ios-phone {
  width: 230px;
  background: #0a0a14;
  border: 1.5px solid rgba(123,92,245,0.4);
  border-radius: 34px;
  padding: 22px 18px;
  box-shadow:
    0 0 0 1px rgba(123,92,245,0.1),
    0 0 60px rgba(123,92,245,0.25),
    0 0 120px rgba(123,92,245,0.12),
    0 30px 80px rgba(0,0,20,0.8);
  position: relative;
  margin-top: -10px;
}

/* Floating Live Activity connector */
.live-activity-float {
  position: absolute;
  top: 22px;
  right: -90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 2;
}
.la-connector {
  width: 70px;
  height: 1px;
  background: linear-gradient(to right, rgba(123,92,245,0.6), transparent);
  position: absolute;
  top: 18px;
  left: -70px;
}
.la-connector::before {
  content: '';
  position: absolute;
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7B5CF5;
  opacity: 0.8;
}
.la-pill {
  background: rgba(10,10,20,0.95);
  border: 1px solid rgba(123,92,245,0.4);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 150px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 20px rgba(123,92,245,0.1);
}
.la-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: #7B5CF5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.la-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--white);
  font-weight: 600;
}
.la-api {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  margin-top: 2px;
}
.ios-notch {
  width: 60px;
  height: 6px;
  background: #1a1a2e;
  border-radius: 999px;
  margin: 0 auto 16px;
}
.ios-ring-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.ios-ring-wrap svg { filter: drop-shadow(0 0 12px rgba(123,92,245,0.4)); }
.ios-timer {
  text-align: center;
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.ios-label {
  text-align: center;
  font-size: 0.7rem;
  color: #7B5CF5;
  font-family: var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ios-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.ios-app-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-card);
}
.ios-app-icon.blocked {
  background: rgba(123,92,245,0.1);
  border: 1px solid rgba(123,92,245,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ios-app-icon.blocked::after {
  content: '✕';
  font-size: 0.55rem;
  color: #7B5CF5;
  opacity: 0.7;
}
.ios-dynamic-island {
  background: rgba(123,92,245,0.15);
  border: 1px solid rgba(123,92,245,0.3);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #7B5CF5;
}
.di-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7B5CF5;
  animation: pulse 2s infinite;
}

/* Floating badge for Flow */
.flow-badge {
  background: var(--bg-card);
  border: 1px solid rgba(123,92,245,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.flow-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(123,92,245,0.12);
  border: 1px solid rgba(123,92,245,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-badge-text { line-height: 1.3; }
.flow-badge-text strong { display: block; font-size: 0.82rem; color: var(--white); }
.flow-badge-text span { color: var(--text-dim); font-size: 0.72rem; }

/* WhatsApp mockup for Kustock */
.kustock-mockup {
  position: relative;
  z-index: 1;
  width: 260px;
}
.wa-window {
  background: #0d1117;
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(37,211,102,0.08), 0 20px 60px rgba(0,0,0,0.6);
}
.wa-header {
  background: #161b22;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
}
.wa-info { flex: 1; }
.wa-name-row { display: flex; align-items: center; gap: 6px; }
.wa-bot-name { font-size: 0.82rem; font-weight: 600; }
.wa-online-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.wa-online-text { font-size: 0.65rem; color: #22c55e; font-family: var(--mono); }
.wa-ai-badge {
  font-size: 0.6rem;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 1px 6px;
  font-family: var(--mono);
  letter-spacing: 0.5px;
}
.wa-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
}
.wa-msg {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
}
.wa-msg-out {
  background: #1e3a5f;
  color: #cce4ff;
  align-self: flex-end;
  border-radius: 10px 10px 2px 10px;
}
.wa-msg-in {
  background: #161b22;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-radius: 10px 10px 10px 2px;
  color: var(--text);
}
.wa-ai-label { color: var(--gold); font-size: 0.7rem; font-family: var(--mono); }
.wa-check { color: #22c55e; font-size: 0.7rem; }
.wa-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 3px; }
.wa-time { font-size: 0.62rem; color: var(--text-dim); font-family: var(--mono); }
.wa-vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 2px;
}
.wa-vision-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.wa-vision-row:last-child { margin-bottom: 0; }
.vision-check { color: #22c55e; }

/* ============================================================
   THE OVEN
   ============================================================ */
.oven-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(227,169,30,0.03) 50%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.oven-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227,169,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,169,30,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.oven-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.oven-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.oven-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.8rem;
}
.oven-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.7;
}
.oven-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Oven landing teaser ─────────────────────────────────────── */
.oven-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.oven-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(227,169,30,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.oven-teaser-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.oven-teaser-count {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.oven-count-num {
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -2px;
}
.oven-count-lbl {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.oven-teaser-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.oven-teaser-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
  flex-shrink: 0;
}
.oven-redacted-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.oven-redact-bar {
  height: 10px;
  width: 200px;
  background: rgba(227,169,30,0.12);
  border-radius: 999px;
  border: 1px solid rgba(227,169,30,0.18);
}
.oven-redact-bar.short  { width: 130px; }
.oven-redact-bar.xshort { width: 80px; }
.oven-enter-btn {
  white-space: nowrap;
}
/* Oven card animated border via wrapper */
.oven-card-wrap {
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: var(--border);
  position: relative;
  transition: transform 0.3s;
}
.oven-card-wrap:hover {
  transform: translateY(-5px);
  background: conic-gradient(
    from var(--oven-angle, 0deg),
    transparent 0%,
    rgba(227,169,30,0.7) 20%,
    transparent 40%
  );
  animation: ovenBorderSpin 3s linear infinite;
}
@property --oven-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes ovenBorderSpin {
  to { --oven-angle: 360deg; }
}
.oven-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  min-height: 260px;
}
/* Scanlines overlay */
.oven-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 3;
  border-radius: var(--radius-lg);
}
.oven-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: rgba(8,9,16,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  border-radius: var(--radius-lg);
  transition: backdrop-filter 0.4s, background 0.4s;
}
.oven-card-wrap:hover .oven-blur-overlay {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: rgba(8,9,16,0.25);
}
.redacted-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 5px 12px;
  border-radius: 999px;
}
.oven-card-index {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.oven-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}
.oven-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.oven-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.oven-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.oven-flame {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.2rem;
  z-index: 1;
  opacity: 0.6;
}

/* ============================================================
   BRIDGE / CLOSING
   ============================================================ */
.bridge-section {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.bridge-glow {
  position: absolute;
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: rgba(244,90,42,0.06);
  filter: blur(140px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.bridge-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.bridge-inner .tag-pill { margin-bottom: 1.5rem; }
.bridge-inner h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.3rem;
}
.bridge-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.bridge-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }


/* Bridge CTA sizing */
.bridge-ctas .btn-orange {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 0 0 1px rgba(244,90,42,0.2);
}
.bridge-ctas .btn-orange:hover {
  box-shadow: 0 8px 32px rgba(244,90,42,0.5), 0 0 0 1px rgba(244,90,42,0.3);
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ── Tablet: stack layout ───────────────────────────────────── */
@media (max-width: 900px) {
  .product-card,
  .product-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .product-card.reverse .product-visual {
    border-right: none;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .product-visual {
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: 300px;
  }
  .product-copy { padding: 2rem; }
  .oven-grid { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 0 1.2rem; }
}

/* ── Mobile: mockups as integrated corner elements ──────────── */
@media (max-width: 700px) {

  /* Card becomes relative container for the absolute mockup */
  .product-card,
  .product-card.reverse {
    position: relative;
    overflow: hidden;
  }

  /* Product copy: full width, generous bottom pad so CTAs clear the phone */
  .product-copy {
    padding: 1.8rem 1.5rem 3rem !important;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  /* Visual panel: pulled from grid flow → absolute corner overlay */
  .product-visual,
  .product-card.reverse .product-visual {
    position: absolute !important;
    right: -8px !important;
    bottom: -18px !important;
    left: auto !important;
    top: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    pointer-events: none;
    z-index: 1;
  }

  /* Hide elements that don't translate to mini scale */
  .live-activity-float,
  .flow-badge,
  .visual-glow,
  .status-mono { display: none !important; }

  /* ── Flow iPhone ──────────────────────────────────────────── */
  .flow-mockup {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    position: relative;
  }

  /* Scale + rotate from bottom-right anchor */
  .flow-mockup .ios-phone {
    transform: rotate(13deg) scale(0.46);
    transform-origin: bottom right;
    opacity: 0.8;
  }

  /* Soft purple glow behind the mini phone */
  .flow-mockup::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(123,92,245,0.45) 0%, transparent 68%);
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
  }

  /* ── Kustock WA ───────────────────────────────────────────── */
  .kustock-mockup {
    transform: rotate(-11deg) scale(0.46);
    transform-origin: bottom right;
    opacity: 0.8;
    position: relative;
  }

  /* Soft green glow behind mini WA chat */
  .kustock-mockup::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(34,197,94,0.35) 0%, transparent 68%);
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
  }
}

/* ── Small phones ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .oven-grid { grid-template-columns: 1fr; }
  .hero { padding: 5rem 1.2rem 3rem; }
  .products-section,
  .oven-section,
  .bridge-section { padding: 4rem 1.2rem; }
  .footer { flex-direction: column; align-items: flex-start; }
  .hero-stats { padding: 0.7rem 1rem; }
  .hero-stat { padding: 0 0.9rem; }
  .hero-stat-val { font-size: 0.95rem; }

  .oven-teaser {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem;
    gap: 1.5rem;
  }
  .oven-teaser-right {
    align-items: flex-start;
    width: 100%;
  }
  .oven-redact-bar        { width: 100%; }
  .oven-redact-bar.short  { width: 70%; }
  .oven-redact-bar.xshort { width: 45%; }
  .oven-enter-btn { width: 100%; justify-content: center; }
  .oven-count-num { font-size: 2.8rem; }
}


/* Status line layout */
.product-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 1rem;
}
.status-mono {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
