/* ==========================================================================
   Autocater Web Design System
   Matches Extension Aesthetic: Obsidian Dark, Neon Accent, Bespoke Vector SVGs
   ========================================================================== */

:root {
  --bg: #0e1115;
  --card-bg: #14181c;
  --card-bg-elevated: #1a2026;
  --card-border: #262d35;
  --card-border-hover: #3b4653;
  --accent: #00e054;
  --accent-glow: rgba(0, 224, 84, 0.2);
  --accent-subtle: rgba(0, 224, 84, 0.1);
  --accent-text: #052e14;

  --ink: #f0f3f6;
  --ink-muted: #8b949e;
  --ink-subtle: #6e7681;
  --pill-bg: #202730;

  --font-display: 'Fredoka', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 0 24px var(--accent-glow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}

h3,
h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--ink-muted);
}

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

a:hover {
  color: var(--accent);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.container-guide {
  max-width: 1040px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 21, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-link:hover {
  color: var(--ink);
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: rgba(20, 24, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.nav-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 224, 84, 0.16) 0%, rgba(0, 224, 84, 0.08) 100%);
  border: 1px solid rgba(0, 224, 84, 0.45);
  box-shadow: 0 0 18px rgba(0, 224, 84, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  position: relative;
  z-index: 2;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #00e054;
  font-weight: 500;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 13.5px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: #00ff60;
  color: var(--accent-text);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 224, 84, 0.3);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 20px auto 32px;
  color: var(--ink-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.btn-primary:hover {
  background: #00ff60;
  color: var(--accent-text);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--card-bg-elevated);
  border-color: var(--card-border-hover);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Ambient Visual Demo (Card with glowing autofilled elements) */
.demo-preview-card {
  margin: 48px auto 0;
  max-width: 820px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--card-border);
}

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

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
}

.demo-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  color: var(--ink-subtle);
  border: 1px solid var(--card-border);
}

.demo-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
  gap: 12px;
}

.demo-app-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.demo-company-name {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.demo-role-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
}

.demo-status-pill {
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 224, 84, 0.12);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 224, 84, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.demo-field-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
}

.demo-input {
  background: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 0 12px rgba(0, 224, 84, 0.15);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-input-check {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}

/* Dedicated Action Bar (Clean spacing, zero overlap) */
.demo-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
  gap: 16px;
}

.demo-action-meta {
  font-size: 12px;
  color: var(--ink-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Floating Pill Interactive Callout */
.demo-floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  font-family: var(--font-heading);
  box-shadow: 0 8px 24px rgba(0, 224, 84, 0.35);
  animation: pillPulse 2.5s infinite;
  cursor: default;
}

@keyframes pillPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(0, 224, 84, 0.35);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 224, 84, 0.5);
  }
}

/* Trust Bar / Logos */
.trust-bar {
  padding: 40px 0;
  text-align: center;
}

.trust-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  margin-bottom: 20px;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
}

/* Feature Grid */
.features-section {
  padding: 80px 0;
}

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

.section-title {
  margin-bottom: 14px;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Content Pages (Legal & Guide Articles) */
.content-article {
  padding: 60px 0 100px;
}

.article-header {
  border: none !important;
  border-bottom: none !important;
  padding-bottom: 0;
  margin-bottom: 36px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-subtle);
}

.article-body {
  font-size: 15px;
  line-height: 1.75;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 224, 84, 0.25);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin: 52px 0 18px;
  padding: 0;
  border: none !important;
  border-top: none !important;
  display: block;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
  color: #c9d1d9;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 24px;
  color: #c9d1d9;
}

.article-body li {
  margin-bottom: 8px;
}

.callout-box {
  background: var(--card-bg);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
}

/* Quick Browser Pin Callout */
.quick-pin-callout {
  background: rgba(20, 24, 28, 0.85);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 28px;
  font-size: 13px;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.quick-pin-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 224, 84, 0.12);
  color: #00e054;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-pin-text {
  flex: 1;
  color: var(--ink-muted);
  line-height: 1.45;
}

.quick-pin-text strong {
  color: #ffffff;
}

/* Scrollytelling Stepper (User Guide) */
.scrolly-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
  position: relative;
  margin: 28px 0 64px;
}

.stepper-timeline {
  position: relative;
  padding-left: 18px;
}

