/* ==========================================================================
   AeroTime LLC - Luxury High-End Watch Valuation & Acquisition Studio
   Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-obsidian: #090A0D;
  --bg-card: rgba(18, 20, 26, 0.75);
  --bg-card-hover: rgba(26, 29, 38, 0.85);
  --bg-surface: #12141A;
  --bg-input: #181B24;

  /* Platinum & Steel Accents — matched to the AeroTime logo */
  --accent-primary: #B7BEC9;
  --accent-light: #E8ECF2;
  --accent-dark: #7A828F;
  --accent-gradient: linear-gradient(135deg, #EDF1F6 0%, #B7BEC9 50%, #737C8B 100%);
  --accent-glow: rgba(183, 190, 201, 0.25);
  
  /* Status Colors */
  --emerald: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --amber: #F59E0B;
  --rose: #EF4444;
  
  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(183, 190, 201, 0.3);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  --accent-shadow: 0 10px 30px rgba(183, 190, 201, 0.15);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(183, 190, 201, 0.28);
  color: var(--text-primary);
}

/* Hairline scrollbars — the default chrome reads as an appliance, not a boutique. */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(183, 190, 201, 0.18); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(183, 190, 201, 0.32); }

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ghosted Faded Luxury Watch Background Watermark */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 50% 35%, rgba(9, 10, 13, 0.4) 0%, rgba(9, 10, 13, 0.96) 75%),
    url('ghost_watch_bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.16;
  filter: contrast(120%) brightness(85%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

/* Layout Header & Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--accent-shadow);
}

.brand-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #090A0D;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--accent-shadow);
  border: 1px solid rgba(183, 190, 201, 0.35);
}

.footer-logo {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 14px;
  border: 1px solid rgba(183, 190, 201, 0.2);
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-subtitle {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-secondary-outline {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-secondary-outline:hover {
  background: rgba(183, 190, 201, 0.1);
  transform: translateY(-1px);
}

/* Hero & Main App Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

.hero-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(183, 190, 201, 0.1);
  border: 1px solid rgba(183, 190, 201, 0.25);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
}

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

.hero-title {
  font-size: 1.9rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* A single hairline under the hero — the kind of restraint a dial maker uses. */
.hero-header::after {
  content: '';
  display: block;
  width: 140px;
  height: 1px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.55;
}

/* Step Wizard Navigation Bar — nodes joined by real connector segments, so
   nothing needs a background patch to mask a line running underneath. */
.wizard-progress-bar {
  display: flex;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto 1.1rem;
}

.wizard-connector {
  flex: 1;
  height: 2px;
  margin: 20px 12px 0;
  border-radius: 1px;
  background: var(--border-light);
  transition: background 0.4s ease;
}

.wizard-connector.complete {
  background: var(--accent-primary);
}

.wizard-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.wizard-step-node.active .step-number {
  background: var(--bg-obsidian);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-glow);
}

.wizard-step-node.complete .step-number {
  background: var(--accent-gradient);
  border-color: var(--accent-primary);
  color: #090A0D;
}

.step-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wizard-step-node.active .step-label {
  color: var(--accent-light);
  font-weight: 600;
}

/* Wizard Step Containers */
.wizard-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.75rem 1.5rem;
  box-shadow: var(--glass-shadow);
  margin-bottom: 1.25rem;
  display: none;
  animation: fadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wizard-card.active {
  display: block;
}

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

.card-section-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Step 1: Watch Search & Grid */
.search-box-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
}

.brand-filter-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.pill-btn {
  padding: 0.5rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pill-btn:hover, .pill-btn.active {
  background: rgba(183, 190, 201, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-light);
}

.watch-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.watch-selection-grid::-webkit-scrollbar {
  width: 6px;
}
.watch-selection-grid::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 10px;
}

.watch-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.watch-item-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.watch-item-card.selected {
  border-color: var(--accent-primary);
  background: rgba(183, 190, 201, 0.08);
  box-shadow: 0 0 20px var(--accent-glow);
}

.watch-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.watch-brand-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  font-weight: 700;
}

