/* Design tokens, reset, shared components, animations: see tokens.css */

/* ── Page-specific overrides ── */
html { scroll-snap-type: y mandatory; }
.s { height: 100vh; height: 100dvh; scroll-snap-align: start; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.s-auto { min-height: auto; scroll-snap-align: none; }
.ambient-glow { background: radial-gradient(ellipse at 50% 0%, rgba(196,149,106,0.06) 0%, transparent 60%); }

/* ═══ TOP BAR ═══ */
.top-bar { position: fixed; top: 0; left: 0; right: 0; height: 44px; z-index: 200; background: rgba(0,0,0,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; padding-top: env(safe-area-inset-top); border-bottom: 1px solid rgba(255,255,255,0.06); }
.top-back { font-size: 0.78rem; color: var(--cream-faint); display: flex; align-items: center; gap: 6px; transition: color 0.3s; }
.top-back:hover { color: var(--sage-light); }
.top-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 0.72rem; letter-spacing: 0.8px; text-transform: uppercase; color: var(--cream-faint); }
.top-cta { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 18px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase; background: linear-gradient(135deg, var(--sage), #7A9169); color: white; border-radius: 20px; transition: transform 0.3s var(--ease), box-shadow 0.3s; box-shadow: 0 2px 12px rgba(107,127,94,0.3); }
.top-cta:hover { transform: scale(1.04); box-shadow: 0 4px 20px var(--sage-glow); }
.top-cta::after { content: '30 minutes. Free. No pressure. Just clarity.'; position: absolute; top: calc(100% + 10px); right: 0; white-space: nowrap; padding: 10px 18px; background: rgba(0,0,0,0.95); border: 1px solid var(--border); border-radius: 12px; font-size: 0.75rem; font-weight: 300; letter-spacing: 0.2px; text-transform: none; color: var(--cream-mid); font-family: var(--font-display); font-style: italic; box-shadow: 0 8px 30px rgba(0,0,0,0.4); opacity: 0; transform: translateY(-4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); pointer-events: none; z-index: 201; }
.top-cta:hover::after { opacity: 1; transform: translateY(0); }
.top-ctas { display: flex; gap: 8px; align-items: center; }
.top-ctas .top-cta::after { display: none; }

/* ═══ SECTION 1 — HERO ═══ */
.demo-hero { background: var(--bg-deep); padding: 44px 48px 32px; }
.demo-hero .ambient-glow { background: radial-gradient(ellipse at 50% 30%, rgba(107,127,94,0.06) 0%, rgba(107,127,94,0.03) 40%, transparent 70%); }
.demo-hero .orb-1 { top: -10%; right: -5%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(107,127,94,0.25), transparent 70%); animation: orbDrift 12s ease-in-out infinite; }
.demo-hero .orb-2 { bottom: -15%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(212,169,154,0.2), transparent 70%); animation: orbDrift 15s ease-in-out infinite reverse; }
.demo-hero .orb-3 { top: 35%; left: 30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,149,106,0.15), transparent 70%); animation: pulse 6s ease-in-out infinite alternate; }
.demo-hero .light-wash { top: -20%; left: 20%; width: 60%; height: 50%; background: radial-gradient(ellipse, rgba(196,149,106,0.1), transparent 70%); }
.demo-hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 800px; width: 100%; z-index: 2; flex: 1; justify-content: center; }
.hero-video-wrap { max-width: 320px; width: 100%; z-index: 2; margin: 0 auto; position: relative; overflow: visible; }
.demo-hero .video-box {
  position: relative; width: 100%; padding-bottom: 100%;
  background: rgba(255,255,255,0.03); border: none;
  border-radius: 50%; overflow: hidden; cursor: pointer;
  box-shadow: 0 0 50px var(--sage-glow), 0 0 100px rgba(107,127,94,0.25), 0 0 160px rgba(107,127,94,0.1);
  transition: box-shadow 0.3s var(--ease);
  -webkit-mask-image: radial-gradient(circle, black 55%, transparent 75%);
  mask-image: radial-gradient(circle, black 55%, transparent 75%);
  height: auto;
}
.demo-hero .video-box:hover { box-shadow: 0 0 60px var(--sage-glow), 0 0 120px rgba(107,127,94,0.3), 0 0 200px rgba(107,127,94,0.12); }
.demo-hero .video-box video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: none; border-radius: 50%; object-fit: cover; object-position: center 18%;
}
.demo-hero .video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  border-radius: 50%; z-index: 1; transition: opacity 0.6s var(--ease); pointer-events: none;
}
.demo-hero .video-box.playing .video-overlay { opacity: 0; }
.demo-hero .video-box.playing .play-btn { opacity: 0; pointer-events: none; }
.status-indicator { display: flex; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 30px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); backdrop-filter: blur(8px); width: fit-content; align-self: center; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: statusPulse 2s infinite; box-shadow: 0 0 12px rgba(74,222,128,0.4); }
.status-text { font-family: var(--font-body); font-size: 0.82rem; color: var(--sage-light); text-align: left; min-height: 1.2em; font-weight: 300; }
.hero-h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 4.2rem); font-weight: 300; line-height: 1.12; color: var(--cream); max-width: 620px; }
.hero-h1 em { font-style: italic; color: var(--sage-light); text-shadow: 0 0 30px rgba(107,127,94,0.5), 0 0 60px rgba(107,127,94,0.2); }
.hero-sub { font-size: clamp(0.95rem, 1.2vw, 1.1rem); font-weight: 300; color: var(--cream-mid); line-height: 1.7; max-width: 580px; }
.hero-cta-wrap { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 8px; }
.hero-micro { font-size: 0.75rem; color: var(--cream-faint); font-weight: 300; }

