/* ==========================================================================
   ROBBP MEDIA - Luxury Aesthetic Diagnostic Funnel
   Tailored for High-End Plastic Surgeons & Aesthetic Medical Practices
   Palette: Architectural Off-White, Rich Charcoal Slate, Warm Champagne Gold
   ========================================================================== */

:root {
  /* Brand Foundations (Media Swatch) */
  --bg-page: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F3F4F6;
  --bg-surface-tint: #FAF7F2;

  /* Typography Colors */
  --text-primary: #1F232B;
  --text-secondary: #4B515D;
  --text-muted: #6B7280;
  --text-dim: #9CA3AF;

  /* Hairlines & Borders */
  --border-light: #E5E7EB;
  --border-subtle: #ECEEF1;
  --border-accent: #D8C3A5;
  --border-accent-subtle: rgba(197, 168, 128, 0.35);

  /* Warm Champagne Gold Palette */
  --gold-accent: #9E7B4F;
  --gold-primary: #C5A880;
  --gold-light: #DFCEB8;
  --gold-soft-bg: rgba(197, 168, 128, 0.12);
  --gold-glow: rgba(197, 168, 128, 0.25);

  /* Form Controls */
  --input-bg: #FFFFFF;
  --input-border: #D1D5DB;
  --input-border-focus: #9E7B4F;
  --input-focus-ring: rgba(197, 168, 128, 0.25);

  /* Buttons */
  --btn-dark-bg: #1F232B;
  --btn-dark-hover: #111317;
  --btn-dark-text: #FFFFFF;
  --btn-gold-bg: #9E7B4F;
  --gold-cta-hover: #8A6B3D;

  /* Semantics */
  --success-text: #166534;
  --success-bg: #F0FDF4;
  --success-border: #BBF7D0;
  --warning-text: #92400E;
  --warning-bg: #FEF3C7;
  --warning-border: #FDE68A;
  --danger-text: #991B1B;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;

  /* Fonts */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(31, 35, 43, 0.05);
  --shadow-card: 0 12px 36px -4px rgba(31, 35, 43, 0.07), 0 2px 8px -2px rgba(31, 35, 43, 0.04);
  --shadow-floating: 0 20px 48px -8px rgba(31, 35, 43, 0.12);
}

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

.hidden {
  display: none !important;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Architectural Ambient Glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 65% 50% at 50% -10%, rgba(197, 168, 128, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 85%, rgba(229, 231, 235, 0.5) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Header Navigation Bar
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.85;
}

.brand-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-accent);
  text-transform: uppercase;
}

.header-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-accent);
  box-shadow: 0 0 6px var(--gold-glow);
}

/* ==========================================================================
   Page Layout & Hero Section
   ========================================================================== */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Category Pill Badge */
.badge-wrapper {
  margin-bottom: 22px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(31, 35, 43, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pill-badge:hover {
  transform: translateY(-1px);
  border-color: var(--border-accent);
  box-shadow: 0 4px 12px rgba(158, 123, 79, 0.1);
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Hero Headline */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 860px;
  margin-bottom: 20px;
  text-wrap: balance;
}

.accent-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-accent);
  display: inline;
  letter-spacing: -0.015em;
}

.desktop-break {
  display: block;
}

@media (max-width: 768px) {
  .desktop-break {
    display: inline;
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 690px;
  margin-bottom: 40px;
  font-weight: 400;
  text-wrap: balance;
}

/* ==========================================================================
   Diagnostic Card Container
   ========================================================================== */
.card-container {
  width: 100%;
  max-width: 660px;
  position: relative;
  margin-bottom: 36px;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-container.confirmed-active,
.card-container:has(.confirmed-view:not(.hidden)) {
  max-width: 880px;
}

.card-inner {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 34px 38px 28px 38px;
  box-shadow: var(--shadow-card);
  text-align: left;
}

/* Card Header Tag */
.card-header {
  margin-bottom: 24px;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-accent);
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-accent-subtle);
  padding: 5px 14px;
  border-radius: 9999px;
}