.watch-ref-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.watch-item-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.watch-item-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.watch-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.watch-benchmark-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.watch-liquidity-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-weight: 600;
}
.liquidity-instant { background: var(--emerald-glow); color: var(--emerald); border: 1px solid rgba(16,185,129,0.3); }
.liquidity-high { background: rgba(59, 130, 246, 0.15); color: #60A5FA; border: 1px solid rgba(96,165,250,0.3); }
.liquidity-moderate { background: rgba(245, 158, 11, 0.15); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }

/* Step 2: Evaluation Checklist Controls */
.checklist-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.checklist-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.group-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.group-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(183, 190, 201, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-primary);
}

.group-title {
  font-size: 1.25rem;
}

.option-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option-card-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.option-card-label:hover {
  border-color: rgba(183, 190, 201, 0.4);
  transform: translateY(-1px);
  background: var(--bg-card-hover);
}

.option-card-label input[type="radio"],
.option-card-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.option-card-label input[type="checkbox"] {
  border-radius: 4px;
}

.option-card-label input:checked {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
}

.option-card-label input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #090A0D;
  border-radius: 50%;
}

.option-card-label input[type="checkbox"]:checked::after {
  content: '✓';
  background: transparent;
  color: #090A0D;
  font-size: 12px;
  font-weight: 900;
  top: 45%;
}

.option-card-label.selected {
  border-color: var(--accent-primary);
  background: rgba(183, 190, 201, 0.08);
}

.option-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
  min-width: 0;
}

.option-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.option-subtext {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.option-impact-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.impact-plus { background: var(--emerald-glow); color: var(--emerald); }
.impact-neutral { background: rgba(255,255,255,0.08); color: var(--text-secondary); }
.impact-minus { background: rgba(239, 68, 68, 0.15); color: var(--rose); }

/* Step 3: Valuation Results & Payout Comparator */
.results-dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .results-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.valuation-summary-hero {
  background: linear-gradient(180deg, rgba(26, 29, 38, 0.9) 0%, rgba(18, 20, 26, 0.9) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.valuation-summary-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.estimated-range-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.estimated-value-display {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.range-span-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Interactive Visual Price Gauge */
.price-gauge-wrapper {
  margin: 2rem 0;
  padding: 0 1rem;
}

.gauge-track {
  height: 10px;
  background: var(--bg-input);
  border-radius: 10px;
  position: relative;
  overflow: visible;
  margin-bottom: 0.75rem;
}

.gauge-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 10px;
  position: absolute;
  left: 15%;
  width: 70%;
}

.gauge-pin {
  width: 22px;
  height: 22px;
  background: #FFF;
  border: 3px solid var(--accent-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--accent-primary);
  transition: left 0.5s ease;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Payout Offer Cards Grid */
.payout-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .payout-options-grid {
    grid-template-columns: 1fr;
  }
}

.payout-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.payout-card:hover {
  border-color: var(--accent-primary);
}

.payout-card.recommended {
  border-color: var(--accent-primary);
  background: rgba(183, 190, 201, 0.08);
}

.recommended-ribbon {
  position: absolute;
  top: -10px;
  right: 15px;
  background: var(--accent-gradient);
  color: #090A0D;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.payout-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.payout-timeline {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.payout-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.payout-fee-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Breakdown Sidebar */
.itemized-breakdown-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.breakdown-row.total {
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Step 4: Photo Dropzone & Engagement Form */
.engagement-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .engagement-form-grid {
    grid-template-columns: 1fr;
  }
}

.upload-dropzone {
  border: 2px dashed var(--border-accent);
  background: rgba(183, 190, 201, 0.03);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-dropzone:hover {
  background: rgba(183, 190, 201, 0.08);
  border-color: var(--accent-primary);
}

.upload-icon {
  width: 48px;
  height: 48px;
  stroke: var(--accent-primary);
  margin-bottom: 1rem;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.preview-thumb {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:hover {
  border-color: rgba(183, 190, 201, 0.25);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(183, 190, 201, 0.12);
}

/* Shipping vs Boutique Radio Tabs */
.method-tabs-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.method-tab-card {
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.method-tab-card.selected {
  border-color: var(--accent-primary);
  background: rgba(183, 190, 201, 0.1);
}

/* Wizard Navigation Buttons Footer */
.wizard-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}

.btn-primary-accent {
  padding: 1rem 2.2rem;
  background: var(--accent-gradient);
  color: #090A0D;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Inset highlight along the top edge — machined metal, not flat print. */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), var(--accent-shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary-accent:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 30px rgba(183, 190, 201, 0.28);
}

.btn-primary-accent:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.btn-outline-back {
  padding: 0.9rem 1.8rem;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-back:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: rgba(255, 255, 255, 0.03);
}

/* Modal Overlay & Appraiser Back-Office View */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* Print Summary Certificate Styling */
@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
  }
  .navbar, .wizard-progress-bar, .wizard-footer-nav, .btn-secondary-outline {
    display: none !important;
  }
  .wizard-card {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   AEROTIME — Watch Value Report
   Components added for the Carfax-style two-pole report flow.
   ========================================================================== */

/* --- Nav & hero ---------------------------------------------------------- */

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}



/* Keep the [hidden] attribute authoritative over .active */
.wizard-card[hidden] {
  display: none !important;
}

/* --- Forms --------------------------------------------------------------- */

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.label-optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
}

.form-hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-control.has-error {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
  margin: 14px 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
  font-size: 0.9rem;
}

/* --- Typeahead ----------------------------------------------------------- */

.typeahead-wrapper {
  position: relative;
}

.typeahead-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% - 18px);
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}

/* The brand group has no hint line below the input, so no offset to absorb. */
#brandList {
  top: calc(100% + 4px);
}

.typeahead-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.typeahead-item:last-child { border-bottom: none; }
.typeahead-item:hover,
.typeahead-item:focus-visible {
  background: var(--bg-card-hover);
  outline: none;
}

.typeahead-model { font-weight: 600; font-size: 0.95rem; }
.typeahead-ref { font-size: 0.8rem; color: var(--text-muted); }

/* --- Option cards -------------------------------------------------------- */

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

/* --- Report header ------------------------------------------------------- */

.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-light);
}