/* ═══ VIDEO SECTION ═══ */
.demo-video { background: var(--bg); flex-direction: column; align-items: center; padding: 48px 48px; gap: 24px; min-height: auto; scroll-snap-align: none; }
.demo-video .ambient-glow { background: radial-gradient(ellipse at 50% 50%, rgba(107,127,94,0.05) 0%, transparent 50%); }
.demo-video .orb-1 { top: 10%; right: 10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,149,106,0.12), transparent 70%); animation: orbDrift 10s ease-in-out infinite; }
.video-header { text-align: center; z-index: 2; max-width: 640px; }
.video-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 14px; }
.video-header h2 em { font-style: italic; color: var(--sage-light); text-shadow: 0 0 25px rgba(107,127,94,0.4), 0 0 50px rgba(107,127,94,0.15); }
.video-header p { font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: var(--cream-light); font-weight: 300; line-height: 1.7; }
.video-wrap { width: clamp(160px, 25vw, 280px); flex-shrink: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.video-box { position: relative; width: clamp(160px, 25vw, 280px); height: clamp(160px, 25vw, 280px); background: rgba(255,255,255,0.03); border: 3px solid var(--sage); border-radius: 50%; overflow: hidden; cursor: pointer; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); box-shadow: 0 0 40px var(--sage-glow), 0 0 80px rgba(107,127,94,0.2); }
.video-box:hover { border-color: var(--sage-light); box-shadow: 0 0 50px var(--sage-glow), 0 0 100px rgba(107,127,94,0.25); }
.video-box video, .video-box .audio-poster { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.video-box.playing .play-icon { display: none !important; }
.video-box.playing .pause-icon { display: block !important; }
.video-overlay { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%); border-radius: 50%; z-index: 1; transition: opacity 0.6s var(--ease); pointer-events: none; }
.video-box.playing .video-overlay { opacity: 0; }
.play-btn { width: clamp(48px, 7vw, 80px); height: clamp(48px, 7vw, 80px); border-radius: 50%; border: 1.5px solid rgba(107,127,94,0.5); background: transparent; backdrop-filter: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s, opacity 0.5s var(--ease); }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.12); background: rgba(107,127,94,0.25); border-color: var(--sage-light); }
.play-btn svg { width: 24px; height: 24px; fill: var(--cream); margin-left: 4px; }
.play-ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(107,127,94,0.3); animation: playPulse 2.4s ease-in-out infinite; }
.video-box.playing .play-ring { animation: none; opacity: 0; }
.video-label { position: absolute; bottom: 45%; left: 50%; transform: translate(-50%, 60px); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-light); font-weight: 400; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,0.5); transition: opacity 0.5s var(--ease); }
.video-container { display: flex; align-items: flex-start; gap: 28px; z-index: 2; }
.video-controls { display: flex; align-items: center; gap: 8px; width: 100%; max-width: clamp(160px, 25vw, 280px); margin-top: 12px; opacity: 0; transition: opacity 0.4s var(--ease); }
.video-controls.active { opacity: 1; }
.vc-time, .vc-duration { font-size: 0.68rem; color: var(--cream-faint); font-family: var(--font-mono); min-width: 32px; }
.vc-duration { text-align: right; }
.vc-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); cursor: pointer; position: relative; }
.vc-progress { height: 100%; border-radius: 2px; background: var(--sage); width: 0; transition: width 0.1s linear; }
.avatar-reaction { width: clamp(140px, 23vw, 260px); height: clamp(140px, 23vw, 260px); border-radius: 50%; overflow: hidden; border: 3px solid var(--sage); box-shadow: 0 0 30px var(--sage-glow), 0 0 60px rgba(107,127,94,0.12); flex-shrink: 0; opacity: 0; transform: scale(0.8); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.avatar-reaction.visible { opacity: 1; transform: scale(1); }
.avatar-reaction video { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ═══ SECTION 2 — INTERACTIVE CONVERSATION ═══ */
.demo-terminal-section { background: var(--bg); padding: 48px 48px 32px; gap: 24px; }
.demo-terminal-section .ambient-glow { background: radial-gradient(ellipse at 30% 80%, rgba(107,127,94,0.06) 0%, transparent 50%); }
.demo-terminal-section .orb-1 { top: 10%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(107,127,94,0.12), transparent 70%); animation: orbDrift 14s ease-in-out infinite; }
.demo-terminal-section .light-wash { bottom: -10%; right: 10%; width: 40%; height: 40%; background: radial-gradient(ellipse, rgba(196,149,106,0.08), transparent); }
.terminal-intro { display: flex; align-items: center; gap: 24px; z-index: 2; }
.terminal-header { text-align: center; z-index: 2; max-width: 640px; }
.terminal-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 14px; }
.terminal-header h2 em { font-style: italic; color: var(--sage-light); }
.terminal-header p { font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: var(--cream-light); font-weight: 300; line-height: 1.7; }
.terminal-layout { display: flex; gap: 24px; max-width: 750px; width: 100%; z-index: 2; flex: 1; min-height: 0; }
.command-sidebar { width: 200px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.cmd-group-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cream-faint); margin-bottom: 8px; display: block; }
.cmd-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border-radius: 10px; font-size: 0.75rem; font-family: var(--font-body); color: var(--cream-mid); background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); transition: all 0.3s var(--ease); text-align: left; cursor: none; }
.cmd-btn:hover, .cmd-btn.active { background: rgba(107,127,94,0.12); border-color: var(--sage); color: var(--sage-light); box-shadow: 0 0 20px rgba(107,127,94,0.08); }
.cmd-btn:disabled { opacity: 0.4; pointer-events: none; }
.cmd-btn.hint-pulse { animation: hintPulse 2s ease-in-out infinite; }
.cmd-icon { width: 28px; height: 28px; border-radius: 6px; background: rgba(107,127,94,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }
.terminal-window { flex: 1; background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; min-height: 0; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(107,127,94,0.05); }
.terminal-chrome { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border-light); flex-shrink: 0; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-red { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green { background: #28c840; }
.terminal-title { font-size: 0.72rem; color: var(--cream-faint); margin-left: auto; margin-right: auto; font-family: var(--font-body); }
.terminal-body { padding: 20px; font-family: var(--font-body); font-size: 0.82rem; line-height: 1.8; color: var(--cream-mid); flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.terminal-line { white-space: pre-wrap; word-break: break-word; }
.terminal-line.new { animation: fadeSlideIn 0.3s var(--ease) both; }
.t-prompt { color: var(--sage-light); font-weight: 500; }
.t-cursor { animation: cursorBlink 1s step-end infinite; color: var(--sage-light); }
.t-sage { color: var(--sage-light); }
.t-terra { color: var(--terra-light); }
.t-muted { color: var(--cream-faint); }
.t-success { color: #4ade80; }
.t-error { color: #f87171; }
.t-user-bubble { display: inline-block; padding: 10px 18px; border-radius: 18px; border-bottom-right-radius: 4px; background: linear-gradient(135deg, rgba(107,127,94,0.2), rgba(196,149,106,0.12)); border: 1px solid rgba(107,127,94,0.25); margin: 4px 0; }

/* ═══ SECTION 3 — MULTI-PLATFORM ═══ */
.demo-multi { background: var(--bg-warm); flex-direction: column; padding: 48px 48px; gap: 28px; }
.demo-multi .ambient-glow { background: radial-gradient(ellipse at 70% 20%, rgba(196,149,106,0.06) 0%, transparent 50%); }
.demo-multi .orb-1 { bottom: 10%; right: 5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(107,127,94,0.15), transparent 70%); animation: orbDrift 16s ease-in-out infinite; }
.demo-multi .orb-2 { top: 10%; left: 5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,149,106,0.12), transparent 70%); animation: orbDrift 13s ease-in-out infinite reverse; }
.multi-intro { display: flex; align-items: center; gap: 24px; z-index: 2; }
.multi-header { text-align: center; z-index: 2; max-width: 640px; }
.multi-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 14px; }
.multi-header h2 em { font-style: italic; color: var(--sage-light); }
.multi-header p { font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: var(--cream-light); font-weight: 300; line-height: 1.7; }
.multi-topic { display: flex; align-items: center; gap: 12px; z-index: 2; padding: 14px 24px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.multi-topic-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sage-muted); font-weight: 500; flex-shrink: 0; }
.multi-topic-text { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--cream-mid); }
.multi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 800px; width: 100%; z-index: 2; }
.multi-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: border-color 0.4s var(--ease), box-shadow 0.4s, transform 0.4s; }
.multi-card.done { border-color: var(--sage); box-shadow: 0 8px 32px rgba(107,127,94,0.15), 0 0 20px rgba(107,127,94,0.05); transform: translateY(-2px); }
.multi-card-header { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
.multi-icon { font-size: 1.2rem; flex-shrink: 0; }
.multi-name { font-size: 0.85rem; font-weight: 500; }
.multi-status { margin-left: auto; font-size: 0.68rem; color: var(--cream-faint); font-family: var(--font-body); transition: color 0.3s; }
.multi-status.generating { color: var(--terra-light); }
.multi-status.done { color: #4ade80; }
.multi-preview { padding: 16px 20px; font-size: 0.8rem; color: var(--cream-light); min-height: 110px; font-weight: 300; line-height: 1.6; }
.multi-progress { height: 3px; background: rgba(255,255,255,0.04); }
.multi-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--terra-light)); border-radius: 3px; transition: width 0.1s linear; box-shadow: 0 0 8px rgba(107,127,94,0.3); }

