/* ==========================================================================
   X-Flow — Official Production Stylesheet
   Architectural Standard: ProIntro-Inspired SaaS (https://www.prointro.com/)
   Stack: Modern Pure CSS, Responsive & Hardware Accelerated
   Brand Identity: Royal Blue (#2563EB), Deep Navy (#0B0F19), Clean Canvas (#FFFFFF)
   ========================================================================== */

:root {
  /* Color Palette (ProIntro High-Contrast System) */
  --color-background: #ffffff;
  --color-surface: #f6f8fb;
  --color-surface-hover: #edf1f7;
  --color-ink: #0b0f19;
  --color-body: #4b5563;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --color-hairline: rgba(15, 23, 42, 0.08);

  /* Brand Accents */
  --color-brand: #2563eb;
  --color-brand-deep: #1d4ed8;
  --color-accent: #2563eb;
  --color-accent-soft: #eff6ff;
  --color-accent-glow: rgba(37, 99, 235, 0.25);
  --color-success: #16a34a;
  --color-success-soft: #f0fdf4;
  --color-warning: #f59e0b;

  /* Dark Signature Section Palette */
  --color-dark: #0b0f19;
  --color-dark-surface: #131926;
  --color-on-dark: #f9fafb;
  --color-on-dark-muted: #94a3b8;
  --color-dark-line: rgba(255, 255, 255, 0.1);

  /* Geometry & Radii */
  --rounded-sm: 8px;
  --rounded-md: 12px;
  --rounded-lg: 18px;
  --rounded-xl: 26px;
  --rounded-full: 9999px;
  --rounded-phone: 40px;

  /* Shadows (ProIntro Specular & Floating Depths) */
  --shadow-subtle:
    0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card:
    0 1px 3px rgba(15, 23, 42, 0.04), 0 14px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-card-hover:
    0 4px 16px rgba(15, 23, 42, 0.06), 0 24px 44px -12px rgba(37, 99, 235, 0.12);
  --shadow-float:
    0 20px 48px -12px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-btn: 0 4px 14px -2px rgba(37, 99, 235, 0.35);

  /* Typography */
  --font-heading:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-body:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-indic:
    "Noto Sans Gujarati", "Noto Sans Devanagari", "Noto Sans Tamil",
    "Noto Sans Telugu", "Noto Sans Bengali", "Noto Sans Kannada",
    "Noto Sans Malayalam", "Noto Sans Gurmukhi", "Noto Sans Oriya",
    "Noto Sans Arabic", sans-serif;

  /* Layout Constants */
  --content: 1160px;
  --gutter: 24px;

  interpolate-size: allow-keywords;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  background-color: var(--color-background);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

/* STRICT LOGO ASPECT RATIO PRESERVATION (932x568 = 1.64:1) */
img.logo-mark,
.logo img,
.brand img,
.bubble-logo,
.sim-docked-logo,
.spec-card-logo,
.comparison-brand img,
img[src*="x-flow-logo"] {
  height: auto;
  max-height: 32px;
  width: auto;
  max-width: 60px;
  object-fit: contain !important;
  aspect-ratio: 932 / 568 !important;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==========================================================================
   Typography & Badges
   ========================================================================== */
h1,
h2,
h3,
h4,
b,
strong {
  color: var(--color-ink);
  font-family: var(--font-heading);
}

h1.hero-heading {
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin-top: 14px;
  margin-bottom: 20px;
}

.hero-line-gu {
  display: block;
}

.hero-line-en {
  display: block;
  margin-top: 4px;
}

.u-nowrap {
  white-space: nowrap;
}

h1 .highlight-ink {
  color: var(--color-brand);
}

.lp .mark,
.mark,
.marker-cyan {
  z-index: 0;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

.lp .mark:after,
.mark:after,
.marker-cyan:after,
.marker-cyan::before {
  content: "";
  z-index: -1;
  background: #2564ebd3;
  border-radius: 0.55em 0.2em 0.6em 0.3em / 0.35em 0.6em 0.3em 0.5em;
  height: 0.34em;
  position: absolute;
  bottom: 0.02em;
  left: -0.08em;
  right: -0.06em;
  transform: rotate(-1.5deg);
}

h2.statement {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-body);
  max-width: 52ch;
}

.next {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-muted);
  /* margin-top: 16px; */
}

.section-head {
  margin-bottom: 48px;
}

.section-head.text-center {
  text-align: center;
}

.section-head.text-center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* ProIntro Micro Pill Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: var(--rounded-full);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Voice Waveform Animation inside Pill Badge */
.pill-wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 13px;
  width: 17px;
  margin-right: 2px;
}

.pill-wave span {
  display: block;
  width: 2px;
  border-radius: 99px;
  background: var(--color-brand);
  transform-origin: center;
  animation: pillWaveDance 1.2s ease-in-out infinite;
}

.pill-wave span:nth-child(1) {
  height: 7px;
  animation-delay: 0.1s;
}
.pill-wave span:nth-child(2) {
  height: 5px;
  animation-delay: 0.35s;
}
.pill-wave span:nth-child(3) {
  height: 12px;
  animation-delay: 0s;
}
.pill-wave span:nth-child(4) {
  height: 9px;
  animation-delay: 0.25s;
}
.pill-wave span:nth-child(5) {
  height: 6px;
  animation-delay: 0.45s;
}

@keyframes pillWaveDance {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.75;
  }
  50% {
    transform: scaleY(1.05);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill-wave span {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--rounded-full);
  background: var(--color-brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-btn);
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-main:hover {
  background: var(--color-brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -2px rgba(37, 99, 235, 0.45);
}

.btn-main:active {
  transform: scale(0.985);
}

/* Google Play Brand Icon in CTAs (from assets/img/logo-google-playstore-svgrepo-com.svg) */
.btn-play-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  color: inherit;
  transition: transform 0.15s ease;
}

/* In primary / colored buttons (e.g. .btn-main on blue/dark background), icon matches white text */
.btn-main:not(.final-cta-btn) .btn-play-icon {
  fill: #ffffff;
  color: #ffffff;
}

.btn-main:hover .btn-play-icon {
  transform: scale(1.08);
}

/* In light / outline buttons, icon matches text and contrast according to background */
.btn-outline .btn-play-icon {
  fill: var(--color-ink, #0f172a);
  color: var(--color-ink, #0f172a);
}

.btn-outline:hover .btn-play-icon {
  transform: scale(1.08);
}

@media (max-width: 580px) {
  .btn-play-icon {
    width: 16px;
    height: 16px;
  }
}

.is-disabled,
.btn-main.is-disabled,
.btn-outline.is-disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-main.is-disabled {
  background: var(--color-muted);
}

.btn-outline.is-disabled {
  background: var(--color-surface);
  border-color: var(--color-line);
  color: var(--color-muted);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--rounded-full);
  background: var(--color-background);
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--color-line);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-surface);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: scale(0.985);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Header / Navigation (Clean Solid White Nav Bar)
   ========================================================================== */
#nav {
  position: sticky;
  top: 0;
  height: 80px;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

#nav.is-split {
  background: #ffffff;
}

#nav.is-split::before {
  display: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-word {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-word span {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-body);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  place-items: center;
  position: relative;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: var(--color-surface);
  border-color: #cbd5e1;
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle-box {
  width: 18px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s ease,
    background-color 0.2s ease;
  transform-origin: center;
}

/* Morph smoothly to "X" when open */
.nav-toggle[aria-expanded="true"] .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Silky Smooth Mobile Nav Panel */
.nav-mobile-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
  opacity: 0;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.nav-mobile-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  border-top-color: var(--color-line);
  border-bottom-color: var(--color-line);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.nav-mobile-inner {
  min-height: 0;
  padding: 12px var(--gutter, 16px) 24px;
  transform: translateY(-8px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mobile-panel.is-open .nav-mobile-inner {
  transform: translateY(0);
}

.nav-mobile-link {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  transition:
    color 0.15s ease,
    padding-left 0.15s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link:active {
  color: var(--color-brand);
  padding-left: 6px;
}

.nav-mobile-cta {
  margin-top: 20px;
}

.nav-mobile-cta .btn-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  box-sizing: border-box;
}

/* ==========================================================================
   Section 1: Hero (ProIntro Split Layout + Real Device + Kinetic Morph)
   ========================================================================== */
#hero {
  overflow: hidden;
}

.hero-split {
  --split: 50%;
  background: linear-gradient(
    90deg,
    var(--color-background) 0 50%,
    var(--color-surface) 50%
  );
  position: relative;
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.hero-split::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid var(--color-line);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.hero-text {
  padding: 56px 48px 84px 0;
}

.hero-stage {
  padding: 48px 0 0 52px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-ambient-glow {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  filter: blur(40px);
  pointer-events: none;
}

/* Kinetic Type-Morph Demo Card */
.hero-morph-card {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-subtle);
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

.morph-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.morph-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

.pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.35);
  animation: pulseAnim 2s infinite ease-out;
}

@keyframes pulseAnim {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.morph-lang-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: -0.01em;
}

.morph-note {
  font-size: 11.5px;
  color: var(--color-muted);
  margin-left: auto;
}

.morph-content {
  position: relative;
}

.morph-src {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  font-family: var(--font-indic);
  line-height: 1.35;
  transition: opacity 0.3s ease;
}

.morph-src.is-dimmed {
  opacity: 0.35;
}

.morph-waveform {
  position: relative;
  height: 24px;
  margin: 8px 0;
  display: flex;
  align-items: center;
}

.wave-track {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--color-line);
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2n) {
  animation-delay: 0.2s;
  height: 60%;
}
.wave-bar:nth-child(3n) {
  animation-delay: 0.4s;
  height: 90%;
}
.wave-bar:nth-child(4n) {
  animation-delay: 0.1s;
  height: 40%;
}
.wave-bar:nth-child(5n) {
  animation-delay: 0.5s;
  height: 80%;
}

@keyframes waveBar {
  0% {
    transform: scaleY(0.3);
    background: var(--color-line);
  }
  100% {
    transform: scaleY(1);
    background: var(--color-brand);
  }
}

.morph-scanner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.5),
    var(--color-brand)
  );
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
  transition: width 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.morph-scanner.is-active {
  width: 100%;
}

.morph-dest {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-brand);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.morph-dest.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Phone Mockup Frame */
.hero-phone-wrap {
  width: 316px;
  position: relative;
}

.phone-frame {
  width: 316px;
  height: 580px;
  border-radius: var(--rounded-phone) var(--rounded-phone) 0 0;
  border: 1px solid #d1d5db;
  border-bottom: none;
  background: #ffffff;
  box-shadow:
    0 25px 60px -15px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink);
  background: #ffffff;
  z-index: 2;
  position: relative;
}

.phone-island {
  width: 80px;
  height: 20px;
  border-radius: 12px;
  background: #000000;
}

.phone-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-battery {
  width: 16px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  position: relative;
}

.phone-battery::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  width: 70%;
  background: currentColor;
}

.phone-screen {
  height: calc(100% - 0px);
  overflow: hidden;
  background: #f8fafc;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating Specular Glass Bubble */
.floating-spec-bubble {
  position: absolute;
  top: 120px;
  left: -28px;
  z-index: 10;
  cursor: pointer;
}

.spec-bubble-inner {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 12px 32px -6px rgba(37, 99, 235, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.floating-spec-bubble:hover .spec-bubble-inner {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 18px 40px -6px rgba(37, 99, 235, 0.45);
}

.bubble-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.specular-glint {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.bubble-pulse-outer {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid var(--color-brand);
  opacity: 0.4;
  animation: bubblePulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

@keyframes bubblePulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Floating Toast Pill */
.floating-toast-pill {
  position: absolute;
  bottom: 80px;
  right: -32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-float);
  animation: floatToast 6s ease-in-out infinite;
}

@keyframes floatToast {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.toast-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-success);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex: none;
}

.toast-check-icon svg {
  width: 14px;
  height: 14px;
}

.toast-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}

/* ==========================================================================
   Section 2: Promise Strip (ProIntro 4-Column Feature Strip)
   ========================================================================== */
#promise-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.promise-strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.promise-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 38px 24px;
}

.promise-strip-item + .promise-strip-item {
  border-left: 1px solid var(--color-line);
}

.promise-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-background);
  border: 1px solid var(--color-line);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.promise-strip-icon svg {
  width: 20px;
  height: 20px;
}

.promise-strip-text {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

/* ==========================================================================
   Section 3: Problem Statement Cards
   ========================================================================== */
#problem {
  padding: 84px 0;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-line);
}

.problem-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.problem-pic {
  height: 206px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-background);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
}

.problem-visual {
  width: 100%;
  max-width: 290px;
}

.problem-text {
  padding: 18px 22px 20px;
  flex: 1;
}

.problem-text h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.problem-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-muted);
}

/* Problem Visuals */
.mock-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.mock-user-meta b {
  font-size: 13.5px;
  display: block;
  line-height: 1.15;
}

.mock-user-meta small {
  font-size: 11px;
  color: var(--color-muted);
}

.mock-chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-bubble {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  max-width: 88%;
}

.mock-incoming {
  background: #f1f5f9;
  align-self: flex-start;
}

.mock-stuck {
  background: #e2e8f0;
  align-self: flex-end;
  display: flex;
  align-items: center;
}

.mock-cursor-blink {
  width: 2px;
  height: 14px;
  background: var(--color-ink);
  margin-left: 2px;
  animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.mock-keyboard-warning {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
}

.mock-keyboard-warning svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.mock-autocorrect-box {
  width: 100%;
  text-align: center;
}

.mock-ac-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.mock-ac-word {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-ink);
}

.mock-ac-word strong {
  color: #dc2626;
}

.mock-ac-sub {
  font-size: 12.5px;
  color: var(--color-muted);
  margin-top: 5px;
}

.mock-ac-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.mock-ac-chips .is-red {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: var(--rounded-full);
  border: 1px solid #fecaca;
}

.mock-tone-preview {
  width: 100%;
  padding: 15px 16px;
  background: #f8fafc;
  border-radius: var(--rounded-md);
  border: 1px dashed var(--color-line);
}

.mock-tone-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.mock-tone-raw {
  font-size: 14.5px;
  font-style: italic;
  color: var(--color-ink);
  line-height: 1.4;
}

.mock-tone-alert {
  font-size: 12px;
  color: #d97706;
  font-weight: 600;
  margin-top: 7px;
}

/* ==========================================================================
   Section 4: How It Works — Minimal Editorial Sticky Story Showcase
   Architectural Reference: ProIntro Editorial Whitespace & Story Pacing
   ========================================================================== */
#how-it-works {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  padding: 120px 0 140px;
  position: relative;
  /* overflow must be visible for sticky phone showcase to track scroll */
  overflow: visible;
}

.hiw-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 420px);
  gap: 60px 84px;
  align-items: stretch;
  position: relative;
  margin-top: 68px;
}

/* Mobile Minimal Step Tabs (Hidden on desktop) */
.hiw-mobile-nav {
  display: none;
}

/* Left Column: Elongated Editorial Steps Track */
.hiw-steps-col {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 16px 0;
}

/* Refined Editorial Step Item — Spacious, unboxed, ProIntro story pacing */
.hiw-step-item {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 50px 0;
  cursor: pointer;
  filter: grayscale(15%);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s ease;
  user-select: none;
  outline: none;
  border-top: 1px solid #9d9fa2;
  position: relative;
}

.hiw-step-item:first-child {
  border-top: none;
  padding-top: 16px;
}

.hiw-step-item:last-child {
  min-height: 72vh;
  padding-bottom: 32vh;
}

.hiw-step-item:hover {
  opacity: 0.72;
}

.hiw-step-item.is-active {
  opacity: 1;
  filter: none;
}

.hiw-step-indicator {
  flex-shrink: 0;
  width: 64px;
  padding-top: 2px;
}

.hiw-step-num {
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #94a3b8;
  transition: color 0.3s ease;
  display: block;
}

.hiw-step-item.is-active .hiw-step-num {
  color: var(--color-brand);
}

.hiw-step-body {
  flex: 1;
  max-width: 490px;
}

.hiw-step-heading {
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--color-ink);
  margin: 0 0 14px 0;
  transition: color 0.25s ease;
}

.hiw-step-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-body);
  margin: 0;
}

.hiw-step-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.hiw-step-item.is-active .hiw-step-action-hint {
  opacity: 1;
  transform: translateY(0);
  color: var(--color-brand);
}

.hiw-hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Right Column: Sticky Viewport Stage */
.hiw-viewport-col {
  position: relative;
  align-self: stretch;
  height: 100%;
}

.hiw-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: clamp(84px, calc(50vh - 320px), 110px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  will-change: transform;
}

/* Mobile Stepper Controls (Hidden on desktop) */
.hiw-mobile-stepper {
  display: none;
}

/* Responsive Editorial Layout Adaptations */
@media (max-width: 991px) {
  #how-it-works {
    padding: 56px 0 68px;
    overflow: hidden;
  }

  .hiw-editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
  }

  /* Mobile Minimal Step Tabs: Clean, airy segmented pill navigation */
  .hiw-mobile-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    background: #f1f5f9;
    border-radius: var(--rounded-full);
    max-width: 390px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 12px;
    position: sticky;
    top: 68px;
    z-index: 40;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }

  .hiw-mobile-pill {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: var(--rounded-full);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
  }

  .hiw-mobile-pill .hiw-pill-num {
    font-size: 11px;
    font-weight: 800;
    opacity: 0.7;
    flex-shrink: 0;
  }

  .hiw-mobile-pill .hiw-pill-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hiw-mobile-pill.is-active {
    background: #ffffff;
    color: var(--color-brand);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  }

  .hiw-mobile-pill.is-active .hiw-pill-num {
    opacity: 1;
    color: var(--color-brand);
  }

  /* Viewport Column on mobile */
  .hiw-viewport-col {
    order: 2;
    height: auto;
    align-self: auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .hiw-sticky-wrapper {
    position: static;
    top: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Steps Column on mobile: Generous editorial narrative below phone */
  .hiw-steps-col {
    order: 3;
    padding: 0;
    margin-top: 10px;
  }

  /* Smoothly display only the active step on mobile with generous breathing room */
  .hiw-step-item {
    display: none;
    padding: 20px 16px 0;
    min-height: auto;
    border-top: none;
    opacity: 1;
    filter: none;
    transform: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hiw-step-item.is-active {
    display: flex;
    animation: hiwFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hiw-step-indicator {
    width: auto;
    padding-top: 0;
  }

  .hiw-step-num {
    font-size: 30px;
  }

  .hiw-step-body {
    max-width: 100%;
  }

  .hiw-step-heading {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .hiw-step-text {
    font-size: 15px;
    line-height: 1.62;
    color: var(--color-body);
  }

  .hiw-step-action-hint {
    display: none;
  }

  /* Mobile Stepper Controls */
  .hiw-mobile-stepper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .hiw-mobile-step-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--rounded-full);
    background: #ffffff;
    border: 1px solid var(--color-line);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-ink);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .hiw-mobile-step-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
  }

  .hiw-mobile-step-btn:active {
    transform: scale(0.98);
  }

  .hiw-mobile-step-btn svg {
    color: var(--color-brand);
  }
}

@keyframes hiwFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sim-device-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.sim-device-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 580px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.16) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

/* Authentic Phone Chassis */
.sim-mobile-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 640px;
  background: #0f172a;
  border: 9px solid #1e293b;
  border-radius: 44px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 60px -12px rgba(15, 23, 42, 0.45),
    0 8px 24px -4px rgba(37, 99, 235, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

/* Responsive adjustments for mobile phone viewport */
@media (max-width: 991px) {
  .sim-device-stage {
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .hiw-mobile-nav {
    gap: 4px;
    padding: 4px;
  }
  .hiw-mobile-pill {
    padding: 7px 4px;
    gap: 4px;
    font-size: 11.5px;
  }
  .hiw-mobile-pill .hiw-pill-num {
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  .sim-device-stage {
    max-width: 350px;
  }

  .sim-device-ambient-glow {
    width: 320px;
    height: 480px;
  }

  .sim-mobile-frame {
    border-width: 7px;
    border-radius: 38px;
    height: 530px;
  }

  .sim-dictation-pill.is-active {
    width: 235px;
  }

  .sim-bottom-sheet {
    bottom: 58px;
    left: 8px;
    right: 8px;
    padding: 12px 12px 10px;
    border-radius: 20px;
  }

  .sim-sheet-pills {
    margin-bottom: 10px;
  }

  .sim-sheet-tab {
    padding: 6px 3px;
    font-size: 11.5px;
  }

  .sim-transcript-box {
    min-height: 40px;
  }

  .sim-transcript-text {
    font-size: 15px;
  }

  .sim-btn-insert {
    padding: 7px 18px;
    font-size: 13px;
  }

  .sim-pill-btn-secondary {
    padding: 5px 10px;
    font-size: 11.5px;
  }

  .sim-wa-input-bar {
    height: 52px;
    padding: 6px 6px 8px 6px;
  }

  .sim-wa-input-pill {
    height: 38px;
  }

  .sim-wa-action-circle {
    width: 38px;
    height: 38px;
  }

  .sim-inserted-toast {
    bottom: 64px;
    font-size: 11.5px;
    padding: 5px 12px;
  }
}

@media (max-width: 380px) {
  .sim-device-stage {
    max-width: 310px;
  }

  .sim-device-ambient-glow {
    width: 280px;
    height: 420px;
  }

  .sim-mobile-frame {
    border-width: 5px;
    border-radius: 30px;
    height: 490px;
  }

  .sim-dictation-pill.is-active {
    width: 210px;
  }

  .sim-bottom-sheet {
    bottom: 52px;
    left: 6px;
    right: 6px;
    padding: 10px 10px 8px;
    border-radius: 18px;
  }

  .sim-sheet-head {
    margin-bottom: 8px;
  }

  .sim-sheet-title {
    font-size: 13.5px;
  }

  .sim-sheet-pills {
    margin-bottom: 8px;
    gap: 2px;
  }

  .sim-sheet-tab {
    padding: 5px 2px;
    font-size: 10.5px;
  }

  .sim-transcript-box {
    min-height: 36px;
  }

  .sim-transcript-text {
    font-size: 13.5px;
  }

  .sim-sheet-footer {
    padding-top: 8px;
  }

  .sim-btn-insert {
    padding: 6px 14px;
    font-size: 12px;
  }

  .sim-pill-btn-secondary {
    padding: 5px 8px;
    font-size: 10.5px;
  }

  .sim-wa-header {
    height: 48px;
  }

  .sim-wa-title {
    font-size: 13px;
  }

  .sim-wa-subtitle {
    font-size: 10px;
  }

  .sim-wa-input-bar {
    height: 48px;
  }

  .sim-wa-input-pill {
    height: 36px;
  }

  .sim-wa-action-circle {
    width: 36px;
    height: 36px;
  }

  .sim-inserted-toast {
    bottom: 58px;
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* Android Status Bar */
.sim-phone-topbar {
  height: 32px;
  background: #0b141a;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
  color: #e9edef;
  font-size: 11.5px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sim-front-camera {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #05080c;
  border: 1.5px solid #1e293b;
}

.sim-status-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #aebac1;
}

.sim-privacy-mic {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00a884;
  color: #ffffff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-privacy-mic.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 10px rgba(0, 168, 132, 0.8);
}

.sim-status-speed {
  font-size: 9px;
  opacity: 0.85;
}

.sim-status-net {
  font-weight: 800;
  font-size: 9.5px;
}

.sim-status-battery {
  display: flex;
  align-items: center;
  gap: 3px;
}

.battery-shell {
  width: 18px;
  height: 9px;
  border: 1px solid #aebac1;
  border-radius: 2px;
  padding: 1px;
  position: relative;
}

.battery-shell::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  background: #aebac1;
  border-radius: 0 1px 1px 0;
}

.battery-level {
  width: 88%;
  height: 100%;
  background: #e9edef;
  border-radius: 1px;
}

/* WhatsApp Mobile Shell */
.sim-whatsapp-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #0b141a;
  overflow: hidden;
}

/* WhatsApp Header */
.sim-wa-header {
  height: 54px;
  background: #1f2c34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #e9edef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.sim-wa-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sim-wa-back {
  color: #aebac1;
  cursor: pointer;
  flex-shrink: 0;
}

.sim-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sim-wa-contact-meta {
  min-width: 0;
}

.sim-wa-title {
  font-size: 14px;
  font-weight: 600;
  color: #e9edef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.sim-wa-subtitle {
  font-size: 11px;
  color: #8696a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.sim-wa-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #aebac1;
  flex-shrink: 0;
}

/* WhatsApp Chat Stream */
.sim-wa-chat-stream {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  background-color: #0b141a;
  background-image:
    radial-gradient(#1f2c34 0.75px, transparent 0.75px),
    radial-gradient(#1f2c34 0.75px, #0b141a 0.75px);
  background-size: 24px 24px;
  background-position:
    0 0,
    12px 12px;
  overflow-y: hidden;
}

.sim-wa-date-divider {
  align-self: center;
  background: #182229;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #8696a0;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Incoming Message Bubble */
.sim-wa-bubble-incoming {
  align-self: flex-start;
  max-width: 82%;
  background: #1f2c34;
  border-radius: 12px 12px 12px 2px;
  padding: 6px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sim-wa-sender-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #53bdeb;
  margin-bottom: 4px;
  padding: 0 4px;
}

.sim-wa-doc-card {
  border-radius: 8px;
  overflow: hidden;
  background: #111b21;
}

.sim-wa-doc-preview {
  position: relative;
  width: 100%;
  height: 110px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sim-wa-doc-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
}

.sim-wa-doc-dl {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 20, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.sim-wa-doc-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 6px;
  font-size: 10.5px;
  color: #8696a0;
}

.sim-wa-hd-tag {
  font-size: 9px;
  font-weight: 800;
  border: 1px solid #8696a0;
  border-radius: 3px;
  padding: 0 3px;
  line-height: 1.2;
}

/* Outgoing Reply Bubble */
.sim-wa-bubble-outgoing {
  align-self: flex-end;
  max-width: 82%;
  background: #005c4b;
  border-radius: 12px 12px 2px 12px;
  padding: 8px 12px;
  color: #e9edef;
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sim-wa-bubble-outgoing.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.sim-wa-outgoing-text {
  flex: 1;
  font-weight: 500;
}

.sim-wa-outgoing-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: rgba(233, 237, 239, 0.7);
  flex-shrink: 0;
}

.sim-blue-ticks {
  color: #53bdeb;
  font-weight: 800;
  font-size: 11px;
}

/* ==========================================================================
   DYNAMIC X-FLOW OVERLAYS
   ========================================================================== */

/* STEP 1: Circular Specular Floating Bubble */
.sim-floating-bubble {
  position: absolute;
  right: 14px;
  top: 48%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-floating-bubble:hover {
  transform: translateY(-50%) scale(1.08);
}

.sim-floating-bubble.is-hidden {
  opacity: 0;
  transform: translateY(-50%) scale(0.6);
  pointer-events: none;
}

.sim-bubble-disc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.sim-bubble-halo {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  animation: simFloatingPulse 2.2s infinite ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes simFloatingPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.sim-bubble-disc .sim-bubble-logo-img,
img.sim-bubble-logo-img {
  width: 40px !important;
  max-width: 40px !important;
  height: auto !important;
  max-height: 25px !important;
  object-fit: contain !important;
  display: block;
}

/* STEP 2: Smooth Expansion into Dark Dictation Pill */
.sim-dictation-pill {
  position: absolute;
  right: 14px;
  top: 48%;
  transform: translateY(-50%);
  width: 48px;
  height: 52px;
  background: #182229;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  gap: 10px;
  z-index: 22;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-dictation-pill.is-active {
  width: 250px;
  opacity: 1;
  pointer-events: auto;
}

.sim-pill-cancel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #374151;
  border: none;
  color: #f87171;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sim-pill-cancel-btn:hover {
  background: #4b5563;
  transform: scale(1.05);
}

.sim-pill-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  height: 26px;
  flex: 1;
}

.sim-pill-waveform span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  animation: simWaveDance 1.1s ease-in-out infinite alternate;
}

.sim-pill-waveform span:nth-child(2) {
  animation-delay: 0.1s;
}
.sim-pill-waveform span:nth-child(3) {
  animation-delay: 0.25s;
}
.sim-pill-waveform span:nth-child(4) {
  animation-delay: 0.15s;
}
.sim-pill-waveform span:nth-child(5) {
  animation-delay: 0.35s;
}
.sim-pill-waveform span:nth-child(6) {
  animation-delay: 0.5s;
}
.sim-pill-waveform span:nth-child(7) {
  animation-delay: 0.2s;
}
.sim-pill-waveform span:nth-child(8) {
  animation-delay: 0.4s;
}
.sim-pill-waveform span:nth-child(9) {
  animation-delay: 0.6s;
}
.sim-pill-waveform span:nth-child(10) {
  animation-delay: 0.3s;
}
.sim-pill-waveform span:nth-child(11) {
  animation-delay: 0.45s;
}
.sim-pill-waveform span:nth-child(12) {
  animation-delay: 0.18s;
}
.sim-pill-waveform span:nth-child(13) {
  animation-delay: 0.55s;
}
.sim-pill-waveform span:nth-child(14) {
  animation-delay: 0.28s;
}

@keyframes simWaveDance {
  0% {
    height: 6px;
    opacity: 0.6;
  }
  50% {
    height: 24px;
    opacity: 1;
  }
  100% {
    height: 10px;
    opacity: 0.8;
  }
}

.sim-pill-confirm-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00a884;
  border: none;
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 168, 132, 0.4);
  transition: all 0.2s;
}

.sim-pill-confirm-btn:hover {
  background: #008f6f;
  transform: scale(1.06);
}

/* STEP 3: Native X-Flow Modal Bottom-Sheet */
.sim-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 24;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sim-modal-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sim-bottom-sheet {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 64px;
  background: #ffffff;
  border-radius: 24px;
  padding: 14px 14px 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 25;
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.sim-bottom-sheet.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sim-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sim-sheet-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.sim-sheet-close-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.15s;
}

.sim-sheet-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Interactive Pill Tabs */
.sim-sheet-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 3px;
  margin-bottom: 14px;
}

.sim-sheet-tab {
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.sim-sheet-tab:hover {
  color: #0f172a;
}

.sim-sheet-tab.is-active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* Dynamic Transcript Box */
.sim-sheet-body {
  margin-bottom: 14px;
}

.sim-transcript-box {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.sim-transcript-text {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.sim-transcript-text.is-crossfading {
  opacity: 0;
  transform: translateY(3px);
}

/* Sheet Footer */
.sim-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.sim-sheet-actions-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-pill-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--rounded-full);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
}

.sim-pill-btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.sim-btn-insert {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: var(--rounded-full);
  padding: 8px 22px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.2s;
  animation: insertPulse 2s infinite;
}

@keyframes insertPulse {
  0% {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.65);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  }
}

.sim-btn-insert:hover {
  background: #1d4ed8;
  transform: scale(1.04);
}

.sim-btn-insert:active {
  transform: scale(0.96);
}

/* STEP 4 Notification Badge */
.sim-inserted-toast {
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translateX(-50%) translateY(10px);
  background: #00a884;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 18;
}

.sim-inserted-toast.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* WhatsApp Mobile Bottom Input Bar */
.sim-wa-input-bar {
  height: 60px;
  background: #0b141a;
  padding: 8px 8px 12px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 12;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sim-wa-input-pill {
  flex: 1;
  height: 42px;
  background: #1f2c34;
  border-radius: 24px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8696a0;
}

.sim-wa-input-icon {
  color: #8696a0;
  cursor: pointer;
  flex-shrink: 0;
}

.sim-wa-typefield {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: #e9edef;
  overflow: hidden;
  position: relative;
}

.sim-wa-placeholder {
  color: #8696a0;
  position: absolute;
  left: 0;
  transition: opacity 0.15s;
}

.sim-wa-placeholder.is-hidden {
  opacity: 0;
}

.sim-wa-typed {
  color: #e9edef;
  font-weight: 500;
  white-space: nowrap;
}

.sim-wa-cursor {
  display: none;
  width: 2px;
  height: 15px;
  background: #53bdeb;
  margin-left: 1px;
  animation: waBlinkCursor 0.8s infinite;
}

@keyframes waBlinkCursor {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.sim-wa-action-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #00a884;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s;
}

.sim-wa-mic-icon,
.sim-wa-send-icon {
  position: absolute;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-wa-mic-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.sim-wa-send-icon {
  opacity: 0;
  transform: scale(0.5) rotate(-45deg);
}

.sim-wa-action-circle.has-text {
  background: #00a884;
  transform: scale(1.05);
}

.sim-wa-action-circle.has-text .sim-wa-mic-icon {
  opacity: 0;
  transform: scale(0.5) rotate(45deg);
}

.sim-wa-action-circle.has-text .sim-wa-send-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ==========================================================================
   Section 5: Global Languages Wall (Marquee + Inspector)
   ========================================================================== */
#languages {
  padding: 84px 0;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.marquee-deck {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 4px 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.marquee-track {
  display: inline-flex;
  gap: 12px;
  padding: 8px 0;
  animation: marqueeScroll 80s linear infinite;
}

.marquee-track.is-reverse {
  animation: marqueeScrollRev 80s linear infinite;
}

.marquee-wrapper:hover .marquee-track,
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRev {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--rounded-full);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  font-family: var(--font-indic);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.lang-pill:hover,
.lang-pill:focus-visible {
  background: var(--color-accent-soft);
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
  outline: none;
}

.script-inspector-row {
  text-align: center;
  margin-top: 24px;
}

.script-inspector-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1.5px solid var(--color-brand);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  max-width: 100%;
  box-sizing: border-box;
}

.script-inspector-chip .pill-wave {
  height: 14px;
  width: 19px;
  gap: 2px;
}

.script-inspector-chip .pill-wave span {
  width: 2.5px;
}

.inspector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand);
}

.script-caption {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 10px;
}

/* ==========================================================================
   Section 6: AI Email & Message Drafter (Aceternity Minimal Feature Grid)
   ========================================================================== */
#ai-writer {
  padding: 96px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

/* Aceternity 3-Card Minimal Feature Grid */
.feat-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.feat-minimal-card {
  display: flex;
  flex-direction: column;
}

.feat-minimal-stage {
  background: #f4f6f8;
  border-radius: 28px;
  height: 420px;
  padding: 22px 18px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.feat-minimal-stage:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08);
}

/* Code-built Phone Mockup Inside Each Box */
.feat-phone-mock {
  width: 100%;
  max-width: 276px;
  height: 100%;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-bottom: none;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 0 0 1px #334155, 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Status Bar */
.feat-phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #1e293b;
  background: #fafbfc;
}

.feat-phone-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e1b4b 0%, #030712 65%);
  box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.6);
  margin: 0 auto;
}

.feat-phone-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.feat-phone-bat {
  font-size: 9.5px;
}

/* App Header (✕ Write an Email/Message) */
.feat-phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px 8px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
}

.feat-phone-close {
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.feat-phone-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* App Body Area */
.feat-phone-body {
  padding: 10px 10px 8px;
  flex: 1;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

/* Card Row (Message Card + Side Copy Button) */
.feat-card-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.feat-msg-card {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 11px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.feat-msg-card--closing {
  padding: 8px 10px;
  gap: 4px;
}

.feat-msg-speak-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.feat-msg-speaker {
  font-size: 12px;
  color: #4f46e5;
  line-height: 1.3;
  flex-shrink: 0;
}

.feat-msg-greeting {
  font-size: 10px;
  line-height: 1.45;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

/* Floating / Side Copy Button matching app screenshot 3.1 */
.feat-side-copy-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.16s ease;
  border: 1px solid #e2e8f0;
}

.feat-side-copy-btn:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  transform: scale(1.05);
}

/* Card 2: Subject & Body matching screenshot 3.1.1 */
.feat-msg-subject {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5f9;
}

.feat-subject-text {
  font-size: 9.8px;
  line-height: 1.35;
  color: #0f172a;
}

.feat-subj-strong {
  font-weight: 700;
}

.feat-msg-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feat-para {
  font-size: 9px;
  color: #334155;
  line-height: 1.42;
  margin: 0;
}

.feat-para--sm {
  font-size: 8.5px;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.feat-meta-sub {
  font-size: 8px;
  color: #64748b;
  line-height: 1.3;
}

.feat-sig-brand {
  font-weight: 700;
  color: #4f46e5;
  font-size: 9px;
}



/* Card 3: 5 Tone Buttons List matching screenshot 3.1.2 */
.feat-actions-list {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.feat-tone-btn-item {
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid #f1f5f9;
  padding: 6.5px 8px;
  font-size: 8.5px;
  font-weight: 700;
  color: #4f46e5;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
}

.feat-tone-btn-item:first-child {
  border-top: none;
}

.feat-tone-btn-item:hover {
  background: #f8fafc;
}

.feat-tone-btn-item.is-active {
  background: #eef2ff;
  color: #3730a3;
  font-weight: 800;
}

/* Bottom Ask Bar matching app screenshots */
.feat-bottom-ask-bar {
  margin-top: auto;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feat-ask-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #6366f1;
  border-radius: 999px;
  padding: 2.5px 3px 2.5px 10px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
  gap: 5px;
}

.feat-ask-placeholder {
  font-size: 9px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.feat-typing-prompt {
  font-size: 9px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  font-family: inherit;
}

.feat-typing-cursor {
  width: 1.5px;
  height: 10px;
  background: #4f46e5;
  animation: feat-blink 0.85s infinite;
  display: inline-block;
}

.feat-voice-mic-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4f46e5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  animation: feat-mic-pulse 1.6s infinite alternate;
}

.feat-phone-home-indicator {
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: #cbd5e1;
  margin: 1px auto 0;
}

/* Card Meta Below Each Box */
.feat-minimal-meta {
  text-align: center;
  margin-top: 20px;
}

.feat-minimal-meta h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.feat-minimal-meta p {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* Keyframes */
@keyframes feat-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes feat-mic-pulse {
  from { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.35); }
  to { box-shadow: 0 0 0 5px rgba(79, 70, 229, 0); }
}

/* Responsive Grid */
@media (max-width: 991px) {
  .feat-minimal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feat-minimal-stage {
    height: 380px;
  }
}


/* ==========================================================================
   Section 7: Kinetic Bento Grid (Features & Live Tools)
   ========================================================================== */
#features {
  padding: 96px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

.bento-tile {
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease;
}

.bento-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08);
}

.bento-tile.is-wide {
  grid-column: span 4;
}

.bento-tile.is-third {
  grid-column: span 2;
}

.bento-pic {
  padding: 28px 32px;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-line);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.bento-text {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-text h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--color-ink);
}

.bento-text p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-body);
}

/* Custom Dictionary Interactive Stage */
.dict-interactive-stage {
  width: 100%;
}

.dict-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dict-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}

.dict-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-success);
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1px solid var(--color-line);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.chip-item:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.12);
}

.chip-c {
  color: var(--color-brand);
  font-weight: 700;
}

.chip-arrow {
  color: var(--color-muted);
  font-size: 12px;
}

.chip-m {
  color: var(--color-muted);
  text-decoration: line-through;
}

.chip-item.anim-strike .chip-m {
  animation: chipStrike 1.2s ease-in-out;
}

@keyframes chipStrike {
  0% {
    text-decoration-color: transparent;
  }
  100% {
    text-decoration-color: currentColor;
  }
}

.dict-quick-presets {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.presets-caption {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-muted);
}

.preset-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  color: var(--color-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-btn:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.dict-inline-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dict-inline-form input {
  flex: 1;
  min-width: 130px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--rounded-full);
  border: 1px solid var(--color-line);
  background: #ffffff;
  font-size: 13.5px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.dict-inline-form input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dict-inline-form .btn-main {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

/* AI Tone Rephraser Stage */
.rephraser-interactive-stage {
  width: 100%;
}

.rephraser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.seg-tones-bar {
  display: flex;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  padding: 5px;
  border-radius: var(--rounded-full);
  margin-bottom: 20px;
  overflow-x: auto;
}

.tone-btn {
  flex: 1;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--rounded-full);
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tone-btn:hover {
  color: var(--color-ink);
}

.tone-btn.is-active {
  background: var(--color-brand);
  color: #ffffff;
}

.rephraser-body {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-xl);
  padding: 18px 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.raw-speech-caption {
  font-size: 12.5px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.raw-speech-caption em {
  color: var(--color-ink);
  font-style: normal;
  font-weight: 600;
}

.rephrased-output {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.45;
  transition: opacity 0.25s ease;
}

/* Floating Bubble Bento Tile */
.bubble-stage-visual {
  width: 100%;
  text-align: center;
  position: relative;
}

.spec-bubble-card {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
}

.spec-card-logo {
  height: 28px;
  width: auto;
  aspect-ratio: 932 / 568 !important;
  object-fit: contain !important;
}

.spec-bubble-status {
  text-align: left;
  flex: 1;
}

.spec-bubble-status b {
  font-size: 13.5px;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
}

.spec-bubble-status span {
  font-size: 12px;
  color: var(--color-muted);
  white-space: nowrap;
  display: block;
}

.spec-toggle-mock {
  width: 40px;
  height: 22px;
  border-radius: var(--rounded-full);
  background: var(--color-brand);
  position: relative;
  flex: none;
}

.toggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 2px;
  right: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.app-badges-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.app-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1px solid var(--color-line);
  color: var(--color-body);
}

/* Privacy Bento Tile */
.privacy-stage-visual {
  width: 100%;
}

.privacy-pill-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.priv-stack-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  padding: 10px 16px;
  border-radius: var(--rounded-md);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.priv-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-success-soft);
  color: var(--color-success);
  display: grid;
  place-items: center;
  flex: none;
}

.priv-icon svg {
  width: 14px;
  height: 14px;
}

.priv-stack-item b {
  font-size: 13px;
  display: block;
  line-height: 1.25;
  margin-bottom: 2px;
}

.priv-stack-item small {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.35;
}

/* Also Included Row */
.features-also-row {
  grid-column: 1 / -1;
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 4px;
}

.features-also-head b {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.features-also-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  list-style: none;
}

.features-also-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink);
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--color-brand);
  flex: none;
}

/* ==========================================================================
   Section 7: Showcase Deck (ProIntro Iconic Fanned Cards Spread)
   ========================================================================== */
#showcase {
  padding: 84px 0;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.showcase-spread {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  padding: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 310px;
  min-height: 310px;
  overflow: visible;
}

.showcase-item {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -130px;
  margin-top: -140px;
  margin-right: 0;
  flex: none;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    z-index 0.3s;
  will-change: transform, opacity;
}

.showcase-item.is-active-card .showcase-card {
  background: #ffffff;
  border-color: var(--color-brand);
  box-shadow:
    0 16px 36px -6px rgba(15, 23, 42, 0.16),
    0 0 0 1.5px var(--color-brand);
}

.showcase-item + .showcase-item {
  margin-left: -130px;
}

.showcase-card {
  width: 260px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.showcase-card-1 {
  transform: rotate(-4deg) translateY(24px);
  z-index: 1;
}
.showcase-card-2 {
  transform: rotate(-2deg) translateY(8px);
  z-index: 2;
}
.showcase-card-3 {
  transform: scale(1.05) translateY(0);
  z-index: 5;
}
.showcase-card-4 {
  transform: rotate(2deg) translateY(8px);
  z-index: 2;
}
.showcase-card-5 {
  transform: rotate(4deg) translateY(24px);
  z-index: 1;
}

.showcase-item:hover {
  transform: translateY(-12px) scale(1.06);
  z-index: 10;
}

.showcase-item:hover .showcase-card {
  box-shadow: var(--shadow-float);
  border-color: var(--color-brand);
  background: #ffffff;
}

.showcase-card.is-raised-card {
  background: #ffffff;
  border: 1.5px solid var(--color-brand);
}

.showcase-featured-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: var(--color-accent-soft);
  padding: 2px 8px;
  border-radius: var(--rounded-full);
  margin-bottom: 8px;
}

.showcase-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.showcase-lang-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
}

.showcase-app-name {
  font-size: 11px;
  color: var(--color-muted);
}

.showcase-raw-label,
.showcase-res-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  display: block;
  margin-bottom: 3px;
}

.showcase-raw-text {
  font-size: 13.5px;
  color: var(--color-ink);
  font-style: italic;
  font-family: var(--font-indic);
  line-height: 1.35;
}

.showcase-divider {
  height: 1px;
  background: var(--color-line);
  margin: 10px 0;
}

.showcase-res-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-brand);
  line-height: 1.4;
}

.showcase-foot-badge {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  text-align: right;
}

/* Showcase Controls Bar */
.showcase-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  position: relative;
  z-index: 20;
}

.showcase-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--rounded-full);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.showcase-nav-btn:hover:not(:disabled) {
  background: #ffffff;
  color: var(--color-brand);
  border-color: var(--color-brand-light);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
}

.showcase-nav-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.showcase-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--rounded-full);
  background: var(--color-line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.showcase-dot.is-active {
  width: 24px;
  background: var(--color-brand);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.showcase-dot:hover:not(.is-active) {
  background: var(--color-muted);
}

/* ==========================================================================
   Section 8: Side-by-Side Comparison (ProIntro Architecture)
   ========================================================================== */
#comparison {
  padding: 84px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.comparison-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 40px;
}

.comparison-head h2 {
  margin-bottom: 0;
}

.comparison-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  padding: 32px;
}

.comparison-card.is-pro {
  border: 2px solid var(--color-ink);
  box-shadow: var(--shadow-card);
}

.comparison-card.is-paper {
  background: transparent;
  color: var(--color-muted);
}

.comparison-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}

.comparison-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-brand b {
  font-size: 17px;
}

.comparison-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--rounded-full);
  background: var(--color-accent-soft);
  color: var(--color-brand);
}

.comparison-tag.is-muted {
  background: var(--color-line);
  color: var(--color-muted);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-body);
}

.comparison-card.is-pro .comparison-item {
  color: var(--color-ink);
}

.comparison-yes {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-brand);
  display: grid;
  place-items: center;
}

.comparison-yes svg {
  width: 14px;
  height: 14px;
}

.comparison-no {
  width: 22px;
  height: 22px;
  color: var(--color-muted);
  display: grid;
  place-items: center;
}

.comparison-no svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Section 9: Transparent Pricing Sheet (ProIntro Standard)
   ========================================================================== */
#pricing {
  padding: 84px 0;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-line);
}

.pricing-sheet {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-xl);
  box-shadow: var(--shadow-card);
  overflow: visible;
}

.pricing-plan {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
}

.pricing-plan.is-raised {
  background: var(--color-surface);
  border: 2px solid var(--color-ink);
  border-radius: var(--rounded-xl);
  margin: -16px -1px -16px 0;
  padding: 44px 44px;
  box-shadow: var(--shadow-float);
  position: relative;
}

.pricing-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pricing-name h3 {
  font-size: 24px;
}

.pricing-badge-free {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--rounded-full);
  background: var(--color-line);
  color: var(--color-ink);
}

.pricing-desc {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-ink);
}

.pricing-cur {
  font-size: 28px;
  font-weight: 700;
}

.pricing-per {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-muted);
}

.price-breakdown {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 20px;
}

/* 50 Credits Meter Box */
.pricing-meter-block {
  background: var(--color-surface);
  border-radius: var(--rounded-md);
  padding: 14px;
  margin-bottom: 20px;
}

.meter-bar-track {
  width: 100%;
  height: 8px;
  border-radius: var(--rounded-full);
  background: var(--color-line);
  overflow: hidden;
  margin-bottom: 8px;
}

.meter-bar-fill {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: var(--rounded-full);
  background: var(--color-brand);
  transition: width 0.4s ease;
}

.meter-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-ink);
}

.meter-note {
  color: var(--color-muted);
}

/* Segmented Cycle Toggle */
.pricing-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 1px solid var(--color-line);
}

.cycle-btn {
  border: none;
  background: transparent;
  padding: 4px 12px;
  border-radius: var(--rounded-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.cycle-btn:hover {
  color: var(--color-ink);
}

.cycle-btn.is-active {
  background: var(--color-ink);
  color: #ffffff;
}

.pricing-save {
  font-size: 10px;
  font-weight: 800;
  background: var(--color-accent-soft);
  color: var(--color-brand);
  padding: 1px 6px;
  border-radius: var(--rounded-full);
}

.cycle-btn.is-active .pricing-save {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pricing-list {
  list-style: none;
  border-top: 1px solid var(--color-line);
  padding-top: 20px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-cta {
  margin-top: 24px;
}

.pricing-payment-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.pay-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-sm);
  color: var(--color-ink);
}

.pricing-billing-legal {
  font-size: 11.5px;
  color: var(--color-muted);
  margin-top: 12px;
}

.pricing-note {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 14px;
}

/* ==========================================================================
   Section 10: Android Permissions (Security by Design)
   ========================================================================== */
#privacy {
  padding: 84px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.privacy-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .privacy-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-card {
    padding: 24px 20px;
  }
}

.privacy-card {
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.privacy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.perm-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}

.perm-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-ink);
  display: grid;
  place-items: center;
}

.perm-icon-box svg {
  width: 18px;
  height: 18px;
}

.privacy-card h3 {
  font-size: 19px;
  margin-bottom: 18px;
}

.privacy-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  flex: 1;
}

.perm-block small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 3px;
}

.perm-block p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-body);
}

.perm-never-box {
  background: var(--color-surface);
  border-radius: var(--rounded-md);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-ink);
}

.perm-never-box svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex: none;
  margin-top: 2px;
}

/* ==========================================================================
   Section 11: Minimal 2-Column FAQ Accordion (ProIntro Architecture)
   ========================================================================== */
#faq {
  padding: 88px 0;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-line);
}

.faq-head {
  margin-bottom: 44px;
}

.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-items: start;
}

.faq-col {
  border-top: 1px solid var(--color-line);
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-ink);
  transition: color 0.2s ease;
}

.faq-item[open] summary h3 {
  color: var(--color-brand);
}

/* ProIntro Rotating Plus Icon */
.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  position: relative;
  flex: none;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--color-ink);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: #ffffff;
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 32px 22px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body);
}

/* ==========================================================================
   Section 12: Iconic Dark Final CTA (ProIntro Landmark Design)
   ========================================================================== */
#final-cta {
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 520px 1fr;
  gap: 32px;
  align-items: center;
}

.final-cta-text {
  text-align: center;
}

.final-cta-text h2 {
  color: var(--color-on-dark);
  font-size: clamp(32px, 3.8vw, 46px);
  margin-bottom: 16px;
}

.final-cta-text .lede {
  color: var(--color-on-dark-muted);
  margin: 0 auto;
}

.final-cta-text .cta-row {
  justify-content: center;
}

.final-cta-btn {
  background: var(--color-on-dark);
  color: var(--color-dark);
}

.final-cta-btn .btn-play-icon {
  fill: var(--color-dark, #0f172a) !important;
  color: var(--color-dark, #0f172a) !important;
}

.final-cta-btn:hover {
  background: #ffffff;
  color: var(--color-brand);
}

.final-cta-btn:hover .btn-play-icon {
  fill: var(--color-brand, #2563eb) !important;
  color: var(--color-brand, #2563eb) !important;
  transform: scale(1.08);
}

.final-cta-text .next {
  color: #64748b;
}

/* Tilted Phone Mockups in Final CTA */
.final-cta-side {
  position: relative;
  height: 280px;
}

.final-cta-phone {
  width: 240px;
  height: 380px;
  border-radius: 28px;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-line);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  overflow: hidden;
  padding: 16px;
}

.final-cta-side.is-you .final-cta-phone {
  right: 0;
  transform: rotate(4deg);
  transform-origin: bottom center;
}

.final-cta-side.is-them .final-cta-phone {
  left: 0;
  transform: rotate(-4deg);
  transform-origin: bottom center;
}

.final-cta-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-on-dark-muted);
  margin-bottom: 24px;
}

.final-cta-island {
  width: 60px;
  height: 14px;
  border-radius: 8px;
  background: #000000;
}

.final-cta-mic-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  margin: 30px auto 14px;
}

.final-cta-mic-circle svg {
  width: 28px;
  height: 28px;
}

.final-cta-wave {
  display: flex;
  justify-content: center;
  gap: 3px;
  height: 16px;
  margin-bottom: 12px;
}

.final-cta-wave span {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--color-brand);
  animation: dynamicWave 1s infinite alternate;
}

.final-cta-voice-caption {
  text-align: center;
  font-size: 11px;
  color: var(--color-on-dark-muted);
}

.final-cta-toast {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 5;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rounded-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.final-cta-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.final-cta-dot svg {
  width: 11px;
  height: 11px;
}

.final-cta-chat-mock {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.final-cta-msg {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  max-width: 90%;
}

.final-cta-msg.incoming {
  background: #1e293b;
  color: #ffffff;
  align-self: flex-start;
}

.final-cta-msg.outgoing {
  background: var(--color-brand);
  color: #ffffff;
  align-self: flex-end;
}

/* ==========================================================================
   Section 13: Footer (ProIntro Clean Architecture)
   ======================================================================== */
#footer {
  background: var(--color-background);
  text-align: center;
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-line);
}

#footer .logo {
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-body);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--color-brand);
}

.footer-base {
  border-top: 1px solid var(--color-line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-muted);
}

.footer-copy {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

.footer-copy-legal,
.footer-copy-credit {
  display: inline;
}

.footer-copy-sep {
  display: inline;
  margin: 0 4px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-legal a:hover {
  color: var(--color-ink);
}

/* ==========================================================================
   Responsive Adaptations (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1200px) {
  #showcase {
    overflow: hidden;
  }

  .showcase-spread {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 310px;
    min-height: 310px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 0;
    padding: 0;
    overflow: visible;
  }

  .showcase-item {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -130px;
    margin-top: -140px;
    margin-right: 0;
    cursor: pointer;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .showcase-item + .showcase-item {
    margin-left: -130px;
  }

  .showcase-card {
    width: 260px;
  }

  .showcase-nav-bar {
    display: flex;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .showcase-spread {
    height: 290px;
    min-height: 290px;
    margin-top: 20px;
  }

  .showcase-item {
    margin-left: -125px;
    margin-top: -135px;
  }

  .showcase-item + .showcase-item {
    margin-left: -125px;
  }

  .showcase-card {
    width: 250px;
    padding: 16px 16px 14px;
  }

  .showcase-nav-bar {
    margin-top: 12px;
    gap: 12px;
  }

  .showcase-nav-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-split,
  #nav.is-split,
  .how-it-works-row {
    background: var(--color-background);
  }

  .hero-split::before,
  #nav.is-split::before,
  .how-it-works-row::before {
    display: none;
  }

  .hero-text {
    padding: 44px 0 24px;
  }

  .hero-phone-wrap {
    margin: 36px auto 0 !important;
    max-width: 100%;
  }

  .hero-stage {
    padding: 0px;
    height: auto;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .promise-strip-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-strip-item:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--color-line);
  }

  .promise-strip-item:nth-child(4) {
    border-top: 1px solid var(--color-line);
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works-text {
    padding: 36px 0 20px;
  }

  .how-it-works-stage {
    padding: 0 0 36px;
  }

  .features-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-tile.is-wide,
  .bento-tile.is-third {
    grid-column: span 2;
  }

  .bento-pic {
    height: auto;
    min-height: 240px;
  }

  .features-also-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-side {
    display: none;
  }

  .pricing-sheet {
    grid-template-columns: 1fr;
    max-width: 580px;
  }

  .pricing-plan.is-raised {
    margin: -1px 0 0;
  }
}

@media (max-width: 1120px) and (min-width: 992px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13.5px;
  }

  .nav-actions .btn-main {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-actions .btn-main {
    display: none;
  }

  .problem-row {
    grid-template-columns: 1fr;
  }

  .comparison-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison-pair {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-card {
    padding: 24px 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .comparison-title {
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }

  .comparison-brand {
    min-width: 0;
    flex-wrap: wrap;
  }

  .comparison-brand b {
    font-size: 16px;
    word-break: break-word;
  }

  .comparison-item {
    font-size: 14px;
    gap: 12px;
    grid-template-columns: 22px 1fr;
  }

  .pricing-sheet {
    grid-template-columns: 1fr;
    gap: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .pricing-plan {
    background: var(--color-background);
    border: 1px solid var(--color-line);
    border-radius: var(--rounded-xl);
    padding: 28px 22px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
  }

  .pricing-plan.is-raised {
    background: var(--color-surface);
    border: 2px solid var(--color-ink);
    border-radius: var(--rounded-xl);
    padding: 28px 22px;
    margin: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: var(--shadow-float);
  }

  .faq-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-col + .faq-col {
    border-top: none;
  }

  .footer-base {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 14px;
  }

  .footer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .footer-copy-sep {
    display: none;
  }

  .footer-copy-legal,
  .footer-copy-credit {
    display: block;
    white-space: nowrap;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  #footer {
    /* padding-bottom: 96px; */
  }
}