.report-source {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--emerald);
  max-width: 60ch;
}

.report-source.source-reference { color: var(--amber); }

.report-market-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.report-market-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.report-market-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
}

/* --- The two poles ------------------------------------------------------- */

.poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pole-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.pole-card-offer {
  border-color: var(--border-accent);
  box-shadow: var(--accent-shadow);
  background: linear-gradient(160deg, rgba(183, 190, 201, 0.07), var(--bg-surface) 60%);
}

.pole-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.pole-amount {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
}

.pole-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Fairness band (green / yellow / red) -------------------------------- */

.fairness-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 32px;
}

.fairness-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.fairness-sub {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 70ch;
}

.fairness-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 26px;
  max-width: 340px;
}

.fairness-currency {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
}

.fairness-input { margin: 0; }

.fairness-track-wrapper { margin-bottom: 18px; }

/* Zone widths map to ratio bounds 0.55 -> 1.30. Keep in step with
   FAIRNESS_SCALE and FAIRNESS_THRESHOLDS in the JS. */
.fairness-track {
  position: relative;
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

/* Muted enamel tones rather than traffic-light saturation. */
.fairness-zone { display: block; height: 100%; }
.fairness-zone.zone-red    { background: rgba(239, 68, 68, 0.38); }
.fairness-zone.zone-yellow { background: rgba(245, 158, 11, 0.36); }
.fairness-zone.zone-green  { background: rgba(16, 185, 129, 0.42); }

.fairness-track .zone-red:first-child { width: 20%; }
.fairness-track .zone-yellow:nth-child(2) { width: 20%; }
.fairness-track .zone-green { width: 30.67%; }
.fairness-track .zone-yellow:nth-child(4) { width: 9.33%; }
.fairness-track .zone-red:last-of-type { width: 20%; }

.fairness-pin {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: var(--text-primary);
  box-shadow: 0 0 0 2px var(--bg-surface), 0 2px 8px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
  transition: left 0.25s ease;
  display: none;
}

.fairness-scale {
  display: flex;
  margin-top: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.fairness-scale span:nth-child(1) { width: 20%; }
.fairness-scale span:nth-child(2) { width: 20%; }
.fairness-scale span:nth-child(3) { width: 30.67%; text-align: center; }
.fairness-scale span:nth-child(4) { width: 9.33%; }
.fairness-scale span:nth-child(5) { width: 20%; text-align: right; }

.fairness-verdict {
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.4em;
}

.fairness-verdict.verdict-green  { color: var(--emerald); }
.fairness-verdict.verdict-yellow { color: var(--amber); }
.fairness-verdict.verdict-red    { color: var(--rose); }

/* --- Transparency panel -------------------------------------------------- */

.transparency-panel {
  background: linear-gradient(160deg, rgba(183, 190, 201, 0.06), transparent 70%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 26px;
}

.transparency-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.transparency-figure {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-primary);
  line-height: 1.1;
}

.transparency-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.transparency-body {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.transparency-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* --- Video gate ---------------------------------------------------------- */

.video-gate { margin-bottom: 28px; }

.video-gate-intro {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.video-gate-note {
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Off-screen rather than display:none — some bots skip fields that are not rendered. */
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-light);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at 50% 45%, rgba(183, 190, 201, 0.12), transparent 60%);
}

.video-play-icon {
  font-size: 2rem;
  color: var(--accent-primary);
}

.video-placeholder-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.video-placeholder-note {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --- Lead form ----------------------------------------------------------- */

.lead-summary {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}

.lead-summary-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.lead-summary-list { list-style: none; }

.lead-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.lead-summary-list li:last-child { border-bottom: none; }
.lead-summary-list span { color: var(--text-muted); }

.lead-success {
  text-align: center;
  padding: 40px 20px;
}

.lead-success-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--bg-obsidian);
  background: var(--accent-gradient);
}

.lead-success h3 { font-size: 1.8rem; margin-bottom: 8px; }
.lead-success p { color: var(--text-secondary); }

/* --- Footer disclaimer --------------------------------------------------- */

.disclaimer {
  max-width: 70ch;
  margin: 32px auto 60px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .poles-grid,
  .transparency-grid {
    grid-template-columns: 1fr;
  }

  .report-market-value {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .form-grid-two { grid-template-columns: 1fr; }
  .report-market-number { font-size: 2.1rem; }
  .fairness-scale { font-size: 0.6rem; }
  .step-label { display: none; }
}

/* --- Quote CTA (placed at peak intent, directly under the numbers) -------- */

.quote-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 26px;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  background: linear-gradient(135deg, rgba(183, 190, 201, 0.13), rgba(183, 190, 201, 0.03) 60%), var(--bg-surface);
  box-shadow: var(--accent-shadow);
}

.quote-cta-body {
  flex: 1 1 320px;
  min-width: 0;
}

.quote-cta-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.quote-cta-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 62ch;
}

.quote-cta-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 1rem;
  padding: 15px 30px;
}

@media (max-width: 640px) {
  .quote-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .quote-cta-btn { width: 100%; }
}

/* Year is optional and secondary — a half-width slot reads that way. */
.form-group-narrow {
  max-width: 220px;
}

/* The "can't identify it" escape hatch — visually distinct from a real match. */
.typeahead-item-notfound {
  background: rgba(183, 190, 201, 0.06);
  border-top: 1px solid var(--border-accent);
}

.typeahead-item-notfound .typeahead-model {
  color: var(--accent-primary);
}

.form-hint.hint-notfound {
  color: var(--accent-primary);
}

/* Contact Link in Navbar */
.nav-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-contact-link svg,
.footer-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent-primary);
  flex-shrink: 0;
}

.footer-icon {
  display: inline-flex;
  margin-top: 3px;
}
.nav-contact-link:hover {
  color: var(--accent-primary);
}

/* Footer Styling */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
}

.footer-icon {
  font-size: 1.2rem;
}

.footer-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