/* ═══ SECTION 4 — STATS ═══ */
.demo-stats { background: var(--bg-deep); padding: 100px 48px; min-height: auto; scroll-snap-align: none; position: relative; }
.demo-stats .ambient-glow { background: radial-gradient(ellipse at 50% 50%, rgba(107,127,94,0.05) 0%, transparent 60%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 960px; width: 100%; z-index: 2; }
.stat-card { text-align: center; padding: 36px 20px; border-radius: 20px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-light); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(107,127,94,0.1); }
.stat-avatar { width: clamp(100px, 16vw, 180px); height: clamp(100px, 16vw, 180px); border-radius: 50%; object-fit: cover; border: 3px solid var(--sage); box-shadow: 0 0 24px var(--sage-glow); margin: -40px auto 12px; }
.stat-num { font-family: var(--font-body); font-size: clamp(2.8rem, 4.5vw, 4rem); font-weight: 300; color: var(--sage-light); display: inline-block; }
.stat-unit { font-family: var(--font-body); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 300; color: var(--cream-faint); }
.stat-label { font-size: 0.85rem; color: var(--cream-mid); display: block; margin-top: 8px; font-weight: 400; }
.stat-sub { font-size: 0.72rem; color: var(--cream-faint); display: block; margin-top: 4px; font-weight: 300; font-style: italic; }

/* ═══ SECTION 5 — BEFORE / AFTER ═══ */
.demo-ba { background: var(--bg); padding: 40px 48px 24px; gap: 16px; }
.demo-ba .ambient-glow { background: radial-gradient(ellipse at 50% 100%, rgba(196,149,106,0.05) 0%, transparent 50%); }
.demo-ba .orb-1 { top: 15%; right: 8%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(196,149,106,0.12), transparent 70%); animation: orbDrift 11s ease-in-out infinite; }
.demo-ba .orb-2 { bottom: 15%; left: 8%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(107,127,94,0.1), transparent 70%); animation: orbDrift 14s ease-in-out infinite reverse; }
.ba-header { text-align: center; z-index: 2; max-width: 640px; }
.ba-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 14px; }
.ba-header h2 em { font-style: italic; color: var(--sage-light); }
.ba-title-hidden { opacity: 0; transform: translateY(-10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.ba-title-visible { opacity: 1; transform: translateY(0); }
.ba-avatars { display: flex; align-items: center; gap: 28px; z-index: 2; margin-bottom: 0; }
.ba-avatar-side { display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.ba-avatar-side.dim { opacity: 0.3; transform: scale(0.9); }
.ba-avatar-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.ba-avatar-side.before .ba-avatar-label { color: var(--terra); }
.ba-avatar-side.after .ba-avatar-label { color: var(--sage-light); }
.section-avatar.ba-lg { width: 140px; height: 140px; border-width: 3px; }
.ba-avatar-side.before .section-avatar { border-color: var(--terra); box-shadow: 0 0 20px rgba(196,149,106,0.2); }
.ba-avatar-side.after .section-avatar { border-color: var(--sage); box-shadow: 0 0 30px var(--sage-glow); }
.ba-vs { font-family: var(--font-display); font-size: 1.1rem; color: var(--cream-faint); text-transform: uppercase; letter-spacing: 2px; }
.ba-toggle-wrap { display: flex; align-items: center; gap: 16px; justify-content: center; z-index: 2; }
.ba-toggle-label { font-size: 0.85rem; color: var(--cream-faint); transition: color 0.3s; font-weight: 300; }
.ba-toggle-label.active { color: var(--cream); font-weight: 500; }
.ba-toggle { width: 60px; height: 32px; border-radius: 16px; position: relative; background: rgba(196,149,106,0.15); border: 1px solid var(--border-terra); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s; padding: 0; cursor: none; }
.ba-toggle.active { background: rgba(107,127,94,0.15); border-color: var(--sage); box-shadow: 0 0 16px rgba(107,127,94,0.15); }
.ba-toggle-knob { width: 26px; height: 26px; border-radius: 50%; background: var(--terra); position: absolute; top: 2px; left: 2px; transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.ba-toggle.active .ba-toggle-knob { transform: translateX(28px); background: var(--sage-light); box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 12px rgba(107,127,94,0.3); }
.ba-scenes { position: relative; flex: 1; min-height: 0; max-width: 600px; width: 100%; z-index: 2; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.ba-scene { opacity: 0; transform: translateY(10px); position: absolute; width: 100%; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.ba-scene.active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.ba-timeline-item { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border-light); align-items: flex-start; }
.ba-timeline-item:last-child { border-bottom: none; }
.ba-time { font-family: var(--font-mono); font-size: 0.78rem; color: var(--cream-faint); min-width: 70px; flex-shrink: 0; padding-top: 2px; }
.ba-task { font-size: 0.88rem; font-weight: 300; line-height: 1.5; display: flex; align-items: flex-start; gap: 10px; }
.ba-task::before { flex-shrink: 0; font-size: 1.3rem; line-height: 1; }
.ba-manual { color: var(--terra-light); }
.ba-manual::before { content: '\1F629'; }
.ba-auto { color: var(--sage-light); }
.ba-auto::before { content: '\2728'; }
/* emojiPop: see tokens.css */
.ba-scene.active .ba-timeline-item .ba-task::before { animation: emojiPop 0.4s var(--ease) both; }
.ba-scene.active .ba-timeline-item:nth-child(2) .ba-task::before { animation-delay: 0.1s; }
.ba-scene.active .ba-timeline-item:nth-child(3) .ba-task::before { animation-delay: 0.2s; }
.ba-scene.active .ba-timeline-item:nth-child(4) .ba-task::before { animation-delay: 0.3s; }
.ba-scene.active .ba-timeline-item:nth-child(5) .ba-task::before { animation-delay: 0.4s; }
.ba-scene.active .ba-timeline-item:nth-child(6) .ba-task::before { animation-delay: 0.5s; }
.ba-scene.active .ba-timeline-item:nth-child(7) .ba-task::before { animation-delay: 0.6s; }
.ba-scene.active .ba-timeline-item:nth-child(8) .ba-task::before { animation-delay: 0.7s; }

/* ═══ SECTION 6 — SHE LEARNS ═══ */
.demo-process { background: var(--bg-warm); padding: 48px 48px 32px; gap: 24px; height: auto; overflow: visible; }
.demo-process .ambient-glow { background: radial-gradient(ellipse at 50% 50%, rgba(107,127,94,0.05) 0%, transparent 60%); }
.demo-process .orb-1 { bottom: 20%; left: 10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(107,127,94,0.12), transparent 70%); animation: orbDrift 12s ease-in-out infinite; }
.process-intro { display: flex; align-items: center; gap: 24px; z-index: 2; }
.process-header { text-align: center; z-index: 2; max-width: 640px; }
.process-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; margin-bottom: 14px; }
.process-header h2 em { font-style: italic; color: var(--sage-light); }
.process-header p { font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: var(--cream-light); font-weight: 300; line-height: 1.7; }
.correction-flow { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 500px; width: 100%; z-index: 2; }
.flow-step { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 10px 18px; border-radius: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-light); opacity: 0.2; transform: scale(0.95); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s, box-shadow 0.6s; }
.flow-step.active { opacity: 1; transform: scale(1); border-color: var(--sage); box-shadow: 0 0 20px rgba(107,127,94,0.08); }
.flow-step.error.active { border-color: #f87171; box-shadow: 0 0 20px rgba(248,113,113,0.1); }
.flow-icon-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.08); box-shadow: none; flex-shrink: 0; transition: border-color 0.6s, box-shadow 0.6s; }
.flow-step.active .flow-icon-avatar { border-color: var(--sage); box-shadow: 0 0 24px var(--sage-glow); }
.flow-step.error.active .flow-icon-avatar { border-color: #f87171; box-shadow: 0 0 24px rgba(248,113,113,0.25); }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--cream-faint); font-size: 1.2rem; opacity: 0.3; transition: opacity 0.6s, color 0.6s; }
.flow-arrow.active { opacity: 1; color: var(--sage-light); }
.flow-step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; margin-bottom: 6px; color: var(--cream); }
.flow-step p { font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: var(--cream-light); font-weight: 300; line-height: 1.7; }
.flow-result { font-family: var(--font-display); font-style: italic; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--sage-muted); text-align: center; z-index: 2; max-width: 500px; opacity: 0; transition: opacity 0.8s var(--ease); }
.flow-result.vis { opacity: 1; }

