@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy: #1B2A4A;
  --navy-light: #2D4A6F;
  --navy-dark: #0F1B30;
  --gold: #C5963A;
  --gold-hover: #B38530;
  --gold-light: #F5ECD7;
  --bg: #F0F2F5;
  --white: #FFFFFF;
  --text: #1B2A4A;
  --text-muted: #6B7B8D;
  --text-light: #94A3B8;
  --border: #E2E5EA;
  --border-light: #F0F2F5;
  --green: #2E7D5B;
  --green-light: #E8F5EE;
  --amber: #C5963A;
  --card-radius: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(27,42,74,.06);
  --shadow: 0 4px 12px rgba(27,42,74,.08);
  --shadow-lg: 0 12px 32px rgba(27,42,74,.12);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 18px; /* Increased from 16px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }

/* ═══════════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════════ */

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* All screens share the card style */
.card,
.footer-card {
  width: 100%;
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   1. LANDING PAGE CARD
   ═══════════════════════════════════════════ */

#landing-card {
  max-height: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════
   5. RESULTS CARD — scoped overrides
   ═══════════════════════════════════════════ */

#results-card {
  background: var(--bg);
  min-height: 100vh;
}

#results-card .card-header {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

/* Pill buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px; /* Increased from 14px */
  cursor: pointer;
  border: none;
  transition: all .2s;
  gap: 8px;
}

.pill-navy {
  background: var(--navy);
  color: var(--white);
}
.pill-navy:hover { background: var(--navy-light) }

.pill-navy-sm {
  background: var(--navy);
  color: var(--white);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}
.pill-navy-sm:hover { background: var(--navy-light) }

.pill-navy-md {
  background: var(--navy);
  color: var(--white);
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
}
.pill-navy-md:hover { background: var(--navy-light) }

.header-download {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.4s ease-out;
}

.header-download-text {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: calc(100vh - 128px);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  padding: 30px 40px;
  background: linear-gradient(to bottom, rgba(15, 27, 48, 0.85) 0%, rgba(15, 27, 48, 0.35) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.hero-logo {
  position: absolute;
  top: 65px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-text-content {
  padding-top: 35px;
}

.hero-overlay .cta-wide {
  align-self: center;
  font-size: 30px;
  padding: 30px 72px;
  box-shadow: 0 8px 24px rgba(197, 150, 58, 0.4);
}

.hero-overlay .cta-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(197, 150, 58, 0.5);
}

.hero-headline {
  color: var(--white);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 800px;
}

.hero-accent {
  color: var(--gold);
  font-weight: 700;
}

.hero-body {
  color: rgba(255,255,255,.9);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0;
  max-width: 600px;
}

.cta-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 20px; /* Increased from 16px */
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(197,150,58,.3);
}
.cta-amber:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.cta-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(27,42,74,.3);
}
.cta-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}


.cta-wide {
  width: fit-content;
  padding: 20px 48px; /* More horizontal padding for a premium feel */
}

/* Trust Badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  gap: 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px; /* Increased from 12px */
  font-weight: 500;
  color: var(--text-muted);
  flex: 1;
  justify-content: center;
}

.badge-icon {
  width: 20px; /* Increased from 16px */
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 12px;
}


/* ═══════════════════════════════════════════
   2. FORM FLOW CARD
   ═══════════════════════════════════════════ */

#form-card {
  min-height: 100vh;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  background: var(--bg);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
}

.form-card-inner {
  background: var(--white);
  border-radius: var(--card-radius);
  max-width: 800px; /* Increased from 480px */
  width: 100%;
  padding: 40px 40px 48px; /* Increased padding */
  position: relative;
}

/* Step Progress Indicator */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.step-dot {
  width: 40px; /* Increased from 28px */
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; /* Increased from 12px */
  font-weight: 700;
  flex-shrink: 0;
  transition: all .3s;
}

.step-dot.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.1);
}