/* Error Alert */
.alert-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 22px;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.alert-icon {
  width: 20px;
  height: 20px;
  color: #DC2626;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#error-title {
  font-weight: 700;
  color: #991B1B;
  font-size: 13px;
}

/* ==========================================================================
   Form Fields
   ========================================================================== */
.scan-form {
  position: relative;
}

.inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

@media (max-width: 620px) {
  .inputs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.field-icon {
  width: 15px;
  height: 15px;
  color: var(--gold-accent);
}

.input-wrapper {
  position: relative;
}

.field-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: var(--font-body);
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field-input::placeholder {
  color: var(--text-dim);
  font-size: 14px;
}

.field-input:focus {
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}

/* Submit CTA Button */
.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 28px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(31, 35, 43, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.submit-btn:hover {
  background: var(--btn-dark-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(31, 35, 43, 0.22);
}

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

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Micro Feature Guarantees inside Card */
.card-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.feature-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

/* Trust Badges Bar below Card */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.trust-item:hover {
  color: var(--text-secondary);
}

.trust-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-accent);
  flex-shrink: 0;
}

/* Corner Brand Mark */
.corner-badge {
  position: fixed;
  bottom: 24px;
  left: 28px;
  z-index: 10;
}

.corner-badge-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(31, 35, 43, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.corner-badge-inner:hover {
  border-color: var(--border-accent);
  transform: scale(1.06);
}

.corner-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hide corner badge on mobile to avoid overlapping buttons */
@media (max-width: 640px) {
  .corner-badge {
    display: none !important;
  }
}

/* ==========================================================================
   Stage 2: Live Scanning Progress Overlay
   ========================================================================== */
.scan-overlay {
  margin-top: 10px;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-accent-subtle);
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.scan-overlay.hidden {
  display: none;
}

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

.scan-spinner-container {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(197, 168, 128, 0.2);
  border-top-color: var(--gold-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.spinner-core {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-core svg {
  stroke: var(--gold-accent) !important;
}

.scan-status-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.scan-status-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.scan-progress-bar {
  width: 100%;
  height: 6px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.scan-progress-fill {
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-accent), #B38E5B);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.scan-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 440px;
  margin: 0 auto;
}

.scan-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.scan-step.hidden {
  display: none !important;
}

.scan-step .step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

@keyframes stepPulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7); }
  50% { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(197, 168, 128, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

.scan-step.active {
  color: var(--text-primary);
  font-weight: 600;
}

.scan-step.active .step-dot {
  background: var(--gold-accent);
  animation: stepPulseGlow 1.5s infinite;
}

.scan-step.active .step-name {
  color: var(--text-primary);
}

.scan-step.completed {
  color: var(--success-text);
  font-weight: 500;
}

.scan-step.completed .step-dot {
  background: #16A34A;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.5);
}

.scan-step.completed .step-name {
  color: var(--success-text);
}

/* ==========================================================================
   Stage 3: Interactive Social Verification & Editing View
   ========================================================================== */
.verification-view {
  animation: fadeIn 0.35s ease-out;
}

.verification-header {
  margin-bottom: 24px;
}

.verification-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 12px 0 6px 0;
  text-wrap: balance;
}

.verification-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.highlight-text {
  color: var(--gold-accent);
  font-weight: 600;
}

/* Practice Specialty Verification Box */
.specialty-verify-container {
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
}

.specialty-verify-container:hover {
  border-color: var(--border-accent);
}

.specialty-verify-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.specialty-title-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.specialty-micro-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
}

.specialty-explain {
  font-size: 12.5px;
  color: var(--text-muted);
}

.specialty-select-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specialty-select-wrapper {
  position: relative;
  width: 100%;
}

.specialty-dropdown {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 40px 12px 14px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.specialty-dropdown:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.specialty-dropdown option {
  background: #FFFFFF;
  color: var(--text-primary);
  padding: 10px;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.custom-specialty-box {
  width: 100%;
  animation: fadeIn 0.25s ease-out;
}

.custom-specialty-box.hidden {
  display: none !important;
}

.custom-specialty-field {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 10px 14px;
  outline: none;
  transition: all 0.2s ease;
}

.custom-specialty-field:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Social Channels List */
.social-channels-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.channel-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
}

.channel-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 14px rgba(31, 35, 43, 0.06);
}

.channel-card.excluded {
  opacity: 0.55;
  background: var(--bg-surface-subtle);
  border-color: #E5E7EB;
}

.channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.platform-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
}

.platform-icon-wrap.instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #D92365;
}

.platform-icon-wrap.facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877F2;
}

