/* ============================================================
   REVEALOG — Warm Editorial Light Design System
   Brand: Dusty Mauve #A8607A · Warm Ivory #FDFAF8
   Fonts: Playfair Display (display) + Plus Jakarta Sans (UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --brand:        #A8607A;
  --brand-light:  #C48BA0;
  --brand-dark:   #8B4A64;
  --brand-pale:   #F0E8EC;
  --brand-tint:   rgba(168, 96, 122, 0.08);

  --gold:         #BF9130;
  --gold-pale:    rgba(191, 145, 48, 0.10);
  --gold-light:   #D4A843;

  --ok:           #2E7D5A;
  --ok-pale:      rgba(46, 125, 90, 0.09);

  --bg:           #FDFAF8;
  --bg-warm:      #F6F1EB;
  --surf:         #FFFFFF;
  --surf-2:       #F7F3F0;
  --surf-3:       #EDE8E4;

  --tx:           #1C1210;
  --tx-2:         #7D6B62;
  --tx-3:         #B5A89C;
  --tx-inv:       #FDFAF8;

  --border:       #E8E0DB;
  --border-2:     #D4C9C2;

  --shadow-sm:    0 1px 3px rgba(28, 18, 16, 0.06);
  --shadow-md:    0 4px 16px rgba(28, 18, 16, 0.08);
  --shadow-lg:    0 12px 40px rgba(28, 18, 16, 0.10);
  --shadow-brand: 0 8px 32px rgba(168, 96, 122, 0.24);

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-pill:  100px;

  --space-xs:     4px;
  --space-sm:     8px;
  --space-md:     16px;
  --space-lg:     24px;
  --space-xl:     40px;
  --space-2xl:    64px;
  --space-3xl:    96px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --nav-height:   72px;
  --max-w:        1160px;

  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Typography ─────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--tx);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--tx);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tx);
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--tx);
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--tx-2);
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--tx-2);
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--tx-3);
}

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tx);
}

.brand-mark em {
  font-style: italic;
  color: var(--brand);
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

/* ── Scroll Animation Base ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  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; }

/* ── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), backdrop-filter 0.3s;
}

#nav.scrolled {
  background: rgba(253, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

/* Dark hero nav state */
body.hero-dark #nav:not(.scrolled) .nav-logo { color: #fff; }
body.hero-dark #nav:not(.scrolled) .nav-logo em { color: var(--brand-light); }
body.hero-dark #nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.65); }
body.hero-dark #nav:not(.scrolled) .nav-links a:hover { color: #fff; }
body.hero-dark #nav:not(.scrolled) .btn-nav-ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
body.hero-dark #nav:not(.scrolled) .btn-nav-ghost:hover { border-color: rgba(255,255,255,0.6); }
body.hero-dark #nav:not(.scrolled) .btn-nav-primary {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
body.hero-dark #nav:not(.scrolled) .btn-nav-primary:hover { background: rgba(255,255,255,0.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--tx);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-logo em {
  font-style: italic;
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx-2);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--tx);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-nav-ghost {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--tx);
  transition: border-color 0.2s, color 0.2s;
}

.btn-nav-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-nav-primary {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: var(--tx);
  font-size: 14px;
  font-weight: 700;
  color: var(--tx-inv);
  transition: background 0.2s, transform 0.2s;
}

.btn-nav-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 0 var(--space-md);
  }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.22s var(--ease-out);
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-md {
  height: 46px;
  padding: 0 24px;
  font-size: 14px;
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168, 96, 122, 0.32);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-dark {
  background: var(--tx);
  color: var(--tx-inv);
  box-shadow: 0 4px 16px rgba(28, 18, 16, 0.18);
}

.btn-dark:hover {
  background: #2a1e1c;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--tx);
  border: 1.5px solid var(--border-2);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-ghost-warm {
  background: var(--surf-2);
  color: var(--tx);
  border: 1.5px solid var(--border);
}

.btn-ghost-warm:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-pale);
}

.btn-pill {
  border-radius: var(--radius-pill);
}

/* ── Chip / Badge ───────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.chip-brand {
  background: var(--brand-pale);
  color: var(--brand);
}

.chip-gold {
  background: var(--gold-pale);
  color: var(--gold);
}

.chip-ok {
  background: var(--ok-pale);
  color: var(--ok);
}

.chip-neutral {
  background: var(--surf-2);
  color: var(--tx-2);
  border: 1px solid var(--border);
}

/* ── Section Label ──────────────────────────────────────────── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surf);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card-elevated {
  background: var(--surf);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ── Hero Section ───────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 96, 122, 0.10) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(191, 145, 48, 0.07) 0%, transparent 70%);
  bottom: 100px;
  left: -80px;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 96, 122, 0.06) 0%, transparent 70%);
  bottom: 50px;
  right: 20%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--surf);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--tx-2);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--tx);
  margin-bottom: var(--space-lg);
}

.hero-title em {
  font-style: italic;
  color: var(--brand);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--tx-2);
  max-width: 580px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tx-3);
}

.hero-trust-icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}

/* Phone Mockup Floats */
.hero-phones {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: -20px;
  margin-top: var(--space-xl);
  padding-bottom: 0;
}