.stepper-spine {
  position: absolute;
  left: 36px;
  top: 36px;
  bottom: 80px;
  width: 2px;
  background: var(--card-border);
  border-radius: var(--radius-full);
  z-index: 0;
}

.stepper-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8%;
  background: linear-gradient(180deg, var(--accent) 0%, #00ff60 100%);
  box-shadow: 0 0 12px var(--accent);
  border-radius: var(--radius-full);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-step {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 28px 56px;
  margin-bottom: 32px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-step:last-child {
  margin-bottom: 0;
}

.step-indicator {
  position: absolute;
  left: -18px;
  top: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg-elevated);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-step.is-active {
  border-color: rgba(0, 224, 84, 0.4);
  background: linear-gradient(145deg, rgba(20, 24, 28, 0.95) 0%, rgba(14, 17, 21, 0.95) 100%);
  box-shadow: 0 12px 36px -10px rgba(0, 224, 84, 0.16);
  transform: translateX(4px);
}

.stepper-step.is-active .step-indicator {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  transform: scale(1.08);
}

.stepper-step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--ink);
  transition: color 0.25s ease;
}

.stepper-step.is-active h3 {
  color: #ffffff;
}

.stepper-step p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.stepper-step ul {
  margin: 0 0 0 18px;
  color: #c9d1d9;
  font-size: 13.5px;
}

.stepper-step li {
  margin-bottom: 8px;
}

/* Sticky Stage Container */
.stepper-stage-wrap {
  position: sticky;
  top: 96px;
  height: 610px;
}

.stepper-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.stepper-stage::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 84, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.step-mockup {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  overflow-y: auto;
}

.step-mockup.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ==========================================================================
   Authentic Autocater Extension & ATS Form Mockups (Pixel-Accurate)
   ========================================================================== */
.ext-popup-card {
  background: #14171a;
  border: 1px solid #262d35;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  width: 100%;
  max-width: 385px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
}

/* Authentic Top Bar */
.ext-top-bar {
  background: #101418;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1f252d;
}

.ext-brand-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ext-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 224, 84, 0.3));
}

.ext-brand-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.ext-settings-trigger {
  background: #202730;
  border: 1px solid #2d353f;
  color: #8b949e;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: all 0.15s ease;
}

.ext-settings-trigger svg {
  width: 12px;
  height: 12px;
  color: #8b949e;
}

/* Authentic Profile Switcher Bar */
.ext-profile-bar {
  background: #181c22;
  border: 1px solid #282f38;
  border-radius: 12px;
  padding: 7px 8px;
  margin: 12px 14px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ext-profile-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #8b949e;
  white-space: nowrap;
  user-select: none;
}

.ext-profile-label svg {
  width: 12px;
  height: 12px;
  color: #8b949e;
}

.ext-profile-dropdown-capsule {
  background: #202730;
  border: 1px solid #2d353f;
  border-radius: 8px;
  padding: 4px 7px;
  font-size: 11px;
  color: #f0f3f6;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ext-btn-new {
  background: #00e054;
  color: #052e14;
  font-weight: 700;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11px;
  box-shadow: 0 2px 10px rgba(0, 224, 84, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  flex-shrink: 0;
  height: 27px;
}

.ext-btn-cv {
  background: #202730;
  border: 1px solid #2d353f;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  color: #f0f3f6;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  line-height: 1;
  height: 27px;
}

.ext-btn-cv svg {
  width: 11px;
  height: 11px;
  color: #8b949e;
}

.ext-btn-more {
  background: #202730;
  border: 1px solid #2d353f;
  border-radius: 8px;
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b949e;
  font-size: 12px;
  flex-shrink: 0;
}

/* Authentic Form Card */
.ext-form-card {
  background: #181c22;
  border: 1px solid #282f38;
  border-radius: 14px;
  padding: 12px 12px 10px;
  margin: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ext-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ext-field {
  display: flex;
  flex-direction: column;
}

.ext-field-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6e7681;
  margin-bottom: 3px;
  font-family: 'Poppins', 'Inter', sans-serif;
}

.ext-field-input {
  background: #202730;
  border: 1px solid #282f38;
  border-radius: 7px;
  height: 31px;
  padding: 0 9px;
  font-size: 11.5px;
  color: #f0f3f6;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 450;
  position: relative;
}

.ext-field-select {
  background: #202730;
  border: 1px solid #282f38;
  border-radius: 7px;
  height: 31px;
  padding: 0 9px;
  font-size: 11px;
  color: #f0f3f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ext-field-select-arrow {
  color: #6e7681;
  font-size: 9px;
}

.ext-privacy-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px 10px;
  font-size: 10px;
  color: #8b949e;
}