/* ═══ CHAT: DISCOVER YOUR FIT ═══ */
.chat-section {
  background: var(--bg-warm); flex-direction: column;
  padding: 48px 24px 48px 280px; gap: 28px;
  height: auto;
  overflow: visible; scroll-snap-align: none;
}
.chat-section .orb-1 { top: 10%; right: 10%; width: 400px; height: 400px; background: radial-gradient(circle, var(--sage-pale), transparent 70%); }
.chat-section .orb-2 { bottom: 10%; left: 5%; width: 350px; height: 350px; background: radial-gradient(circle, var(--terra-pale), transparent 70%); }
.ip-content { display: flex; flex-direction: column; align-items: center; gap: 36px; max-width: 720px; width: 100%; z-index: 2; }
.ip-header { text-align: center; }
.ip-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15; margin-bottom: 16px; }
.ip-header h2 em { font-style: italic; color: var(--sage); }
.ip-header p { font-size: clamp(0.92rem, 1.2vw, 1.05rem); color: var(--cream-light); font-weight: 300; line-height: 1.7; max-width: 480px; margin: 0 auto; }

/* Giant chat avatar */
.chat-hero-avatar {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin: -8px 0;
}
.chat-hero-glow {
  position: absolute; width: clamp(240px, 33vw, 360px); height: clamp(240px, 33vw, 360px); border-radius: 50%;
  background: radial-gradient(circle, rgba(107,127,94,0.18) 0%, rgba(107,127,94,0.06) 50%, transparent 70%);
  animation: pulse 4s ease-in-out infinite alternate;
}
.chat-hero-img {
  width: clamp(200px, 28vw, 300px); height: clamp(200px, 28vw, 300px); border-radius: 50%; object-fit: cover;
  border: 3px solid var(--sage);
  box-shadow: 0 0 40px var(--sage-glow), 0 0 80px rgba(107,127,94,0.12);
  animation: avatarZoom 4s ease-in-out infinite;
  position: relative; z-index: 2;
}

/* Chat widget */
.chat-widget {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden; display: flex;
  flex-direction: column; width: 100%;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  min-height: 180px; max-height: 420px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.chat-msg.bot {
  display: flex; gap: 12px; align-items: flex-start;
  align-self: flex-start; max-width: 90%; animation: msgIn 0.4s var(--ease) both;
}
.chat-bot-av {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--sage); box-shadow: 0 0 12px var(--sage-glow);
}
.chat-bot-av img { width: 100%; height: 100%; object-fit: cover; }
.chat-bubble-text {
  padding: 14px 18px; border-radius: 18px; border-bottom-left-radius: 4px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  font-size: 0.92rem; line-height: 1.6; font-weight: 300; color: var(--cream);
}
.chat-msg.user {
  max-width: 85%; padding: 14px 18px; border-radius: 18px; border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, rgba(107,127,94,0.25), rgba(196,149,106,0.15));
  border: 1px solid rgba(107,127,94,0.3); color: var(--cream); align-self: flex-end;
  font-size: 0.92rem; line-height: 1.6; font-weight: 300; animation: msgIn 0.4s var(--ease) both;
}
.chat-typing {
  display: flex; gap: 5px; padding: 14px 18px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 18px; border-bottom-left-radius: 4px; align-self: flex-start; margin-left: 48px;
}
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: typingDot 1.4s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Chat progress bar */
.chat-progress {
  position: relative; height: 4px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.chat-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--sage), var(--terra));
  transition: width 0.5s var(--ease);
}
.chat-progress-label {
  position: absolute; right: 16px; top: 10px;
  font-size: 0.68rem; color: var(--cream-faint);
  letter-spacing: 0.5px; font-weight: 400;
}

/* Chat answer buttons */
.chat-options {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 24px 16px; animation: msgIn 0.4s var(--ease) both;
}
.chat-opt {
  padding: 14px 20px; border-radius: 16px;
  font-size: 0.85rem; font-weight: 300;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--cream-mid); transition: all 0.3s var(--ease);
  cursor: pointer; text-align: left; line-height: 1.5;
  font-family: var(--font-body);
}
.chat-opt:hover {
  background: var(--sage); border-color: var(--sage);
  color: white; transform: translateX(4px);
}
.chat-opt.selected {
  background: linear-gradient(135deg, rgba(107,127,94,0.25), rgba(196,149,106,0.15));
  border-color: var(--sage); color: var(--cream); pointer-events: none;
}