.step-dot.done {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  max-width: 24px;
  margin: 0 4px;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.close-btn:hover { color: var(--navy); background: var(--border-light) }

/* Step question */
.step-question {
  font-size: 32px; /* Increased from 22px */
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.step-subtitle {
  font-size: 18px; /* Increased from 14px */
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}

/* Form elements */
.form-group { margin-bottom: 16px }
.form-group-spacer { margin-top: 8px }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 16px; /* Increased from 13px */
  color: var(--navy);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 18px; /* Increased from 12px 14px */
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 18px; /* Increased from 14px */
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: all .2s;
}

/* Hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] { -moz-appearance: textfield; }
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}
.form-textarea { resize: vertical; min-height: 80px }

.error-msg {
  color: #D32F2F;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  display: none;
  line-height: 1.4;
}

.error-msg.visible {
  display: block;
}

.form-input.error {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211,47,47,.1);
}

.gdpr-error {
  color: #D32F2F;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.4;
}

.submit-error-banner {
  background: #FFF3F3;
  border: 1px solid #FED7D7;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #C53030;
  line-height: 1.5;
}

/* Loading error block (shown on pipeline / polling failures) */
.loading-error-block {
  text-align: center;
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border: 1px solid #FED7D7;
  border-radius: var(--radius);
  animation: fadeIn 0.3s ease-out;
}

.loading-error-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: #C53030;
}

.loading-error-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.loading-error-advice {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.loading-error-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.loading-error-actions .btn-navy-pill {
  max-width: 260px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Radio tiles (goals) */
.radio-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-tile {
  padding: 18px 16px; /* Increased from 14px 12px */
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px; /* Increased from 13px */
  text-align: center;
  transition: all .2s;
}
.radio-tile:hover { border-color: var(--text-light) }
.radio-tile input { position: absolute; opacity: 0; pointer-events: none }
.radio-tile:has(input:checked) {
  border-color: var(--navy);
  background: rgba(27,42,74,.04);
  color: var(--navy);
}

/* Vertical choice button group */
.btn-group-vert {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
  position: relative;
}

.btn-choice:last-child {
  border-bottom: none;
}

.btn-choice:hover {
  background: var(--bg);
}

.btn-choice::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all .15s;
}

.btn-choice.selected {
  background: rgba(27,42,74,0.04);
  color: var(--navy);
  font-weight: 700;
}

.btn-choice.selected::after {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: inset 0 0 0 4px var(--white);
}

/* Region grid — 1 column stack (panoramic mode) */
.region-grid-col1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.region-grid-col1 .region-img {
  height: 160px;
}

/* Region grid — 2 columns (3 + 2 layout with Egal spanning full width) */
.region-grid-col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.region-grid-col2 .region-img {
  height: 120px;
}

.region-tile-wide {
  grid-column: 1 / -1; /* spans full row */
}

.region-egal-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  height: 80px !important;
}

/* Region grid — 2 columns, up to 3 rows (legacy) */
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.region-tile {
  position: relative;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
}
.region-tile:hover { transform: translateY(-1px); box-shadow: var(--shadow) }
.region-tile.selected { border-color: var(--gold) }
.region-tile input { position: absolute; opacity: 0 }

.region-img {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.region-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-img img.pos-bottom {
  object-position: bottom;
}

.region-img img.pos-top {
  object-position: top;
}

.region-img.region-placeholder {
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.region-placeholder-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
}

.region-check-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.region-tile.selected .region-check-badge { opacity: 1 }
.region-check-badge svg { width: 12px; height: 12px }

.region-name {
  display: block;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 16px; /* Increased from 13px */
  color: var(--navy);
}

/* Form navigation */
.form-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.btn-navy-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.btn-navy-pill:hover { background: var(--navy-light) }
.btn-navy-pill:disabled { opacity: .5; cursor: not-allowed }

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}
.back-link:hover { color: var(--navy) }

.card-header .back-link {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
}
.card-header .back-link:hover {
  background: var(--bg);
}

/* GDPR accept-all section */
.gdpr-section {
  margin-top: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* Accept-all row — styled like a gdpr-row but with a fake checkbox */
.gdpr-accept-all-row {
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 0;
  border-radius: 0;
  background: rgba(27,42,74,0.04) !important;
}

.gdpr-section .gdpr-row {
  border-radius: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--border-light);
}

.gdpr-section .gdpr-row:last-child {
  border-bottom: none;
}


