/* ClickSay Landing Page — style.css */
/* Design: Zoe | Copy: Ava | Implementation: Max */

/* === Design Tokens === */
:root {
  --orange: #ff7800;
  --orange-hover: #e66a00;
  --orange-light: #fff3e8;
  --bg: #faf8f6;
  --bg-card: #ffffff;
  --bg-surface: #f5f0eb;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --border: #e8e0d8;
  --success: #2d8a4e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Fira Code', monospace;
  --max-width: 1120px;
}

/* === Dark Mode === */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --bg-card: #1c1c1f;
    --bg-surface: #232326;
    --text: #f0ede8;
    --text-secondary: #aaa;
    --text-muted: #777;
    --border: #333;
    --orange-light: #2a1800;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
  }
}

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

/* === Base === */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--orange-hover);
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  .nav {
    background: rgba(17, 17, 19, 0.85);
  }
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.nav-brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

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

.nav-links a.btn-primary {
  color: #fff !important;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .nav-links a.btn-primary {
    color: #1a1a1a !important;
  }
}

/* === Nav Toggle (hamburger) === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: rgba(250, 248, 246, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    overflow: visible;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    white-space: normal;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
  }

  .nav-links .lang-picker {
    margin-left: 0;
    justify-content: center;
    padding: 12px 0;
    border-bottom: none;
  }
}

@media (max-width: 1200px) and (prefers-color-scheme: dark) {
  .nav-links {
    background: rgba(17, 17, 19, 0.98);
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  text-decoration: none;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: #333;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  .btn-primary {
    background: #fff;
    color: #1a1a1a;
  }

  .btn-primary:hover {
    background: #e8e8e8;
    color: #1a1a1a;
  }
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
}

/* === Hero === */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #ff7800 0%, #ff9b40 50%, #ffbb70 100%);
  position: relative;
  overflow: hidden;
  transition: padding-top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  .hero {
    background: linear-gradient(135deg, #7a3a00 0%, #5a2a00 50%, #3a1a00 100%);
  }
}

/* Floating productivity background */
.hero-bg-activity {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ── Background activity items ─────────────────────────────────────── */

/* Text items — code snippets & feedback */
.bg-item {
  position: absolute;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  animation: bgFloat linear infinite;
  will-change: transform;
}

.bg-item-1  { top: 8%;  left: -12%; animation-duration: 26s; animation-delay: 0s;    font-size: 14px; }
.bg-item-2  { top: 22%; left: -15%; animation-duration: 30s; animation-delay: -6s;   font-size: 14px; color: rgba(255,255,255,0.18); }
.bg-item-3  { top: 38%; left: -10%; animation-duration: 28s; animation-delay: -12s;  font-size: 13px; }
.bg-item-4  { top: 52%; left: -14%; animation-duration: 32s; animation-delay: -3s;   font-size: 12px; }
.bg-item-5  { top: 65%; left: -8%;  animation-duration: 25s; animation-delay: -18s;  font-size: 14px; }
.bg-item-6  { top: 78%; left: -16%; animation-duration: 29s; animation-delay: -9s;   font-size: 14px; color: rgba(255,255,255,0.18); }
.bg-item-7  { top: 15%; left: -18%; animation-duration: 34s; animation-delay: -22s;  font-size: 13px; }
.bg-item-8  { top: 45%; left: -6%;  animation-duration: 27s; animation-delay: -15s;  font-size: 14px; color: rgba(255,255,255,0.18); }
.bg-item-9  { top: 85%; left: -12%; animation-duration: 31s; animation-delay: -25s;  font-size: 12px; }
.bg-item-10 { top: 58%; left: -20%; animation-duration: 33s; animation-delay: -8s;   font-size: 12px; }

/* Cursor icons — floating click indicators */
.bg-click {
  position: absolute;
  animation: bgFloat linear infinite;
  will-change: transform;
  opacity: 0.7;
}

.bg-click-1 { top: 18%; left: -5%;  animation-duration: 22s; animation-delay: -2s; }
.bg-click-2 { top: 55%; left: -8%;  animation-duration: 28s; animation-delay: -14s; }
.bg-click-3 { top: 82%; left: -3%;  animation-duration: 24s; animation-delay: -8s; }

/* Click rings — expanding circles */
.bg-ring {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: bgRingPulse 3s ease-out infinite;
}

.bg-ring-1 { top: 12%; left: 15%; animation-delay: 0s; }
.bg-ring-2 { top: 40%; left: 75%; animation-delay: -1.5s; }
.bg-ring-3 { top: 70%; left: 25%; animation-delay: -0.8s; }
.bg-ring-4 { top: 85%; left: 60%; animation-delay: -2.2s; }

@keyframes bgRingPulse {
  0%   { transform: scale(0.5); opacity: 0.5; }
  50%  { transform: scale(2); opacity: 0.2; }
  100% { transform: scale(3); opacity: 0; }
}

/* Mic icons */
.bg-voice {
  position: absolute;
  animation: bgFloat linear infinite;
  will-change: transform;
}

.bg-voice-1 { top: 30%; left: -6%;  animation-duration: 30s; animation-delay: -5s; }
.bg-voice-2 { top: 72%; left: -10%; animation-duration: 26s; animation-delay: -18s; }

/* Sound wave bars */
.bg-waves {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 3px;
  animation: bgFloat linear infinite;
  will-change: transform;
}

.bg-waves span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  animation: bgWaveBar 1.2s ease-in-out infinite alternate;
}