/* Chat birthday picker */
.chat-birthday {
  display: flex; gap: 8px; padding: 8px 24px 16px;
  animation: msgIn 0.4s var(--ease) both; flex-wrap: wrap;
}
.chat-birthday select,
.chat-birthday input[type="number"] {
  flex: 1; min-width: 70px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
  color: var(--cream); font-size: 0.85rem;
  font-family: var(--font-body); outline: none;
  transition: border-color 0.3s; -webkit-appearance: none; appearance: none;
}
.chat-birthday select:focus,
.chat-birthday input[type="number"]:focus { border-color: var(--sage); }
.chat-birthday select option { background: var(--bg); color: var(--cream); }
.chat-birthday-submit {
  padding: 12px 24px; border-radius: 14px;
  background: var(--sage); color: white; border: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.4px;
  font-family: var(--font-body); cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.chat-birthday-submit:hover { transform: scale(1.04); background: var(--sage-light); }

/* Chat inline text/email input */
.chat-inline-input {
  display: flex; gap: 8px; padding: 8px 24px 16px;
  animation: msgIn 0.4s var(--ease) both; flex-wrap: wrap;
}
.chat-inline-input input {
  flex: 1; min-width: 160px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
  color: var(--cream); font-size: 0.85rem;
  font-family: var(--font-body); outline: none;
  transition: border-color 0.3s;
}
.chat-inline-input input::placeholder { color: var(--cream-faint); }
.chat-inline-input input:focus { border-color: var(--sage); }

/* Chat cycle input */
.chat-cycle-input {
  display: flex; flex-direction: column; gap: 8px; padding: 8px 24px 16px;
  animation: msgIn 0.4s var(--ease) both;
}
.chat-input-label {
  font-size: 0.75rem; color: var(--cream-faint);
  letter-spacing: 0.5px; font-weight: 400;
  margin-top: 4px;
}
.chat-date-input,
.chat-cycle-input input[type="number"] {
  width: 100%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
  color: var(--cream); font-size: 0.85rem;
  font-family: var(--font-body); outline: none;
  transition: border-color 0.3s; -webkit-appearance: none; appearance: none;
}
.chat-date-input:focus,
.chat-cycle-input input[type="number"]:focus { border-color: var(--sage); }
.chat-date-input::-webkit-calendar-picker-indicator { filter: invert(0.8); cursor: pointer; }

/* Chat textarea */
.chat-textarea-wrap {
  display: flex; flex-direction: column; gap: 8px; padding: 8px 24px 16px;
  animation: msgIn 0.4s var(--ease) both;
}
.chat-textarea {
  width: 100%; min-height: 100px; max-height: 200px; resize: vertical;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px;
  color: var(--cream); font-size: 0.85rem;
  font-family: var(--font-body); outline: none;
  transition: border-color 0.3s; line-height: 1.6;
}
.chat-textarea::placeholder { color: var(--cream-faint); }
.chat-textarea:focus { border-color: var(--sage); }

/* Chat result card */
.chat-result {
  display: none; flex-direction: column; align-items: center;
  gap: 24px; padding: 36px 24px; text-align: center;
  animation: msgIn 0.6s var(--ease) both;
}
.chat-result.show { display: flex; }
.chat-result-header { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chat-result-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300; color: var(--cream); line-height: 1.3;
}
.chat-result-sub {
  font-size: 0.88rem; color: var(--cream-light);
  font-weight: 300; line-height: 1.6; max-width: 420px;
  font-family: var(--font-display); font-style: italic;
}

/* Blueprint cards */
.blueprint-card {
  width: 100%; max-width: 480px; text-align: left;
  border-radius: 20px; padding: 24px;
  animation: msgIn 0.5s var(--ease) both;
}
.blueprint-card-icon {
  font-size: 2rem; margin-bottom: 8px;
}
.blueprint-card h4 {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 400; margin-bottom: 12px; line-height: 1.3;
}
.blueprint-card-body {
  font-size: 0.88rem; color: var(--cream-mid);
  font-weight: 300; line-height: 1.75;
}
.blueprint-card-guidance {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem; color: var(--cream); font-weight: 400;
  line-height: 1.65; font-style: italic;
}

/* Cycle card */
.cycle-card {
  background: linear-gradient(135deg, rgba(107,127,94,0.12), rgba(107,127,94,0.04));
  border: 1px solid rgba(107,127,94,0.25);
}
.cycle-card h4 { color: var(--sage-light); }

/* Cosmic card */
.cosmic-card {
  background: linear-gradient(135deg, rgba(196,149,106,0.1), rgba(196,149,106,0.03));
  border: 1px solid rgba(196,149,106,0.2);
}
.cosmic-card h4 { color: var(--terra-light); }
.cosmic-section-label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--terra); font-weight: 500;
  margin-top: 16px; margin-bottom: 6px;
}
.cosmic-section-label:first-child { margin-top: 0; }
.cosmic-text {
  display: block; font-size: 0.88rem; color: var(--cream-mid);
  font-weight: 300; line-height: 1.75;
}

/* Business card */
.business-card {
  background: linear-gradient(135deg, rgba(212,169,154,0.08), rgba(212,169,154,0.02));
  border: 1px solid rgba(212,169,154,0.2);
}
.business-card h4 { color: var(--blush); }

/* Teaser */
.blueprint-teaser {
  max-width: 440px; text-align: center;
  padding: 20px 0;
}
.blueprint-teaser p {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--cream); line-height: 1.7;
  font-weight: 300;
}

.chat-result-cta {
  margin-top: 4px; cursor: pointer;
}
.chat-result-micro {
  font-size: 0.78rem; color: var(--cream-faint); font-weight: 300;
}