.platform-icon-wrap.tiktok {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

.platform-icon-wrap.youtube {
  background: rgba(255, 0, 0, 0.1);
  color: #E60000;
}

.platform-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

/* Status Badges */
.status-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.badge-found {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.badge-missing {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}

.badge-suggested {
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-accent-subtle);
  color: var(--gold-accent);
}

.badge-excluded {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: var(--text-muted);
}

/* Enterprise WAF Notice */
.enterprise-waf-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.3s ease-out;
}

.waf-shield-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.waf-notice-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.waf-notice-text strong {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Channel Handle Link & Input */
.channel-row-main {
  margin-bottom: 8px;
}

.channel-found-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: 9px;
  padding: 9px 14px;
}

.channel-handle-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  word-break: break-all;
}

.channel-handle-link:hover {
  color: var(--gold-accent);
  text-decoration: underline;
}

.btn-edit-toggle {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-edit-toggle:hover {
  background: #F9FAFB;
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.channel-input-wrapper {
  position: relative;
}

.channel-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 9px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.channel-input:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

.channel-input:disabled {
  background: #F3F4F6;
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: #E5E7EB;
}

/* Exclude Platform Toggle Checkbox */
.channel-toggle-row {
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.no-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.no-account-toggle input[type="checkbox"] {
  accent-color: var(--gold-accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.no-account-toggle:hover {
  color: var(--text-secondary);
}

/* Actions Footer */
.verification-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.back-link-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
  align-self: center;
}

.back-link-btn:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ==========================================================================
   Stage 4: Teaser Scorecard & Lead Capture Gate
   ========================================================================== */
.confirmed-view {
  animation: fadeIn 0.35s ease-out;
}

.simplified-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 4px 0;
}

/* Scorecard Teaser Box */
.score-teaser-card {
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 24px;
}

.score-teaser-circle {
  width: 86px;
  height: 86px;
  min-width: 86px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--gold-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(158, 123, 79, 0.15);
}

.score-teaser-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.score-teaser-sub {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 3px;
  text-transform: uppercase;
}

.score-teaser-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.score-teaser-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-primary);
}

.text-below-median {
  color: #DC2626 !important;
}

.text-above-median {
  color: #16A34A !important;
}

.score-teaser-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.teaser-stat-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.teaser-callout {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 580px) {
  .score-teaser-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .score-teaser-details {
    align-items: center;
  }
  .score-teaser-stats {
    justify-content: center;
  }
}

/* Claim Form */
.claim-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.claim-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .claim-inputs-row {
    grid-template-columns: 1fr;
  }
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.claim-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.required-star {
  color: #DC2626;
}

.claim-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.claim-input:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.claim-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: left;
}

.claim-submit-btn {
  background: var(--btn-dark-bg) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(31, 35, 43, 0.18) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.claim-submit-btn:hover {
  background: var(--btn-dark-hover) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(31, 35, 43, 0.25) !important;
}

/* Download Button Card */
.download-hub-card {
  margin-top: 14px;
  animation: fadeIn 0.35s ease-out;
}

.btn-primary-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #15803D;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-download:hover {
  background: #166534;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.35);
}

.spin-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   STAGE 4: $197 GROWTH AUDIT OFFER CTA CARD (CONFIRMED VIEW)
   ========================================================================== */
.landing-offer-card {
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  animation: fadeInOffer 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.offer-dark-card {
  background: #1F232B;
  border: 1px solid #333842;
  border-radius: 18px;
  padding: 44px 48px;
  color: #F8F9FA;
  margin-bottom: 8px;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 16px 48px rgba(31, 35, 43, 0.18);
}

.offer-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 32px;
}