@media (max-width: 580px) {
  /* Script Inspector Chip (Single Line Pill on Mobile - Image 1 fix) */
  .script-inspector-row {
    padding: 0 6px;
  }

  .script-inspector-chip {
    font-size: clamp(11px, 3.1vw, 13px);
    padding: 6px 14px;
    gap: 7px;
    white-space: nowrap;
    border-radius: 9999px;
  }

  .script-inspector-chip .pill-wave {
    width: 15px;
    height: 12px;
    gap: 1.5px;
    flex-shrink: 0;
  }

  .script-inspector-chip .pill-wave span {
    width: 2px;
  }

  /* Bento Floating Bubble Card (Single Line Alignment on Mobile - Image 2 fix) */
  .bento-pic {
    padding: 20px 12px;
  }

  .spec-bubble-card {
    padding: 12px 14px;
    gap: 10px;
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .spec-card-logo {
    height: 22px;
    max-width: 38px;
    flex-shrink: 0;
  }

  .spec-bubble-status {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .spec-bubble-status b {
    font-size: 12.5px;
    white-space: nowrap;
    margin-bottom: 1px;
  }

  .spec-bubble-status span {
    font-size: 11px;
    white-space: nowrap;
    display: block;
  }

  .spec-toggle-mock {
    width: 36px;
    height: 20px;
    flex-shrink: 0;
  }

  .toggle-knob {
    width: 16px;
    height: 16px;
    top: 2px;
    right: 2px;
  }

  .hero-stage {
    height: auto;
    min-height: auto;
    padding: 16px 0 0px;
  }

  .hero-phone-wrap {
    width: 270px;
    max-width: 82vw;
    margin: 0 auto;
  }

  .phone-frame {
    width: 100%;
    height: 420px;
  }

  .floating-spec-bubble {
    left: -8px;
    top: 70px;
  }

  .spec-bubble-inner {
    width: 48px;
    height: 48px;
  }

  .floating-toast-pill {
    right: -8px;
    bottom: 40px;
    font-size: 11.5px;
    padding: 6px 12px 6px 8px;
  }

  .promise-strip-row {
    grid-template-columns: 1fr;
  }

  .promise-strip-item + .promise-strip-item {
    border-left: none;
    border-top: 1px solid var(--color-line);
  }

  .features-also-list {
    grid-template-columns: 1fr;
  }

  :root {
    --gutter: 16px;
  }

  .nav-actions .btn-main {
    display: none;
  }

  .logo {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .logo-word {
    white-space: nowrap;
  }

  .privacy-card {
    padding: 24px 20px;
  }

  .dict-inline-form {
    flex-direction: column;
  }

  .dict-inline-form input {
    width: 100%;
  }

  .dict-inline-form .btn-main {
    width: 100%;
  }

  .hero-ambient-glow {
    max-width: 100%;
  }

  .hero-stage {
    overflow: hidden;
  }

  .comparison-card {
    padding: 20px 16px;
  }

  .comparison-title {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .comparison-brand {
    gap: 8px;
  }

  .comparison-brand img {
    width: 24px;
    height: auto;
  }

  .comparison-brand b {
    font-size: 15px;
  }

  .comparison-tag {
    font-size: 10.5px;
    padding: 2px 8px;
  }

  .comparison-list {
    gap: 14px;
  }

  .comparison-item {
    font-size: 13.5px;
    gap: 10px;
    grid-template-columns: 20px 1fr;
  }

  .comparison-yes,
  .comparison-no {
    width: 20px;
    height: 20px;
  }

  .comparison-yes svg,
  .comparison-no svg {
    width: 13px;
    height: 13px;
  }

  .pricing-plan {
    padding: 24px 18px;
  }

  .pricing-plan.is-raised {
    padding: 26px 18px;
  }

  .pricing-plan.is-raised .pricing-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pricing-toggle {
    width: 100%;
    display: flex;
  }

  .cycle-btn {
    flex: 1;
    justify-content: center;
    padding: 7px 10px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .script-inspector-chip {
    font-size: 10.5px;
    padding: 5px 10px;
    gap: 5px;
  }

  .spec-bubble-card {
    padding: 10px 10px;
    gap: 8px;
  }

  .spec-bubble-status b {
    font-size: 11.5px;
  }

  .spec-bubble-status span {
    font-size: 10px;
  }

  .spec-card-logo {
    height: 18px;
    max-width: 30px;
  }

  .spec-toggle-mock {
    width: 32px;
    height: 18px;
  }

  .toggle-knob {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================================
   Section 13 Additions: Footer Contact Details & Floating Utilities
   ========================================================================== */

/* Footer Contact Details (Clean Inline Typographic Links, No Pills) */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.footer-contact-link,
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact-link:hover,
.footer-contact-item:hover {
  color: var(--color-brand);
}

.footer-contact-link svg,
.footer-contact-item svg,
.footer-contact svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  color: var(--color-muted);
  transition: color 0.15s ease;
  flex-shrink: 0;
}

.footer-contact-link:hover svg,
.footer-contact-item:hover svg {
  color: var(--color-brand);
}

.footer-contact-sep {
  color: var(--color-line);
  font-size: 15px;
  user-select: none;
}

/* Heart and Brand in Footer with Royal Blue Theme Color */
.heart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand, #2563eb);
  vertical-align: -1px;
  margin: 0 2px;
}

.heart-icon svg {
  display: inline-block;
  fill: var(--color-brand, #2563eb);
}

.footer-credit-brand {
  color: var(--color-brand, #2563eb);
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-credit-brand:hover {
  color: var(--color-brand-deep, #1d4ed8);
}

/* Floating Utilities: Back to Top & WhatsApp (Identical 42px Diameter) */
.back-to-top {
  position: fixed;
  bottom: 74px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ffffff;
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.whatsapp-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-widget svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-badge {
  position: absolute;
  right: 52px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.whatsapp-widget:hover .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 580px) {
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .whatsapp-widget svg {
    width: 18px;
    height: 18px;
  }
  .back-to-top {
    bottom: 62px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
  .whatsapp-badge {
    display: none;
  }
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none !important;
  }
}

/* ==========================================================================
   Section 14: Legal Documents (Privacy Policy & Terms of Service)
   ========================================================================== */
.legal-page {
  background-color: var(--color-background);
  color: var(--color-body);
}

.legal-hero {
  padding: 56px 0 36px;
  background: linear-gradient(
    180deg,
    var(--color-surface) 0%,
    rgba(246, 248, 251, 0) 100%
  );
  border-bottom: 1px solid var(--color-line);
}

.legal-back-nav {
  display: block;
  margin-bottom: 20px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.15s ease;
}

.legal-back-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-back-link:hover {
  transform: translateX(-3px);
  color: var(--color-brand);
}

.legal-back-link:hover svg {
  transform: translateX(-2px);
}

.legal-title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--color-muted);
  flex-wrap: wrap;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
  padding: 52px 0 96px;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.legal-sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--rounded-lg);
  padding: 20px 22px;
}

.legal-sidebar-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.legal-toc-list a {
  font-size: 13.5px;
  color: var(--color-body);
  transition: color 0.2s ease;
  line-height: 1.45;
  display: block;
}

.legal-toc-list a:hover {
  color: var(--color-brand);
  font-weight: 600;
}

.legal-content {
  max-width: 820px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--color-body);
}

.legal-content section {
  margin-bottom: 36px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

.legal-content section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 20px 0 10px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 20px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--color-ink);
}

.legal-callout {
  background: #eff6ff;
  border-left: 4px solid var(--color-brand);
  border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
  padding: 16px 20px;
  margin: 22px 0;
}

.legal-callout-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-callout p {
  font-size: 14px;
  line-height: 1.6;
  color: #1e3a8a;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .legal-sidebar {
    position: static;
  }
}

/* ==========================================================================
   FAQ Callout Prompt & "Ask Away" Button
   ========================================================================== */
.faq-footer-prompt {
  /* margin-top: 48px; */
  padding-top: 36px;
  text-align: center;
  /* border-top: 1px solid var(--color-line); */
}

.faq-prompt-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}

.btn-faq-ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-brand);
  border: 1px solid transparent;
  border-radius: var(--rounded-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-faq-ask:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.btn-faq-ask:active {
  transform: scale(0.97);
}

.btn-faq-ask svg {
  transition: transform 0.2s ease;
}

.btn-faq-ask:hover svg {
  transform: translateX(2px);
}

/* ==========================================================================
   Popup Contact Form Modal
   ========================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.contact-modal.is-open .contact-modal-dialog {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: #f1f5f9;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  line-height: 0;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-modal-close svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.2;
}

.contact-modal-close:hover {
  background: #e2e8f0;
  color: var(--color-brand);
  transform: rotate(90deg);
}

.contact-modal-close:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.contact-modal-head {
  margin-bottom: 24px;
  padding-right: 28px;
}

.pill-badge-sm {
  font-size: 12px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.contact-modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin: 0 0 8px 0;
}

.contact-modal-lede {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

/* Contact Form Controls */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-group-row {
  display: flex;
  gap: 14px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
}

.form-label .req {
  color: #ef4444;
}

.form-label .form-opt {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--color-ink);
  background: #f8fafc;
  border: 1.5px solid var(--color-line);
  border-radius: var(--rounded-md);
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
  font-size: 13.5px;
  line-height: 1.45;
  margin-top: 4px;
}

.form-feedback.is-success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-feedback.is-error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.btn-submit {
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  border-radius: var(--rounded-full);
}

.btn-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.btn-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: formSpin 0.75s infinite linear;
}

.btn-submit.is-loading .btn-submit-spinner {
  display: inline-block;
}

@keyframes formSpin {
  to {
    transform: rotate(360deg);
  }
}

.form-privacy-note {
  font-size: 11.5px;
  color: var(--color-muted);
  text-align: center;
  margin: 6px 0 0 0;
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy-note a:hover {
  color: var(--color-brand-deep);
}

@media (max-width: 580px) {
  .contact-modal-dialog {
    padding: 28px 20px 24px;
    border-radius: 20px;
  }
  .form-group-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================================================
   Google reCAPTCHA v3 Badge
   Requirement: Completely remove/hide the floating badge UI from view
   Official Google-compliant pattern (verification remains active in background)
   ========================================================================== */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
}