/* ── Phone Mockup Component ─────────────────────────────────── */
.phone-shell {
  width: 220px;
  background: var(--tx);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 32px 80px rgba(28, 18, 16, 0.30), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  flex-shrink: 0;
}

.phone-shell.phone-main {
  width: 240px;
  z-index: 2;
  transform: translateY(0px);
}

.phone-shell.phone-left {
  transform: translateX(30px) translateY(30px) rotate(-6deg);
  z-index: 1;
  opacity: 0.85;
}

.phone-shell.phone-right {
  transform: translateX(-30px) translateY(30px) rotate(6deg);
  z-index: 1;
  opacity: 0.85;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--tx);
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.phone-screen-inner {
  padding: 12px;
}

/* Mockup screen content */
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  margin-bottom: 8px;
}

.mock-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--tx);
}

.mock-logo em {
  font-style: italic;
  color: var(--brand);
}

.mock-icons {
  display: flex;
  gap: 6px;
}

.mock-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--surf);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-post {
  background: var(--surf);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.mock-post-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
}

.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}

.mock-user-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--tx);
  flex: 1;
}

.mock-chain-tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-pale);
  padding: 2px 6px;
  border-radius: 5px;
}

.mock-ba-container {
  display: flex;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.mock-before {
  flex: 1;
  background: linear-gradient(145deg, #F0E6DC, #E4D4C0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-after {
  flex: 1;
  background: linear-gradient(145deg, #F0E8F0, #E4D4E4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-ba-label {
  position: absolute;
  top: 5px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mock-ba-label.before {
  left: 5px;
  background: rgba(255,255,255,0.8);
  color: var(--tx-2);
  backdrop-filter: blur(4px);
}

.mock-ba-label.after {
  right: 5px;
  background: var(--brand);
  color: #fff;
}

.mock-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  z-index: 3;
}

.mock-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-figure {
  width: 44px;
  height: 58px;
  border-radius: 44%;
  border: 1.5px solid;
  opacity: 0.18;
}

.mock-before .mock-figure { border-color: var(--tx-2); }
.mock-after .mock-figure { border-color: var(--brand); }

.mock-streak-badge {
  position: absolute;
  bottom: 5px;
  right: 6px;
  background: rgba(28,18,16,0.7);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  z-index: 5;
}

.mock-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 4px;
}

.mock-action-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--tx-2);
}

.mock-stats-row {
  display: flex;
  gap: 5px;
  padding: 0 10px 8px;
  flex-wrap: wrap;
}

.mock-stat {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 600;
}

.mock-stat.ok {
  background: var(--ok-pale);
  color: var(--ok);
}

.mock-stat.gold {
  background: var(--gold-pale);
  color: var(--gold);
}

.mock-stat.brand {
  background: var(--brand-pale);
  color: var(--brand);
}

/* Tab Bar Mock */
.mock-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--surf);
  border-top: 1px solid var(--border);
  padding: 8px 4px 12px;
  margin-top: 4px;
}

.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mock-tab-indicator {
  width: 28px;
  height: 20px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-tab.active .mock-tab-indicator {
  background: var(--brand-pale);
}

.mock-tab-label {
  font-size: 7px;
  font-weight: 600;
}

.mock-tab.active .mock-tab-label {
  color: var(--brand);
}

.mock-tab:not(.active) .mock-tab-label {
  color: var(--tx-3);
}

.mock-fab {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -6px;
  box-shadow: 0 4px 14px rgba(168, 96, 122, 0.38);
}

/* ── Features / How It Works ───────────────────────────────── */
#how-it-works {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surf);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 22px;
}

.feature-icon-wrap.brand { background: var(--brand-pale); }
.feature-icon-wrap.gold { background: var(--gold-pale); }
.feature-icon-wrap.ok { background: var(--ok-pale); }

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--tx-2);
}

/* ── Proof Section ──────────────────────────────────────────── */
#proof {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 900px) {
  .proof-inner {
    grid-template-columns: 1fr;
  }
}

.proof-text-block {
  max-width: 480px;
}

.proof-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-content: start;
}

.proof-stat-card {
  background: var(--surf);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.proof-stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--tx);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.proof-stat-number.gold { color: var(--gold); }
.proof-stat-number.brand { color: var(--brand); }
.proof-stat-number.ok { color: var(--ok); }

.proof-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx-3);
}

/* ── Philosophy Section ─────────────────────────────────────── */
#philosophy {
  background: var(--tx);
  color: var(--tx-inv);
  position: relative;
  overflow: hidden;
}

.philosophy-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.03);
  top: -30px;
  right: -40px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

