/* 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);
}

@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: 28px;
  list-style: none;
}

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

.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;
  }
}

/* === 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;
}

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

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

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

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

.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  max-width: 520px;
}

.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: 460px;
}

/* 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; }

@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-text {
  width: 85%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-surface);
  margin-bottom: 14px;
}

.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;
}

/* Click ring animation */
.click-ring {
  position: absolute;
  inset: -6px;
  border: 2px solid var(--orange);
  border-radius: 10px;
  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;
  bottom: 22px;
  right: 42%;
  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; }
}

/* === Integrations Grid === */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.integration-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;
}

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

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

.integration-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--orange);
  color: #fff;
}

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

.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);
  transform: scale(1.03);
}

.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: 18px;
  font-weight: 500;
  color: var(--text-muted);
}

.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-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;
}

.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;
}

/* === 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;
}

/* === 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;
}

/* === 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);
}

.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);
}

/* === 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);
}

/* === 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-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-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);
  }

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

  .pricing-grid {
    gap: 20px;
  }

  .pricing-card-featured {
    transform: none;
  }
}

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

  .hero {
    padding: 120px 0 56px;
  }

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

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

  .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;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

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

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

  .voice-text {
    width: 100%;
  }

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

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

  .pricing-card-featured {
    transform: none;
  }

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

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

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

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

  .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;
  }

  .integrations-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;
  }
}