.ext-privacy-footer svg {
  width: 11px;
  height: 11px;
  color: #00e054;
}

/* Profile Selector Dropdown Popover in Mockup 2 */
.ext-profile-select-wrap {
  position: relative;
  display: inline-flex;
}

.ext-profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 220px;
  z-index: 200;
  background: #181c22;
  border: 1px solid #2d353f;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ext-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #f0f3f6;
  font-weight: 500;
  cursor: pointer;
}

.ext-option-check {
  font-size: 11px;
  color: #00e054;
  font-weight: 700;
}

.ext-dropdown-item.is-selected {
  background: #202730;
  color: #00e054;
  font-weight: 700;
}

.ext-custom-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ext-custom-chip {
  background: #202730;
  border: 1px solid #2d353f;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10px;
  color: #8b949e;
}

.ext-custom-chip strong {
  color: #f0f3f6;
}

/* Browser Viewport Frame (For ATS detection & Form filling) */
.ext-browser-card {
  background: #0e1216;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.ext-browser-chrome {
  background: #14191f;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ext-browser-nav {
  display: flex;
  gap: 6px;
  color: var(--ink-subtle);
}

.ext-nav-arrow {
  font-size: 11px;
}

.ext-address-bar {
  flex: 1;
  background: #0a0d10;
  border: 1px solid #232a32;
  border-radius: var(--radius-full);
  height: 25px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--ink-muted);
}

.ext-lock-icon {
  width: 10px;
  height: 10px;
  color: var(--accent);
}

.ext-toolbar-right {
  display: flex;
  align-items: center;
}

.ext-toolbar-icon-badge {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #202730;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ext-toolbar-icon-badge img {
  width: 14px;
  height: 14px;
}

.ext-active-ping {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* Realistic ATS Job Header */
.ats-job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ats-job-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ats-company-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ats-job-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1px 0;
  font-family: var(--font-heading);
}

.ats-job-location {
  font-size: 11px;
  color: var(--ink-muted);
}

.ats-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 224, 84, 0.1);
  border: 1px solid rgba(0, 224, 84, 0.35);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 600;
  color: #00e054;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ATS Form Fields & Floating Pill */
.job-form-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.job-input-group label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}

.req-star {
  color: #f85149;
  font-weight: 700;
}

.job-input {
  height: 33px;
  background: #14191f;
  border: 1px solid #2d353f;
  border-radius: 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.job-upload-box {
  height: 35px;
  background: #14191f;
  border: 1.5px dashed #2d353f;
  border-radius: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* Dedicated Viewport Dock (Bottom Right Corner Floating) */
.browser-floating-dock {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 40;
  pointer-events: auto;
}

.dock-status-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--ink-muted);
}

.dock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e054;
  box-shadow: 0 0 6px #00e054;
}

.dock-pill-action {
  position: relative;
  display: inline-flex;
}

.real-floating-pill {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #00e054;
  color: #052e14;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-heading);
  box-shadow: 0 8px 24px rgba(0, 224, 84, 0.45);
  animation: pillPulse 2.5s infinite;
  cursor: pointer;
}

/* ==========================================================================
   Live Simulated Video Demonstrations (All 4 Steps)
   ========================================================================== */

/* ==========================================================================
   Live Simulated Video Demonstrations (All 4 Steps)
   ========================================================================== */

/* Authentic Floating Pill Styling (Identical to content.js) */
.autocater-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f141c;
  color: #f0f6fc;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  user-select: none;
  font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
}

.autocater-pill-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.autocater-pill-icon {
  color: #00e054;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.autocater-pill-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f0f6fc;
  white-space: nowrap;
}

.autocater-pill-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #8b949e;
  cursor: pointer;
  margin-left: 2px;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}