/* GDPR row */
.gdpr-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(27,42,74,0.02);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  cursor: pointer;
}
.gdpr-row:hover {
  background: rgba(27,42,74,0.04);
}
.gdpr-row input[type="checkbox"] {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.gdpr-row label {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

/* ═══════════════════════════════════════════
   3. PAYWALL / PRICING CARD
   ═══════════════════════════════════════════ */

#pricing-card {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#pricing-card .card-header {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.pricing-content {
  flex: 1;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.pricing-headline {
  font-size: 32px; /* Increased from 24px */
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.2;
}

.pricing-sub {
  font-size: 18px; /* Increased from 14px */
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all .2s;
}

.price-card.basic {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow);
}

.price-card.premium {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.premium-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.crown-icon {
  width: 12px;
  height: 12px;
}

.price-label {
  font-size: 16px; /* Increased from 13px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 12px;
}

.price-amount {
  font-size: 48px; /* Increased from 36px */
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1;
}
.price-amount sup { font-size: 18px; vertical-align: top }
.price-amount span { font-size: 22px }

.price-features {
  list-style: none;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px; /* Increased from 12px */
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
}

.feature-check {
  width: 14px;
  height: 14px;
  color: var(--navy);
  flex-shrink: 0;
}

.feature-check-gold { color: var(--gold) }

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-outline-pill:hover { background: var(--bg) }

.btn-amber-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.btn-amber-pill:hover { background: var(--gold-hover) }

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

.security-badge {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lock-small {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════
   4. POST-PAY / LOADING CARD & ZERO RESULTS
   ═══════════════════════════════════════════ */

#loading-card,
#scanning-card,
#zero-results-card {
  position: fixed;
  inset: 0;
  z-index: 1000;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  background: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.loading-content {
  text-align: center;
  max-width: 480px; /* Increased from 360px to be bigger */
  width: 100%;
  background: var(--white);
  padding: 56px 40px; /* Increased padding */
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
}

.doc-icon {
  width: 96px;
  height: 96px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.doc-icon svg {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
}

.loading-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.loading-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Progress bar */
.progress-bar-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.progress-track {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  border-radius: 5px;
  transition: width .3s ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
}

.progress-label-left { color: var(--text-light) }
.progress-label-right { color: var(--gold) }

.loading-timer {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   5. RESULT PREVIEW CARD
   ═══════════════════════════════════════════ */

.results-content {
  padding: 0 24px 48px;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

/* Analysis ready header */
.analysis-ready {
  text-align: center;
  padding: 24px 0 24px;
}

.sparkle-star {
  display: block;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 8px;
}

.analysis-ready-title {
  font-size: 32px; /* Increased from 22px */
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.analysis-ready-sub {
  font-size: 18px; /* Increased from 14px */
  color: var(--text-muted);
}

/* Tier badge row */
.tier-badge-row {
  margin-top: 10px;
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.tier-badge.tier-free {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tier-badge.tier-basic {
  background: rgba(27,42,74,.07);
  color: var(--navy);
  border: 1px solid var(--navy);
}
.tier-badge.tier-premium {
  background: linear-gradient(135deg, var(--gold-light), #fff8ec);
  color: var(--gold);
  border: 1px solid var(--gold);
}

/* White card wrapping the property results list */
.results-inner {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

/* Premium tier — gold-accented container */
.results-inner.tier-premium {
  border: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(197,150,58,.15);
}

/* CTA block below the results card */
.results-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-bottom: 8px;
}

/* Top match card */
.top-match-card {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.top-match-img {
  position: relative;
  height: 320px; /* Increased from 220px */
  overflow: hidden;
  background-color: #e5e7eb;
}

.top-match-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 17, 40, 0.5);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.2s ease;
  opacity: 0;
}
.top-match-img:hover .carousel-btn {
  opacity: 0.8;
}
.carousel-btn:hover {
  background: rgba(10, 17, 40, 0.85);
  transform: translateY(-50%) scale(1.1);
  opacity: 1 !important;
}
.carousel-btn.prev-btn {
  left: 14px;
}
.carousel-btn.next-btn {
  right: 14px;
}

.top-match-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: var(--white);
  padding: 6px 16px;
  font-size: 13px; /* Increased from 10px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  z-index: 2;
}

.deal-score-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,.97);
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--ds-color, var(--navy));
}

/* Score ring SVG container */
.ds-ring-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.ds-ring-wrap svg {
  width: 54px;
  height: 54px;
  transform: rotate(-90deg);
}
.ds-ring-track {
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 4;
}
.ds-ring-fill {
  fill: none;
  stroke: var(--ds-color, var(--navy));
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1);
}
.ds-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--ds-color, var(--navy));
  line-height: 1;
}

.ds-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.ds-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.ds-score {
  font-size: 26px;
  font-weight: 800;
  color: var(--ds-color, var(--navy));
  line-height: 1;
}
.ds-score span { font-size: 13px; font-weight: 600; color: var(--text-muted) }

.ds-verdict {
  font-size: 10px;
  font-weight: 600;
  color: var(--ds-color, var(--text-muted));
  white-space: nowrap;
}

.top-match-info {
  padding: 20px 20px 16px;
}

.tm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.tm-id {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.tm-name {
  font-size: 22px; /* Increased from 16px */
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.tm-loc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tm-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

/* Blurred results */
.blurred-results {
  display: flex;
  flex-direction: column;
  gap: 0;
  filter: blur(6px);
  opacity: .3;
  pointer-events: none;
  user-select: none;
  position: relative;
}

/* Additional unlocked property cards (BASIC/PREMIUM) */
.property-card {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  transition: background .2s;
  cursor: pointer;
}
.property-card:hover {
  background: var(--border-light);
}

.property-card-img {
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #e5e7eb;
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.property-card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.property-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.property-card-loc {
  font-size: 13px;
  color: var(--text-muted);
}
.property-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.property-card-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
}
.score-pill-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* TOP PICK badge (PREMIUM) */
.top-pick-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--gold), #e8b84b);
  color: var(--white);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 100px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(197,150,58,.4);
  display: flex;
  align-items: center;
  gap: 5px;
}

.blurred-card {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 20px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blurred-inner {
  flex: 1;
  pointer-events: none;
}

.lock-badge-blur {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.more-properties {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.price-anchoring {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}


/* ═══════════════════════════════════════════
   6. EMAIL PREVIEW CARD
   ═══════════════════════════════════════════ */

.email-card-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  max-width: 800px; /* Increased from 600px */
}

.email-content {
  padding: 24px;
}

.email-headline {
  font-size: 30px; /* Increased from 22px */
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.email-body-text {
  font-size: 18px; /* Increased from 14px */
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.email-closing {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 20px;
}

.email-footer {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.email-footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.email-photo {
  overflow: hidden;
}

.email-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}


/* ═══════════════════════════════════════════
   7. PDF REPORT PREVIEW CARD
   ═══════════════════════════════════════════ */

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

.pdf-date {
  text-align: right;
}

.pdf-date-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pdf-date-value {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.pdf-content {
  padding: 24px;
}

.pdf-title {
  font-size: 28px; /* Increased from 20px */
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.pdf-subtitle {
  font-size: 18px; /* Increased from 14px */
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}

/* Criteria chips */
.criteria-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.criteria-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px; /* Increased from 11px */
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.criteria-chip svg { flex-shrink: 0 }

/* PDF Table */
.pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.pdf-table thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: left;
  padding: 8px 6px;
  border-bottom: 2px solid var(--border);
}

.pdf-table tbody td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--border-light);
  font-size: 16px; /* Increased from 13px */
  vertical-align: middle;
}

.pdf-table tbody tr:last-child td { border-bottom: none }

.pdf-tbl-prop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-tbl-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.pdf-tbl-id {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.pdf-tbl-name {
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
}

.pdf-tbl-price { font-weight: 600; color: var(--navy) }
.pdf-tbl-score { font-weight: 700; color: var(--navy) }

.rating-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.rating-green {
  background: var(--green-light);
  color: var(--green);
}

.rating-amber {
  background: var(--gold-light);
  color: var(--gold);
}

.pdf-footer-note {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}


/* ═══════════════════════════════════════════
   8. FOOTER CARD (PDF CTA + LOCK-IN)
   ═══════════════════════════════════════════ */

.footer-card {
  margin-top: 20px;
  background: transparent;
  box-shadow: none;
  max-width: 1000px; /* Increased from 480px */
}

.footer-cta-block {
  background: var(--navy-dark);
  padding: 48px 32px;
  text-align: center;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.footer-house-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-house-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.footer-headline {
  font-size: 30px; /* Increased from 22px */
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.footer-sub {
  font-size: 18px; /* Increased from 14px */
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  line-height: 1.5;
}

.response-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 20px;
}

/* Lock-in notice */
.lock-in-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg);
  padding: 20px 24px;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}

.lock-in-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-in-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.lock-in-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.lock-in-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════
   FORM STEP VISIBILITY (JS toggles this)
   ═══════════════════════════════════════════ */

.form-step { display: none }
.form-step.active { display: block; animation: fadeSlide .3s ease }

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


/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 768px)
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  html, body {
    background: var(--white) !important;
    background-color: var(--white) !important;
  }

  body {
    font-size: 16px;
    padding: 0;
  }

  .card, .footer-card {
    border-radius: 0;
    max-width: 100%;
    box-shadow: none;
  }

  /* ── Landing Hero ── */
  .hero-image {
    object-position: 25% center; /* show center-left of Budapest night */
  }

  .hero-overlay {
    padding: 24px;
    gap: 20px;
  }

  .hero-logo {
    top: 79px;
    right: 24px;
  }

  .hero-text-content {
    padding-top: 55px;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-body {
    font-size: 17px;
  }

  .cta-wide {
    width: 100%;
    max-width: 360px;
    padding: 16px 32px;
    font-size: 18px;
    text-align: center;
  }

  .hero-overlay .cta-wide {
    font-size: 24px;
    padding: 22px 48px;
    box-shadow: 0 6px 18px rgba(197, 150, 58, 0.35);
  }

  .hero-overlay .cta-wide:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 22px rgba(197, 150, 58, 0.4);
  }

  /* ── Trust Badges ── */
  .trust-badges {
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
  }

  .trust-badge {
    justify-content: flex-start;
    width: 100%;
    max-width: 280px;
  }

  .trust-divider {
    display: none;
  }

  /* ── Form ── */
  .form-card-inner {
    max-width: 100%;
    padding: 28px 20px 36px;
    border-radius: 0;
    box-shadow: none;
  }

  #form-card {
    padding: 0;
    background: var(--white) !important;
    background-color: var(--white) !important;
  }

  .step-question {
    font-size: 26px;
  }

  .step-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .step-dot {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

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

  .region-grid-col1 .region-img {
    height: 130px;
  }

  /* ── Pricing ── */
  .pricing-content {
    padding: 32px 16px;
  }

  .pricing-headline {
    font-size: 26px;
  }

  .pricing-sub {
    font-size: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 16px;
  }

  /* ── Results ── */
  .analysis-ready-title {
    font-size: 26px;
  }

  .analysis-ready-sub {
    font-size: 16px;
  }

  .results-content {
    padding: 0 16px 32px;
  }

  #results-card {
    background: var(--white) !important;
    background-color: var(--white) !important;
  }

  #results-card .card-header {
    padding: 16px;
  }

  .top-match-img {
    height: 240px;
  }

  .tm-name {
    font-size: 18px;
  }

  .tm-price {
    font-size: 20px;
  }

  .top-match-info {
    padding: 16px;
  }

  .property-card {
    grid-template-columns: 100px 1fr;
  }

  .property-card-body {
    padding: 12px 14px;
  }

  .property-card-name {
    font-size: 14px;
  }

  .property-card-price {
    font-size: 16px;
  }

  /* ── Header download area ── */
  .header-download-text {
    display: none;
  }

  /* ── Email ── */
  .email-card-layout {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .email-headline {
    font-size: 24px;
  }

  .email-body-text {
    font-size: 16px;
  }

  .email-photo {
    height: 200px;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
  }

  .email-footer {
    flex-direction: column;
    gap: 10px;
  }

  /* ── Footer ── */
  .footer-card {
    max-width: 100%;
  }

  .footer-cta-block {
    padding: 36px 20px;
  }

  .footer-headline {
    font-size: 24px;
  }

  .footer-sub {
    font-size: 16px;
  }

  .lock-in-notice {
    padding: 16px 20px;
    gap: 12px;
  }

  /* ── PDF Table ── */
  .pdf-table { font-size: 13px }
  .pdf-table thead th { font-size: 10px }
  .pdf-tbl-img { width: 36px; height: 36px }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Phone (≤ 480px)
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {

  /* ── Landing Hero ── */
  .hero-section {
    min-height: max(600px, calc(100dvh - 55px));
  }

  .hero-image {
    object-position: 25% center;
  }

  .hero-overlay {
    align-items: flex-start;
    padding: 24px 18px 32px;
    gap: 0;
  }

  .hero-logo {
    top: 24px;
    right: 18px;
  }

  .hero-logo img.logo-image {
    height: 48px !important;
  }

  .hero-text-content {
    padding-top: 0;
    text-align: left;
    padding-right: 90px;
  }

  .hero-headline {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero-body {
    font-size: 15px;
    line-height: 1.5;
  }

  .cta-wide {
    padding: 14px 24px;
    font-size: 16px;
    border-radius: var(--radius);
  }

  .hero-overlay .cta-wide {
    font-size: 20px;
    padding: 16px 28px;
    box-shadow: 0 4px 12px rgba(197, 150, 58, 0.3);
  }

  .hero-overlay .cta-wide:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(197, 150, 58, 0.35);
  }

  /* ── Trust Badges ── */
  .trust-badge {
    font-size: 13px;
    gap: 8px;
  }

  .badge-icon {
    width: 18px;
    height: 18px;
  }

  /* ── Card Header ── */
  .card-header {
    padding: 14px 16px;
  }

  .logo-image {
    height: 48px !important;
  }

  .card-header .back-link {
    font-size: 14px;
    padding: 6px 12px;
  }

  /* ── Form ── */
  #form-card {
    padding: 8px 4px;
  }

  .form-card-inner {
    padding: 20px 16px 28px;
    border-radius: var(--radius-sm);
  }

  .step-question {
    font-size: 22px;
  }

  .step-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .step-dot {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .step-line {
    max-width: 16px;
    margin: 0 2px;
  }

  .form-input {
    padding: 14px 14px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .form-group label {
    font-size: 14px;
  }

  .radio-tile {
    padding: 14px 12px;
    font-size: 14px;
  }

  .radio-tile-grid {
    gap: 8px;
  }

  .btn-choice {
    padding: 12px 14px;
    font-size: 14px;
  }

  .region-grid-col1 .region-img {
    height: 110px;
  }

  .region-name {
    font-size: 14px;
    padding: 10px 8px;
  }

  .gdpr-row {
    padding: 10px 12px;
    gap: 10px;
  }

  .gdpr-row label {
    font-size: 13px;
  }

  .gdpr-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .btn-navy-pill {
    padding: 12px 20px;
    font-size: 14px;
  }

  .form-nav {
    margin-top: 24px;
  }

  /* ── Pricing ── */
  .pricing-content {
    padding: 24px 12px;
  }

  .pricing-headline {
    font-size: 22px;
  }

  .pricing-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .pricing-grid {
    max-width: 100%;
    gap: 12px;
  }

  .price-card {
    padding: 18px 12px;
  }

  .price-amount {
    font-size: 40px;
    margin-bottom: 18px;
  }

  .price-feature {
    font-size: 13px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .security-badge {
    font-size: 11px;
    margin-top: 16px;
  }

  /* ── Loading ── */
  .loading-content {
    padding: 36px 24px;
  }

  .doc-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
  }

  .doc-icon svg {
    width: 28px;
    height: 28px;
  }

  .loading-headline {
    font-size: 18px;
  }

  /* ── Results ── */
  .results-content {
    padding: 0 12px 24px;
  }

  .analysis-ready {
    padding: 16px 0 16px;
  }

  .analysis-ready-title {
    font-size: 22px;
  }

  .analysis-ready-sub {
    font-size: 15px;
  }

  .top-match-img {
    height: 200px;
  }

  .top-match-badge {
    padding: 5px 12px;
    font-size: 11px;
  }

  .deal-score-overlay {
    padding: 8px 10px 8px 8px;
    gap: 7px;
    border-left-width: 3px;
  }

  .ds-ring-wrap,
  .ds-ring-wrap svg {
    width: 44px;
    height: 44px;
  }

  .ds-ring-num {
    font-size: 12px;
  }

  .ds-score {
    font-size: 20px;
  }

  .ds-verdict {
    font-size: 9px;
  }

  .top-match-info {
    padding: 14px;
  }

  .tm-row {
    flex-direction: column;
    gap: 6px;
  }

  .tm-name {
    font-size: 17px;
  }

  .tm-price {
    font-size: 18px;
    align-self: flex-start;
  }

  .property-card {
    grid-template-columns: 80px 1fr;
  }

  .property-card-img {
    height: 80px;
  }

  .property-card-body {
    padding: 10px 12px;
  }

  .property-card-row {
    flex-direction: column;
    gap: 4px;
  }

  .property-card-name {
    font-size: 14px;
  }

  .property-card-loc {
    font-size: 12px;
  }

  .property-card-price {
    font-size: 15px;
  }

  .property-card-score {
    font-size: 11px;
  }

  .blurred-card {
    padding: 14px 14px;
  }

  .more-properties {
    font-size: 13px;
    padding: 12px 14px;
  }

  /* Carousel controls — always visible on touch devices */
  .carousel-btn {
    opacity: 0.7;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .carousel-btn.prev-btn {
    left: 10px;
  }

  .carousel-btn.next-btn {
    right: 10px;
  }

  /* ── Email ── */
  .email-content {
    padding: 18px 16px;
  }

  .email-headline {
    font-size: 22px;
  }

  .email-body-text {
    font-size: 15px;
  }

  .email-photo {
    height: 160px;
  }

  .email-closing {
    font-size: 12px;
  }

  /* ── Footer ── */
  .footer-cta-block {
    padding: 28px 16px;
  }

  .footer-headline {
    font-size: 20px;
  }

  .footer-sub {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .btn-amber-pill-lg {
    padding: 14px 20px;
    font-size: 14px;
  }

  .footer-house-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .footer-house-icon svg {
    width: 28px;
    height: 28px;
  }

  .lock-in-notice {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }

  .lock-in-title {
    font-size: 14px;
  }

  .lock-in-text {
    font-size: 12px;
  }

  /* ── PDF Table ── */
  .pdf-table {
    font-size: 11px;
  }

  .pdf-table thead th {
    font-size: 9px;
    padding: 6px 4px;
  }

  .pdf-table tbody td {
    padding: 10px 4px;
    font-size: 13px;
  }

  .pdf-tbl-img {
    width: 32px;
    height: 32px;
  }

  .pdf-title {
    font-size: 22px;
  }

  .pdf-subtitle {
    font-size: 15px;
  }

  .criteria-chip {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ═══════════════════════════════════════════
   RESULTS — Bottom PDF Download Button (Task 4)
   ═══════════════════════════════════════════ */

.results-pdf-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 32px;
  gap: 0;
}

.results-pdf-bottom-btn {
  font-size: 18px;
  padding: 18px 48px;
  gap: 10px;
  min-width: 260px;
}

/* Nord-Ungarn placeholder styling */
.region-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fe 0%, #c7d7f8 100%);
}

/* ═══════════════════════════════════════════
   TASK 7: CTA — Bottom-center on phone/fold
   ═══════════════════════════════════════════ */

/* On mobile: hero overlay becomes column layout,
   text on top, CTA pinned to bottom-center */
@media (max-width: 600px) {
  .hero-section {
    min-height: max(600px, calc(100dvh - 55px));
  }

  .hero-overlay {
    align-items: flex-start;
    padding: 24px 20px 32px;
    gap: 0;
  }

  .hero-logo {
    top: 24px;
    right: 20px;
  }

  .hero-logo img.logo-image {
    height: 60px !important;
  }

  .hero-text-content {
    padding-top: 0;
    text-align: left;
    width: 100%;
    padding-right: 110px;
  }

  .hero-headline {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .hero-body {
    font-size: 15px;
    margin-bottom: 0;
  }

  .cta-wide {
    width: 100%;
    max-width: 360px;
    padding: 16px 24px;
    font-size: 17px;
    text-align: center;
    margin-top: 0;
  }

  .hero-overlay .cta-wide {
    font-size: 22px;
    padding: 18px 36px;
    box-shadow: 0 5px 15px rgba(197, 150, 58, 0.35);
  }

  .hero-overlay .cta-wide:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(197, 150, 58, 0.4);
  }
}

/* Galaxy Z Fold and very narrow phones (≤ 390px) */
@media (max-width: 390px) {
  .hero-section {
    min-height: max(550px, calc(100dvh - 55px));
  }

  .hero-headline {
    font-size: 26px;
  }

  .hero-body {
    font-size: 14px;
  }

  .cta-wide {
    font-size: 15px;
    padding: 14px 20px;
  }

  .hero-overlay .cta-wide {
    font-size: 17px;
    padding: 14px 22px;
    box-shadow: 0 4px 10px rgba(197, 150, 58, 0.3);
  }

  .hero-overlay .cta-wide:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(197, 150, 58, 0.35);
  }

  /* Form scroll fix on fold removed, using native scroll */

  .form-card-inner {
    /* Ensure inner content has space below keyboard */
    padding-bottom: 60px;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
  margin-bottom: 12px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}


/* ═══════════════════════════════════════════
   NEW CONTENT BLOCKS — v2
   ═══════════════════════════════════════════ */

/* ── Hero Tagline (below hero image) ── */
.hero-tagline-section {
  background: var(--navy);
  padding: 20px 32px;
}
.hero-tagline-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-tagline-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.hero-tagline-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-tagline-sub { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ── Why HomeGuru Section ── */
.landing-why-section { padding: 48px 32px; background: var(--white); border-top: 1px solid var(--border); }
.landing-section-title { font-size: 28px; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 28px; }
.landing-checklist {
  list-style: none; max-width: 560px; margin: 0 auto 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.landing-checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--navy); }
.check-icon { font-size: 18px; flex-shrink: 0; }
.landing-why-cta-text { text-align: center; font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 0.2px; margin-top: 8px; }

/* ── How It Works Section ── */
.landing-how-section {
  padding: 48px 32px; background: var(--bg); border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.how-steps {
  display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap;
  justify-content: center; max-width: 760px; width: 100%;
}
.how-step { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 140px; text-align: center; }
.how-step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.how-step-text { font-size: 14px; color: var(--navy); font-weight: 500; line-height: 1.4; }
.how-step-arrow { font-size: 22px; color: var(--gold); font-weight: 700; align-self: center; padding-top: 2px; }
.landing-how-cta { padding: 16px 40px; font-size: 17px; }

/* ── Pre-Pricing Section ── */
.pre-pricing-section {
  padding: 40px 32px 0; display: flex; flex-direction: column; gap: 24px;
  max-width: 680px; margin: 0 auto; width: 100%;
}
.pre-pricing-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pre-pricing-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.pre-pricing-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pre-pricing-checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.pp-check { font-size: 15px; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pre-pricing-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.pre-pricing-bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pre-pricing-bullets li { font-size: 14px; color: var(--text); line-height: 1.4; }
.pre-pricing-bold { font-size: 14px; font-weight: 700; color: var(--navy); }
.pre-pricing-highlight { background: var(--navy); border-color: var(--navy); }
.pre-pricing-speed-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pre-pricing-speed-text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* ── Deal Score Collapsible ── */
.deal-score-why { max-width: 680px; margin: 0 auto; width: 100%; padding: 8px 16px 0; }
.deal-score-why-toggle {
  width: 100%; display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; font-family: var(--font); font-size: 14px; font-weight: 600;
  color: var(--navy); cursor: pointer; text-align: left; transition: all .2s;
}
.deal-score-why-toggle:hover { border-color: var(--gold); background: var(--gold-light); }
.why-chevron { margin-left: auto; transition: transform .25s; flex-shrink: 0; }
.why-chevron.open { transform: rotate(180deg); }
.deal-score-why-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.deal-score-why-body.open { max-height: 600px; }
.deal-score-reasons { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 10px 0 4px; }
.deal-score-reasons li {
  display: grid; grid-template-columns: 110px min-content 1fr; gap: 12px; align-items: start;
  font-size: 13px; color: var(--text); line-height: 1.45;
  padding: 12px 16px; background: var(--white);
  border-radius: var(--radius-sm); border: 1px solid var(--border-light);
}
.ds-reason-label { font-weight: 700; color: var(--navy); white-space: nowrap; padding-top: 1px; }
.ds-reason-score {
  font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 100px;
  white-space: nowrap; align-self: start; margin-top: 1px;
}
.ds-score-green { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.ds-score-gold { background: rgba(197, 150, 58, 0.15); color: #C5963A; }
.ds-score-red { background: rgba(239, 68, 68, 0.15); color: #EF4444; }

/* ── HomeGuru Einschätzung Block ── */
.hg-insight-block { max-width: 680px; margin: 24px auto; width: 100%; padding: 0 20px; }
.hg-insight-label {
  display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px;
}
.hg-insight-star { font-size: 14px; }
.hg-insight-text {
  font-size: 14px; color: var(--text); line-height: 1.6;
  background: var(--gold-light); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 12px 16px;
}

/* ── Free Upsell Block ── */
.free-upsell-block { max-width: 680px; margin: 0 auto 4px; width: 100%; padding: 12px 16px 0; }
.free-upsell-header { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.free-upsell-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.free-upsell-list {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
}
.free-upsell-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); font-weight: 500; }
.fu-check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── Results Trust Block ── */
.results-trust-block {
  max-width: 680px; margin: 0 auto; width: 100%;
  padding: 32px 24px 40px; background: var(--white); border-top: 1px solid var(--border);
}
.results-trust-headline { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.results-trust-body { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Results Badge Row ── */
.results-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; margin-bottom: 28px; }
.results-badge {
  display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: var(--navy); background: var(--bg); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px; white-space: nowrap;
}
.results-badge span { font-size: 15px; }


/* ── Mobile overrides for new blocks ── */
@media (max-width: 600px) {
  .how-steps { flex-direction: column; align-items: center; gap: 4px; }
  .how-step-arrow { transform: rotate(90deg); }
  .how-step { max-width: 100%; }
  .results-badge-row { gap: 6px; }
  .results-badge { font-size: 12px; padding: 5px 10px; }
  .landing-why-section, .landing-how-section { padding: 36px 20px; }
  .pre-pricing-section { padding: 24px 16px 0; }
  .hero-tagline-section { padding: 16px 20px; }
  .results-trust-block { padding: 24px 16px 32px; }
  .deal-score-why, .hg-insight-block, .free-upsell-block { padding-left: 14px; padding-right: 14px; }
}

/* Post-pricing trust blocks sit inside pricing-content — add top spacing */
.pricing-content .pre-pricing-section {
  padding-top: 32px;
  padding-bottom: 24px;
}

/* Mobile grid override for deal score reasons */
@media (max-width: 600px) {
  .deal-score-reasons li {
    grid-template-columns: 1fr auto;
    gap: 6px;
  }
  .deal-score-reasons li > span:last-child {
    grid-column: 1 / -1;
  }
}
