/* ==========================================================================
   CAPTION BUNNY — MASTER DESIGN SYSTEM & STYLESHEET
   Brand Direction: Clean, Modern, Professional Light Aesthetic with Bunny Coral Accents
   Official Brand Color: Bunny Coral #FF4F6D & Caption Navy #111827
   Typography: Inter (-apple-system)
   Themes: Light Mode (Default) + Dark Mode (Toggleable)
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS (LIGHT MODE DEFAULT)
   -------------------------------------------------------------------------- */
:root {
  /* Surface & Backgrounds */
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-panel-top: #f1f5f9;
  --bg-video-canvas: radial-gradient(circle at center, #f8fafc 0%, #edf2f7 100%);
  --bg-cta-section: linear-gradient(135deg, #fff5f7 0%, #ffe5ea 50%, #fff1f3 100%);
  --bg-badge-pill: #fff1f3;

  /* Text & Typography */
  --text-heading: #111827;   /* Official Caption Navy */
  --text-body: #334155;      /* Slate Charcoal */
  --text-muted: #64748b;     /* Refined Neutral */
  --text-dim: #94a3b8;       /* Subtle tertiary */
  --text-inverse: #ffffff;

  /* Official Brand Core Accents (Bunny Coral) */
  --bunny-coral: #ff4f6d;
  --bunny-coral-hover: #ff3356;
  --bunny-coral-active: #e02649;
  --soft-pink: #ff9aaa;
  --mascot-rose: #ff6380;
  --light-blush: #ffe5ea;
  --coral-soft: #fff1f3;

  /* Primary Brand Tokens (Fully replacing purple throughout stylesheet) */
  --purple: #ff4f6d;
  --purple-hover: #ff3356;
  --purple-active: #e02649;
  --purple-light: #fff1f3;
  --purple-border: rgba(255, 79, 109, 0.22);
  --purple-glow: rgba(255, 79, 109, 0.25);

  --coral: #ff4f6d;

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.07);
  --border-hover: rgba(255, 79, 109, 0.45);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
  --shadow-video: 0 20px 48px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-button: 0 4px 16px rgba(255, 79, 109, 0.38);
  --shadow-play: 0 10px 25px -4px rgba(255, 79, 109, 0.32);

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #ff4f6d 0%, #ff758c 100%);
  --gradient-hero-bg: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 79, 109, 0.08) 0%, rgba(255, 255, 255, 0) 70%);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   DARK THEME OVERRIDES (TOGGLEABLE)
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-body: #090d16;
  --bg-subtle: #0f1626;
  --bg-card: #131c31;
  --bg-card-hover: #18233c;
  --bg-panel-top: #151f36;
  --bg-video-canvas: radial-gradient(circle at center, #151f36 0%, #0d1424 100%);
  --bg-cta-section: linear-gradient(135deg, #1c0e14 0%, #29121c 50%, #0c1429 100%);
  --bg-badge-pill: rgba(255, 79, 109, 0.16);

  --text-heading: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 79, 109, 0.55);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.5);
  --shadow-video: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);

  --gradient-hero-bg: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 79, 109, 0.16) 0%, rgba(9, 13, 22, 0) 70%);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--purple);
  color: #ffffff !important;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 79, 109, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  font-size: 16px;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  background: var(--purple-light);
  border-color: var(--purple-border);
  color: var(--purple);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-badge-pill);
  color: var(--purple);
  border: 1px solid var(--purple-border);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

/* --------------------------------------------------------------------------
   STICKY NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-body);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(9, 13, 22, 0.92);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

/* Dual Logo Light / Dark Mode Toggle */
.logo-dark {
  display: none !important;
}

.logo-light {
  display: block !important;
}

[data-theme="dark"] .logo-light {
  display: none !important;
}

[data-theme="dark"] .logo-dark {
  display: block !important;
}

/* Strict Desktop Navigation Flex Row */
.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 32px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none !important;
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none !important;
  background: none;
  border: none;
  padding: 6px;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   SECTION 1 — HERO / HOOK
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 36px 0 34px;
  text-align: center;
  background: var(--gradient-hero-bg);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto 28px;
}

.hero-pill-wrap {
  margin-bottom: 14px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.hero-title .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 22px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-trust .dot {
  color: var(--text-dim);
}

.hero-video-wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   PREMIUM 16:9 VIDEO CONTAINER & PREMIERE WINDOW MOCKUP
   -------------------------------------------------------------------------- */
.cb-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b0e14;
  box-shadow: var(--shadow-video);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  user-select: none;
}

.cb-video-container:hover {
  box-shadow: 0 24px 54px -12px rgba(255, 79, 109, 0.22), 0 0 0 1px var(--purple-border);
  transform: translateY(-2px);
}