/* --- Step 1: 1-Click Resume Import (Animated Mouse Drag & Drop) --- */
.anim-cursor-s1 {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 150;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  animation: cursorDragCvS1 6.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.anim-pdf-chip-s1 {
  position: absolute;
  top: 48px;
  right: 14px;
  z-index: 100;
  background: rgba(0, 224, 84, 0.16);
  border: 1px solid #00e054;
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 224, 84, 0.35);
  pointer-events: none;
  animation: pdfDropGlideS1 6.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.anim-cv-btn-s1 {
  position: relative;
  animation: cvBtnReactS1 6.5s ease infinite;
}

.anim-input-s1 {
  position: relative;
}

.anim-val-s1 {
  position: absolute;
  left: 9px;
  animation: valRevealS1 6.5s ease infinite;
}

.anim-ph-s1 {
  color: #6e7681;
  font-style: italic;
  font-size: 10.5px;
  animation: phFadeS1 6.5s ease infinite;
}

.anim-parse-toast-s1 {
  position: absolute;
  bottom: 34px;
  left: 18px;
  right: 18px;
  background: rgba(16, 24, 20, 0.96);
  border: 1px solid rgba(0, 224, 84, 0.55);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #00e054;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 20;
  pointer-events: none;
  animation: toastPopS1 6.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes cursorDragCvS1 {
  0% {
    opacity: 0;
    top: 16px;
    left: 320px;
    transform: scale(1);
  }

  6% {
    opacity: 1;
    top: 44px;
    left: 295px;
    transform: scale(1);
  }

  10% {
    top: 48px;
    left: 290px;
    transform: scale(0.85);
  }

  18%,
  22% {
    top: 72px;
    left: 275px;
    transform: scale(0.85);
  }

  26% {
    top: 72px;
    left: 275px;
    transform: scale(1);
  }

  34% {
    top: 105px;
    left: 240px;
    opacity: 0.8;
  }

  45%,
  100% {
    opacity: 0;
    top: 115px;
    left: 240px;
  }
}

@keyframes pdfDropGlideS1 {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.9);
  }

  6%,
  10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  18%,
  22% {
    opacity: 1;
    transform: translate(-18px, 22px) scale(0.92);
  }

  26% {
    opacity: 0;
    transform: translate(-18px, 26px) scale(0.7);
  }

  100% {
    opacity: 0;
  }
}

@keyframes cvBtnReactS1 {

  0%,
  20% {
    border-color: #2d353f;
    background: #202730;
    transform: scale(1);
  }

  22%,
  30% {
    border-color: #00e054;
    background: rgba(0, 224, 84, 0.2);
    box-shadow: 0 0 14px rgba(0, 224, 84, 0.6);
    transform: scale(1.06);
  }

  34%,
  100% {
    border-color: #2d353f;
    background: #202730;
    transform: scale(1);
    box-shadow: none;
  }
}

@keyframes valRevealS1 {

  0%,
  24% {
    opacity: 0;
    transform: translateY(2px);
  }

  30% {
    opacity: 1;
    transform: translateY(0);
    color: #00ff60;
    text-shadow: 0 0 8px rgba(0, 224, 84, 0.6);
  }

  40%,
  88% {
    opacity: 1;
    transform: translateY(0);
    color: #f0f3f6;
    text-shadow: none;
  }

  94%,
  100% {
    opacity: 0;
    transform: translateY(2px);
  }
}

@keyframes phFadeS1 {

  0%,
  24% {
    opacity: 1;
  }

  30%,
  88% {
    opacity: 0;
  }

  94%,
  100% {
    opacity: 1;
  }
}

@keyframes toastPopS1 {

  0%,
  38% {
    opacity: 0;
    transform: translateY(14px);
  }

  44%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }

  94%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* --- Step 2: Role Persona Switching in Authentic Profile Card --- */
.anim-cursor-s2 {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 300;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  animation: cursorTrajectoryS2 6.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.anim-menu-s2 {
  animation: dropdownUnfurlCloseS2 6.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8);
}

.anim-capsule-arrow-s2 {
  display: inline-block;
  animation: capsuleArrowRotateS2 6.5s ease infinite;
}

.anim-check-default-s2 {
  animation: checkDefaultSwapS2 6.5s ease infinite;
}

.anim-check-eng-s2 {
  animation: checkEngSwapS2 6.5s ease infinite;
}

@keyframes checkDefaultSwapS2 {

  0%,
  26% {
    opacity: 1;
  }

  30%,
  92% {
    opacity: 0;
  }

  96%,
  100% {
    opacity: 1;
  }
}

@keyframes checkEngSwapS2 {

  0%,
  26% {
    opacity: 0;
  }

  30%,
  92% {
    opacity: 1;
  }

  96%,
  100% {
    opacity: 0;
  }
}