/* ═══ TESTIMONIALS ═══ */
.demo-testimonials { background: var(--bg-warm); padding: 48px 48px; gap: 24px; }
.demo-testimonials .orb-1 { top: 20%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(212,169,154,0.08), transparent 70%); }
.testimonials-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; z-index: 2; width: 100%; max-width: 960px; }
.testimonials-header { text-align: center; z-index: 2; }
.testimonials-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 300; margin-bottom: 14px; line-height: 1.2; }
.testimonials-header h2 em { font-style: italic; color: var(--sage); }
.testimonials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.testimonial-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 20px; padding: 32px 24px; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(107,127,94,0.4); box-shadow: 0 12px 40px rgba(107,127,94,0.1); }
.testimonial-quote-mark { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--sage); opacity: 0.5; margin-bottom: 8px; }
.testimonial-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.7; color: var(--cream-mid); font-weight: 300; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage); box-shadow: 0 0 16px var(--sage-glow); flex-shrink: 0; }
.testimonial-name { display: block; font-size: 0.85rem; font-weight: 500; color: var(--cream); }
.testimonial-role { display: block; font-size: 0.72rem; color: var(--cream-faint); font-weight: 300; }
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ═══ SECTION 7 — FINAL CTA ═══ */
.final { background: var(--bg-deep); flex-direction: column; gap: 28px; padding: 48px 48px; }
.final .orb-1 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(107,127,94,0.2) 0%, rgba(196,149,106,0.15) 30%, rgba(212,169,154,0.08) 50%, transparent 70%); animation: pulse 8s ease-in-out infinite alternate; }
.final .light-wash { top: 20%; left: 30%; width: 40%; height: 40%; background: radial-gradient(ellipse, rgba(196,149,106,0.08), transparent); }
.final-avatar-wrap { position: relative; z-index: 2; }
.final-avatar { width: clamp(100px, 13vw, 150px); height: clamp(100px, 13vw, 150px); border-radius: 50%; object-fit: cover; border: 3px solid var(--sage); box-shadow: 0 0 40px var(--sage-glow), 0 0 80px rgba(107,127,94,0.1); animation: avatarZoom 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite; }
.final-avatar-glow { position: absolute; inset: -20px; border-radius: 50%; background: radial-gradient(circle, rgba(107,127,94,0.15), transparent 70%); animation: pulse 4s ease-in-out infinite alternate; }
.final-text { text-align: center; max-width: 700px; z-index: 2; }
.final-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 300; margin-bottom: 20px; line-height: 1.3; }
.final-text h2 em { font-style: italic; color: var(--sage-light); }
.final-body { font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: var(--cream-mid); font-weight: 300; line-height: 1.75; z-index: 2; text-align: center; max-width: 600px; margin-bottom: 12px; }
.final-highlight { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--sage-muted); line-height: 1.6; font-weight: 300; z-index: 2; text-align: center; max-width: 550px; }
.final-cta-wrap { z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.final-micro { font-size: 0.78rem; color: var(--cream-faint); font-weight: 300; }
/* Email capture */
.final-email-wrap { z-index: 2; margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.final-email-label { font-size: 0.82rem; color: var(--cream-faint); font-weight: 300; }
.email-row { display: flex; gap: 8px; width: 100%; max-width: 480px; justify-content: center; margin: 0 auto; }
.email-row input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 50px; padding: 12px 20px; color: var(--cream); font-size: 0.85rem; font-family: var(--font-body); outline: none; transition: border-color 0.3s; }
.email-row input::placeholder { color: var(--cream-faint); }
.email-row input:focus { border-color: var(--sage); }
.email-row button { padding: 12px 28px; border-radius: 50px; background: var(--sage); color: white; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.4px; transition: transform 0.3s var(--ease), background 0.3s; cursor: none; white-space: nowrap; }
.email-row button:hover { transform: scale(1.04); background: var(--sage-light); }
.email-msg { font-size: 0.82rem; color: var(--sage-light); font-weight: 400; min-height: 1.2em; }
.email-msg.error { color: #f87171; }

/* Button pulse animation */
@keyframes btnPulse { 0%, 100% { box-shadow: 0 8px 32px rgba(107,127,94,0.35), 0 0 60px rgba(107,127,94,0.1); } 50% { box-shadow: 0 8px 40px rgba(107,127,94,0.55), 0 0 80px rgba(107,127,94,0.25); } }
.btn-pulse { animation: btnPulse 2.5s ease-in-out infinite; }
.btn-pulse:hover { animation: none; }

/* ═══ FOOTER ═══ */
.footer { padding: 24px; text-align: center; font-size: 0.72rem; color: var(--cream-faint); border-top: 1px solid var(--border-light); background: var(--bg-footer); }
.footer a { color: var(--sage-muted); transition: color 0.3s; }
.footer a:hover { color: var(--sage-light); }

/* ═══ DEMO CHAT EXPERIENCE ═══ */

/* Section */
.demo-chat-section { background: var(--bg); padding: 80px 48px 32px; gap: 20px; }
.demo-chat-section .ambient-glow { background: radial-gradient(ellipse at 30% 80%, rgba(107,127,94,0.06) 0%, transparent 50%); }
.demo-chat-section .orb-1 { top: 10%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(107,127,94,0.12), transparent 70%); animation: orbDrift 14s ease-in-out infinite; }
.demo-chat-section .orb-2 { bottom: -10%; left: -8%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,149,106,0.1), transparent 70%); animation: orbDrift 16s ease-in-out infinite reverse; }

/* LIVE DEMO badge */
.demo-live-badge { position: absolute; top: 60px; right: 32px; display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(107,127,94,0.15); border: 1px solid var(--sage); border-radius: 20px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sage-light); z-index: 10; animation: badgePulse 2s ease-in-out infinite; }
.demo-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: statusPulse 2s infinite; box-shadow: 0 0 8px rgba(74,222,128,0.5); }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 12px rgba(107,127,94,0.2); } 50% { box-shadow: 0 0 24px rgba(107,127,94,0.4); } }

/* Intro */
.demo-chat-intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; z-index: 2; }
.demo-chat-avatar-wrap { position: relative; margin-bottom: 4px; }
.demo-chat-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sage); box-shadow: 0 0 30px var(--sage-glow), 0 0 60px rgba(107,127,94,0.15); animation: avatarZoom 4s ease-in-out infinite; position: relative; z-index: 2; }
.demo-chat-avatar-glow { position: absolute; inset: -16px; border-radius: 50%; background: radial-gradient(circle, rgba(107,127,94,0.2), transparent 70%); animation: pulse 4s ease-in-out infinite alternate; }
.demo-chat-heading { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 300; line-height: 1.15; color: var(--cream); }
.demo-chat-heading em { font-style: italic; color: var(--sage-light); text-shadow: 0 0 25px rgba(107,127,94,0.4); }
.demo-chat-subtitle { font-size: 0.95rem; color: var(--cream-mid); font-weight: 300; animation: fadeSlideIn 1s var(--ease) 0.5s both; }

/* Layout */
.demo-chat-layout { display: flex; gap: 24px; max-width: 1060px; width: 100%; z-index: 2; flex: 1; min-height: 0; }

/* ── Connected Tools Sidebar ── */
.demo-tools-sidebar { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 24px; padding: 18px 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.demo-tools-sidebar::-webkit-scrollbar { width: 4px; }
.demo-tools-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.tools-profile { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.tools-profile-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage); box-shadow: 0 0 12px var(--sage-glow); }
.tools-profile-info { display: flex; flex-direction: column; }
.tools-profile-name { font-size: 0.85rem; font-weight: 500; color: var(--cream); }
.tools-profile-status { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--sage-muted); }
.tools-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: statusPulse 2s infinite; }
.tools-section { display: flex; flex-direction: column; gap: 8px; }
.tools-section-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cream-faint); font-weight: 500; }
.tools-grid { display: flex; flex-direction: column; gap: 4px; }
.tool-card { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,0.02); border: 1px solid transparent; transition: all 0.3s var(--ease); }
.tool-card:hover { background: rgba(107,127,94,0.06); border-color: var(--border-light); }
.tool-emoji { font-size: 1.1rem; flex-shrink: 0; line-height: 1; }
.tool-name { font-size: 0.75rem; color: var(--cream); font-weight: 300; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.tool-status-dot.active { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.4); }

/* ── Chat Input Area (chips + input bar) ── */
.demo-chat-input-area { flex-shrink: 0; border-top: 1px solid var(--border-light); background: rgba(255,255,255,0.02); }

/* ── Scenario Chips ── */
.demo-scenario-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 4px; }
.scenario-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 20px; background: rgba(107,127,94,0.15); border: 1px solid var(--sage); font-family: var(--font-body); font-size: 0.82rem; font-weight: 400; color: var(--cream); cursor: pointer; transition: all 0.3s var(--ease); white-space: nowrap; }
.scenario-chip:hover { background: rgba(107,127,94,0.28); border-color: var(--sage-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(107,127,94,0.2); }
@keyframes hintPulse { 0%, 100% { border-color: var(--sage); } 50% { border-color: var(--sage-light); box-shadow: 0 0 20px rgba(107,127,94,0.25); } }
.scenario-chip.hint-pulse { animation: hintPulse 2s ease-in-out infinite; }
.chip-emoji { font-size: 1.05rem; line-height: 1; }

/* ── Categorized Scenarios Sidebar ── */
.demo-scenarios-sidebar { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.demo-scenarios-sidebar::-webkit-scrollbar { width: 4px; }
.demo-scenarios-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Scenario groups */
.scenario-group { display: flex; flex-direction: column; gap: 4px; }
.scenario-group-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cream-faint); font-weight: 500; padding: 12px 0 4px; }
.scenario-group:first-child .scenario-group-label { padding-top: 0; }

/* Sidebar chips */
.demo-scenario-chips--sidebar { display: flex; flex-direction: column; gap: 3px; padding: 0; }
.demo-scenario-chips--sidebar .scenario-chip { white-space: nowrap; text-align: left; width: 100%; padding: 12px 16px; border-radius: 12px; font-size: 0.85rem; background: rgba(255,255,255,0.03); border: 1px solid transparent; gap: 10px; }
.demo-scenario-chips--sidebar .scenario-chip:hover { background: rgba(107,127,94,0.12); border-color: rgba(107,127,94,0.2); transform: none; box-shadow: none; }

/* Badge icon in chip */
.chip-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(107,127,94,0.15); font-size: 0.72rem; color: var(--sage-light); flex-shrink: 0; font-weight: 500; line-height: 1; }

/* ── macOS Traffic Lights ── */
.demo-traffic-lights { display: flex; gap: 7px; align-items: center; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; }
.tl-red { background: #ff5f57; }
.tl-yellow { background: #febc2e; }
.tl-green { background: #28c840; }
.demo-chrome-title { font-family: var(--font-body); font-size: 0.82rem; color: var(--cream-mid); font-weight: 400; margin-left: auto; }

/* ── Welcome prompt (You: Tell me...) ── */
.demo-welcome-prompt { font-size: 0.95rem; color: var(--cream-mid); font-weight: 300; padding: 24px; }
.demo-you-label { color: var(--cream); font-weight: 500; }

/* ── Try Another Button ── */
.demo-try-another { align-self: center; margin-top: 12px; padding: 8px 20px; border-radius: 20px; background: rgba(107,127,94,0.1); border: 1px solid var(--border); color: var(--sage-light); font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; cursor: pointer; transition: all 0.3s var(--ease); animation: fadeSlideIn 0.5s var(--ease) both; }
.demo-try-another:hover { background: rgba(107,127,94,0.2); border-color: var(--sage); transform: translateY(-2px); }

/* Chat window */
.demo-chat-window { flex: 1; display: flex; flex-direction: column; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(107,127,94,0.06); min-height: 0; }
.demo-chat-chrome { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border-light); flex-shrink: 0; }
.demo-chrome-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage); box-shadow: 0 0 12px var(--sage-glow); }
.demo-chrome-info { display: flex; flex-direction: column; }
.demo-chrome-name { font-size: 0.85rem; font-weight: 500; color: var(--cream); }
.demo-chrome-status { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--sage-muted); }
.demo-chrome-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: statusPulse 2s infinite; }

/* Chat body */
.demo-chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.demo-chat-body::-webkit-scrollbar { width: 4px; }
.demo-chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Welcome state */
.demo-chat-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; flex: 1; text-align: center; padding: 40px 20px; opacity: 0.7; }
.demo-welcome-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); opacity: 0.6; }
.demo-welcome-text { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--cream-faint); max-width: 300px; line-height: 1.6; }

/* User message */
.demo-msg-user { align-self: flex-end; max-width: 85%; padding: 14px 18px; border-radius: 18px; border-bottom-right-radius: 4px; background: linear-gradient(135deg, rgba(107,127,94,0.25), rgba(196,149,106,0.15)); border: 1px solid rgba(107,127,94,0.3); color: var(--cream); font-size: 0.88rem; line-height: 1.6; font-weight: 300; animation: msgIn 0.4s var(--ease) both; }