.philosophy-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 900px) {
  .philosophy-inner {
    grid-template-columns: 1fr;
  }
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: rgba(253, 250, 248, 0.88);
  margin-bottom: var(--space-lg);
}

.philosophy-quote em {
  font-style: normal;
  color: var(--brand-light);
}

.philosophy-attribution {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 248, 0.35);
}

.philosophy-key-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.philosophy-point {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.philosophy-point-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(168, 96, 122, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}

.philosophy-point-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--tx-inv);
  margin-bottom: 4px;
}

.philosophy-point-text p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(253, 250, 248, 0.55);
}

/* ── Product Walkthrough Section ────────────────────────────── */
#walkthrough {
  background: var(--bg);
}

.walkthrough-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

@media (max-width: 1080px) {
  .walkthrough-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .walkthrough-steps {
    grid-template-columns: 1fr;
  }
}

.walkthrough-step {
  position: relative;
}

.step-card {
  background: var(--surf);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  height: 100%;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  font-style: italic;
  color: var(--brand-pale);
  line-height: 1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--tx-2);
}

/* ── Community / Social Proof ───────────────────────────────── */
#community {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.community-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .profile-cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.profile-card {
  background: var(--surf);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.profile-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-pale);
  flex-shrink: 0;
}

.profile-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tx);
}

.profile-card-handle {
  font-size: 12px;
  color: var(--tx-3);
  margin-top: 1px;
}

.before-after-mini {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 160px;
  display: flex;
  margin-bottom: var(--space-md);
}

.ba-left-mini {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-right-mini {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-divider-mini {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  z-index: 3;
}

.ba-handle-mini {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.profile-stats-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ── App Showcase ───────────────────────────────────────────── */
#showcase {
  background: var(--bg);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 1080px) {
  .showcase-inner {
    grid-template-columns: 1fr;
  }
}

.showcase-phone-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
}

/* ── Download / Access Section ───────────────────────────────── */
#access {
  background: var(--tx);
  color: var(--tx-inv);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.access-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 0.75; }
}

.access-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 96, 122, 0.22) 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.access-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(191, 145, 48, 0.14) 0%, transparent 70%);
  bottom: -80px;
  right: 8%;
  animation: orbPulse2 10s ease-in-out infinite;
}

@keyframes orbPulse2 {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.access-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.access-logo {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tx-inv);
  margin-bottom: var(--space-md);
}

.access-logo em {
  font-style: italic;
  color: var(--brand-light);
}

.access-subtitle {
  font-size: 18px;
  color: rgba(253, 250, 248, 0.60);
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

.access-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255, 0.10);
  border: 1px solid rgba(255,255,255, 0.18);
  color: var(--tx-inv);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.22s var(--ease-out);
  backdrop-filter: blur(8px);
}

.btn-store:hover {
  background: rgba(255,255,255, 0.18);
  transform: translateY(-2px);
}

.btn-store-icon {
  font-size: 22px;
}

.btn-store-text {
  text-align: left;
}

.btn-store-sub {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.65;
  display: block;
  letter-spacing: 0.02em;
}

.btn-store-name {
  font-size: 15px;
  font-weight: 700;
  display: block;
}

.access-web-link {
  font-size: 13px;
  color: rgba(253, 250, 248, 0.40);
  margin-top: var(--space-md);
}

.access-web-link a {
  color: rgba(253, 250, 248, 0.65);
  font-weight: 600;
  transition: color 0.2s;
}

.access-web-link a:hover {
  color: var(--brand-light);
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tx);
}

.footer-logo em {
  font-style: italic;
  color: var(--brand);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--tx-3);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--tx);
}

.footer-copy {
  font-size: 12px;
  color: var(--tx-3);
}

/* ── GlowScore Showcase ─────────────────────────────────────── */
.glowscore-display {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gold-pale);
  border: 1px solid rgba(191, 145, 48, 0.22);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  margin-bottom: var(--space-md);
}

.glowscore-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
}

.glowscore-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
}

/* ── Horizontal Scroll Marquee ──────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  margin: var(--space-xl) 0 0;
  padding: var(--space-md) 0;
}

.marquee-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-pill {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--surf);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-2);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.marquee-pill.chain {
  background: var(--brand-tint);
  border-color: rgba(168,96,122,0.2);
  color: var(--brand);
}
.marquee-pill.gold {
  background: var(--gold-pale);
  border-color: rgba(191,145,48,0.2);
  color: var(--gold);
}

/* ── Chain Progress Viz ──────────────────────────────────────── */
.chain-progress-bar {
  height: 6px;
  background: var(--surf-3);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: var(--space-sm) 0;
}

.chain-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transition: width 1.2s var(--ease-out);
}

/* ── Animated divider ───────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
}

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Video Placeholder ───────────────────────────────────────── */
.video-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--tx);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s;
}

.video-play-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.08);
}

