/* ═══════════════════════════════════════════════════════
   Intelliprompter — Embedded Demo Simulation
   Clean, realistic, no parallax
   ═══════════════════════════════════════════════════════ */

/* ── Mobile Gate ─────────────────────────────────────── */
.mobile-gate { display: none; position: fixed; inset: 0; z-index: 9999; background: var(--black); align-items: center; justify-content: center; text-align: center; padding: 40px; flex-direction: column; gap: 20px; }
.mobile-gate-icon { font-size: 3rem; }
.mobile-gate h2 { font-size: 1.5rem; font-weight: 600; }
.mobile-gate p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; max-width: 380px; }

@media (max-width: 900px) {
  .mobile-gate { display: flex; }
  .demo-section, .demo-section-creator, .sim-narrative, .data-transparency { display: none !important; }
}

/* ── Hero Intro ──────────────────────────────────────── */
.sim-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-height) + 100px) 24px 60px; position: relative; }
.sim-hero-ambient { position: absolute; top: 40%; left: 50%; width: 800px; height: 800px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(0,140,200,0.08), rgba(90,50,180,0.04) 40%, transparent 70%); pointer-events: none; animation: ambient-pulse 8s ease-in-out infinite alternate; }
.sim-hero-content { position: relative; z-index: 2; max-width: 700px; }
.sim-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 980px; border: 1px solid rgba(0,212,255,0.2); background: rgba(0,212,255,0.04); font-size: 0.75rem; font-weight: 500; color: var(--accent-cyan); margin-bottom: 28px; }
.sim-hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan); }
.sim-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 20px; }
.sim-hero h1 span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sim-hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); font-weight: 300; line-height: 1.65; max-width: 560px; margin: 0 auto 36px; }

/* ── Demo Sections ───────────────────────────────────── */
.demo-section, .demo-section-creator { padding: 80px 24px 120px; max-width: 1280px; margin: 0 auto; }
.demo-context { text-align: center; margin-bottom: 48px; }
.demo-context .overline { margin-bottom: 12px; }
.demo-context h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.demo-context p { font-size: 0.95rem; color: var(--text-secondary); font-weight: 300; line-height: 1.6; max-width: 540px; margin: 0 auto; }

/* Transition separator between sections */
.section-bridge { display:flex; justify-content:center; align-items:center;  padding: 0 0 60px 0; }
.bridge-line { width: 2px; height: 120px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent); }

/* ── The macOS Window ────────────────────────────────── */
.app-window {
  width: 100%; max-width: 1200px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #1e1e26; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.05), 0 30px 80px rgba(0,0,0,0.7), 0 0 160px rgba(0,140,200,0.06);
  display: flex; flex-direction: column; opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1); position: relative; height: 680px;
}
.app-window.visible { opacity: 1; transform: translateY(0) scale(1); }
/* Smooth fade out when scrolling way past */
.app-window.fade-out { opacity: 0.3; transform: scale(0.95); transition: all 1s ease; }