/* Bot message */
.demo-msg-bot { display: flex; gap: 10px; align-items: flex-start; align-self: flex-start; max-width: 90%; animation: msgIn 0.4s var(--ease) both; }
.demo-msg-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--sage); box-shadow: 0 0 8px var(--sage-glow); flex-shrink: 0; margin-top: 2px; }
.demo-msg-spacer { width: 42px; flex-shrink: 0; }
.demo-msg-bubble { padding: 14px 18px; border-radius: 18px; border-bottom-left-radius: 4px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); font-size: 0.88rem; line-height: 1.7; font-weight: 300; color: var(--cream); }
.demo-msg-bubble .msg-sage { color: var(--sage-light); }
.demo-msg-bubble .msg-terra { color: var(--terra-light); }
.demo-msg-bubble .msg-muted { color: var(--cream-faint); }
.demo-msg-bubble .msg-success { color: #4ade80; }
.demo-msg-bubble .msg-error { color: #f87171; }

/* Typing indicator */
.demo-typing { display: flex; gap: 10px; align-items: flex-end; align-self: flex-start; animation: msgIn 0.3s var(--ease) both; }
.demo-typing-dots { display: flex; gap: 5px; padding: 14px 18px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 18px; border-bottom-left-radius: 4px; }
.demo-typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: typingDot 1.4s infinite; }
.demo-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Fake input bar */
.demo-chat-input-bar { display: flex; align-items: center; padding: 12px 20px; }
.demo-chat-input-placeholder { flex: 1; font-size: 0.85rem; color: var(--cream-faint); font-weight: 300; }
.demo-chat-send-icon { font-size: 1.1rem; color: var(--sage); opacity: 0.5; }

/* Post-demo CTA bridge */
.demo-cta-bridge { display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2; text-align: center; animation: fadeSlideIn 0.8s var(--ease) both; padding-top: 8px; }
.demo-cta-text { font-family: var(--font-display); font-style: italic; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--cream-mid); max-width: 480px; line-height: 1.6; }
.demo-cta-text em { color: var(--sage-light); font-style: italic; }
.demo-cta-btn { font-size: 0.92rem; }
.demo-cta-micro { font-size: 0.78rem; color: var(--cream-faint); font-weight: 300; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  html { cursor: auto; }
  .cur-dot, .cur-ring { display: none; }
  .top-bar { padding: 0 16px; }
  .demo-hero { padding: 52px 20px 20px; }
  .demo-hero-grid { gap: 12px; }
  .status-text { min-width: 200px; font-size: 0.75rem; }
  .hero-video-wrap { max-width: 220px; }
  .demo-video { padding: 48px 20px; }
  .video-container { gap: 12px; justify-content: center; }
  .vc-time, .vc-duration { font-size: 0.6rem; min-width: 26px; }
  .play-btn svg { width: 16px; height: 16px; }
  .demo-terminal-section { padding: 32px 20px 20px; gap: 16px; }
  .terminal-layout { flex-direction: column; flex: 1; min-height: 0; }
  .terminal-intro .avatar-with-speech { display: none; }
  .command-sidebar { flex-direction: row; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 8px; }
  .command-sidebar::-webkit-scrollbar { display: none; }
  .cmd-group { display: flex; gap: 8px; flex-shrink: 0; }
  .cmd-group-label { display: none; }
  .cmd-btn { white-space: nowrap; padding: 8px 12px; font-size: 0.75rem; }
  .cmd-icon { width: 24px; height: 24px; }
  .terminal-window { min-height: 0; flex: 1; }
  .terminal-body { font-size: 0.75rem; padding: 16px; }
  /* Demo chat responsive */
  .demo-chat-section { padding: 300px 20px 20px; gap: 16px; }
  .demo-live-badge { top: 52px; right: 16px; font-size: 0.65rem; padding: 6px 14px; }
  .demo-chat-avatar { width: 60px; height: 60px; }
  .demo-chat-heading { font-size: 1.6rem; }
  .demo-chat-layout { flex-direction: column; }
  .demo-scenarios-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; overflow-y: visible; max-height: none; }
  .scenario-group { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
  .scenario-group-label { padding: 0; font-size: 0.55rem; width: 100%; }
  .demo-scenario-chips--sidebar { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .demo-scenario-chips--sidebar .scenario-chip { width: auto; font-size: 0.72rem; padding: 7px 10px; border-radius: 10px; }
  .chip-badge { width: 20px; height: 20px; font-size: 0.6rem; border-radius: 6px; }
  .demo-chrome-title { font-size: 0.72rem; }
  .tl-dot { width: 9px; height: 9px; }
  .demo-chat-window { flex: 1; min-height: 0; }
  .demo-scenario-chips { max-width: 100%; gap: 6px; }
  .scenario-chip { font-size: 0.72rem; padding: 6px 10px; }
  .demo-msg-bubble { font-size: 0.82rem; }
  .demo-msg-user { font-size: 0.82rem; }
  .demo-chat-section .orb-1 { width: 300px; height: 300px; }
  .demo-chat-section .orb-2 { width: 200px; height: 200px; }
  .demo-multi { padding: 48px 20px; }
  .multi-intro .avatar-with-speech { display: none; }
  .multi-grid { grid-template-columns: 1fr; }
  .demo-stats { padding: 60px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .demo-ba { padding: 28px 20px 16px; gap: 12px; }
  .ba-scenes { min-height: 0; flex: 1; }
  .section-avatar.ba-lg { width: 90px; height: 90px; }
  .ba-avatars { gap: 20px; }
  .ba-task { font-size: 0.8rem; }
  .ba-timeline-item { padding: 6px 0; }
  .demo-process { padding: 40px 20px 28px; gap: 16px; }
  .process-intro .avatar-with-speech { display: none; }
  .correction-flow { gap: 2px; }
  .flow-step { padding: 8px 12px; gap: 10px; }
  .flow-icon-avatar { width: 40px; height: 40px; }
  .flow-step h3 { font-size: 0.9rem; margin-bottom: 2px; }
  .flow-step p { font-size: 0.72rem; }
  .flow-arrow { font-size: 0.9rem; }
  /* Chat */
  .chat-section { padding: 32px 16px; }
  .ip-content { gap: 24px; }
  .ip-header h2 { font-size: 2rem; }
  .chat-bot-av { width: 30px; height: 30px; }
  .chat-typing { margin-left: 42px; }
  .chat-options { padding: 4px 16px 12px; }
  .chat-birthday { padding: 8px 16px 12px; }
  .chat-inline-input { padding: 8px 16px 12px; }
  .chat-cycle-input { padding: 8px 16px 12px; }
  .chat-textarea-wrap { padding: 8px 16px 12px; }
  .chat-result { padding: 24px 16px; }
  .demo-testimonials { padding: 48px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .final { padding: 48px 20px; }
  .email-row { flex-direction: column; }
  .email-row input, .email-row button { width: 100%; }
  /* Shrink decorative orbs on mobile */
  .demo-hero .orb-1 { width: 300px; height: 300px; }
  .demo-hero .orb-2 { width: 250px; height: 250px; }
  .demo-hero .orb-3 { width: 200px; height: 200px; }
  .demo-terminal-section .orb-1 { width: 300px; height: 300px; }
  .demo-multi .orb-1 { width: 250px; height: 250px; }
  .demo-multi .orb-2 { width: 200px; height: 200px; }
  .demo-ba .orb-1 { width: 220px; height: 220px; }
  .demo-ba .orb-2 { width: 200px; height: 200px; }
  .demo-process .orb-1 { width: 250px; height: 250px; }
  .demo-testimonials .orb-1 { width: 300px; height: 300px; }
  .final .orb-1 { width: 400px; height: 400px; }
}
@media (max-width: 480px) {
  .demo-hero { padding: 48px 16px 16px; }
  .demo-video { padding: 36px 16px; }
  .demo-multi { padding: 36px 16px; }
  .demo-stats { padding: 40px 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .demo-ba { padding: 20px 16px 12px; }
  .section-avatar.ba-lg { width: 70px; height: 70px; }
  .ba-avatars { gap: 14px; }
  .ba-time { min-width: 55px; font-size: 0.7rem; }
  .ba-task { font-size: 0.75rem; }
  .demo-process { padding: 28px 16px 20px; }
  .flow-icon-avatar { width: 34px; height: 34px; }
  .flow-step h3 { font-size: 0.82rem; }
  .flow-step p { font-size: 0.68rem; }
  .chat-section { padding: 24px 12px; }
  .final { padding: 36px 16px; }
  .btn-primary { padding: 14px 32px; font-size: 0.82rem; }
  .email-row { gap: 6px; }
  .top-title { font-size: 0; visibility: hidden; width: 0; }
  /* Demo chat 480 */
  .demo-chat-section { padding: 280px 16px 16px; }
  .demo-chat-avatar { width: 48px; height: 48px; }
  .demo-chat-heading { font-size: 1.4rem; }
  .demo-tools-sidebar { max-height: 90px; padding: 10px 12px; border-radius: 14px; }
  .tools-profile-avatar { width: 30px; height: 30px; }
  .tools-profile-name { font-size: 0.75rem; }
  .tool-emoji { font-size: 0.9rem; }
  .scenario-chip { font-size: 0.72rem; padding: 6px 10px; }
  .chip-emoji { font-size: 0.9rem; }
  .demo-msg-bubble { font-size: 0.78rem; padding: 10px 14px; }
  .demo-msg-user { font-size: 0.78rem; padding: 10px 14px; }
  .demo-msg-avatar { width: 26px; height: 26px; }
  .demo-msg-spacer { width: 36px; }
}
@media (max-width: 375px) {
  .hero-h1 { font-size: 2rem; }
  .status-text { min-width: 160px; }
  .terminal-body { font-size: 0.7rem; padding: 12px; }
}