/* ── Responsive helpers ─────────────────────────────────────── */
@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .hero-content {
    padding: 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .proof-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .walkthrough-steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-trust {
    gap: var(--space-md);
  }

  .hero-phones {
    display: none;
  }
}

/* ── Smooth entrance animations ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up {
  animation: fadeUp 0.8s var(--ease-out) both;
}

.animate-fade-in {
  animation: fadeIn 0.8s var(--ease-out) both;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* ── Focus ring ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ── Selection color ────────────────────────────────────────── */
::selection {
  background: var(--brand-pale);
  color: var(--brand-dark);
}

/* ── Mobile sticky CTA bar ──────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 640px) {
  .mobile-sticky-cta {
    display: flex;
    gap: var(--space-sm);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
    background: rgba(253, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(28, 18, 16, 0.06);
  }

  body {
    padding-bottom: 72px;
  }
}

/* ══════════════════════════════════════════════════════════════
   NEW SECTIONS — Photo-driven redesign
   ══════════════════════════════════════════════════════════════ */

/* ── Buttons: new variants ──────────────────────────────────── */
.btn-xl {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-white {
  background: #fff;
  color: var(--tx);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }

.btn-glass {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,0.2); }

/* ── Hero Photo ─────────────────────────────────────────────── */
.hero-photo {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-width: none;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14,12,11,0.82) 0%,
    rgba(14,12,11,0.55) 50%,
    rgba(14,12,11,0.12) 100%
  );
}

/* also darken top for nav legibility */
.hero-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(14,12,11,0.6) 0%, transparent 100%);
  z-index: 1;
}

.chain-badge-float {
  position: absolute;
  top: calc(var(--nav-height) + 24px);
  left: var(--space-xl);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(168,96,122,0.22);
  border: 1px solid rgba(168,96,122,0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero-photo-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
}

.hero-photo-left {
  max-width: 560px;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(168,96,122,0.18);
  border: 1px solid rgba(168,96,122,0.35);
  color: var(--brand-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.hero-photo-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--space-lg);
}
.hero-photo-title em {
  color: var(--brand-light);
  font-style: italic;
}

.hero-photo-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 420px;
}

.hero-photo-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Stat cards floating bottom-right */
.hero-stat-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-stat-card {
  background: rgba(253,250,248,0.1);
  border: 1px solid rgba(253,250,248,0.18);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  text-align: center;
  min-width: 110px;
}
.hero-stat-card.gold {
  background: rgba(191,145,48,0.15);
  border-color: rgba(191,145,48,0.3);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-num span { font-size: 18px; }
.hero-stat-card.gold .hero-stat-num { color: var(--gold-light); }

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* BA labels over photo */
.hero-ba-labels {
  position: absolute;
  top: calc(var(--nav-height) + 24px);
  right: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.ba-label-hero {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ba-label-hero.before {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.ba-label-hero.after {
  background: var(--brand);
  color: #fff;
}

/* ── Section Dark ────────────────────────────────────────────── */
.section-dark {
  background: #13100F;
  color: var(--tx-inv);
}
.section-dark .display-lg { color: var(--tx-inv); }
.section-dark .label { color: rgba(253,250,248,0.45); }

/* ── Chain Timeline ──────────────────────────────────────────── */
.chain-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  margin-bottom: var(--space-3xl);
}

.chain-timeline-track {
  display: none; /* hidden — visual implied by layout */
}

.chain-day-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.chain-day-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(168,96,122,0.15);
  border: 2px solid rgba(168,96,122,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.chain-day-node.active {
  background: rgba(168,96,122,0.25);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(168,96,122,0.12);
}
.chain-day-node.gold {
  background: rgba(191,145,48,0.18);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(191,145,48,0.1);
}

.chain-day-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.05);
}
.chain-day-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-width: none;
}

.chain-day-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(19,16,15,0.75);
  color: rgba(253,250,248,0.9);
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
}
.chain-day-badge.brand {
  background: var(--brand);
  color: #fff;
  border: none;
}
.chain-day-badge.gold {
  background: var(--gold);
  color: #fff;
  border: none;
}

.chain-streak-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,120,0,0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* Day 14 stats card — no face photo, shows streak data instead */
.chain-day-stats-card {
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 4px;
}

.chain-stat-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.chain-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.chain-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
}

.chain-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  color: rgba(253,250,248,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chain-mini-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.chain-mini-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 100%);
  border-radius: 3px;
}

.chain-day-info {
  padding: 0 4px;
}
.chain-day-label {
  font-size: 15px;
  font-weight: 700;
  color: rgba(253,250,248,0.9);
  margin-bottom: 6px;
}
.chain-day-desc {
  font-size: 13px;
  color: rgba(253,250,248,0.45);
  line-height: 1.6;
}

/* Chain features row (3 cols dark) */
.chain-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-xl);
}

.chain-feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chain-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chain-feat-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(253,250,248,0.9);
}
.chain-feat-desc {
  font-size: 13px;
  color: rgba(253,250,248,0.4);
  line-height: 1.6;
}

/* ── Transform Section ───────────────────────────────────────── */
.transform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.transform-chain-info {
  background: var(--surf-2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
}
.transform-chain-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

/* Real BA Slider */
.transform-slider-wrap {
  position: relative;
}

.real-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
}

.real-ba-before,
.real-ba-after {
  position: absolute;
  inset: 0;
}

.real-ba-before img,
.real-ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-width: none;
  pointer-events: none;
}

.real-ba-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}

.real-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  cursor: col-resize;
  z-index: 10;
}

.real-ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(168,96,122,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(168,96,122,0.45), 0 2px 8px rgba(0,0,0,0.2);
}

.real-ba-label {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 7px;
  top: 14px;
  pointer-events: none;
  z-index: 5;
  letter-spacing: 0.04em;
}
.real-ba-label.before-lbl {
  left: 14px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}
.real-ba-label.after-lbl {
  right: 14px;
  background: var(--brand);
  color: #fff;
}

.real-ba-day-tag {
  position: absolute;
  bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.real-ba-day-tag.day1-tag {
  left: 14px;
  background: rgba(0,0,0,0.5);
}
.real-ba-day-tag.day30-tag {
  right: 14px;
  background: rgba(168,96,122,0.85);
}

/* ── Philosophy bar ──────────────────────────────────────────── */
.philosophy-bar {
  background: var(--surf-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2xl) 0;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--tx-2);
  text-align: center;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
}
.philosophy-quote em {
  color: var(--brand);
  font-style: italic;
}

/* ── Community phones ────────────────────────────────────────── */
.community-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-lg);
}

.community-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 260px;
}
.community-phone-wrap.left,
.community-phone-wrap.right {
  max-width: 220px;
  opacity: 0.75;
  transform: translateY(24px);
}
.community-phone-wrap.center {
  max-width: 280px;
  position: relative;
}

.community-phone-shell {
  width: 100%;
  background: #1A1614;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.community-phone-notch {
  width: 80px;
  height: 24px;
  background: #0E0C0B;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 10px;
}

.community-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
.community-phone-screen img {
  width: 100%;
  display: block;
  max-width: none;
}

.community-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* ── Share card ──────────────────────────────────────────────── */
.community-share-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-3xl);
  align-items: center;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.community-share-img {
  height: 100%;
}
.community-share-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}

.community-share-info {
  padding: var(--space-xl) var(--space-xl) var(--space-xl) 0;
}

.chain-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-tint);
  border: 1px solid rgba(168,96,122,0.2);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* ── Diff grid ───────────────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .chain-timeline {
    grid-template-columns: 1fr;
  }
  .chain-day-card {
    flex-direction: row;
    align-items: flex-start;
  }
  .chain-day-photo {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
  }
  .chain-day-node { display: none; }

  .transform-layout {
    grid-template-columns: 1fr;
  }
  .transform-slider-wrap {
    max-width: 380px;
    margin: 0 auto;
  }

  .community-phones {
    gap: var(--space-md);
  }
  .community-phone-wrap.left,
  .community-phone-wrap.right {
    display: none;
  }
  .community-phone-wrap.center {
    max-width: 280px;
  }

  .community-share-card {
    grid-template-columns: 1fr;
  }
  .community-share-img {
    height: 280px;
  }
  .community-share-info {
    padding: var(--space-xl);
  }
}

@media (max-width: 640px) {
  .hero-photo {
    align-items: flex-end;
    padding-bottom: var(--space-2xl);
  }
  .hero-photo-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
    padding: 0 var(--space-md);
  }
  .hero-stat-cards {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
  .hero-stat-card { flex: 1; }
  .hero-ba-labels { display: none; }
  .chain-badge-float { left: var(--space-md); }

  .chain-features-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .community-share-card {
    border-radius: var(--radius-lg);
  }
}

/* ── iframe phone screens ────────────────────────────────────── */
.iframe-screen {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.iframe-screen iframe {
  width: 375px;
  height: 812px;
  border: none;
  display: block;
  transform-origin: top left;
  pointer-events: none;
}

/* Scale iframe to fit phone shell width */
.community-phone-wrap.center .iframe-screen iframe {
  transform: scale(0.693); /* 260px / 375px */
}
.community-phone-wrap.left .iframe-screen iframe,
.community-phone-wrap.right .iframe-screen iframe {
  transform: scale(0.560); /* 210px / 375px */
}

.community-phone-wrap.center .iframe-screen {
  height: calc(812px * 0.693);
}
.community-phone-wrap.left .iframe-screen,
.community-phone-wrap.right .iframe-screen {
  height: calc(812px * 0.560);
}

/* ── Hero BA divider line ────────────────────────────────────── */
.hero-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.25);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

