/* ============================================
   WISPR FLOW - Design System & Global Styles
   ============================================ */

:root {
  /* Colors */
  --bg-cream: #F5F5EC;
  --bg-dark: #1A1A1A;
  --bg-dark-card: #242424;
  --accent-lavender: #C8B8FF;
  --accent-lavender-light: #E0D7FF;
  --accent-lavender-glow: rgba(200, 184, 255, 0.15);
  --accent-teal: #004D40;
  --accent-teal-light: #00695C;
  --text-dark: #1A1A1A;
  --text-medium: #555;
  --text-light: #F5F5EC;
  --text-muted: #999;
  --text-muted-light: #aaa;
  --border-light: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.1);

  /* Typography */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-lavender);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--accent-lavender-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 184, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
}

.btn-outline-light:hover {
  background: var(--accent-lavender);
  color: var(--text-dark);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-dark {
  background: var(--accent-teal);
  color: white;
  border: none;
}

.btn-dark:hover {
  background: var(--accent-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 77, 64, 0.3);
}

.btn-android-nav {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
}

.btn-android-nav:hover {
  background: rgba(0,0,0,0.04);
  border-color: var(--text-dark);
}

/* ============================================
   Section Headings
   ============================================ */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-heading em {
  font-style: italic;
  color: var(--accent-teal);
}

.section-heading.light {
  color: var(--text-light);
}

.section-heading.light em {
  color: var(--accent-lavender);
}

.section-subheading {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-subheading.light {
  color: var(--text-muted-light);
}

/* ============================================
   Scroll-in Animation
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Top Banner
   ============================================ */
.top-banner {
  background: var(--accent-teal);
  color: white;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  position: relative;
  z-index: 1000;
  font-weight: 500;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner-text {
  opacity: 0.95;
}

.banner-link {
  color: white;
  font-weight: 600;
  opacity: 0.95;
}

.banner-link:hover {
  text-decoration: underline;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(245, 245, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.windows-icon {
  width: 14px;
  height: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  background: rgba(0,0,0,0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(200, 184, 255, 0.12);
}

.dropdown-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.dropdown-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-download {
  font-size: 0.85rem;
  padding: 10px 20px;
}

.download-icon {
  width: 14px;
  height: 14px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 220px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-title strong {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 420px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  font-size: 0.95rem;
  padding: 14px 32px;
}

.hero-platforms {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

/* ============================================
   Video Section
   ============================================ */
.section-video {
  padding: var(--section-padding);
}

/* ============================================
   Stats Section
   ============================================ */
.section-stats {
  padding: 80px 0;
}

.stats-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
}

.stats-card .section-heading {
  color: var(--text-light);
}

.stats-card .section-heading em {
  color: var(--accent-lavender);
}

.stats-card .section-subheading {
  color: var(--text-muted-light);
}

.speed-comparison {
  max-width: 600px;
  margin: 48px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.speed-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.speed-label {
  width: 130px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted-light);
  font-weight: 500;
  flex-shrink: 0;
}

.speed-bar-container {
  flex: 1;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.speed-bar {
  height: 100%;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255,255,255,0.15);
}

.speed-bar.animated {
  width: var(--target-width);
}

.speed-bar-highlight {
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal-light));
}

.speed-value {
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  white-space: nowrap;
}

.stats-caption {
  color: var(--text-muted-light);
  font-size: 1rem;
  margin-top: 24px;
}

.stats-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.stats-cta .btn-outline {
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
}

.stats-cta .btn-outline:hover {
  background: var(--accent-lavender);
  color: var(--text-dark);
}

/* ============================================
   Personas (Tabs) Section
   ============================================ */
.section-personas {
  padding: var(--section-padding);
}

/* Card Layout */
.personas-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 72px 78px;
  width: fit-content;
  display: flex;
  gap: 78px;
  align-items: flex-start;
}

.personas-left {
  flex: 0 0 420px;
}

.personas-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-light);
}

.personas-title em {
  font-style: italic;
  color: var(--accent-lavender);
}

/* Pill Cluster */
.persona-tabs {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: 14px;
  row-gap: 12px;
  justify-content: start;
}

.persona-tab {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.persona-tab:hover {
  background: rgba(200, 184, 255, 0.14);
  border-color: rgba(200, 184, 255, 0.35);
}

.persona-tab.active {
  background: var(--accent-lavender);
  border-color: var(--accent-lavender);
  color: var(--text-dark);
}

/* Panels */
.personas-right {
  flex: 1;
  min-width: 360px;
}

.persona-panels {
  position: relative;
  max-width: 520px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.persona-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.persona-panel.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.panel-visual {
  order: -1; /* show illustration above text */
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.panel-content {
  width: 100%;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--text-light);
  margin-bottom: 14px;
  font-weight: 600;
}

.panel-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.panel-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.panel-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: rgba(255, 255, 255, 0.85);
}

.panel-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.panel-actions .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Persona Illustration */
.persona-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.persona-icon {
  font-size: 4rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 184, 255, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 184, 255, 0.15);
}

.persona-bubble {
  background: rgba(200, 184, 255, 0.12);
  border: 1px solid rgba(200, 184, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--accent-lavender-light);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

/* Cropped illustration used for the Accessibility persona */
.persona-illustration-accessibility {
  width: 148px;
  height: 160px;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  /* Avoid selecting/cursor artifacts */
  user-select: none;
}

/* ============================================
   AI Auto Edits Section
   ============================================ */
.section-ai {
  padding: 80px 0;
}

.ai-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(200, 184, 255, 0.12);
  border: 1px solid rgba(200, 184, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--accent-lavender);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.ai-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 48px auto;
  text-align: left;
}

.ai-demo-input,
.ai-demo-output {
  background: var(--bg-dark-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-dark);
}

.ai-demo-label {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-demo-input .ai-demo-text {
  color: rgba(255,255,255,0.5);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
}

.ai-demo-output .ai-demo-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ai-demo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

/* ============================================
   Feature Cards Section
   ============================================ */
.section-features {
  padding: var(--section-padding);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-lavender), var(--accent-teal-light));
  transform: scaleX(0);
  transition: transform var(--transition-med);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-lavender-glow);
  border-radius: var(--radius-md);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   Cross-Device Section
   ============================================ */
.section-crossdevice {
  padding: 80px 0;
}

.crossdevice-card {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.crossdevice-card .section-heading {
  color: white;
}

.crossdevice-card .section-heading em {
  color: var(--accent-lavender-light);
}

.crossdevice-card .section-subheading {
  color: rgba(255,255,255,0.75);
}

.device-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  margin: 48px 0;
  perspective: 1000px;
}

.device-laptop {
  width: 400px;
}

.device-phone {
  width: 140px;
}

.device-screen {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
}

.device-laptop .device-screen {
  padding: 0;
  aspect-ratio: 16/10;
}

.device-phone .device-screen {
  padding: 0;
  aspect-ratio: 9/19;
  border-radius: var(--radius-lg);
}

.device-ui {
  padding: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.device-topbar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.device-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.typing-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  animation: typingPulse 2s ease-in-out infinite;
}

.typing-line.short { width: 60%; }
.typing-line.medium { width: 80%; }

@keyframes typingPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.phone-ui {
  position: relative;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-mic {
  font-size: 1.5rem;
  text-align: center;
  margin-top: auto;
  padding: 12px;
  background: rgba(200, 184, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 8px auto;
}

/* ============================================
   Testimonials Section
   ============================================ */
.section-testimonials {
  background: var(--bg-dark);
  padding: var(--section-padding);
  border-radius: var(--radius-xl);
  margin: 0 24px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-dark);
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 184, 255, 0.3);
  box-shadow: 0 16px 48px rgba(200, 184, 255, 0.08);
}

.testimonial-stat {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-lavender);
  margin-bottom: 12px;
}

