/**
 * Wispro+ Premium Stylesheet — Editorial Light-Canvas Design System v2
 * =========================================================================
 * Warm editorial off-white canvas with near-black ink, pastel atmospheric
 * gradient orbs, EB Garamond serif display, Inter body.
 *
 * v2 fixes: Tighter spacing, live app simulator, working text-path,
 * microphone icon logo integration.
 * =========================================================================
 */

/* ==========================================================================
   1. Design System Tokens & Core Reset
   ========================================================================== */
:root {
  /* ── Brand & Ink ── */
  --wp-ink: #0c0a09;
  --wp-primary: #292524;
  --wp-primary-active: #0c0a09;
  --wp-on-primary: #ffffff;

  /* ── Canvas & Surfaces ── */
  --wp-canvas: #f5f5f5;
  --wp-canvas-soft: #fafafa;
  --wp-surface-card: #ffffff;
  --wp-surface-strong: #f0efed;
  --wp-surface-dark: #0c0a09;
  --wp-surface-dark-elevated: #1c1917;

  /* ── Text ── */
  --wp-body: #4e4e4e;
  --wp-body-strong: #292524;
  --wp-muted: #777169;
  --wp-muted-soft: #a8a29e;

  /* ── Hairlines ── */
  --wp-hairline: #e7e5e4;
  --wp-hairline-soft: #f0efed;
  --wp-hairline-strong: #d6d3d1;

  /* ── Mode Colors (from the actual app overlay) ── */
  --wp-mode-basic: #ef4444;
  --wp-mode-smart: #8b5cf6;
  --wp-mode-command: #06b6d4;
  --wp-mode-followup: #f59e0b;

  /* ── Atmospheric Gradient Orbs ── */
  --wp-gradient-mint: #a7e5d3;
  --wp-gradient-peach: #f4c5a8;
  --wp-gradient-lavender: #c8b8e0;
  --wp-gradient-sky: #a8c8e8;
  --wp-gradient-rose: #e8b8c4;

  /* ── Semantic ── */
  --wp-success: #16a34a;
  --wp-error: #dc2626;

  /* ── Layout ── */
  --wp-max-width: 1200px;
  --wp-section-padding: 48px;
  --wp-radius-sm: 6px;
  --wp-radius-md: 8px;
  --wp-radius-lg: 12px;
  --wp-radius-xl: 16px;
  --wp-radius-xxl: 24px;
  --wp-radius-pill: 9999px;

  /* ── Font Stacks ── */
  --wp-display: 'EB Garamond', 'Georgia', 'Times New Roman', serif;
  --wp-body-font: 'Inter', system-ui, -apple-system, sans-serif;
  --wp-headline: var(--wp-display);
  --wp-nav: var(--wp-body-font);
  --wp-base: var(--wp-body-font);

  /* ── Timing ── */
  --wp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wp-transition: all 0.35s var(--wp-ease);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--wp-canvas);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--wp-body-font);
  color: var(--wp-ink);
  background-color: var(--wp-canvas);
  line-height: 1.5;
  letter-spacing: 0.16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Selection styling */
::selection {
  background-color: var(--wp-gradient-lavender);
  color: var(--wp-ink);
}

/* ==========================================================================
   2. Page Canvas & Atmospheric Backgrounds
   ========================================================================== */
.wp-page {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--wp-canvas);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body,
  .wp-page,
  main {
    overflow-x: clip;
  }
}

/* Subtle noise texture for matte finish */
.wp-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ── Gradient Orb Atmospheric Decorations ── */
.wp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.wp-orb--mint {
  background: radial-gradient(circle, var(--wp-gradient-mint), transparent 70%);
}

.wp-orb--peach {
  background: radial-gradient(circle, var(--wp-gradient-peach), transparent 70%);
}

.wp-orb--lavender {
  background: radial-gradient(circle, var(--wp-gradient-lavender), transparent 70%);
}

.wp-orb--sky {
  background: radial-gradient(circle, var(--wp-gradient-sky), transparent 70%);
}

.wp-orb--rose {
  background: radial-gradient(circle, var(--wp-gradient-rose), transparent 70%);
}

/* ==========================================================================
   3. Header Navigation — Editorial Style with Mic Icon Logo
   ========================================================================== */
.wp-nav-container {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(245, 245, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--wp-hairline);
}

.wp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  font-family: var(--wp-body-font);
}

.wp-logo {
  font-family: var(--wp-body-font);
  font-size: 1.35rem; /* Balanced size for the sans-serif wordmark */
  color: var(--wp-ink);
  text-decoration: none;
  font-weight: 600; /* Modern tech-brand semi-bold weight */
  letter-spacing: -0.03em; /* Tight letter spacing for branding cohesion */
  display: flex;
  align-items: center;
  gap: 0.45rem; /* Clean visual gap between icon and text */
}

/* Microphone icon image in logo */
.wp-logo-icon {
  height: 1.1em;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transform: translateY(-0.15em); /* Align bottom of stand base with bottom of W letter */
}

/* Plus superscript after brand name */
.wp-logo-plus {
  font-size: 0.7em;
  font-weight: 600;
  font-family: var(--wp-body-font);
  color: var(--wp-muted);
  position: relative;
  top: -0.5em;
}

/* Navigation menu links */
.wp-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.wp-menu a {
  color: var(--wp-body);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--wp-transition);
  letter-spacing: 0;
}

.wp-menu a:hover {
  color: var(--wp-ink);
}

/* Primary CTA button — ink pill */
.wp-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  background-color: var(--wp-primary);
  color: var(--wp-on-primary) !important;
  border: none;
  border-radius: var(--wp-radius-pill);
  font-family: var(--wp-body-font);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: var(--wp-transition);
  cursor: pointer;
  height: 40px;
}

.wp-btn-cta:hover {
  background-color: var(--wp-primary-active);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Hamburger for mobile */
.wp-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.wp-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--wp-ink);
  border-radius: 2px;
  transition: var(--wp-transition);
}

/* ==========================================================================
   4. Hero Section — Centered Editorial with Orb Backdrop
   ========================================================================== */