.bg-waves span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.bg-waves span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.bg-waves span:nth-child(3) { height: 18px; animation-delay: 0.3s; }
.bg-waves span:nth-child(4) { height: 12px; animation-delay: 0.45s; }
.bg-waves span:nth-child(5) { height: 6px;  animation-delay: 0.6s; }

@keyframes bgWaveBar {
  0%   { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

.bg-waves-1 { top: 25%; left: -4%;  animation-duration: 24s; animation-delay: -3s; }
.bg-waves-2 { top: 60%; left: -8%;  animation-duration: 28s; animation-delay: -11s; }
.bg-waves-3 { top: 90%; left: -6%;  animation-duration: 22s; animation-delay: -20s; }

@keyframes bgFloat {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 300px)); }
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-tagline {
  display: none;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-title-steps {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.hero-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-step-word {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-step-desc {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin-top: 4px;
  text-transform: lowercase;
}

.hero-subtitle {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  max-width: 520px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: #fff;
  color: #1a1a1a;
  font-size: 17px;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary:hover {
  background: #f0ede8;
  color: #1a1a1a;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  .hero .btn-primary {
    background: #fff;
    color: #1a1a1a;
  }

  .hero .btn-primary:hover {
    background: #e8e8e8;
    color: #1a1a1a;
  }
}

.hero-visual {
  flex: 1;
  max-width: 640px;
}

/* Hero destination pills */
.hero-destinations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-dest-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-dest-item {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* === 3-Scene Demo Flow === */
.demo-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scene {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
}

.scene-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.scene-anim-1 { animation: sceneIn 0.6s ease-out 0.3s forwards; }
.scene-anim-2 { animation: sceneIn 0.6s ease-out 3.5s forwards; }
.scene-anim-3 { animation: sceneIn 0.6s ease-out 7s forwards; }
.scene-anim-4 { animation: sceneIn 0.6s ease-out 10.5s forwards; }

@keyframes sceneIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Scene 1: Mini browser with click --- */
.mini-browser {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mini-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mini-dot:nth-child(1) { background: #ff5f57; }
.mini-dot:nth-child(2) { background: #ffbd2e; }
.mini-dot:nth-child(3) { background: #28ca42; }

.mini-url {
  margin-left: 6px;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 3px 10px;
  border-radius: 4px;
  flex: 1;
}

.mini-page {
  padding: 16px;
  position: relative;
  min-height: 120px;
}

.mini-nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mini-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--bg-surface);
}

.mini-nav-link {
  width: 36px;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-surface);
}

.mini-heading {
  width: 65%;
  height: 10px;
  border-radius: 5px;
  background: var(--bg-surface);
  margin-bottom: 8px;
}

.mini-heading-target {
  width: auto;
  height: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: none;
  position: relative;
  display: inline-block;
  padding: 2px 0;
}

.mini-text {
  width: 85%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-surface);
  margin-bottom: 6px;
}

.mini-text-short {
  width: 55%;
  margin-bottom: 14px;
}

/* Dashboard card row */
.mini-card-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.mini-card {
  flex: 1;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

/* After state — heading changed by AI */
.mini-heading-after {
  width: auto;
  height: auto;
  font-size: 11px;
  font-weight: 600;
  color: #1e3a5f;
  background: none;
  font-family: 'Inter', -apple-system, sans-serif;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  animation: headingReveal 0.6s ease-out 11.2s both;
}

.mini-changed-badge {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: #2d8a4e;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  opacity: 0;
  animation: badgePop 0.4s ease-out 11.8s both;
}

@keyframes headingReveal {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes badgePop {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

/* Refresh icon in after-state browser bar */
.mini-refresh {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  animation: refreshSpin 0.6s ease-out 11s both;
}

@keyframes refreshSpin {
  0% { transform: rotate(0deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: rotate(360deg); opacity: 1; }
}

.mini-btn-row {
  display: flex;
  gap: 8px;
}

.mini-btn-ghost {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: none;
  width: 60px;
  height: 28px;
}

.mini-btn-target {
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mini-btn-primary {
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--orange);
  width: 60px;
  height: 28px;
}

/* Click ring animation */
.click-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  opacity: 0;
  animation: clickRing 0.8s ease-out 1.5s forwards;
}

@keyframes clickRing {
  0% { opacity: 0; inset: 0px; }
  30% { opacity: 1; inset: -4px; }
  100% { opacity: 0.4; inset: -6px; }
}

/* Animated cursor */
.mini-cursor {
  position: absolute;
  top: 52px;
  left: 55%;
  opacity: 0;
  animation: cursorMove 1.8s ease-in-out 0.5s forwards;
}

@keyframes cursorMove {
  0% { opacity: 0; transform: translate(30px, -20px); }
  40% { opacity: 1; transform: translate(0, 0); }
  55% { transform: translate(0, 2px); } /* click down */
  65% { transform: translate(0, 0); } /* click up */
  100% { opacity: 1; transform: translate(0, 0); }
}

/* --- Scene 2: Voice feedback --- */
.voice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 14px;
}

.voice-mic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.mic-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  animation: micPulse 1.5s ease-out 4.5s infinite;
}

@keyframes micPulse {
  0% { inset: -2px; opacity: 0.6; }
  100% { inset: -12px; opacity: 0; }
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.voice-wave span {
  width: 3px;
  border-radius: 2px;
  background: var(--orange);
  height: 8px;
}

.voice-wave span:nth-child(1) { animation: wave 0.8s ease-in-out 4.2s infinite alternate; }
.voice-wave span:nth-child(2) { animation: wave 0.6s ease-in-out 4.3s infinite alternate; }
.voice-wave span:nth-child(3) { animation: wave 0.9s ease-in-out 4.1s infinite alternate; }
.voice-wave span:nth-child(4) { animation: wave 0.5s ease-in-out 4.4s infinite alternate; }
.voice-wave span:nth-child(5) { animation: wave 0.7s ease-in-out 4.0s infinite alternate; }
.voice-wave span:nth-child(6) { animation: wave 0.6s ease-in-out 4.5s infinite alternate; }
.voice-wave span:nth-child(7) { animation: wave 0.8s ease-in-out 4.2s infinite alternate; }

@keyframes wave {
  from { height: 4px; }
  to { height: 24px; }
}

.voice-text {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.4;
  flex: 1;
}

/* --- Scene 3: AI chat paste --- */
.ai-chat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.ai-chat-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(8px);
}

.ai-msg-user {
  background: var(--orange-light);
  border: 1px solid rgba(255, 120, 0, 0.12);
  font-family: var(--mono);
  align-self: flex-end;
  max-width: 90%;
  animation: msgAppear 0.4s ease-out 7.8s forwards;
}

.ai-msg-meta {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 4px;
  font-family: var(--font);
}

.ai-msg-bot {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  align-self: flex-start;
  max-width: 90%;
  color: var(--text);
  animation: msgAppear 0.4s ease-out 9.5s forwards;
}

.ai-msg-bot strong {
  color: var(--orange);
}

.code-label {
  color: var(--orange);
  font-weight: 600;
}

@keyframes msgAppear {
  to { opacity: 1; transform: translateY(0); }
}

/* Push message in chat */
.chat-msg-push {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  align-self: flex-start;
}

.push-destinations {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.push-dest {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.push-dest.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

@keyframes msgAppear {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Chrome Badge === */
.chrome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.15);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.chrome-badge svg {
  flex-shrink: 0;
}

/* === Hero Image === */
.hero-image {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Mid-page CTA === */
.mid-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* === Pricing === */

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.billing-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.billing-label-active {
  color: var(--text);
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 26px;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--orange);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.billing-save {
  background: linear-gradient(135deg, #ff7800, #ff9a40);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  animation: pulse-save 2s ease-in-out infinite;
}

@keyframes pulse-save {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pricing-strikethrough {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--orange);
  border-width: 2px;
  box-shadow: var(--shadow-md), 0 0 0 1px var(--orange), 0 0 40px rgba(255, 120, 0, 0.15);
  background: linear-gradient(170deg, rgba(255, 120, 0, 0.08) 0%, var(--bg-card) 40%, var(--bg-card) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-period {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.pricing-card-featured .pricing-price {
  color: var(--orange);
}

.pricing-card-featured .pricing-period {
  color: var(--orange);
}

.pricing-monthly-equiv {
  display: inline-block;
  background: rgba(255, 120, 0, 0.12);
  color: #e66a00;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-billed {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-features li.included::before {
  background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232d8a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
  background-color: rgba(45, 138, 78, 0.1);
}

.pricing-features li.excluded {
  color: var(--text-muted);
}

.pricing-features li.excluded::before {
  background: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center/10px no-repeat;
  background-color: rgba(0,0,0,0.04);
}

@media (prefers-color-scheme: dark) {
  .pricing-features li.excluded::before {
    background-color: rgba(255,255,255,0.06);
  }
  .pricing-features li.included::before {
    background-color: rgba(45, 138, 78, 0.2);
  }
  .pricing-monthly-equiv {
    background: rgba(255, 120, 0, 0.18);
    color: #ff9940;
  }
}

.pricing-features li.highlight {
  color: var(--text);
  font-weight: 500;
}

.pricing-features li.coming-soon {
  opacity: 0.5;
}

.soon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  position: relative;
  overflow: visible;
}

/* Click animation on Go Pro button for demo/screenshot */
.pricing-card-featured .pricing-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pricing-card-featured .pricing-cta:hover::after {
  animation: ctaRipple 0.6s ease-out forwards;
}

@keyframes ctaRipple {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 120%; height: 120%; opacity: 0; }
}

.pricing-card-featured .pricing-cta:active {
  transform: scale(0.97);
}

/* "See all Pro features" link in Free card */
.pricing-see-pro {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.pricing-see-pro:hover {
  color: var(--orange);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  color: var(--text);
}

/* === Section Titles === */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === Vibe Coding Callout (in hero) === */
.vibe-banner-hero {
  margin-top: 48px;
}

.vibe-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.vibe-emoji {
  font-size: 24px;
  flex-shrink: 0;
}

.vibe-text strong {
  color: var(--color-accent);
}

.vibe-tools {
  white-space: nowrap;
}

.vibe-icon {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 2px;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .vibe-banner {
    flex-direction: column;
    text-align: center;
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* === How It Works === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === How It Works Video === */
.how-video-wrapper {
  max-width: 720px;
  margin: 48px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
}
.how-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.how-video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.how-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.how-video-thumb:hover {
  opacity: 0.9;
}
.how-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.15s;
}
.how-video-thumb:hover .how-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}
.how-video-wrapper:fullscreen,
.how-video-wrapper:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000;
  border-radius: 0;
}
.how-video-wrapper:fullscreen iframe,
.how-video-wrapper:-webkit-full-screen iframe {
  width: 100%;
  height: 100%;
}

/* === Screenshot Strip === */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.screenshot-item {
  text-align: center;
  cursor: pointer;
}

.screenshot-item img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 120, 0, 0.12);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.lightbox-overlay.lightbox-visible {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.lightbox-close:hover {
  opacity: 1;
}

.screenshot-caption {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .screenshot-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === Social Proof === */
.social-proof {
  padding: 40px 0;
  text-align: center;
}

.social-proof-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.social-proof-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-proof-item:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  .social-proof-logos {
    gap: 20px;
  }
  .social-proof-item {
    font-size: 13px;
  }
}

/* === Features === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Primary feature cards (first row - more prominent) */
.feature-card-primary {
  border-color: rgba(255, 120, 0, 0.15);
}

.feature-card-primary h3 {
  font-size: 19px;
}

.feature-icon-lg {
  width: 52px;
  height: 52px;
}

/* === Destinations Grid === */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.dest-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dest-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dest-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Output Demo === */
.output-demo {
  background: var(--bg-surface);
}

.output-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.output-tab {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font);
  transition: all 0.15s;
}

.output-tab:hover {
  color: var(--text);
}

.output-tab.active {
  background: var(--orange);
  color: #fff;
}

.output-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

/* Copy button on output code blocks */
.output-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  z-index: 1;
}

.output-copy-btn:hover {
  color: var(--text);
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.output-copy-btn-copied {
  color: var(--success);
  border-color: var(--success);
}

.output-panel.active {
  display: block;
}

.output-code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
}

.output-code .label {
  color: var(--orange);
  font-weight: 600;
}

.output-code .value {
  color: var(--text-secondary);
}

.output-screenshot-thumb {
  display: block;
  width: 260px;
  height: 80px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* === Privacy === */
.privacy-section {
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.trust-item {
  text-align: center;
  padding: 24px 16px;
}

.trust-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Unique background tints for each privacy icon */
.trust-icon-1,
.trust-icon-2,
.trust-icon-3,
.trust-icon-4 {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
}

.trust-icon-1 { background: rgba(255, 120, 0, 0.10); }
.trust-icon-2 { background: rgba(255, 140, 40, 0.10); }
.trust-icon-3 { background: rgba(255, 160, 60, 0.10); }
.trust-icon-4 { background: rgba(255, 100, 0, 0.10); }

@media (prefers-color-scheme: dark) {
  .trust-icon-1 { background: rgba(255, 120, 0, 0.15); }
  .trust-icon-2 { background: rgba(255, 140, 40, 0.15); }
  .trust-icon-3 { background: rgba(255, 160, 60, 0.15); }
  .trust-icon-4 { background: rgba(255, 100, 0, 0.15); }
}

/* Privacy policy link */
.privacy-link-wrapper {
  text-align: center;
  margin-top: 32px;
}

.privacy-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.privacy-link:hover {
  color: var(--orange);
}

/* === Changelog / What's New === */
.changelog-list {
  max-width: 720px;
  margin: 0 auto;
}

.release-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.release-card:last-child {
  margin-bottom: 0;
}

.release-collapsed .release-changes {
  display: none;
}

.release-collapsed .release-header {
  margin-bottom: 0;
}

.release-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.release-toggle {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s;
}

.release-toggle:hover {
  opacity: 0.8;
}

.release-expand-icon {
  margin-left: auto;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  transition: transform 0.2s;
  line-height: 1;
}

.release-version {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  letter-spacing: 0.02em;
}

.release-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.release-changes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.release-changes li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.change-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.change-type-new {
  background: rgba(45, 138, 78, 0.12);
  color: var(--success);
}

.change-type-fix {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.change-type-improved {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

@media (prefers-color-scheme: dark) {
  .change-type-new {
    background: rgba(45, 138, 78, 0.2);
  }
  .change-type-fix {
    background: rgba(239, 68, 68, 0.18);
  }
  .change-type-improved {
    background: rgba(59, 130, 246, 0.18);
  }
}

@media (max-width: 480px) {
  .release-card {
    padding: 20px;
  }

  .release-changes li {
    font-size: 14px;
  }
}

/* Hidden release items (collapsed by default) */
.release-changes li.release-hidden {
  display: none;
}

.release-show-all-btn {
  display: block;
  margin: 16px auto 0;
  padding: 8px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.release-show-all-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* === Mobile Email Capture === */
.mobile-notify-section {
  display: none;
  padding: 48px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .mobile-notify-section {
    display: block;
  }
}

.mobile-notify-content {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-notify-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mobile-notify-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.mobile-notify-form {
  display: flex;
  gap: 8px;
}

.mobile-notify-input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.15s;
}

.mobile-notify-input:focus {
  border-color: var(--orange);
}

.mobile-notify-btn {
  padding: 12px 20px;
  font-size: 14px;
  white-space: nowrap;
}

.mobile-notify-thanks {
  font-size: 15px;
  color: var(--success);
  font-weight: 500;
}

/* === CTA Banner === */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff7800 0%, #ff9b40 50%, #ffbb70 100%);
}

@media (prefers-color-scheme: dark) {
  .cta-banner {
    background: linear-gradient(135deg, #7a3a00 0%, #5a2a00 50%, #3a1a00 100%);
  }
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #1a1a1a;
  font-size: 17px;
  padding: 16px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
  background: #f0ede8;
  color: #1a1a1a;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  .cta-banner .btn-primary {
    background: #fff;
    color: #1a1a1a;
  }

  .cta-banner .btn-primary:hover {
    background: #e8e8e8;
    color: #1a1a1a;
  }
}

/* === Footer === */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.footer-brand img {
  width: 24px;
  height: 24px;
}

.footer-tagline {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Keyboard Shortcut Badge === */
kbd {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Success Banner === */
.success-banner {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--success);
  color: #fff;
  padding: 12px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.success-banner strong {
  font-weight: 700;
}

.success-banner button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
}

.success-banner button:hover {
  opacity: 1;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-title-steps {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    max-width: 400px;
    width: 100%;
  }

  .hero-destinations {
    justify-content: center;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    gap: 20px;
  }

  .pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .hero-title-steps {
    gap: 20px;
  }

  .hero-step-word {
    font-size: 36px;
  }

  .hero-step-desc {
    font-size: 11px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vibe-banner-hero {
    display: none;
  }

  .hero-visual {
    margin-top: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cta-title {
    font-size: 28px;
  }

  .voice-card {
    flex-wrap: wrap;
  }

  .voice-text {
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }


  .hero-destinations {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 80px 0 32px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-title-steps {
    gap: 14px;
  }

  .hero-step-word {
    font-size: 32px;
  }

  .hero-step-desc {
    font-size: 10px;
    margin-top: 2px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

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

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

  .output-tabs {
    flex-wrap: wrap;
  }

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

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-title {
    font-size: 24px;
  }

  .hero-bg-activity {
    display: none;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .bg-item {
    animation: none;
    display: none;
  }
}

/* === Support Contact Modal === */
.support-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.support-overlay.support-visible {
  opacity: 1;
  pointer-events: all;
}

.support-modal {
  background: var(--bg-card);
  border-radius: 16px;
  width: 440px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.2s;
}

.support-visible .support-modal {
  transform: translateY(0);
}

.support-modal-header {
  background: linear-gradient(135deg, #ff7800, #ff9b40);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.support-modal-header h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.support-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}

.support-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.support-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.support-input,
.support-textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
}

.support-input:focus,
.support-textarea:focus {
  border-color: var(--orange);
}

.support-textarea {
  resize: vertical;
  min-height: 100px;
}

.support-submit {
  width: 100%;
  margin-top: 4px;
}

.support-success {
  padding: 48px 24px;
  text-align: center;
}

.support-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.support-success p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* === Support Chat Widget === */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7800, #ff9b40);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 120, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(255, 120, 0, 0.45);
}

.chat-fab:active {
  transform: scale(0.96);
}

.chat-fab svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.chat-fab-close {
  display: none;
}

.chat-fab.chat-open .chat-fab-icon {
  display: none;
}

.chat-fab.chat-open .chat-fab-close {
  display: block;
  font-size: 24px;
  color: #fff;
  line-height: 1;
  font-weight: 300;
}

/* Chat panel */
.chat-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 999;
  width: 380px;
  height: 700px;
  max-height: calc(100vh - 120px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-panel.chat-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Chat header */
.chat-header {
  background: linear-gradient(135deg, #ff7800, #ff9b40);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.chat-header-clear {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  margin-left: auto;
}
.chat-header-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.chat-header-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}

.chat-header-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Chat messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* Message bubbles */
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-msg a {
  color: var(--orange);
  text-decoration: underline;
}

.chat-msg code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
}

.chat-msg ul {
  margin: 4px 0;
  padding-left: 18px;
}

.chat-msg li {
  margin: 2px 0;
}

.chat-msg strong {
  color: var(--text);
}

.chat-msg br + br {
  display: none;
}

.chat-msg-bot {
  align-self: flex-start;
  background: var(--bg-surface);
  color: var(--text);
  border-bottom-left-radius: 4px;
  animation: chatMsgIn 0.3s ease;
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #ff7800, #ff9b40);
  color: #fff;
  border-bottom-right-radius: 4px;
  white-space: pre-wrap;
}

/* Ticket notice in chat */
.chat-ticket-notice {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 120, 0, 0.1);
  font-size: 12px;
  color: var(--text-muted);
}

.chat-ticket-notice a {
  color: var(--orange);
}

.chat-ticket-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

/* Typing indicator */
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
}

.chat-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatTyping 1.4s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat input area */
.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
  background: var(--bg-card);
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  resize: none;
  max-height: 80px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s;
}

.chat-input:focus {
  border-color: var(--orange);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7800, #ff9b40);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.1s;
}

.chat-send-btn:hover {
  opacity: 0.9;
}

.chat-send-btn:active {
  transform: scale(0.94);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .chat-panel {
    width: calc(100vw - 16px);
    height: calc(100vh - 120px);
    bottom: 80px;
    right: 8px;
    border-radius: 12px;
  }

  .chat-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}