@keyframes capsuleArrowRotateS2 {

  0%,
  11% {
    transform: rotate(0deg);
  }

  14%,
  28% {
    transform: rotate(180deg);
    color: #00e054;
  }

  32%,
  100% {
    transform: rotate(0deg);
    color: #8b949e;
  }
}

.anim-capsule-label-s2 {
  position: relative;
  display: inline-flex;
  min-width: 95px;
  height: 15px;
  font-size: 11px;
  font-weight: 600;
}

.capsule-txt-default,
.capsule-txt-eng {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

.anim-title-input-s2,
.anim-github-input-s2,
.anim-email-input-s2,
.anim-phone-input-s2,
.anim-portfolio-input-s2 {
  position: relative;
}

.title-txt-default,
.github-txt-default,
.email-txt-default,
.phone-txt-default,
.portfolio-txt-default {
  position: absolute;
  left: 9px;
  animation: txtDefaultSwapS2 6.5s ease infinite;
}

.title-txt-eng,
.github-txt-eng,
.email-txt-eng,
.phone-txt-eng,
.portfolio-txt-eng {
  position: absolute;
  left: 9px;
  color: #00e054;
  animation: txtEngSwapS2 6.5s ease infinite;
}

.title-txt-eng {
  text-shadow: 0 0 8px rgba(0, 224, 84, 0.6);
}

.capsule-txt-default {
  animation: txtDefaultSwapS2 6.5s ease infinite;
}

.capsule-txt-eng {
  color: #00e054;
  animation: txtEngSwapS2 6.5s ease infinite;
}

.anim-menu-item-default-s2 {
  animation: menuItemDefaultS2 6.5s ease infinite;
}

.anim-menu-item-eng-s2 {
  animation: menuItemEngS2 6.5s ease infinite;
}

.anim-form-card-s2 {
  animation: formCardFlashS2 6.5s ease infinite;
}

@keyframes cursorTrajectoryS2 {
  0% {
    opacity: 0;
    top: 140px;
    left: 240px;
    transform: scale(1);
  }

  8% {
    opacity: 1;
    top: 78px;
    left: 130px;
    transform: scale(1);
  }

  12% {
    top: 78px;
    left: 130px;
    transform: scale(0.82);
  }

  16% {
    top: 78px;
    left: 130px;
    transform: scale(1);
  }

  22% {
    opacity: 1;
    top: 152px;
    left: 120px;
    transform: scale(1);
  }

  26% {
    top: 152px;
    left: 120px;
    transform: scale(0.82);
  }

  30% {
    top: 152px;
    left: 120px;
    transform: scale(1);
  }

  42% {
    top: 190px;
    left: 200px;
    opacity: 1;
  }

  60%,
  100% {
    opacity: 0;
    top: 190px;
    left: 200px;
  }
}

@keyframes dropdownUnfurlCloseS2 {

  0%,
  11% {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
    pointer-events: none;
    visibility: hidden;
  }

  14%,
  28% {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }

  32%,
  92% {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
    pointer-events: none;
    visibility: hidden;
  }

  96%,
  100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
    pointer-events: none;
    visibility: hidden;
  }
}