/* ── Hero photo Before/After corner labels ───────────────────── */
.hero-photo-label {
  position: absolute;
  top: calc(var(--nav-height) + 20px);
  z-index: 3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 7px;
  pointer-events: none;
}
.hero-photo-label.before {
  left: 20px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
}
.hero-photo-label.after {
  right: 20px;
  background: var(--brand);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   HERO SPLIT + PHONE FRAMES
   ══════════════════════════════════════════════════════════════ */

/* ── Hero split two-image ────────────────────────────────────── */
.hero-photo-bg {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-split-side {
  position: relative;
  overflow: hidden;
}

.hero-split-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-width: none;
}

.hero-photo-overlay {
  grid-column: 1 / -1;
}

.hero-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.3);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.hero-split-label {
  position: absolute;
  top: calc(var(--nav-height) + 16px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 7px;
  z-index: 3;
  pointer-events: none;
}
.hero-split-label.before {
  left: 16px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}
.hero-split-label.after {
  right: 16px;
  background: var(--brand);
  color: #fff;
}

/* ── Fix chain-badge overlapping label ───────────────────────── */
.chain-badge-float {
  top: calc(var(--nav-height) + 16px);
  left: 16px;
  /* push "Before" label below badge */
}

/* Move before label below the chain badge */
.hero-split-before .hero-split-label.before {
  top: calc(var(--nav-height) + 60px);
}

/* ── Timeline spacing fix ────────────────────────────────────── */
.chain-timeline {
  margin-bottom: var(--space-xl); /* was var(--space-3xl) */
}
.chain-day-card {
  gap: var(--space-sm);
}
.chain-day-info {
  padding: 0;
}
.chain-features-row {
  padding-top: var(--space-lg);
  margin-top: 0;
}

/* ── Modern phone frames ─────────────────────────────────────── */
.phone-frame {
  position: relative;
  border-radius: 44px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

/* iPhone 17 Pro Max — Titanium brushed frame */
.phone-frame.iphone {
  background: linear-gradient(160deg, #2C2C2E 0%, #1C1C1E 40%, #2C2C2E 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 1.5px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.4),
    0 8px 24px rgba(0,0,0,0.3);
  border-radius: 52px;
  padding: 14px;
}

/* Samsung Galaxy S26 — Phantom Black frame */
.phone-frame.samsung {
  background: linear-gradient(160deg, #1A1A1A 0%, #111 50%, #1A1A1A 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 1.5px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 28px 64px rgba(0,0,0,0.35),
    0 6px 20px rgba(0,0,0,0.25);
  border-radius: 42px;
  padding: 10px;
}

/* Subtle rail/reflection on frame edge */
.phone-frame-rail {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.07) 0%,
    transparent 40%,
    rgba(255,255,255,0.03) 100%
  );
  pointer-events: none;
  z-index: 10;
}

.phone-frame-inner {
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-frame.samsung .phone-frame-inner {
  border-radius: 32px;
}

/* Dynamic Island — iPhone */
.phone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.04);
}

/* Punch hole — Samsung */
.phone-punch-hole {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06);
}

/* Screen area */
.phone-content {
  flex: 1;
  position: relative;
  background: var(--bg);
}

/* iframe scaling inside phone */
.phone-content.iframe-screen {
  overflow: hidden;
  width: 100%;
}

.phone-content.iframe-screen iframe {
  width: 375px;
  height: 812px;
  border: none;
  display: block;
  transform-origin: top left;
  pointer-events: none;
}

/* Physical side buttons */
.phone-side-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}

/* iPhone buttons */
.i-mute  { left: -4px; top: 120px; width: 4px; height: 28px; border-radius: 2px 0 0 2px; }
.i-vol1  { left: -4px; top: 168px; width: 4px; height: 52px; border-radius: 2px 0 0 2px; }
.i-vol2  { left: -4px; top: 232px; width: 4px; height: 52px; border-radius: 2px 0 0 2px; }
.i-pwr   { right: -4px; top: 180px; width: 4px; height: 72px; border-radius: 0 2px 2px 0; }

/* Samsung buttons */
.s-vol1  { left: -4px; top: 140px; width: 4px; height: 44px; border-radius: 2px 0 0 2px; }
.s-vol2  { left: -4px; top: 196px; width: 4px; height: 44px; border-radius: 2px 0 0 2px; }
.s-pwr   { right: -4px; top: 160px; width: 4px; height: 60px; border-radius: 0 2px 2px 0; }

/* phone brand tag */
.phone-brand-tag {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--tx-3);
  letter-spacing: 0.04em;
  margin-top: 10px;
}

/* Sizing: center iPhone larger, side Samsung smaller */
.community-phone-wrap.center .phone-frame.iphone {
  width: 260px;
}
.community-phone-wrap.left .phone-frame.samsung,
.community-phone-wrap.right .phone-frame.samsung {
  width: 210px;
}