/* Specific Section Container Proportions */
.hero-video-wrapper .cb-video-container {
  aspect-ratio: 16 / 7.2;
  border-radius: 16px;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 90px -20px rgba(255, 79, 109, 0.28), 0 0 0 1px rgba(255, 79, 109, 0.15);
}

.hero-video-wrapper .cb-video-container.cb-hero-walkthrough {
  aspect-ratio: auto;
  border-radius: 18px;
  background: #08090d;
  border: 1px solid rgba(255, 79, 109, 0.25);
  box-shadow: 0 32px 90px -15px rgba(255, 79, 109, 0.35), 0 0 0 1px rgba(255, 79, 109, 0.2);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.cb-stage-walkthrough {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: default !important;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.cb-stage-walkthrough iframe {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  display: block;
  background: #000;
}

/* Center Play Button Overlay for Vimeo */
.cb-vimeo-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cb-vimeo-play-overlay.playing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cb-big-play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4f6d, #ff758c);
  color: #ffffff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(255, 79, 109, 0.24), 0 20px 50px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.cb-big-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 18px rgba(255, 79, 109, 0.35), 0 25px 60px rgba(0, 0, 0, 0.85);
}

.cb-big-play-btn svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
  fill: currentColor;
}

/* Floating Mute / Unmute Button */
.cb-vimeo-mute-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 17, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 15px rgba(255, 79, 109, 0.2);
  transition: all 0.2s ease;
  user-select: none;
}

.cb-vimeo-mute-btn:hover {
  background: #ff4f6d;
  border-color: #ff768e;
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(255, 79, 109, 0.45);
}

.cb-mute-icon {
  font-size: 15px;
  line-height: 1;
}

/* Actions in Mockup Topbar */
.cb-mockup-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cb-walkthrough-audio-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.cb-walkthrough-audio-btn:hover {
  background: rgba(255, 79, 109, 0.18);
  border-color: rgba(255, 79, 109, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.cb-walkthrough-audio-btn.cb-sound-on {
  background: rgba(255, 79, 109, 0.25);
  border-color: #ff4f6d;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 79, 109, 0.35);
}

/* Floating Ambient Unmute Pill in Hero Mockup */
.cb-walkthrough-unmute-cta {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 25;
  cursor: pointer;
  animation: cbPillFloat 2.6s ease-in-out infinite alternate;
  pointer-events: auto;
}

@keyframes cbPillFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.cb-unmute-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 17, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 79, 109, 0.5);
  border-radius: 30px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 79, 109, 0.35);
  transition: all 0.2s ease;
}

.cb-unmute-pill svg {
  color: #ff4f6d;
  flex-shrink: 0;
  animation: cbPillPulse 1.4s ease-in-out infinite;
}

@keyframes cbPillPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.cb-unmute-pill:hover {
  background: #ff4f6d;
  border-color: #ff768e;
  transform: scale(1.04);
  box-shadow: 0 14px 36px rgba(255, 79, 109, 0.5);
}

.cb-unmute-pill:hover svg {
  color: #fff;
}

.cb-unmute-text-mobile {
  display: none;
}

@media (max-width: 640px) {
  .hero-video-wrapper .cb-mockup-topbar {
    padding: 8px 12px;
  }
  .hero-video-wrapper .cb-mockup-title span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }
  .cb-hero-walkthrough .cb-mockup-badge {
    display: none;
  }
  .cb-walkthrough-unmute-cta {
    top: 10px;
    right: 10px;
  }
  .cb-unmute-pill {
    padding: 6px 12px;
    font-size: 11px;
    gap: 6px;
  }
  .cb-unmute-pill svg {
    width: 16px;
    height: 16px;
  }
  .cb-unmute-text-full {
    display: none;
  }
  .cb-unmute-text-mobile {
    display: inline;
  }
}

.feature-video-col .cb-video-container {
  aspect-ratio: 16 / 8.2;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 79, 109, 0.12);
}

.use-cases-grid .cb-video-container {
  aspect-ratio: 16 / 10.8;
  background: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Window Mockup Header */
.cb-mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #11141c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  z-index: 3;
}

[data-theme="light"] .cb-mockup-topbar {
  background: #151922;
}

.cb-mockup-dots {
  display: flex;
  gap: 7px;
}

.cb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cb-dot-red { background: #ef4444; }
.cb-dot-yellow { background: #f59e0b; }
.cb-dot-green { background: #10b981; }

.cb-mockup-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cb-mockup-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  background: rgba(255, 79, 109, 0.15);
  color: #ff6380;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 79, 109, 0.25);
}

/* Video Stage Area */
.cb-mockup-stage {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #090c13;
  cursor: pointer;
  overflow: hidden;
}

.cb-watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  opacity: 0.05;
  pointer-events: none;
}

[data-theme="dark"] .cb-watermark-bg {
  opacity: 0.08;
  filter: invert(1);
}

.cb-play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-play);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 14px;
  transition: var(--transition);
  z-index: 2;
  border: 1px solid rgba(255, 79, 109, 0.2);
}

.cb-video-container:hover .cb-play-circle {
  transform: scale(1.1);
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(255, 79, 109, 0.4);
}

.cb-play-circle svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.cb-stage-meta {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.cb-stage-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.cb-stage-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Panel Mockup Stage */
.cb-panel-mockup-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0d14;
  overflow: hidden;
}

/* Real HTML5 Video Element (when video file is dropped in) */
.cb-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.cb-video-element.cb-video-contain {
  object-fit: contain;
  background: #0a0d14;
}

/* Feature 04: Multilingual Captions Display (Languages.mp4) */
#VIDEO_FEATURE_MULTILINGUAL .cb-video-element {
  object-fit: contain;
  background: #0a0d14;
}

/* --------------------------------------------------------------------------
   PHONE FRAME MOCKUP WITH AMBIENT VIDEO GLOW (FOR 9:16 VERTICAL REELS)
   -------------------------------------------------------------------------- */
.cb-phone-mockup-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 79, 109, 0.14) 0%, #07090e 80%);
}

/* Ambient dynamic colored glow behind phone */
.cb-phone-ambient-glow {
  position: absolute;
  inset: -15%;
  filter: blur(40px);
  opacity: 0.45;
  transform: scale(1.15);
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.cb-phone-ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Realistic Smartphone Device Frame */
.cb-phone-device {
  position: relative;
  height: 93%;
  aspect-ratio: 9 / 16;
  background: #000000;
  border-radius: 26px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.cb-phone-island {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 9px;
  background: #000000;
  border-radius: 8px;
  z-index: 4;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
}

.cb-phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.cb-phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   DESKTOP / STUDIO DISPLAY MOCKUP (FOR 16:9 LANDSCAPE REELS)
   -------------------------------------------------------------------------- */
.cb-desktop-mockup-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 79, 109, 0.12) 0%, #07090e 80%);
  padding: 12px;
}

.cb-desktop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cb-desktop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   SOUND TOGGLE BUTTON (PERMANENTLY REMOVED FROM ALL VIDEOS)
   -------------------------------------------------------------------------- */
.cb-video-container:not(.cb-hero-walkthrough) .cb-sound-btn,
.cb-video-container:not(.cb-hero-walkthrough) .wf-sound-btn,
.cb-video-container:not(.cb-hero-walkthrough) [id*="soundBtn"],
.cb-video-container:not(.cb-hero-walkthrough) [id*="SoundBtn"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Interactive Style Switcher for Feature 01 */
.style-switcher-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.style-switcher-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.style-switcher-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-switcher-pill {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.style-switcher-pill:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-1px);
}

.style-switcher-pill.active {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
  box-shadow: 0 4px 14px rgba(255, 79, 109, 0.35);
}

[data-theme="dark"] .style-switcher-pill {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
}

[data-theme="dark"] .style-switcher-pill.active {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
}

/* --------------------------------------------------------------------------
   SECTION COMMON STYLES
   -------------------------------------------------------------------------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SECTION 2 — FEATURES (Large Video -> Short Explanation Flow)
   -------------------------------------------------------------------------- */
.features-flow {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 56px;
}

.feature-row.reverse {
  grid-template-columns: 0.82fr 1.18fr;
}

.feature-row.reverse .feature-video-col {
  order: 2;
}

.feature-row.reverse .feature-info-col {
  order: 1;
}

.feature-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-step-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

.feature-heading {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  line-height: 1.25;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.feature-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-body);
}

.feature-bullet-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}

.pacing-comparison-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-weight: 600;
  margin-top: 6px;
  width: fit-content;
}

/* --------------------------------------------------------------------------
   SECTION 3 — HOW IT WORKS (Interactive 5-Stage Split Showcase)
   -------------------------------------------------------------------------- */
#how-it-works .container {
  max-width: 1400px;
  padding: 0 24px;
}

.wf-showcase {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 60px -15px rgba(15, 23, 42, 0.08);
  padding: 24px;
  width: 100%;
  margin: 0 auto;
}

[data-theme="dark"] .wf-showcase {
  background: #0d121c;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.55);
}

/* Left Column: Vertical Step List */
.wf-steps-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 8px 6px 4px;
}

.wf-step-item {
  display: flex;
  flex-direction: column;
  padding: 16px 8px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  user-select: none;
}

[data-theme="dark"] .wf-step-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.wf-step-item:last-child {
  border-bottom: none;
}

.wf-step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.wf-step-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
  margin-top: 1px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wf-step-icon svg {
  width: 22px;
  height: 22px;
}

.wf-step-item:hover .wf-step-icon {
  color: var(--purple);
  transform: scale(1.08);
}

[data-theme="dark"] .wf-step-item:hover .wf-step-icon {
  color: #ff8a9d;
}

.wf-step-item.active .wf-step-icon {
  color: var(--purple);
}

[data-theme="dark"] .wf-step-item.active .wf-step-icon {
  color: #ff8a9d;
}

.wf-step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wf-step-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #475569;
  margin: 0;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.wf-step-item:hover .wf-step-title {
  color: #0f172a;
}

[data-theme="dark"] .wf-step-title {
  color: #94a3b8;
}

[data-theme="dark"] .wf-step-item:hover .wf-step-title {
  color: #f1f5f9;
}

.wf-step-item.active .wf-step-title {
  color: #0f172a;
  font-weight: 800;
}

[data-theme="dark"] .wf-step-item.active .wf-step-title {
  color: #ffffff;
}

.wf-step-sub {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.wf-step-item.active .wf-step-sub {
  color: #64748b;
}

[data-theme="dark"] .wf-step-item.active .wf-step-sub {
  color: #94a3b8;
}

/* Horizontal Progress Bar under active item */
.wf-step-progress-track {
  width: 100%;
  height: 3.5px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  margin-top: 14px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wf-step-item.active .wf-step-progress-track {
  opacity: 1;
  visibility: visible;
}

[data-theme="dark"] .wf-step-progress-track {
  background: rgba(255, 255, 255, 0.12);
}

.wf-step-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-accent);
  border-radius: 999px;
  will-change: width;
}

[data-theme="dark"] .wf-step-progress-fill {
  background: linear-gradient(90deg, #ff4f6d 0%, #ff8a9d 100%);
  box-shadow: 0 0 10px rgba(255, 79, 109, 0.45);
}

/* Right Column: Stage Frame */
.wf-stage-frame {
  background: linear-gradient(135deg, #fff5f7 0%, #ffe5ea 100%);
  border: 1px solid rgba(255, 79, 109, 0.18);
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(255, 79, 109, 0.06);
}

[data-theme="dark"] .wf-stage-frame {
  background: #180d14;
  border: 1px solid rgba(255, 79, 109, 0.25);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 79, 109, 0.12);
}

/* Floating Elevated Card */
.wf-stage-card {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(255, 79, 109, 0.1);
  box-shadow: 0 16px 40px -10px rgba(255, 79, 109, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

[data-theme="dark"] .wf-stage-card {
  background: #131a2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5);
}

.wf-stage-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wf-card-category {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
}

[data-theme="dark"] .wf-card-category {
  color: #ff8a9d;
}

.wf-card-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

[data-theme="dark"] .wf-card-title {
  color: #ffffff;
}

/* Video Viewport */
.wf-video-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1244;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.wf-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation overlay buttons on video */
.wf-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  opacity: 0;
  transition: all 0.22s ease;
}

.wf-video-viewport:hover .wf-nav-btn {
  opacity: 1;
}

.wf-nav-prev { left: 12px; }
.wf-nav-next { right: 12px; }

.wf-nav-btn:hover {
  background: var(--bunny-coral);
  transform: translateY(-50%) scale(1.1);
}

/* Sound button inside player (disabled/removed) */
.wf-sound-btn {
  display: none !important;
}

/* Callout Bar */
.wf-card-callout {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .wf-card-callout {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.wf-card-callout strong {
  color: #0f172a;
  font-weight: 700;
}

[data-theme="dark"] .wf-card-callout strong {
  color: #ffffff;
}

/* Bottom Controls Bar */
.wf-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 6px;
}

.wf-pill-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-pill-btn {
  height: 32px;
  min-width: 32px;
  border-radius: 16px;
  background: #cbd5e1;
  color: #475569;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.wf-pill-btn:hover {
  background: #94a3b8;
  color: #0f172a;
}

[data-theme="dark"] .wf-pill-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

[data-theme="dark"] .wf-pill-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.wf-pill-label {
  display: none;
  white-space: nowrap;
}

.wf-pill-btn.active {
  background: var(--purple);
  color: #ffffff;
  padding: 0 16px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(255, 79, 109, 0.35);
}

[data-theme="dark"] .wf-pill-btn.active {
  background: #ff4f6d;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 79, 109, 0.45);
}

.wf-pill-btn.active .wf-pill-num {
  display: none;
}

.wf-pill-btn.active .wf-pill-label {
  display: inline;
}

/* Play/Pause Button */
.wf-play-pause-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .wf-play-pause-btn {
  background: #ff4f6d;
  color: #ffffff;
}

.wf-play-pause-btn:hover {
  background: var(--purple-hover);
  transform: scale(1.08);
}

[data-theme="dark"] .wf-play-pause-btn:hover {
  background: #ff3356;
}

.wf-play-pause-btn svg {
  width: 14px;
  height: 14px;
}

.wf-play-pause-btn .wf-icon-play {
  display: none;
}

.wf-play-pause-btn.is-paused .wf-icon-pause {
  display: none;
}

.wf-play-pause-btn.is-paused .wf-icon-play {
  display: block;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .wf-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .wf-stage-frame {
    padding: 20px;
  }
  .wf-stage-card {
    padding: 20px 20px 18px;
  }
}

@media (max-width: 640px) {
  .wf-showcase {
    padding: 16px;
    border-radius: 20px;
  }
  .wf-stage-frame {
    padding: 14px;
    border-radius: 18px;
  }
  .wf-stage-card {
    padding: 16px 14px 14px;
    border-radius: 14px;
  }
  .wf-bottom-bar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .wf-pill-group {
    gap: 6px;
  }
  .wf-pill-btn {
    height: 28px;
    min-width: 28px;
    font-size: 12px;
    padding: 0 8px;
  }
  .wf-pill-btn.active {
    padding: 0 12px;
  }
}

/* --------------------------------------------------------------------------
   SECTION 4 — USE CASES (4 Built for Editors Cards)
   -------------------------------------------------------------------------- */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.use-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
}

.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-border);
}

.use-case-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.use-case-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.use-case-desc {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   USE CASES — 3D REEL CAROUSEL ON A PLATFORM
   -------------------------------------------------------------------------- */
.uc-carousel {
  --uc-w: 270px;              /* center card width (9:16) */
  --uc-offset: 330px;         /* distance of side cards from center */
  --uc-platform-top: #ffe8ed;
  --uc-platform-mid: #ffd4dc;
  --uc-platform-edge: #ff4f6d;
  position: relative;
  outline: none;
}

.uc-stage {
  position: relative;
  height: calc(var(--uc-w) * 16 / 9 + 70px);
  max-width: 1080px;
  margin: 0 auto;
}

.uc-track {
  position: absolute;
  inset: 0 0 70px 0;
  z-index: 2;
}

.uc-slide {
  position: absolute;
  left: 50%;
  bottom: -38px;
  width: var(--uc-w);
  aspect-ratio: 9 / 16;
  transform-origin: 50% 100%;
  transition: transform 0.72s cubic-bezier(0.45, -0.013, 0.059, 0.9), opacity 0.5s ease, filter 0.5s ease;
  cursor: pointer;
  will-change: transform;
}

.uc-slide[data-pos="center"] {
  transform: translateX(-50%);
  z-index: 3;
  cursor: default;
}

.uc-slide[data-pos="left"] {
  transform: translateX(calc(-50% - var(--uc-offset))) perspective(1100px) rotateY(24deg) scale(0.74);
  z-index: 2;
  filter: saturate(0.85) brightness(0.92);
}

.uc-slide[data-pos="right"] {
  transform: translateX(calc(-50% + var(--uc-offset))) perspective(1100px) rotateY(-24deg) scale(0.74);
  z-index: 2;
  filter: saturate(0.85) brightness(0.92);
}

.uc-slide[data-pos="hidden"] {
  transform: translateX(-50%) scale(0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.uc-slide[data-pos="left"]:hover,
.uc-slide[data-pos="right"]:hover {
  filter: none;
}

.uc-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #0b0e14;
  border: 3px solid rgba(255, 79, 109, 0.6);
  box-shadow:
    0 28px 60px -18px rgba(255, 79, 109, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  transition: border-color 0.72s cubic-bezier(0.45, -0.013, 0.059, 0.9), box-shadow 0.72s cubic-bezier(0.45, -0.013, 0.059, 0.9);
}

.uc-slide[data-pos="center"] .uc-card {
  border-color: #ff4f6d;
  box-shadow:
    0 36px 80px -20px rgba(255, 79, 109, 0.55),
    0 0 0 6px rgba(255, 79, 109, 0.2);
}

.uc-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Landscape source inside a vertical card */
.uc-slide--landscape .uc-video-backdrop {
  filter: blur(22px) brightness(0.55) saturate(1.3);
  transform: scale(1.35);
}

.uc-slide--landscape .uc-video-main {
  object-fit: contain;
  z-index: 1;
}

.uc-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--purple);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(255, 79, 109, 0.45);
}

.uc-format {
  position: absolute;
  left: 12px;
  bottom: 14px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Platform slab */
.uc-platform {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0;
  height: 96px;
  z-index: 1;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--uc-platform-top) 0%, var(--uc-platform-mid) 100%);
  border: 2px solid rgba(255, 79, 109, 0.45);
  box-shadow:
    0 9px 0 0 var(--uc-platform-edge),
    0 26px 50px -10px rgba(255, 79, 109, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
  transform: perspective(900px) rotateX(48deg);
  transform-origin: 50% 100%;
}

/* Nav arrows */
.uc-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -58px;
  border-radius: 50%;
  border: none;
  background: var(--purple);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(255, 79, 109, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uc-nav svg { width: 20px; height: 20px; }
.uc-nav:hover { transform: scale(1.1); box-shadow: 0 14px 30px -6px rgba(255, 79, 109, 0.75); }
.uc-nav:active { transform: scale(0.95); }
.uc-prev { left: calc(50% - var(--uc-w) / 2 - 70px); }
.uc-next { right: calc(50% - var(--uc-w) / 2 - 70px); }

/* Info below platform */
.uc-info {
  margin-top: 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.uc-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.uc-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.uc-tab:hover { color: var(--purple); }
.uc-tab.active {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 79, 109, 0.35);
}

.uc-info-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  animation: ucFade 0.45s ease;
}

.uc-info-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 520px;
  animation: ucFade 0.45s ease;
}

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

[data-theme="dark"] .uc-carousel {
  --uc-platform-top: #38151f;
  --uc-platform-mid: #250d15;
  --uc-platform-edge: #ff4f6d;
}

[data-theme="dark"] .uc-platform {
  border-color: rgba(255, 79, 109, 0.45);
  box-shadow:
    0 9px 0 0 var(--uc-platform-edge),
    0 26px 60px -10px rgba(255, 79, 109, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .uc-carousel { --uc-w: 230px; --uc-offset: 240px; }
}

@media (max-width: 600px) {
  .uc-carousel { --uc-w: 200px; --uc-offset: 150px; }
  .uc-slide[data-pos="left"],
  .uc-slide[data-pos="right"] { opacity: 0.55; }
  .uc-prev { left: 4px; }
  .uc-next { right: 4px; }
  .uc-info-title { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   SECTION 5 — FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--purple-border);
}

.faq-item.active {
  border-color: var(--purple);
  box-shadow: 0 4px 14px rgba(255, 79, 109, 0.12);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  gap: 16px;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 14px;
}

.faq-item.active .faq-toggle-icon {
  background: var(--purple);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   SECTION 6 — GET STARTED (FINAL CTA)
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 90px 0 110px;
  position: relative;
  background: var(--bg-cta-section);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.cta-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-mascot-visual {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(255, 79, 109, 0.2));
  animation: floatMascot 4s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

[data-theme="dark"] .cta-mascot-visual {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.75)) drop-shadow(0 8px 24px rgba(255, 79, 109, 0.4));
}

.cta-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-body);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 320px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

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

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

.footer-link:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   VIDEO MODAL (FOR WATCH DEMO)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 960px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--purple-light);
  color: var(--purple);
}

.modal-body {
  padding: 16px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Desktop 1440px+, Tablet 768-1439px, Mobile 320-767px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }
  .section-title {
    font-size: 34px;
  }
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-row.reverse .feature-video-col {
    order: 1;
  }
  .feature-row.reverse .feature-info-col {
    order: 2;
  }
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-body) !important;
    flex-direction: column !important;
    padding: 24px !important;
    gap: 20px !important;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    display: none !important;
  }
  .nav-menu.open {
    display: flex !important;
  }
  .mobile-toggle {
    display: block !important;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 17px;
  }
  .workflow-process-bar {
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 12px;
    border-radius: var(--radius-lg);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .workflow-process-bar::-webkit-scrollbar {
    display: none;
  }
  .workflow-process-rail {
    display: none;
  }
  .workflow-process-steps {
    width: max-content;
    gap: 10px;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .cta-title {
    font-size: 32px;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY & POLISH
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav-link-active {
  color: var(--purple) !important;
  font-weight: 700 !important;
}

.hero-trust {
  flex-wrap: wrap;
}

.cb-mockup-title,
.cb-mockup-topbar > span:not(.cb-mockup-badge) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   PRICING PAGE
   -------------------------------------------------------------------------- */
.pricing-hero {
  padding: 64px 0 88px;
  background: var(--gradient-hero-bg);
}

.pricing-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.pricing-title {
  font-size: 48px;
  margin-bottom: 16px;
}

.pricing-head .hero-subtitle {
  font-size: 18px;
  margin-bottom: 28px;
}

.currency-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.currency-btn {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.currency-btn:hover {
  color: var(--text-heading);
}

.currency-btn.active {
  background: var(--bg-card);
  color: var(--text-heading);
  box-shadow: var(--shadow-md);
}

.pricing-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--purple-border);
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient-accent);
}

.pricing-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.pricing-plan-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-badge-pill);
  color: var(--purple);
  border: 1px solid var(--purple-border);
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text-heading);
}

.pricing-symbol {
  font-size: 30px;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 10px;
}

.pricing-num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-term {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px;
}

.pricing-compare {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 8px 0 18px;
}

/* Coupon & Discount styling */
.pricing-strike {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 6px;
  align-self: flex-start;
  margin-top: 10px;
}

.pricing-savings-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
}

.pricing-coupon-box {
  margin: 0 0 20px;
}

.pricing-coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-card);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-coupon-row:focus-within {
  border-color: var(--purple);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(121, 40, 202, 0.15);
}

.pricing-coupon-icon {
  font-size: 14px;
  line-height: 1;
}

.pricing-coupon-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: 0.03em;
}

.pricing-coupon-input::placeholder {
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: normal;
}

.pricing-coupon-btn {
  background: var(--bg-badge-pill);
  color: var(--purple);
  border: 1px solid var(--purple-border);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pricing-coupon-btn:hover {
  background: var(--purple);
  color: #fff;
}

.pricing-coupon-btn.applied {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.pricing-coupon-msg {
  font-size: 12.5px;
  margin-top: 8px;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pricing-coupon-msg.ok {
  color: #10b981;
  font-weight: 500;
}

.pricing-coupon-msg.err {
  color: #ef4444;
}

.pricing-coupon-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11.5px;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 4px;
}

.pricing-coupon-remove-btn:hover {
  color: #ef4444;
}

.pricing-buy-btn {
  width: 100%;
}

.pricing-assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.pricing-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 28px 0 22px;
}

.pricing-features-label,
.pricing-after-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-body);
}

.pricing-features b {
  color: var(--text-heading);
  font-weight: 600;
}

.pricing-features code {
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-subtle);
}

.pricing-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  background: var(--bg-badge-pill);
  color: var(--purple);
}

.pricing-after {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

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

.pricing-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.pricing-steps li span {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  background: var(--purple);
  color: #ffffff;
}

.pricing-faq {
  max-width: 860px;
  margin: 72px auto 0;
}

.pricing-faq-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 28px;
}

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

.pricing-faq-item {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.pricing-faq-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.pricing-faq-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-faq-item a {
  color: var(--purple);
  font-weight: 600;
}

.footer-compact {
  padding: 40px 0;
}

.footer-compact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-compact-inner .footer-logo {
  margin-bottom: 6px;
}

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

/* --------------------------------------------------------------------------
   MOBILE REFINEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .pricing-faq-grid {
    grid-template-columns: 1fr;
  }
  .pricing-title {
    font-size: 36px;
  }
  .pricing-card {
    padding: 28px 22px;
  }
  .pricing-num {
    font-size: 54px;
  }
}

@media (max-width: 560px) {
  .nav-cta,
  .nav-actions > .btn-primary {
    display: none !important;
  }
  .nav-brand-logo {
    height: 30px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .cb-mockup-badge {
    display: none;
  }
  .cb-watermark-bg {
    width: 160px;
  }
}

/* --------------------------------------------------------------------------
   AUTH PAGES (SIGN UP / LOG IN)
   -------------------------------------------------------------------------- */
.auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 72px;
  background: var(--gradient-hero-bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient-accent);
}

.auth-mascot {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 14px;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text-heading);
}

.auth-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  text-align: center;
  margin: 6px 0 24px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text-heading);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow);
  background: var(--bg-card);
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.auth-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-form .btn {
  width: 100%;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
  margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.auth-msg {
  min-height: 18px;
  font-size: 13.5px;
  text-align: center;
}

.auth-msg.err { color: #dc2626; }
.auth-msg.ok  { color: #059669; }
[data-theme="dark"] .auth-msg.err { color: #f87171; }
[data-theme="dark"] .auth-msg.ok  { color: #34d399; }

/* Razorpay payment-failed banner (auth.js showPaymentFailed) */
.pay-fail {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(440px, calc(100% - 32px));
  padding: 18px 20px 16px;
  border-radius: 16px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #fecaca;
  border-left: 5px solid #dc2626;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.45;
}
.pay-fail strong { display: block; color: #dc2626; font-size: 15.5px; margin-bottom: 4px; }
.pay-fail p { margin: 0 0 8px; }
.pay-fail .pay-fail-note { font-size: 12.5px; opacity: 0.75; }
.pay-fail a { color: inherit; text-decoration: underline; }
.pay-fail-x {
  position: absolute; top: 8px; right: 10px;
  border: 0; background: none; font-size: 22px; line-height: 1;
  color: inherit; opacity: 0.5; cursor: pointer;
}
.pay-fail-retry {
  margin-top: 4px; padding: 8px 18px; border: 0; border-radius: 999px;
  background: #FF4F6D; color: #fff; font-weight: 600; cursor: pointer;
}
[data-theme="dark"] .pay-fail { background: #1d1d22; color: #eee; border-color: #7f1d1d; }
[data-theme="dark"] .pay-fail strong { color: #f87171; }

.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-fine {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.auth-done {
  display: none;
  text-align: center;
}

.auth-done-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   ACCOUNT PAGE
   -------------------------------------------------------------------------- */
.account-page {
  padding: 48px 0 88px;
  background: var(--gradient-hero-bg);
  min-height: calc(100vh - 72px);
}

.account-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.account-head h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.account-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.acc-card {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.acc-card h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.acc-key-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.acc-key {
  flex: 1;
  padding: 14px 16px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--purple);
  background: var(--bg-badge-pill);
  border: 1px dashed var(--purple-border);
  border-radius: var(--radius-sm);
  user-select: all;
  overflow-wrap: anywhere;
}

.acc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.acc-status { font-weight: 700; text-transform: capitalize; }
.acc-status.ok  { color: #059669; }
.acc-status.bad { color: #dc2626; }

.acc-downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.acc-downloads .btn {
  width: 100%;
  padding: 14px;
}

.acc-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
}

.acc-device:first-child { border-top: none; padding-top: 0; }

.acc-device-name {
  font-weight: 600;
  color: var(--text-heading);
}

.acc-muted {
  font-size: 13.5px;
  color: var(--text-muted);
}

.acc-empty {
  text-align: center;
  padding: 12px 0;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.acc-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid var(--purple-border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: accSpin 0.8s linear infinite;
}

@keyframes accSpin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   ADMIN DASHBOARD
   -------------------------------------------------------------------------- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.admin-stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.admin-stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-top: 4px;
}

.admin-stat-sub {
  font-size: 12.5px;
  color: var(--text-dim);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  white-space: nowrap;
}

.admin-table code {
  font-size: 12.5px;
}

.admin-search {
  width: 100%;
  max-width: 320px;
  padding: 9px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text-heading);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.admin-wide {
  max-width: 1100px;
}

@media (max-width: 768px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .acc-downloads { grid-template-columns: 1fr; }
  .acc-key { font-size: 15px; }
  .account-head { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 30px 22px; }
}

/* ---------- Google sign-in button ---------- */
.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-weight: 600;
}
.btn-google:hover { background: #f8f9fa; border-color: #c6c9cd; }
.btn-google:disabled { opacity: .7; cursor: default; }
[data-theme="dark"] .btn-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
[data-theme="dark"] .btn-google:hover { background: #1f1f20; }

/* ---------- Panel sign-in page (link.html) ---------- */
.link-code { display: inline-block; font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 700; letter-spacing: 2px; padding: 4px 10px; border-radius: 8px; background: var(--bg-subtle); border: 1px solid var(--border-subtle); color: var(--text-heading); }
.link-who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-subtle); border: 1px solid var(--border-subtle); margin-bottom: 14px; text-align: left; }
.link-who img { width: 40px; height: 40px; border-radius: 50%; display: none; }
.link-who b { display: block; color: var(--text-heading); }
.link-who span { font-size: 13px; color: var(--text-muted); }
.link-step { display: none; }
.link-done-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: rgba(16,185,129,.12); color: #059669; }

/* ---------- Legal pages (privacy.html, terms.html) ---------- */
.legal-page { padding: 56px 20px 80px; background: var(--gradient-hero-bg); }
.legal { max-width: 760px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 44px 44px 36px; }
.legal-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin: 0 0 6px; }
.legal h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-heading); margin: 0; }
.legal-updated { font-size: 13px; color: var(--text-dim); margin: 6px 0 22px; }
.legal-lead { font-size: 16.5px; line-height: 1.65; color: var(--text-heading); margin: 0 0 8px; }
.legal h2 { font-size: 19px; font-weight: 750; color: var(--text-heading); margin: 30px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal b { color: var(--text-heading); }
.legal a { color: var(--purple); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
@media (max-width: 600px) { .legal { padding: 30px 20px; } .legal h1 { font-size: 27px; } }

/* Screen-reader / crawler text (brand name in the hero h1) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