@keyframes txtDefaultSwapS2 {

  0%,
  28% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  32%,
  92% {
    opacity: 0;
    transform: translateY(-3px);
    pointer-events: none;
  }

  96%,
  100% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@keyframes txtEngSwapS2 {

  0%,
  28% {
    opacity: 0;
    transform: translateY(3px);
    pointer-events: none;
  }

  32%,
  92% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  96%,
  100% {
    opacity: 0;
    transform: translateY(3px);
    pointer-events: none;
  }
}

@keyframes menuItemDefaultS2 {

  0%,
  26% {
    background: #202730;
    color: #00e054;
    font-weight: 700;
  }

  28%,
  92% {
    background: transparent;
    color: #f0f3f6;
    font-weight: 500;
  }

  96%,
  100% {
    background: #202730;
    color: #00e054;
    font-weight: 700;
  }
}

@keyframes menuItemEngS2 {

  0%,
  26% {
    background: transparent;
    color: #f0f3f6;
    font-weight: 500;
  }

  28%,
  92% {
    background: #202730;
    color: #00e054;
    font-weight: 700;
  }

  96%,
  100% {
    background: transparent;
    color: #f0f3f6;
    font-weight: 500;
  }
}

@keyframes formCardFlashS2 {

  0%,
  28% {
    border-color: #282f38;
  }

  32%,
  44% {
    border-color: rgba(0, 224, 84, 0.75);
    box-shadow: 0 0 16px rgba(0, 224, 84, 0.25);
  }

  48%,
  100% {
    border-color: #282f38;
    box-shadow: none;
  }
}

/* --- Step 3: Job Application Detected & Bottom-Right Pill Click --- */
.anim-cursor-s3 {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 50;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  animation: cursorClickPillS3 5.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.anim-pill-s3 {
  animation: pillEntranceClickS3 5.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

@keyframes cursorClickPillS3 {
  0% {
    opacity: 0;
    top: 180px;
    left: 180px;
    transform: scale(1);
  }

  14% {
    opacity: 1;
    top: 320px;
    left: 260px;
  }

  24% {
    top: 480px;
    left: 340px;
    transform: scale(1);
  }

  28% {
    transform: scale(0.85);
  }

  32% {
    transform: scale(1);
  }

  48% {
    top: 420px;
    left: 300px;
    opacity: 1;
  }

  62%,
  100% {
    opacity: 0;
    top: 420px;
    left: 300px;
  }
}

@keyframes pillEntranceClickS3 {

  0%,
  10% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }

  18% {
    opacity: 1;
    transform: translateY(0) scale(1.04);
  }

  22% {
    transform: translateY(0) scale(1);
  }

  28% {
    transform: scale(0.94);
    border-color: #00e054;
    box-shadow: 0 0 16px rgba(0, 224, 84, 0.6);
  }

  32%,
  88% {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  }

  94%,
  100% {
    opacity: 0;
    transform: translateY(14px) scale(0.95);
  }
}

/* --- Step 4: 1-Click Autofill with Authentic Success Capsule --- */
.anim-cursor-s4 {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 50;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  animation: cursorAutofillReviewS4 7s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.anim-pill-s4 {
  position: relative;
  min-width: 175px;
  justify-content: center;
  animation: pillSuccessTransformS4 7s ease infinite;
}

.pill-state-normal {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pillNormalFadeS4 7s ease infinite;
}

.pill-state-success {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pillSuccessFadeS4 7s ease infinite;
}

.anim-fill-input-s4 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fillBorderPulseS4 7s ease infinite;
}

.anim-fill-txt {
  position: absolute;
  left: 10px;
  color: #f0f3f6;
  font-weight: 500;
  animation: fillTxtBloomS4 7s ease infinite;
}

.anim-fill-ph {
  color: var(--ink-muted);
  animation: fillPhFadeS4 7s ease infinite;
}

.anim-fill-check {
  color: #00e054;
  font-weight: 700;
  animation: fillCheckBloomS4 7s ease infinite;
}

@keyframes cursorAutofillReviewS4 {
  0% {
    opacity: 0;
    top: 300px;
    left: 280px;
    transform: scale(1);
  }

  8% {
    opacity: 1;
    top: 480px;
    left: 340px;
    transform: scale(1);
  }

  18% {
    top: 480px;
    left: 340px;
    transform: scale(0.85);
  }

  22% {
    transform: scale(1);
  }

  36% {
    top: 155px;
    left: 160px;
    transform: scale(1);
  }

  54% {
    top: 215px;
    left: 180px;
    transform: scale(1);
  }

  70% {
    top: 275px;
    left: 200px;
    transform: scale(1);
  }

  86% {
    top: 360px;
    left: 220px;
    opacity: 1;
  }

  96%,
  100% {
    opacity: 0;
    top: 360px;
    left: 220px;
  }
}

@keyframes pillSuccessTransformS4 {

  0%,
  22% {
    background: #0f141c;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    transform: scale(1);
  }

  24% {
    transform: scale(0.92);
  }

  26%,
  88% {
    background: #042a17 !important;
    border-color: #00e054 !important;
    box-shadow: 0 8px 28px rgba(0, 224, 84, 0.35) !important;
    transform: scale(1);
  }

  94%,
  100% {
    background: #0f141c;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    transform: scale(1);
  }
}

@keyframes pillNormalFadeS4 {

  0%,
  24% {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  26%,
  88% {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
  }

  94%,
  100% {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
}

@keyframes pillSuccessFadeS4 {

  0%,
  24% {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
  }

  26%,
  88% {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  94%,
  100% {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
  }
}

@keyframes fillBorderPulseS4 {

  0%,
  24% {
    border-color: var(--card-border);
    background: rgba(255, 255, 255, 0.03);
  }

  28%,
  88% {
    border-color: #00e054;
    background: rgba(0, 224, 84, 0.08);
    box-shadow: 0 0 12px rgba(0, 224, 84, 0.18);
  }

  94%,
  100% {
    border-color: var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }
}

@keyframes fillTxtBloomS4 {

  0%,
  24% {
    opacity: 0;
    transform: translateY(2px);
  }

  28% {
    opacity: 1;
    transform: translateY(0);
    color: #00ff60;
  }

  36%,
  88% {
    opacity: 1;
    transform: translateY(0);
    color: #f0f3f6;
  }

  94%,
  100% {
    opacity: 0;
    transform: translateY(2px);
  }
}

@keyframes fillPhFadeS4 {

  0%,
  24% {
    opacity: 1;
  }

  28%,
  88% {
    opacity: 0;
  }

  94%,
  100% {
    opacity: 1;
  }
}

@keyframes fillCheckBloomS4 {

  0%,
  26% {
    opacity: 0;
    transform: scale(0.5);
  }

  30%,
  88% {
    opacity: 1;
    transform: scale(1);
  }

  94%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

.check-icon {
  color: var(--accent);
  font-weight: 700;
}

/* Browser Matrix Grid Section */
.browser-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0 44px;
}

.browser-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.browser-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
}

.browser-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.browser-icon-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.browser-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.browser-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.browser-status-badge.active {
  background: rgba(0, 224, 84, 0.12);
  color: #00e054;
  border: 1px solid rgba(0, 224, 84, 0.3);
}

.browser-status-badge.ready {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.browser-card-desc {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* Mobile Visitor Notice Banner */
.mobile-device-banner {
  display: none;
  margin: 16px 0 28px;
}

@media (max-width: 850px) {
  .mobile-device-banner {
    display: block;
  }
}

.mobile-device-banner-inner {
  background: rgba(0, 224, 84, 0.08);
  border: 1px solid rgba(0, 224, 84, 0.28);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink);
}

.mobile-banner-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 224, 84, 0.15);
  color: #00e054;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-banner-text {
  flex: 1;
  color: var(--ink-muted);
  line-height: 1.45;
}

.mobile-banner-text strong {
  color: var(--ink);
}

.mobile-share-btn {
  background: #00e054;
  color: #052e14;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-share-btn:hover {
  background: #05f05d;
  transform: translateY(-1px);
}

/* Inline Mobile Fallback */
.step-inline-mockup {
  display: none;
}

@media (max-width: 960px) {
  .scrolly-stepper {
    display: block;
    margin: 20px 0 44px;
  }

  .stepper-stage-wrap {
    display: none !important;
  }

  .stepper-spine {
    display: none !important;
  }

  .stepper-timeline {
    padding-left: 0;
  }

  .stepper-step {
    padding: 22px 20px;
    margin-bottom: 20px;
    transform: none !important;
  }

  .step-indicator {
    position: static;
    margin-bottom: 14px;
  }
}

/* Universal Platform Compatibility Grid */
.platform-compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0 20px;
}

.platform-chip {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.platform-chip:hover {
  border-color: rgba(0, 224, 84, 0.4);
  transform: translateY(-2px);
}

.platform-chip-check {
  color: var(--accent);
  background: rgba(0, 224, 84, 0.12);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.platform-chip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-chip-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
}

.platform-chip-desc {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.platform-reassurance-card {
  background: linear-gradient(135deg, rgba(0, 224, 84, 0.05) 0%, rgba(20, 24, 28, 0.6) 100%);
  border: 1px solid rgba(0, 224, 84, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 36px;
}

.platform-reassurance-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.platform-reassurance-text {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.platform-reassurance-text strong {
  color: var(--ink);
}

@media (max-width: 600px) {
  .platform-compat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

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

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(0, 224, 84, 0.12), transparent 70%), var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 300px;
  font-size: 13px;
}

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

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

.footer-link {
  color: var(--ink-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  color: var(--ink-subtle);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .demo-form-grid {
    grid-template-columns: 1fr;
  }

  .demo-floating-pill {
    position: static;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-step-card {
    flex-direction: column;
    gap: 16px;
  }
}