.offer-left {
  max-width: 580px;
  flex: 1;
}

.eyebrow-cream {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.offer-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.offer-subtext {
  font-size: 14.5px;
  color: #D1D5DB;
  line-height: 1.58;
  margin: 0;
}

.offer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-val {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.price-cadence {
  font-size: 13px;
  color: #9CA3AF;
  white-space: nowrap;
}

.btn-growth-audit {
  display: inline-block;
  background-color: var(--gold-accent);
  color: #FFFFFF !important;
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(158, 123, 79, 0.35);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
  cursor: pointer;
}

.btn-growth-audit:hover {
  background-color: var(--gold-cta-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(158, 123, 79, 0.45);
}

/* Deliverables List */
.offer-deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.offer-deliv-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: #272C36;
  border: 1px solid #3B4250;
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s, background 0.2s;
}

.offer-deliv-item.deliv-highlight {
  border-color: rgba(197, 168, 128, 0.5);
  background: linear-gradient(135deg, #2E333E 0%, #272C36 100%);
}

.deliv-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.deliv-check {
  color: #4ADE80;
  font-weight: 800;
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.deliv-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deliv-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.deliv-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

.deliv-badge-call {
  background: rgba(197, 168, 128, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(197, 168, 128, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.deliv-desc {
  font-size: 13.5px;
  color: #9CA3AF;
  line-height: 1.48;
  margin: 0;
}

.deliv-value {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  background: #1C2027;
  border: 1px solid #3B4250;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* Total Value & Savings Summary Box */
.offer-savings-card {
  background: linear-gradient(135deg, #2B303B 0%, #21252D 100%);
  border: 1.5px solid var(--gold-accent);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.savings-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.savings-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #9CA3AF;
}

.savings-label {
  color: #9CA3AF;
}

.savings-value-crossed {
  text-decoration: line-through;
  color: #6B7280;
  font-weight: 600;
  font-size: 14px;
}

.savings-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.savings-cost {
  font-size: 16px;
  color: #FFFFFF;
}

.savings-cost strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  margin-left: 2px;
}

.savings-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-savings-cta {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 14px 26px;
  font-size: 15px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 820px) {
  .site-header {
    padding: 0;
  }

  .header-container {
    padding: 14px 18px;
  }

  .brand-logo-img {
    height: 24px;
  }

  .page-container {
    padding: 38px 18px 60px 18px;
  }

  .card-inner {
    padding: 26px 20px 20px 20px;
  }

  .offer-dark-card {
    padding: 30px 22px;
  }

  .offer-card-top {
    flex-direction: column;
    gap: 20px;
  }

  .offer-right {
    align-items: flex-start;
    width: 100%;
  }

  .btn-growth-audit {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .offer-savings-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
    padding: 20px 18px;
  }

  .savings-meta,
  .savings-price-row {
    justify-content: center;
  }

  .btn-savings-cta {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 580px) {
  .header-pill {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.22;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .offer-dark-card {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .offer-headline {
    font-size: 24px;
    line-height: 1.28;
  }

  .offer-subtext {
    font-size: 13.5px;
  }

  .price-val {
    font-size: 38px;
  }

  .offer-deliv-item {
    flex-direction: column;
    gap: 12px;
    padding: 14px 14px;
  }

  .deliv-value {
    align-self: flex-start;
    margin-top: 0;
  }

  .deliv-title {
    font-size: 14.5px;
  }

  .deliv-desc {
    font-size: 13px;
  }

  .savings-badge {
    font-size: 11px;
    padding: 3px 8px;
  }

  .savings-cost {
    font-size: 15px;
  }

  .savings-cost strong {
    font-size: 22px;
  }

  .btn-growth-audit,
  .btn-savings-cta {
    font-size: 14.5px;
    padding: 13px 14px;
  }

  .card-features {
    gap: 14px;
  }

  .trust-bar {
    gap: 16px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .offer-headline {
    font-size: 21px;
  }

  .savings-price-row {
    flex-direction: column;
    gap: 8px;
  }
}