/* iframe scale to fit */
.community-phone-wrap.center .phone-content.iframe-screen {
  height: calc(812px * 0.693);
}
.community-phone-wrap.center .phone-content.iframe-screen iframe {
  transform: scale(0.613);
  /* (260-28)/375 = 0.619 */
  transform: scale(calc((260px - 28px) / 375px));
}
.community-phone-wrap.left .phone-content.iframe-screen,
.community-phone-wrap.right .phone-content.iframe-screen {
  height: calc(812px * 0.507);
}
.community-phone-wrap.left .phone-content.iframe-screen iframe,
.community-phone-wrap.right .phone-content.iframe-screen iframe {
  transform: scale(0.507);
  /* (210-20)/375 = 0.507 */
}

/* Remove old community-phone-shell styles conflict */
.community-phone-shell { display: none; }

/* ── Responsive phones ───────────────────────────────────────── */
@media (max-width: 900px) {
  .community-phone-wrap.left,
  .community-phone-wrap.right { display: none; }
  .community-phone-wrap.center .phone-frame.iphone { width: 240px; }
  .community-phone-wrap.center .phone-content.iframe-screen {
    height: calc(812px * 0.565);
  }
  .community-phone-wrap.center .phone-content.iframe-screen iframe {
    transform: scale(0.565);
  }
}


/* ══ TARGETED FIXES ══════════════════════════════════════════ */

/* Hero overlay — much lighter so photos breathe */
.hero-photo-overlay {
  background: linear-gradient(
    to right,
    rgba(10, 8, 7, 0.62) 0%,
    rgba(10, 8, 7, 0.38) 50%,
    rgba(10, 8, 7, 0.10) 100%
  ) !important;
}

/* Hero split — force fill container */
.hero-photo-bg {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
.hero-split-side {
  position: relative !important;
  overflow: hidden !important;
}
.hero-split-side img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  max-width: none !important;
}
/* Overlay sits on top of both */
.hero-photo-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  grid-column: unset !important;
}
.hero-center-line {
  z-index: 2 !important;
}
.hero-split-label {
  z-index: 3 !important;
}

/* Phone: fix iframe scale & height so content fills phone */
/* Center - iPhone 17 Pro Max: inner=232px, scale=232/375=0.619 */
.community-phone-wrap.center .phone-content.iframe-screen {
  height: 502px !important; /* 812 * 0.619 */
  overflow: hidden !important;
}
.community-phone-wrap.center .phone-content.iframe-screen iframe {
  transform: scale(0.619) !important;
  transform-origin: top left !important;
  width: 375px !important;
  height: 812px !important;
}

/* Side - Samsung S26: inner=190px, scale=190/375=0.507 */
.community-phone-wrap.left .phone-content.iframe-screen,
.community-phone-wrap.right .phone-content.iframe-screen {
  height: 412px !important; /* 812 * 0.507 */
  overflow: hidden !important;
}
.community-phone-wrap.left .phone-content.iframe-screen iframe,
.community-phone-wrap.right .phone-content.iframe-screen iframe {
  transform: scale(0.507) !important;
  transform-origin: top left !important;
  width: 375px !important;
  height: 812px !important;
}

/* Remove conflicting old iframe screen */
.community-phone-screen.iframe-screen { display: none !important; }


/* ══ HERO SPLIT — CLEAN REBUILD ═══════════════════════════════ */

/* Hero photo section */
.hero-photo {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

/* Background container */
.hero-photo-bg {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  background: none !important;
}

/* Each half */
.hero-split-before,
.hero-split-after {
  position: relative !important;
  flex: 1 !important;
  overflow: hidden !important;
}

.hero-split-before img,
.hero-split-after img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  max-width: none !important;
  display: block !important;
}

/* Left half: gradient from bottom for text, minimal at top */
.hero-split-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,7,0.88) 0%,
    rgba(10,8,7,0.50) 40%,
    rgba(10,8,7,0.18) 70%,
    rgba(10,8,7,0.05) 100%
  );
  pointer-events: none;
}

/* Right half: very subtle — show the clear skin beautifully */
.hero-split-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,7,0.55) 0%,
    rgba(10,8,7,0.12) 50%,
    rgba(10,8,7,0.00) 100%
  );
  pointer-events: none;
}