.wp-hero-section {
  position: relative;
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: 4rem 2rem 0.5rem 2rem;
  text-align: center;
  overflow: visible;
}

.wp-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

/* Editorial display headline */
.wp-hero-content h1 {
  font-family: var(--wp-display);
  font-size: 4.25rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  color: var(--wp-ink);
}

.wp-js #hero-headline {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
}

/* Animated underline on key phrase */
.wp-underline {
  position: relative;
  display: inline;
}

.wp-underline-bar {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 3px;
  background: var(--wp-primary);
  border-radius: 2px;
  opacity: 0.6;
  transform-origin: left;
}

/* Hero subhead */
.wp-hero-content > p {
  color: var(--wp-body);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
  letter-spacing: 0.16px;
}

/* Button group */
.wp-hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

/* Primary button — ink pill */
.wp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 28px;
  background-color: var(--wp-primary);
  color: var(--wp-on-primary);
  text-decoration: none;
  border-radius: var(--wp-radius-pill);
  font-family: var(--wp-body-font);
  font-weight: 500;
  font-size: 15px;
  transition: var(--wp-transition);
  border: none;
  cursor: pointer;
  height: 44px;
}

.wp-btn-primary:hover {
  background-color: var(--wp-primary-active);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wp-btn-primary svg {
  width: 18px;
  height: 18px;
}

/* Secondary outline button */
.wp-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border: 1px solid var(--wp-hairline-strong);
  background-color: transparent;
  color: var(--wp-ink);
  text-decoration: none;
  border-radius: var(--wp-radius-pill);
  font-weight: 500;
  font-size: 15px;
  transition: var(--wp-transition);
  height: 44px;
}

.wp-btn-secondary:hover {
  border-color: var(--wp-ink);
  background-color: rgba(0, 0, 0, 0.02);
}

/* Trust indicators below buttons */
.wp-hero-checklist {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 14px;
  color: var(--wp-muted);
}

.wp-hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wp-hero-checklist svg {
  color: var(--wp-primary);
  opacity: 0.7;
}

/* ── Hero Atmospheric Gradient Orbs ── */
.wp-hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -80px;
  left: -120px;
}

.wp-hero-orb-2 {
  width: 400px;
  height: 400px;
  top: 60px;
  right: -100px;
}

.wp-hero-orb-3 {
  width: 300px;
  height: 300px;
  bottom: -40px;
  left: 30%;
}

/* ==========================================================================
   5. Live App Simulator — Mirrors actual Wispro+ overlay UI
   ========================================================================== */
.wp-simulator-section {
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
}

/* The simulated desktop canvas */
.wp-sim-canvas {
  position: relative;
  background: linear-gradient(145deg, #e8e6e3 0%, #ddd9d5 100%);
  border-radius: var(--wp-radius-xxl);
  overflow: hidden;
  padding: 2.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--wp-hairline);
}

/* Fake text editor in the background */
.wp-sim-editor {
  width: 100%;
  max-width: 600px;
  background-color: var(--wp-surface-card);
  border-radius: var(--wp-radius-lg);
  border: 1px solid var(--wp-hairline);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Editor title bar */
.wp-sim-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--wp-surface-strong);
  border-bottom: 1px solid var(--wp-hairline);
}

.wp-sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wp-sim-titlebar-text {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--wp-muted);
  font-weight: 500;
}

/* Editor text area */
.wp-sim-body {
  padding: 1.5rem;
  min-height: 200px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--wp-body);
}

/* Static gray text already in the doc */
.wp-sim-static-text {
  color: var(--wp-muted-soft);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--wp-hairline-soft);
  padding-bottom: 1rem;
}

/* Live output text appearing via typewriter */
.wp-sim-output {
  color: var(--wp-ink);
  font-weight: 500;
  min-height: 3em;
}

/* Blinking cursor indicator */
.wp-sim-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--wp-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Floating Overlay Pill (replicates the real app overlay) ── */
.wp-sim-overlay {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.wp-sim-overlay.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Recording indicator dot */
.wp-sim-rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: sim-pulse 1s infinite;
}

.wp-sim-rec-dot.basic { background: var(--wp-mode-basic); }
.wp-sim-rec-dot.smart { background: var(--wp-mode-smart); }
.wp-sim-rec-dot.command { background: var(--wp-mode-command); }

@keyframes sim-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Audio wave bars */
.wp-sim-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.wp-sim-wave-bar {
  width: 3px;
  border-radius: 9999px;
  animation: sim-wave 1s ease-in-out infinite;
}