.testimonial-quote {
  color: var(--text-muted-light);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
  padding: var(--section-padding);
}

.cta-card {
  text-align: center;
  padding: 80px 40px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-lavender), var(--accent-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   Ask AI Section
   ============================================ */
.section-ask {
  padding: 80px 0 120px;
}

.ask-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ask-buttons .btn-ask {
  cursor: default;
  user-select: none;
}

.btn-ask {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border-light);
  background: white;
  transition: all var(--transition-fast);
}

.btn-ask:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.btn-chatgpt:hover {
  border-color: #74AA9C;
  background: rgba(116, 170, 156, 0.05);
}

.btn-claude:hover {
  border-color: #D97706;
  background: rgba(217, 119, 6, 0.05);
}

.btn-perplexity:hover {
  border-color: #20808D;
  background: rgba(32, 128, 141, 0.05);
}

.ask-icon {
  font-size: 1.2rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-dark);
  padding: 80px 24px 40px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--text-light);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer-heading {
  font-family: var(--font-serif);
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-lavender);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .personas-card {
    padding: 52px 44px;
    gap: 44px;
  }

  .personas-left {
    flex-basis: 360px;
  }

  .personas-right {
    min-width: 320px;
  }

  .ai-demo {
    grid-template-columns: 1fr;
  }

  .ai-demo-arrow {
    transform: rotate(90deg);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .top-banner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .banner-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    min-width: unset;
    border-radius: var(--radius-sm);
    padding: 4px;
    background: rgba(0,0,0,0.03);
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 132px 0 40px;
  }

  .orbit-icon {
    transform: translate(calc(-50% + var(--x) * 0.6), calc(-50% + var(--y) * 0.6)) !important;
  }

  .app-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .stats-card,
  .ai-card,
  .crossdevice-card {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .personas-card {
    flex-direction: column;
    padding: 40px 24px;
    gap: 28px;
  }

  .personas-left {
    flex: 1 1 auto;
    width: 100%;
  }

  .personas-right {
    width: 100%;
    min-width: unset;
  }

  .persona-panels {
    max-width: 100%;
  }

  .persona-tabs {
    margin-top: 24px;
  }

  .persona-tab {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .speed-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .speed-label {
    text-align: left;
    width: auto;
  }

  .speed-bar-container {
    width: 100%;
  }

  .device-showcase {
    flex-direction: column;
    align-items: center;
  }

  .device-laptop {
    width: 100%;
    max-width: 350px;
  }

  .device-phone {
    width: 120px;
  }

  .section-testimonials {
    margin: 0 12px;
    border-radius: var(--radius-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-actions,
  .stats-cta,
  .panel-actions,
  .ai-cta,
  .ask-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-ask {
    padding: 60px 0 80px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}