/* Center divider */
.hero-center-line {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 3px !important;
  background: rgba(255,255,255,0.35) !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

.hero-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(168,96,122,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-center-dot::before,
.hero-center-dot::after { content: none; }

/* Remove old conflicting overlay */
.hero-photo-overlay { display: none !important; }

/* hero-ba-divider not used anymore */
.hero-ba-divider { display: none !important; }
.hero-photo-label { display: none !important; }

/* Before label bottom-left, After label bottom-right */
.hero-split-label { display: none !important; }

/* ══ FINAL OVERRIDES ═════════════════════════════════════════════
   These rules are authoritative. They fix all conflicting layers above.
   ══════════════════════════════════════════════════════════════ */

/* 1. Ensure section-dark always shows dark background */
.section-dark {
  background: #13100F !important;
}

/* 2. Fix chain-feat text — white on dark, cannot be invisible */
.chain-feat-title {
  color: rgba(253, 250, 248, 0.92) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.chain-feat-desc {
  color: rgba(253, 250, 248, 0.52) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

/* 3. Phone frames — final sizes (smaller = less tall on page) */
/* Center iPhone 17 Pro Max: 220px frame, 192px inner */
.community-phone-wrap.center .phone-frame.iphone {
  width: 220px !important;
}
/* Side Samsung S26: 180px frame, 160px inner */
.community-phone-wrap.left .phone-frame.samsung,
.community-phone-wrap.right .phone-frame.samsung {
  width: 180px !important;
}

/* Center: scale = 192/375 = 0.512, height = 812*0.512 = 416px */
.community-phone-wrap.center .phone-content.iframe-screen {
  height: 416px !important;
  overflow: hidden !important;
  width: 192px !important;
}
.community-phone-wrap.center .phone-content.iframe-screen iframe {
  width: 375px !important;
  height: 812px !important;
  transform: scale(0.512) !important;
  transform-origin: top left !important;
}

/* Sides: scale = 160/375 = 0.427, height = 812*0.427 = 347px */
.community-phone-wrap.left .phone-content.iframe-screen,
.community-phone-wrap.right .phone-content.iframe-screen {
  height: 347px !important;
  overflow: hidden !important;
  width: 160px !important;
}
.community-phone-wrap.left .phone-content.iframe-screen iframe,
.community-phone-wrap.right .phone-content.iframe-screen iframe {
  width: 375px !important;
  height: 812px !important;
  transform: scale(0.427) !important;
  transform-origin: top left !important;
}

/* Shrink dynamic island for smaller iPhone */
.community-phone-wrap.center .phone-dynamic-island {
  width: 84px !important;
  height: 28px !important;
}

/* Responsive: on <900px only center shows */
@media (max-width: 900px) {
  .community-phone-wrap.center .phone-frame.iphone { width: 220px !important; }
  .community-phone-wrap.center .phone-content.iframe-screen { height: 416px !important; width: 192px !important; }
  .community-phone-wrap.center .phone-content.iframe-screen iframe { transform: scale(0.512) !important; }
}

/* ── Chain Philosophy Section ─────────────────────────────────── */
.chain-philosophy-section {
  background: var(--bg-warm);
}

.chain-phil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .chain-phil-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .chain-phil-grid { grid-template-columns: 1fr; }
}

.chain-phil-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.chain-phil-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.chain-phil-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.chain-phil-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
}

.chain-phil-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.2;
}

.chain-phil-desc {
  font-size: 14px;
  color: var(--tx-2);
  line-height: 1.7;
  flex: 1;
}

.chain-phil-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-xs);
  width: fit-content;
}

/* Chain stats bar */
.chain-phil-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
}

.chain-phil-stat {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-xl);
}

.chain-phil-stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.chain-phil-stat-label {
  font-size: 13px;
  color: var(--tx-2);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

.chain-phil-stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .chain-phil-stats {
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }
  .chain-phil-stat-divider { width: 60px; height: 1px; }
}

/* ── Clean App Screens (replaces phone hardware frames) ──────── */
.app-screens {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
}

.app-screen-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.app-screen-wrap.side {
  opacity: 0.72;
  transform: translateY(36px);
}

.app-screen-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-3);
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.app-screen-tag.main-tag {
  color: var(--brand);
  background: var(--brand-tint);
  border-color: rgba(168,96,122,0.2);
}

/* Glass screen card */
.app-screen-glass {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.06),
    0 12px 40px rgba(0,0,0,0.10),
    0 32px 80px rgba(0,0,0,0.08);
  position: relative;
}

.app-screen-glass.main-glass {
  border-radius: 32px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.08),
    0 20px 60px rgba(0,0,0,0.14),
    0 48px 120px rgba(168,96,122,0.12);
}

/* Side screens: 200px wide → zoom = 200/375 = 0.5333 */
.app-screen-wrap.side .app-screen-glass iframe {
  display: block;
  width: 375px;
  height: 812px;
  border: none;
  zoom: 0.533;
}

/* Main center screen: 260px wide → zoom = 260/375 = 0.6933 */
.app-screen-wrap.main .app-screen-glass.main-glass iframe {
  display: block;
  width: 375px;
  height: 812px;
  border: none;
  zoom: 0.693;
}

/* Responsive */
@media (max-width: 900px) {
  .app-screen-wrap.side { display: none; }
}
@media (max-width: 480px) {
  .app-screen-wrap.main .app-screen-glass.main-glass iframe {
    zoom: 0.56;
  }
}