.wp-sim-wave-bar.basic { background-color: #fca5a5; }
.wp-sim-wave-bar.smart { background-color: #c4b5fd; }
.wp-sim-wave-bar.command { background-color: #67e8f9; }

.wp-sim-wave-bar:nth-child(1) { animation-delay: 0.0s; height: 8px; }
.wp-sim-wave-bar:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.wp-sim-wave-bar:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.wp-sim-wave-bar:nth-child(4) { animation-delay: 0.1s; height: 12px; }
.wp-sim-wave-bar:nth-child(5) { animation-delay: 0.0s; height: 8px; }

@keyframes sim-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* Mode badge */
.wp-sim-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wp-sim-badge.basic { background: rgba(239, 68, 68, 0.25); color: #fca5a5; }
.wp-sim-badge.smart { background: rgba(139, 92, 246, 0.25); color: #c4b5fd; }
.wp-sim-badge.command { background: rgba(6, 182, 212, 0.25); color: #67e8f9; }

/* Mode selector buttons below simulator */
.wp-sim-modes {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.wp-sim-mode-btn {
  padding: 8px 18px;
  background-color: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  color: var(--wp-muted);
  border-radius: var(--wp-radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--wp-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wp-sim-mode-btn .mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.wp-sim-mode-btn.active,
.wp-sim-mode-btn:hover {
  background-color: var(--wp-primary);
  color: var(--wp-on-primary);
  border-color: var(--wp-primary);
}

/* ==========================================================================
   6. SVG Text-Path Animation Section
   ========================================================================== */

/* ==========================================================================
   7. Platform Badges & Scrolling Marquee
   ========================================================================== */
/* Scrolling marquee banner */
.wp-marquee-container {
  width: 100%;
  border-top: 1px solid var(--wp-hairline);
  border-bottom: 1px solid var(--wp-hairline);
  padding: 1rem 0;
  overflow: hidden;
  background-color: var(--wp-canvas);
}

.wp-marquee {
  display: flex;
  width: 200%;
  animation: marquee-scroll 30s linear infinite;
}

.wp-marquee span {
  font-family: var(--wp-body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.96px;
  color: var(--wp-muted);
  padding: 0 2.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

/* Dot separator */
.wp-marquee span::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--wp-muted-soft);
  margin-left: 5rem;
}

.wp-capabilities-marquee {
  margin-top: 5rem;
}

/* ── App compatibility logo wall ── */
.wp-apps-marquee-section {
  margin: 1rem 0 5rem;
}

.wp-apps-marquee-header {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.wp-apps-marquee-header h2 {
  margin-top: 0.7rem;
  font-family: var(--wp-display);
  color: var(--wp-ink);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.wp-apps-marquee-header p {
  max-width: 620px;
  margin: 1rem auto 0;
  color: var(--wp-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.wp-apps-marquee-shell {
  display: grid;
  gap: 1.25rem;
  overflow: hidden;
  padding: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(168, 200, 232, 0.36), transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(167, 229, 211, 0.3), transparent 38%),
    rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 100%;
}

.wp-app-logo-row {
  overflow: hidden;
  max-width: 100%;
  padding: 0.15rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.wp-app-logo-track,
.wp-app-logo-group {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.5rem;
}

.wp-app-logo-track {
  will-change: transform;
  box-shadow: none;
  filter: none;
}

.wp-app-logo-item {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(12, 10, 9, 0.07);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
  transition: transform 0.25s var(--wp-ease), box-shadow 0.25s var(--wp-ease);
}

.wp-app-logo-item:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: none;
}

.wp-app-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 9px;
  object-fit: contain;
}

.wp-app-logo-item--tall img {
  padding: 13px 16px;
}

.wp-app-logo-placeholder {
  color: #ffffff;
  font-family: var(--wp-body-font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .wp-app-logo-track {
    transform: none !important;
    will-change: auto;
  }
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   8. Section Layout & Typography — Tightened Spacing
   ========================================================================== */
.wp-section {
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: var(--wp-section-padding) 2rem;
  position: relative;
}

/* Compact variant for less padding */
.wp-section--compact {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Section header — centered editorial */
.wp-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.wp-section-header h2 {
  font-family: var(--wp-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--wp-ink);
  margin-bottom: 0.75rem;
}

.wp-section-header p {
  color: var(--wp-body);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Uppercase label badge */
.wp-label {
  display: inline-block;
  font-family: var(--wp-body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--wp-muted);
  margin-bottom: 0.75rem;
  padding: 4px 10px;
  background-color: var(--wp-surface-strong);
  border-radius: var(--wp-radius-pill);
}

/* Section divider line */
.wp-divider {
  border: none;
  border-top: 1px solid var(--wp-hairline);
  margin: 0;
}

/* ==========================================================================
   9. Feature Cards — White Surface with Hairline
   ========================================================================== */
.wp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.wp-feature-card {
  background-color: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-xl);
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.wp-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border-color: var(--wp-hairline-strong);
}

/* Icon wrapper with soft colored background */
.wp-feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--wp-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--wp-ink);
}

/* Unique soft gradient tints per card */
.wp-feature-card:nth-child(1) .wp-feature-icon-wrap { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.wp-feature-card:nth-child(2) .wp-feature-icon-wrap { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.wp-feature-card:nth-child(3) .wp-feature-icon-wrap { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.wp-feature-card:nth-child(4) .wp-feature-icon-wrap { background: linear-gradient(135deg, #fff3e0, #ffcc80); }
.wp-feature-card:nth-child(5) .wp-feature-icon-wrap { background: linear-gradient(135deg, #ede7f6, #d1c4e9); }
.wp-feature-card:nth-child(6) .wp-feature-icon-wrap { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }

.wp-feature-card h3 {
  font-family: var(--wp-body-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--wp-ink);
}

.wp-feature-card p {
  color: var(--wp-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.15px;
}

/* ==========================================================================
   10. Numbered Workflow Steps
   ========================================================================== */
.wp-steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.wp-step-card {
  position: relative;
  background-color: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-xl);
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wp-step-card:hover {
  border-color: var(--wp-hairline-strong);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.wp-step-num {
  font-family: var(--wp-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--wp-muted-soft);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.wp-step-card h3 {
  font-family: var(--wp-body-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--wp-ink);
}

.wp-step-card p {
  color: var(--wp-body);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   11. Comparison Section — Two-Card Layout
   ========================================================================== */
.wp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.wp-compare-card {
  border-radius: var(--wp-radius-xl);
  padding: 2.5rem;
  position: relative;
}

.wp-compare-card--pro {
  background-color: var(--wp-surface-dark);
  color: var(--wp-on-primary);
}

.wp-compare-card--old {
  background-color: var(--wp-surface-card);
  color: var(--wp-ink);
  border: 1px solid var(--wp-hairline);
}

.wp-compare-card h3 {
  font-family: var(--wp-body-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.wp-compare-card--pro h3 { color: var(--wp-on-primary); }

.wp-compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wp-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 14px;
  line-height: 1.5;
}

.wp-compare-card--pro .wp-compare-list li { color: rgba(255, 255, 255, 0.85); }
.wp-compare-card--old .wp-compare-list li { color: var(--wp-body); }

.wp-compare-list svg { flex-shrink: 0; margin-top: 2px; }
.wp-compare-card--pro .wp-compare-list svg { color: var(--wp-gradient-mint); }
.wp-compare-card--old .wp-compare-list svg { color: var(--wp-muted-soft); }

/* ==========================================================================
   12. Pricing Card
   ========================================================================== */
.wp-pricing-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-xxl);
  background-color: var(--wp-surface-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

.wp-price-left {
  border-right: 1px solid var(--wp-hairline);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative orb behind price */
.wp-price-left::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--wp-gradient-mint), transparent 70%);
  opacity: 0.25;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  pointer-events: none;
}

.wp-price-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  color: var(--wp-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background-color: var(--wp-surface-strong);
  border-radius: var(--wp-radius-pill);
}

.wp-price-val {
  font-family: var(--wp-display);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--wp-ink);
  position: relative;
  z-index: 1;
}

.wp-price-sub {
  color: var(--wp-muted);
  font-size: 14px;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.wp-price-right {
  padding: 3rem;
}

.wp-price-right h3 {
  font-family: var(--wp-body-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--wp-ink);
}

.wp-price-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wp-price-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--wp-body);
}

.wp-price-list svg {
  flex-shrink: 0;
  color: var(--wp-primary);
  opacity: 0.6;
}

/* ==========================================================================
   13. FAQ Accordion — Minimal Editorial
   ========================================================================== */
.wp-faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.wp-faq-item {
  border-bottom: 1px solid var(--wp-hairline);
  overflow: hidden;
}

.wp-faq-item:first-child {
  border-top: 1px solid var(--wp-line);
}

.wp-faq-item:last-child {
  border-bottom: none;
}

.wp-faq-trigger {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--wp-ink);
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--wp-body-font);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--wp-transition);
  line-height: 1.44;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.wp-faq-trigger:hover { color: var(--wp-body-strong); }

.wp-faq-trigger:active,
.wp-faq-trigger:focus {
  background: transparent;
}

.wp-faq-trigger:focus-visible {
  outline: 2px solid var(--wp-ink);
  outline-offset: 3px;
}

.wp-faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--wp-muted);
  transition: transform 0.4s var(--wp-ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.wp-faq-content {
  max-height: 0;
  overflow: hidden;
}

.wp-faq-content p {
  padding: 0 0 1.25rem 0;
  color: var(--wp-body);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.15px;
}

.wp-faq-item.active .wp-faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   14. Call to Action Band — Dark Panel
   ========================================================================== */
.wp-cta-section {
  padding: var(--wp-section-padding) 2rem;
}

.wp-cta-panel {
  max-width: var(--wp-max-width);
  margin: 0 auto;
  border-radius: var(--wp-radius-xxl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--wp-surface-dark);
}

.wp-cta-panel::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--wp-gradient-sky), transparent 70%);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}

.wp-cta-panel h2 {
  font-family: var(--wp-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--wp-on-primary);
  position: relative;
  z-index: 1;
}

.wp-cta-panel p {
  color: var(--wp-muted-soft);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem auto;
  position: relative;
  z-index: 1;
}

/* White pill button on dark background */
.wp-btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 28px;
  background-color: var(--wp-on-primary);
  color: var(--wp-ink);
  text-decoration: none;
  border-radius: var(--wp-radius-pill);
  font-family: var(--wp-body-font);
  font-weight: 500;
  font-size: 15px;
  transition: var(--wp-transition);
  position: relative;
  z-index: 1;
  height: 44px;
  border: none;
  cursor: pointer;
}

.wp-btn-primary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.wp-footer {
  border-top: 1px solid var(--wp-hairline);
  background-color: var(--wp-canvas);
  padding: 2.5rem 2rem 1.25rem;
}

.wp-footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.wp-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.wp-footer-brand h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--wp-body-font);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.wp-footer-brand .wp-logo-icon {
  width: 36px;
  height: 36px;
}

.wp-footer-brand p {
  max-width: 500px;
  margin: 0;
  color: var(--wp-body);
  font-size: 1.15rem;
}

.wp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.75rem;
  margin-top: 1.35rem;
}

.wp-footer-nav a {
  color: var(--wp-ink);
  font-weight: 500;
  text-decoration: none;
  transition: var(--wp-transition);
}

.wp-footer-nav a:hover,
.wp-footer-legal a:hover {
  color: var(--wp-muted);
}

.wp-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--wp-muted-soft);
  font-size: 13px;
}

.wp-footer-legal a {
  color: var(--wp-muted);
  text-decoration: none;
  transition: var(--wp-transition);
}

.wp-footer-grid {
  max-width: var(--wp-max-width);
  margin: 0 auto 2rem auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
}

.wp-footer-info h4 {
  font-family: var(--wp-body-font);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--wp-ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}


.wp-footer-info p {
  color: var(--wp-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.15px;
}

.wp-footer-links h5 {
  color: var(--wp-ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.wp-footer-links ul { list-style: none; }

.wp-footer-links ul li { margin-bottom: 0.6rem; }

.wp-footer-links ul li a {
  color: var(--wp-body);
  text-decoration: none;
  font-size: 14px;
  transition: var(--wp-transition);
  letter-spacing: 0.15px;
}

.wp-footer-links ul li a:hover { color: var(--wp-ink); }

.wp-footer-bottom {
  max-width: var(--wp-max-width);
  margin: 0 auto;
  border-top: 1px solid var(--wp-hairline);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  color: var(--wp-muted);
  font-size: 13px;
  text-align: center;
}

.wp-social-links {
  display: flex;
  gap: 1rem;
  margin: 0 auto;
}

.wp-social-links a {
  display: flex;
  color: var(--wp-muted);
  transition: var(--wp-transition);
}

.wp-social-links a:hover {
  color: var(--wp-ink);
  transform: translateY(-1px);
}

/* ==========================================================================
   16. Legal Pages
   ========================================================================== */
.wp-legal-page {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
}

.wp-legal-orb-1 {
  top: -10rem;
  left: -12rem;
  width: 36rem;
  height: 36rem;
}

.wp-legal-orb-2 {
  top: 34rem;
  right: -16rem;
  width: 40rem;
  height: 40rem;
}

.wp-legal-document {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.wp-legal-header {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--wp-hairline);
}

.wp-legal-header h1 {
  margin: 0 0 0.6rem;
  font-family: var(--wp-display);
  color: var(--wp-ink);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.wp-legal-header > p:last-child {
  max-width: 720px;
  margin-top: 1.5rem;
  color: var(--wp-body);
  font-size: 1.1rem;
  line-height: 1.75;
}

.wp-legal-date {
  color: var(--wp-muted);
  font-size: 0.9rem;
}

.wp-legal-content {
  padding-top: 1rem;
}

.wp-legal-content section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--wp-hairline);
}

.wp-legal-content section:last-child {
  border-bottom: 0;
}

.wp-legal-content h2 {
  margin-bottom: 1rem;
  font-family: var(--wp-display);
  color: var(--wp-ink);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
}

.wp-legal-content h3 {
  margin: 1.65rem 0 0.45rem;
  color: var(--wp-ink);
  font-size: 1rem;
  font-weight: 600;
}

.wp-legal-content p,
.wp-legal-content li {
  color: var(--wp-body-strong);
  font-size: 1rem;
  line-height: 1.8;
}

.wp-legal-content p + p {
  margin-top: 0.8rem;
}

.wp-legal-content ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0 1rem 1.25rem;
}

.wp-legal-content a {
  color: var(--wp-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ==========================================================================
   16. Utility & Animation Classes
   ========================================================================== */

/* Visibility helpers for GSAP — let JS handle initial state to avoid invisible content if JS fails to execute */
.wp-reveal {
  /* opacity and transform are set dynamically by GSAP on load */
}

/* Smooth image rendering */
img {
  max-width: 100%;
  height: auto;
}

/* Link reset */
a { color: inherit; }

/* ==========================================================================
   17. Core Process Visualizer Section (Full Width)
   ========================================================================== */
.wp-visualizer-section {
  width: 100%;
  max-width: none;
  margin: -3rem 0 0 0; /* Pulled up to reduce gap from hero section */
  padding: 0 0 2.5rem 0; /* Padding bottom only, no horizontal padding */
}

.wp-vis-canvas {
  position: relative;
  background-color: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.wp-vis-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Before text (messy raw speech) along curve */
.wp-vis-before-text {
  font-family: var(--wp-body-font);
  font-size: 14.5px;
  fill: var(--wp-muted-soft);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* After text (polished white prose) inside thick black ribbon */
.wp-vis-after-text {
  font-family: var(--wp-body-font);
  font-size: 15.5px;
  fill: #ffffff;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Capsule Processing Node */
#vis-capsule-rect {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.03));
  transition: stroke 0.3s ease, fill 0.3s ease;
}

/* Equalizer audio wave bars */
.vis-equalizer-bar {
  transform-origin: 50% 50%;
}

/* Pulsing wave rings for the central logo node (origin centered at 700px 240px) */
.vis-pulse-ring {
  transform-origin: 700px 240px;
  animation: vis-ripple 3s infinite;
  pointer-events: none;
}

#vis-pulse-ring-2 {
  animation-delay: 1.5s;
}

@keyframes vis-ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================================================
   18. Three Dictation Modes Section
   ========================================================================== */
.wp-modes-section {
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: 3rem 2rem 2rem 2rem;
}

.wp-modes-interactive-container {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
  width: 100%;
}

/* Sidebar switcher container holding the interactive tab items */
.wp-sim-sidebar {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual switcher tabs with custom layout and borders */
.wp-sim-tab {
  background: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s var(--wp-ease);
  overflow: hidden;
}

.wp-sim-tab:hover {
  transform: translateY(-2px);
  border-color: var(--wp-hairline-strong);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}

/* Color theme mappings when tab items are actively selected */
.wp-sim-tab[data-mode="smart"].active {
  --wp-tab-color: var(--wp-mode-smart);
  border-color: var(--wp-mode-smart);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.05);
}

.wp-sim-tab[data-mode="command"].active {
  --wp-tab-color: var(--wp-mode-command);
  border-color: var(--wp-mode-command);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.05);
}

.wp-sim-tab[data-mode="basic"].active {
  --wp-tab-color: var(--wp-mode-basic);
  border-color: var(--wp-mode-basic);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.05);
}

/* Tab internal title & key binding row wrapper */
.wp-sim-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wp-sim-tab-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--wp-ink);
}

/* Shortcut tags inside tab items */
.wp-sim-tab-key {
  font-size: 9.5px;
  font-weight: 600;
  background: var(--wp-surface-strong);
  color: var(--wp-body-strong);
  border: 1px solid var(--wp-hairline-strong);
  border-radius: 5px;
  padding: 2px 6px;
  letter-spacing: -0.01em;
}

.wp-sim-tab-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--wp-body);
  margin: 0;
}

/* Horizontal linear progress bar at the bottom of active tabs */
.wp-sim-tab-progress {
  height: 2px;
  width: 100%;
  background: var(--wp-hairline-soft);
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
}

.wp-sim-tab.active .wp-sim-tab-progress {
  display: block;
}

.wp-sim-tab-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--wp-tab-color);
  transition: none; /* Controlled dynamically in JS timing */
}

/* Simulator screen panel displaying digital mockup elements */
.wp-sim-workspace {
  flex: 1;
  min-height: 400px;
  background-color: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-xl);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Mockup screen canvas space styled like a writing paper desk background */
.wp-sim-workspace-body {
  flex: 1;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 260px;
  background-color: var(--wp-canvas-soft); /* Subtle warm paper off-white background */
}

/* Central editor sheet of paper canvas inside simulation workspace */
.wp-sim-editor-field {
  width: 100%;
  max-width: 520px;
  height: 180px;
  background-color: #ffffff;
  border: 1px solid var(--wp-hairline-strong);
  border-radius: var(--wp-radius-md);
  padding: 1.5rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--wp-ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow-y: auto;
  font-family: var(--wp-body-font);
  outline: none;
  text-align: left;
}

/* Placeholder styling for empty contenteditable text editor field */
.wp-sim-editor-field:empty::before {
  content: attr(placeholder);
  color: var(--wp-muted-soft);
  font-style: italic;
}

/* Simulator controls footer bar */
.wp-sim-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid var(--wp-hairline);
}

/* Secondary trigger button to execute typewriter simulation on-demand */
.wp-sim-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--wp-hairline-strong);
  background-color: transparent;
  color: var(--wp-ink);
  border-radius: var(--wp-radius-pill);
  font-family: var(--wp-body-font);
  font-weight: 500;
  font-size: 14px;
  transition: var(--wp-transition);
  cursor: pointer;
  height: 48px; /* Matches record button height */
  user-select: none;
}

.wp-sim-demo-btn:hover {
  border-color: var(--wp-ink);
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

.wp-sim-demo-btn:active {
  transform: translateY(0);
}

/* Voice Dictation record button styled beautifully with responsive hover states */
.wp-sim-record-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: var(--wp-primary);
  color: var(--wp-on-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--wp-ease);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.wp-sim-record-btn:hover {
  transform: scale(1.08);
  background-color: var(--wp-primary-active);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Active recording states of the microphone button - pulses red/coral */
.wp-sim-record-btn.recording {
  background-color: #ef4444 !important;
  color: white !important;
  animation: rec-button-pulse 1.5s infinite;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes rec-button-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.wp-mic-icon {
  width: 20px;
  height: 20px;
}

.wp-sim-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.wp-sim-action-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--wp-ink);
}

.wp-sim-limit-note {
  font-size: 11px;
  color: var(--wp-muted);
}

/* Selection highlight styling for command-based transformations */
.wp-sim-editor-field .highlight-text {
  background-color: rgba(6, 182, 212, 0.15);
  border-radius: 2px;
  padding: 1px 0;
}

/* Live input-output text content area */
.wp-sim-text-content {
  white-space: pre-wrap;
}

/* Typewriting blinker cursor element */
.wp-sim-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--wp-primary);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 1s step-end infinite;
}

/* ==========================================================================
   Pixel-Perfect App Overlay Replication (100% Match with desktop overlay.html)
   ========================================================================== */
.overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  color: white;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.overlay.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.overlay-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recording-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

/* Style colors mapping for different mode selections */
.overlay.basic .recording-indicator { background: #ef4444; }
.overlay.basic .mode-badge { background: rgba(239, 68, 68, 0.25); color: #fca5a5; }

.overlay.smart .recording-indicator { background: #8b5cf6; }
.overlay.smart .mode-badge { background: rgba(139, 92, 246, 0.25); color: #c4b5fd; }

.overlay.command .recording-indicator { background: #06b6d4; }
.overlay.command .mode-badge { background: rgba(6, 182, 212, 0.25); color: #67e8f9; }

.overlay.followup .recording-indicator { background: #f59e0b; }
.overlay.followup .mode-badge { background: rgba(245, 158, 11, 0.25); color: #fcd34d; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.recording-indicator.processing {
  background: #3b82f6 !important;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Simulated flex row voice equalizer audio waves */
.wave-container {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 16px;
  margin: 0 4px;
}

.wave-container.active {
  display: flex;
}

.wave-bar {
  width: 3px;
  background-color: white;
  border-radius: 9999px;
  animation: wave 1s ease-in-out infinite;
}

.overlay.basic .wave-bar { background-color: #fca5a5; }
.overlay.smart .wave-bar { background-color: #c4b5fd; }
.overlay.command .wave-bar { background-color: #67e8f9; }
.overlay.followup .wave-bar { background-color: #fcd34d; }

.wave-bar:nth-child(1) { animation-delay: 0.0s; height: 8px; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; height: 12px; }
.wave-bar:nth-child(5) { animation-delay: 0.0s; height: 8px; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* Command Mode CSS Robot animations */
.processing-animation {
  display: none;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.processing-animation.active {
  display: flex;
}

.robot-track {
  position: relative;
  width: 32px;
  height: 22px;
  overflow: hidden;
}

.css-robot {
  position: absolute;
  width: 16px;
  height: 18px;
  animation: robotWalk 2.4s ease-in-out infinite;
}

.robot-head {
  width: 16px;
  height: 12px;
  background: #0e7490;
  border-radius: 4px 4px 2px 2px;
  position: relative;
  border: 1.5px solid #06b6d4;
  margin-top: 4px;
}

.robot-eyes {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 2.5px;
}

.robot-eye {
  width: 3px;
  height: 3px;
  background: #67e8f9;
  border-radius: 50%;
  box-shadow: 0 0 4px #67e8f9, 0 0 8px rgba(103, 232, 249, 0.4);
  animation: eyeGlow 2s ease-in-out infinite;
}

.robot-antenna {
  width: 2px;
  height: 4px;
  background: #06b6d4;
  margin: 0 auto;
  border-radius: 2px 2px 0 0;
}

.robot-antenna::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: #67e8f9;
  border-radius: 50%;
  margin-left: -1px;
  margin-top: -3px;
  box-shadow: 0 0 6px #67e8f9;
  animation: antennaPulse 1.2s ease-in-out infinite;
}

.robot-body {
  width: 10px;
  height: 3px;
  background: #0e7490;
  border: 1px solid #06b6d4;
  border-radius: 0 0 2px 2px;
  margin: 0 auto;
}

@keyframes robotWalk {
  0% { left: 0px; transform: translateY(0px); }
  25% { left: 8px; transform: translateY(-1px); }
  50% { left: 16px; transform: translateY(0px); }
  75% { left: 8px; transform: translateY(-1px); }
  100% { left: 0px; transform: translateY(0px); }
}

@keyframes eyeGlow {
  0%, 90%, 100% { opacity: 1; transform: scaleY(1); }
  95% { opacity: 0.6; transform: scaleY(0.2); }
}

@keyframes antennaPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.thinking-text {
  font-size: 13px;
  font-weight: 500;
  color: #67e8f9;
}

.thinking-dots {
  display: inline-flex;
  gap: 2px;
  margin-left: 1px;
}

.thinking-dots span {
  animation: dotBounce 1.4s ease-in-out infinite;
  opacity: 0.3;
}

.thinking-dots span:nth-child(1) { animation-delay: 0s; }
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

.status-text {
  font-size: 13px;
  font-weight: 500;
  display: none;
}

.status-text.visible {
  display: inline;
}

.mode-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer {
  display: inline;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-family: monospace;
}

/* Responsive sidebar layouts matching smaller devices query limits */
@media (max-width: 900px) {
  .wp-modes-interactive-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .wp-sim-sidebar {
    flex: 1;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .wp-sim-tab {
    flex: 0 0 280px;
  }
}

/* GSAP animations for modes grid */
.wp-reveal-mode {
  /* opacity and transform are set dynamically by GSAP on load */
}

/* ==========================================================================
   19. Responsive Breakpoints
   ========================================================================== */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  :root {
    --wp-section-padding: 48px;
  }

  .wp-hero-content h1 { font-size: 3.25rem; }
  .wp-section-header h2 { font-size: 2.25rem; }
  .wp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-compare-grid { grid-template-columns: 1fr; }

  .wp-pricing-panel { grid-template-columns: 1fr; }
  .wp-price-left {
    border-right: none;
    border-bottom: 1px solid var(--wp-hairline);
    padding: 2.5rem 2rem;
  }
  .wp-price-right { padding: 2.5rem 2rem; }

  .wp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Core loop visualizer tablet responsive */
  .wp-vis-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .wp-vis-node-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 0.5rem 0;
  }
}

/* ── Mobile Landscape (≤768px) ── */
@media (max-width: 768px) {
  .wp-hamburger { display: flex; }

  .wp-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--wp-canvas);
    border-bottom: 1px solid var(--wp-hairline);
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  }

  .wp-menu.active { display: flex; }

  .wp-hero-content h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
  }

  .wp-hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .wp-btn-primary, .wp-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .wp-hero-checklist {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .wp-features-grid { grid-template-columns: 1fr; }
  .wp-steps-container { grid-template-columns: 1fr; gap: 1rem; }
  .wp-cta-panel h2 { font-size: 2rem; }
  .wp-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .wp-footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .wp-footer {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .wp-footer-nav {
    column-gap: 1.2rem;
  }

  .wp-legal-page {
    padding: 4rem 1.25rem;
  }

  .wp-legal-header {
    padding-bottom: 2.25rem;
  }

  .wp-legal-header h1 {
    font-size: 2rem;
  }

  .wp-legal-content section {
    padding: 1.8rem 0;
  }

  .wp-legal-content h2 {
    font-size: 1.7rem;
  }

  .wp-price-list { grid-template-columns: 1fr; }
  .wp-platform-chips { gap: 0.5rem; }
  .wp-section-header h2 { font-size: 1.85rem; }

  .wp-apps-marquee-section {
    margin-bottom: 4rem;
  }

  .wp-apps-marquee-header h2 {
    font-size: 1.85rem;
  }

  .wp-apps-marquee-shell {
    margin-right: 0;
    margin-left: 0;
    padding: 1.5rem 0;
    border-radius: 1.5rem;
  }

  .wp-app-logo-track,
  .wp-app-logo-group {
    gap: 1rem;
  }

  .wp-app-logo-item {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .wp-app-logo-item--tall img {
    padding: 11px 14px;
  }

  /* Reduce orb sizes on mobile */
  .wp-hero-orb-1 { width: 250px; height: 250px; }
  .wp-hero-orb-2 { width: 200px; height: 200px; }
  .wp-hero-orb-3 { width: 150px; height: 150px; }

  .wp-modes-interactive-container { flex-direction: column; gap: 1.5rem; }
  .wp-hero-content,
  .wp-mode-row,
  .wp-mode-row > *,
  .wp-modes-demo-window,
  .wp-apps-marquee-section,
  .wp-apps-marquee-shell {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .wp-visualizer-section {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 0 0 2rem;
    overflow: hidden;
  }

  .wp-vis-canvas {
    width: 100%;
    max-width: 100%;
    height: clamp(128px, 20vw, 150px);
    overflow: hidden;
  }

  .wp-vis-svg {
    position: relative;
    left: 50%;
    width: max(760px, 100%);
    max-width: none;
    height: auto;
    transform: translateX(-50%);
  }
  .wp-textpath-header h2 { font-size: 2rem; }
}

/* ── Mobile Portrait (≤480px) ── */
@media (max-width: 480px) {
  .wp-hero-content h1 { font-size: 2rem; }
  .wp-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .wp-feature-card { padding: 1.5rem 1.25rem; }
  .wp-vis-card { padding: 1.25rem 1rem; }
}

.wp-footer-bottom {
    text-align: center;
}

/* ==========================================================================
   INTERACTIVE MODES SECTION (ROW-BASED)
   ========================================================================== */
.wp-mode-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.wp-mode-row.wp-row-reverse {
  grid-template-columns: 1.5fr 1fr;
}
.wp-mode-row.wp-row-reverse .wp-mode-row-text {
  order: 2;
}
.wp-mode-row.wp-row-reverse .wp-modes-demo-window {
  order: 1;
}

@media (max-width: 900px) {
  .wp-mode-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wp-mode-row.wp-row-reverse {
    grid-template-columns: 1fr;
  }
  .wp-mode-row.wp-row-reverse .wp-mode-row-text {
    order: 1;
  }
  .wp-mode-row.wp-row-reverse .wp-modes-demo-window {
    order: 2;
  }
}

.wp-mode-row:last-child {
  margin-bottom: 0;
}

.wp-mode-row-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wp-mode-row-text .wp-mode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.wp-mode-row-text h3 {
  font-family: var(--wp-body-font);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--wp-ink);
  margin: 8px 0 0 0;
}

.wp-mode-row-text p {
  font-size: 1.125rem;
  color: var(--wp-muted);
  line-height: 1.6;
}

.wp-modes-demo-window {
  background: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  width: 100%;
  min-width: 0;
  position: relative;
}

.wp-demo-header {
  height: 40px;
  background: var(--wp-surface-strong);
  border-bottom: 1px solid var(--wp-hairline);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.wp-demo-dots {
  display: flex;
  gap: 6px;
}

.wp-demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6d3d1;
}
.wp-demo-dots span:nth-child(1) { background: #fca5a5; }
.wp-demo-dots span:nth-child(2) { background: #fcd34d; }
.wp-demo-dots span:nth-child(3) { background: #86efac; }

.wp-demo-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wp-muted);
}

.wp-demo-body {
  padding: 32px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--wp-ink);
  flex-grow: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* Authentic App Overlay Styles */
.wp-app-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 20px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  color: white;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  z-index: 10;
}

.wp-app-overlay.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wp-app-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  animation: overlayPulse 1s infinite;
}

.wp-app-wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 16px;
  margin: 0 4px;
}

.wp-app-wave-bar {
  width: 3px;
  border-radius: 9999px;
  animation: overlayWave 1s ease-in-out infinite;
}
.wp-app-wave-bar:nth-child(1) { animation-delay: 0.0s; height: 8px; }
.wp-app-wave-bar:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.wp-app-wave-bar:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.wp-app-wave-bar:nth-child(4) { animation-delay: 0.1s; height: 12px; }
.wp-app-wave-bar:nth-child(5) { animation-delay: 0.0s; height: 8px; }

.wp-app-mode-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes overlayPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes overlayWave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* Mode-Specific Overlay Colors */
.wp-app-overlay.basic .wp-app-indicator { background: #ef4444; }
.wp-app-overlay.basic .wp-app-wave-bar { background-color: #fca5a5; }
.wp-app-overlay.basic .wp-app-mode-badge { background: rgba(239, 68, 68, 0.25); color: #fca5a5; }

.wp-app-overlay.smart .wp-app-indicator { background: #8b5cf6; }
.wp-app-overlay.smart .wp-app-wave-bar { background-color: #c4b5fd; }
.wp-app-overlay.smart .wp-app-mode-badge { background: rgba(139, 92, 246, 0.25); color: #c4b5fd; }

.wp-app-overlay.command .wp-app-indicator { background: #3b82f6; }
.wp-app-overlay.command .wp-app-wave-bar { background-color: #93c5fd; }
.wp-app-overlay.command .wp-app-mode-badge { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }

/* In-editor Highlights and Fades */
.demo-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--wp-ink);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.demo-highlight {
  background-color: rgba(6, 182, 212, 0.2);
  border-radius: 2px;
}
.demo-text-fade {
  animation: textFadeIn 0.3s ease forwards;
}
@keyframes textFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Interactive Mouse Hover Soundwave Effect */
.mouse-soundwave {
    position: fixed;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 1px;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    color: var(--wp-primary); 
}
.mouse-soundwave .bar {
    width: 2px;
    background-color: currentColor;
    border-radius: 1px;
    height: 4px;
}

section[id] {
  scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  .wp-app-indicator,
  .wp-app-wave-bar {
    animation: none;
  }
}

/* ==========================================================================
   DOWNLOAD PLATFORM MODAL
   ========================================================================== */

/* Overlay backdrop — soft dark blur behind the modal */
.wp-download-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 10, 9, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

/* Active state — overlay visible */
.wp-download-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(12, 10, 9, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Modal container — frosted glass card */
.wp-download-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--wp-surface-card);
  border: 1px solid var(--wp-hairline);
  border-radius: var(--wp-radius-xxl);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.18),
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem 2rem;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modal entrance animation */
.wp-download-overlay.active .wp-download-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button — top right corner */
.wp-download-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--wp-surface-strong);
  border-radius: 50%;
  cursor: pointer;
  color: var(--wp-muted);
  transition: var(--wp-transition);
  z-index: 2;
}

.wp-download-close:hover {
  background: var(--wp-hairline-strong);
  color: var(--wp-ink);
  transform: rotate(90deg);
}

/* Modal header — logo + title */
.wp-download-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wp-download-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--wp-surface-strong);
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid var(--wp-hairline);
}

.wp-download-logo-icon {
  width: 28px;
  height: 28px;
}

.wp-download-header h2 {
  font-family: var(--wp-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--wp-ink);
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.wp-download-subtitle {
  color: var(--wp-muted);
  font-size: 0.9rem;
  font-family: var(--wp-body-font);
}

/* Platform cards container */
.wp-download-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Individual platform card */
.wp-download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--wp-hairline);
  border-radius: var(--wp-radius-xl);
  background: var(--wp-canvas-soft);
  text-decoration: none;
  color: var(--wp-ink);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  cursor: pointer;
}

.wp-download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--wp-hairline-strong);
  background: var(--wp-surface-card);
}

/* Chrome card hover accent */
.wp-download-card:hover .wp-download-card-icon--chrome {
  background: rgba(66, 133, 244, 0.1);
  border-color: rgba(66, 133, 244, 0.25);
}

/* Windows card hover accent */
.wp-download-card:hover .wp-download-card-icon--windows {
  background: rgba(0, 173, 239, 0.1);
  border-color: rgba(0, 173, 239, 0.25);
}

/* Platform icon container */
.wp-download-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--wp-radius-lg);
  background: var(--wp-surface-strong);
  border: 1px solid var(--wp-hairline);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

/* Platform text info */
.wp-download-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wp-download-card-label {
  font-family: var(--wp-body-font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wp-ink);
}

.wp-download-card-platform {
  font-size: 0.8rem;
  color: var(--wp-muted);
  font-family: var(--wp-body-font);
}

/* Arrow indicator */
.wp-download-card-arrow {
  flex-shrink: 0;
  color: var(--wp-muted-soft);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.wp-download-card:hover .wp-download-card-arrow {
  transform: translateX(4px);
  color: var(--wp-ink);
}

/* Footer note */
.wp-download-footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--wp-muted-soft);
  font-family: var(--wp-body-font);
}

/* ── Download Modal Responsive ── */
@media (max-width: 768px) {
  .wp-download-modal {
    max-width: 100%;
    border-radius: var(--wp-radius-xl);
    padding: 2rem 1.5rem 1.5rem;
  }

  .wp-download-header h2 {
    font-size: 1.5rem;
  }

  .wp-download-card {
    padding: 0.875rem 1rem;
  }

  .wp-download-card-icon {
    width: 48px;
    height: 48px;
  }

  .wp-download-card-icon svg {
    width: 32px;
    height: 32px;
  }
}