/* ── Window Chrome & Toolbar ─────────────────────────── */
.win-chrome { display: flex; align-items: center; padding: 10px 14px; background: rgba(30,30,38,0.95); border-bottom: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.win-dots { display: flex; gap: 6px; }
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot.red { background: #ff5f57; } .win-dot.yellow { background: #febc2e; } .win-dot.green { background: #28c840; }
.win-title-area { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 40px; font-size: 0.8125rem; font-weight: 500; color: var(--text-primary); }

.win-toolbar { display: flex; align-items: center; padding: 6px 14px; background: rgba(25,25,33,0.95); border-bottom: 1px solid rgba(255,255,255,0.05); gap: 6px; flex-shrink: 0; position:relative; z-index: 2; }
.tb-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 500; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.08); background: transparent; cursor: default; transition: all 0.5s ease; white-space: nowrap; }
.tb-btn.active-record { background: rgba(255,59,48,0.15); border-color: rgba(255,59,48,0.4); color: #ff3b30; }
.tb-btn.active-follow { background: rgba(255,59,48,0.15); border-color: rgba(255,59,48,0.4); color: #ff3b30; }
.tb-btn.active-assist { background: rgba(123,97,255,0.15); border-color: rgba(123,97,255,0.4); color: #7b61ff; } /* changed to purple for creator vibe */
.tb-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.08); margin: 0 4px; }
.tb-audio { display: flex; align-items: center; gap: 4px; font-size: 0.65rem; color: var(--text-tertiary); white-space: nowrap; position: relative; transition: color 0.3s ease; }
.tb-audio.active { color: var(--text-primary); }
.tb-audio-bars { display: flex; gap: 1px; align-items: flex-end; height: 12px; }
.tb-audio-bar { width: 2px; background: #4cd964; border-radius: 1px; transition: height 0.15s ease; }
.tb-audio-bar:nth-child(1) { height: 2px; } .tb-audio-bar:nth-child(2) { height: 2px; } .tb-audio-bar:nth-child(3) { height: 2px; } .tb-audio-bar:nth-child(4) { height: 2px; } .tb-audio-bar:nth-child(5) { height: 2px; } .tb-audio-bar:nth-child(6) { height: 2px; }
.tb-audio.active .tb-audio-bar { animation: audiobar 0.4s ease-in-out infinite alternate; }
.tb-audio.active .tb-audio-bar:nth-child(1) { animation-delay: 0s; } .tb-audio.active .tb-audio-bar:nth-child(2) { animation-delay: 0.08s; } .tb-audio.active .tb-audio-bar:nth-child(3) { animation-delay: 0.16s; } .tb-audio.active .tb-audio-bar:nth-child(4) { animation-delay: 0.04s; } .tb-audio.active .tb-audio-bar:nth-child(5) { animation-delay: 0.12s; } .tb-audio.active .tb-audio-bar:nth-child(6) { animation-delay: 0.2s; }
@keyframes audiobar { 0% { height: 2px; } 100% { height: 10px; } }
.tb-spacer { flex: 1; }

.tb-btn-rewrite { margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--accent-gradient); color: #000; font-weight: 600; padding: 4px 14px; border-radius: 6px; font-size: 0.72rem; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, transform 0.2s ease; transform: scale(0.95); }
.tb-btn-rewrite.visible { opacity: 1; pointer-events: auto; transform: scale(1); }
.tb-btn-rewrite.clicked { transform: scale(0.92); opacity: 0.8; }

/* ── Audio Callout Ring ──────────────────────────────── */
.callout-ring { position: absolute; inset: -6px; border-radius: 10px; border: 2px solid var(--accent-cyan); opacity: 0; pointer-events: none; transition: opacity 0.5s ease; box-shadow: 0 0 12px rgba(0,212,255,0.25); }
.callout-ring.visible { opacity: 1; }
.callout-label { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.6rem; font-weight: 600; color: var(--accent-cyan); background: rgba(0,20,40,0.9); padding: 3px 10px; border-radius: 4px; border: 1px solid rgba(0,212,255,0.3); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.callout-label.visible { opacity: 1; }

/* ── Incoming Question Toast ─────────────────────────── */
.question-toast { position: absolute; top: 84px; left: 50%; transform: translateX(-50%) translateY(-8px); background: rgba(10,10,20,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 16px; display: flex; align-items: flex-start; gap: 10px; max-width: 520px; z-index: 20; opacity: 0; pointer-events: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.question-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.qt-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,149,0,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; margin-top: 1px; }
.qt-body { flex: 1; }
.qt-label { font-size: 0.6rem; font-weight: 600; color: #ff9500; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.qt-text { font-size: 0.75rem; color: var(--text-primary); line-height: 1.4; font-weight: 400; }

/* ── 3-Pane Body ─────────────────────────────────────── */
.win-body { flex: 1; display: grid; grid-template-columns: 230px 1fr 280px; min-height: 0; overflow: hidden; position: relative; }

/* ── Left: Glossary ──────────────────────────────────── */
.pane-glossary { background: rgba(248,248,250,1); border-right: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; overflow: hidden; }
.gl-header { padding: 12px 14px 8px; }
.gl-title { font-size: 1.1rem; font-weight: 700; color: #111; margin-bottom: 8px; }
.gl-search { width: 100%; padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.1); background: #fff; font-size: 0.75rem; color: #999; outline: none; }
.gl-filters { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 14px; font-size: 0.65rem; color: #666; }
.gl-pill { padding: 3px 10px; border-radius: 980px; font-size: 0.65rem; font-weight: 500; cursor: default; }
.gl-pill.active { background: #007aff; color: #fff; }
.gl-pill.inactive { background: rgba(0,0,0,0.06); color: #333; }
.gl-list { flex: 1; overflow-y: auto; padding: 4px 14px 14px; }
.gl-item { padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.gl-item-name { font-size: 0.78rem; font-weight: 600; color: #007aff; display: inline; }
.gl-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.gl-tag.person { background: rgba(255,149,0,0.15); color: #ff9500; }
.gl-tag.company { background: rgba(255,59,48,0.12); color: #ff3b30; }
.gl-tag.jargon { background: rgba(88,86,214,0.12); color: #5856d6; }
.gl-tag.project { background: rgba(52,199,89,0.12); color: #34c759; }
.gl-tag.dept { background: rgba(0,122,255,0.12); color: #007aff; }
.gl-tag.hook { background: rgba(255,45,85,0.12); color: #ff2d55; }
.gl-tag.broll { background: rgba(175,82,222,0.12); color: #af52de; }
.gl-tag.sponsor { background: rgba(255,204,0,0.2); color: #d4a000; }
.gl-item-desc { font-size: 0.65rem; color: #888; margin-top: 1px; }

/* ── Center: Prompter ────────────────────────────────── */
.pane-prompter { background: #111; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.prompter-text-area { flex: 1; display: flex; align-items: center; padding: 30px 28px; overflow: hidden; position: relative; }

.prompter-text { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; line-height: 1.4; transition: opacity 0.6s ease; position: absolute; transform: translateY(0); padding: 30px 28px; }
.prompter-text .pw { color: rgba(255,255,255,0.25); transition: color 0.35s ease, text-shadow 0.35s ease; }
.prompter-text .pw.read { color: rgba(255,255,255,0.92); }
.prompter-text .pw.active { color: #fff; text-shadow: 0 0 18px rgba(255,255,255,0.3); }

/* Shimmer overlay for AI transformation */
.shimmer-effect {
  position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
  background-size: 200% 100%; animation: shimmer 1.2s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; opacity: 0; z-index: 10;
}
@keyframes shimmer { 0% { background-position: 200% 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { background-position: -200% 0; opacity: 0; } }

.prompter-status-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px; font-size: 0.6rem; color: rgba(255,255,255,0.4); background: rgba(0,0,0,0.4); flex-shrink: 0; }
.status-following { color: #4cd964; font-weight: 600; opacity:0; transition: opacity 0.4s; }

/* ── Right: Playbook ─────────────────────────────────── */
.pane-playbook { background: rgba(248,248,250,1); border-left: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; overflow: hidden; }
.pb-header { padding: 10px 14px 0; display: flex; align-items: center; justify-content: space-between; }
.pb-title { font-size: 1rem; font-weight: 700; color: #111; }
.pb-tabs { display: flex; gap: 0; padding: 8px 10px; overflow-x: auto; flex-shrink: 0; }
.pb-tab { padding: 4px 8px; border-radius: 6px; font-size: 0.62rem; font-weight: 600; cursor: default; white-space: nowrap; transition: all 0.3s ease; }
.pb-tab.active { background: #007aff; color: #fff; }
.pb-tab.inactive { color: #666; }
.pb-content { flex: 1; overflow-y: auto; padding: 0 12px 12px; }
.pb-tab-panel { display: none; }
.pb-tab-panel.active { display: block; }
.pb-section-title { font-size: 0.72rem; font-weight: 700; color: #ff69b4; margin-bottom: 8px; }

/* Script Rewrite CSS */
.pb-script-editor {
  width: 100%; height: 260px; padding: 10px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.1);
  background: #fff; font-size: 0.72rem; color: #555; font-family: var(--font-stack); resize: none; margin-bottom: 12px; transition: color 0.3s ease;
}
.pb-script-editor.pasted { color: #111; }

.pb-card { padding: 10px 12px; background: #fff; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); margin-bottom: 8px; transition: border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease; }
.pb-card.highlighted { border-color: rgba(0,122,255,0.4); box-shadow: 0 2px 16px rgba(0,122,255,0.1); background: rgba(0,122,255,0.03); }
.pb-card-q { font-size: 0.73rem; font-weight: 600; color: #111; margin-bottom: 3px; line-height: 1.3; }
.pb-card-a { font-size: 0.66rem; color: #555; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-card-meta { font-size: 0.56rem; color: #aaa; margin-top: 4px; }

/* ── Clarity Section ─────────────────────────────────── */
.pb-clarity { margin-top: auto; border-top: 1px solid rgba(0,0,0,0.06); padding: 10px 12px; flex-shrink: 0; }
.pb-clarity-header { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; color: #111; margin-bottom: 6px; }
.clarity-star { font-size: 1.2rem; background: linear-gradient(135deg, #ffb347, #ff69b4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pb-clarity-input { width: 100%; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); background: #fff; font-size: 0.7rem; color: #aaa; }

/* ── Bento Showcase ──────────────────────────────────── */
.bento-showcase { padding: 40px 24px 120px; max-width: 1280px; margin: 0 auto; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bento-card { 
  background: var(--bg-card, #1e1e26); 
  border-radius: 20px; 
  border: 1px solid rgba(255,255,255,0.08); 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transition: transform 0.4s ease, border-color 0.4s ease; 
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); }
.bento-art { height: 260px; width: 100%; background: #000; overflow: hidden; position: relative; }
.bento-art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.4s ease, transform 0.6s ease; }
.bento-card:hover .bento-art img { opacity: 1; transform: scale(1.02); }
.bento-content { padding: 32px; flex: 1; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,0.02); }
.bento-overline { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 12px; }
.bento-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.2; color: #fff; }
.bento-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; font-weight: 300; margin: 0; }

/* Grid Layout Spans */
.bento-style-clone { grid-column: 1 / 2; }
.bento-ai-scripting { grid-column: 2 / 3; }
.bento-voice-intelligence { grid-column: 1 / 3; flex-direction: row; }
.bento-voice-intelligence .bento-art { height: 320px; width: 60%; }
.bento-voice-intelligence .bento-content { width: 40%; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-style-clone, .bento-ai-scripting, .bento-voice-intelligence { grid-column: 1 / -1; }
  .bento-voice-intelligence { flex-direction: column; }
  .bento-voice-intelligence .bento-art, .bento-voice-intelligence .bento-content { width: 100%; }
  .bento-voice-intelligence .bento-art { height: 260px; }
}


/* ── Google Compliance / Data Transparency ───────────── */
.data-transparency { border-top: 1px solid var(--border-subtle); padding: 80px 24px; }
.data-transparency-inner { max-width: 720px; margin: 0 auto; }
.data-transparency h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.data-transparency p { font-size: 0.95rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.data-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.data-card { padding: 20px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; }
.data-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.data-card h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.data-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }
