/* ==========================================================================
   HabitatReport — Environmental Property Scanner Styles
   Shared by /uk, /us, and / (Index)
   Unified Ponytail.dev Architecture • Lean, modular & cached
   ========================================================================== */

:root {
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --gold: #F59E0B;
}

:root {
    --green: #10B981;
    --amber: #F59E0B;
    --red: #EF4444;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 72px 0 48px;
  }
  .hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  @media (max-width: 640px) { h1 { font-size: 2.2rem; } }
  
  .hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
  }

  /* Search Card */
  .search-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 12px;
    max-width: 680px;
    margin: 0 auto 20px;
    display: flex;
    gap: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  }
  @media (max-width: 640px) { .search-box { flex-direction: column; } }
  
  .search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1rem;
    padding: 12px 16px;
    font-family: inherit;
  }
  .search-input:focus { outline: none; }
  .btn-search {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFF;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(45, 212, 191, 0.4);
    white-space: nowrap;
  }
  .btn-search:hover { background: #0284C7; }

  /* Full Address Form - AutoComplete */
  .addr-container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
  }
  .addr-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    display: none;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
  }
  .addr-option {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #E2E8F0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .addr-option:hover, .addr-option.active { background: rgba(45, 212, 191, 0.08); color: #FFF; }
  .addr-option .muted { color: #64748B; font-size: 0.78rem; margin-left: auto; white-space: nowrap; }
  .addr-option .emoji { font-size: 1rem; }

  /* Refinement Options */
  .refine-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 22px 24px;
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: left;
  }
  .refine-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 4px;
  }
  .refine-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
  }
  .refine-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .refine-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .refine-chip:hover { border-color: var(--accent); }
  .refine-chip.on {
    background: rgba(45, 212, 191, 0.28);
    border-color: #2DD4BF;
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35), inset 0 0 12px rgba(45, 212, 191, 0.15);
    color: #FFFFFF;
  }
  .refine-chip.on::after {
    content: '\2713';
    margin-left: auto;
    color: #2DD4BF;
    font-weight: 800;
  }
  .refine-chip .chip-emoji { font-size: 0.95rem; }

  /* Quick Pills */
  .quick-cities {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 64px;
  }
  .city-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #CBD5E1;
  }
  .city-chip:hover { border-color: var(--accent); color: #FFF; }

  /* Demo Results Box */
  #demo-results {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 64px;
    text-align: left;
    display: none;
    position: relative;
  }
  .result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .res-address { font-size: 1.4rem; font-weight: 800; color: #FFF; }
  .res-utility { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
  .grade-summary {
    text-align: right;
    min-width: 110px;
  }
  .grade-badge {
    background: #E11D48;
    color: #FFF;
    padding: 8px 18px;
    border-radius: 12px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
  }
  .badge-letter {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
  }
  .badge-score {
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.95;
    margin-top: 3px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .grade-note { color: var(--text-muted); font-size: 0.75rem; margin-top: 6px; max-width: 160px; text-align: right; }

  .metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
  }
  @media (max-width: 768px) { .metric-grid { grid-template-columns: 1fr; } }
  .metric-card {
    background: #111827;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
  }
  .metric-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  .metric-row { font-size: 0.9rem; color: #FFF; margin-bottom: 4px; }
  .metric-row strong.over { color: var(--red); }
  .metric-row strong.warn { color: var(--amber); }
  .metric-row strong.ok { color: var(--green); }

  /* ===== EMAIL GATE / BLUR OVERLAY ===== */
  .gate-wrap { position: relative; }
  .blurred #blur-content, .blurred .metric-grid, .blurred #remediation-strip, .blurred #affiliate-products, .blurred .action-plan, .blurred .verdict-banner, .blurred .pdf-export-box {
    filter: blur(5.5px) !important;
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0.78 !important;
    transition: filter 0.3s ease;
  }
  .gate-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start !important;
    justify-content: center;
    padding-top: 20px !important;
    padding-left: 14px;
    padding-right: 14px;
    z-index: 10;
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.45) 0%, rgba(7, 11, 18, 0.92) 100%);
    border-radius: 12px;
  }
  .gate-card {
    max-width: 440px;
    width: 100%;
    text-align: center;
    background: rgba(2, 6, 23, 0.92);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  }
  .gate-lock {
    width: 46px; height: 46px;
    margin: 0 auto 14px;
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.4);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
  }
  .gate-card h3 { font-size: 1.2rem; color: #FFF; margin-bottom: 6px; }
  .gate-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
  .gate-card {
    box-sizing: border-box;
    max-width: 92vw;
    width: 480px;
    margin: 0 auto;
    padding: 24px 18px !important;
  }
  .gate-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .gate-form input {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px !important;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #020617;
    color: #FFF;
    font-family: inherit;
    font-size: 1rem !important;
  }
  .gate-form input:focus { outline: 1px solid var(--accent); }
  .gate-form button {
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFF;
    border: none;
    padding: 14px 18px !important;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem !important;
    text-align: center;
  }
  .gate-legal {
    font-size: 0.68rem;
    color: #64748B;
    margin-top: 12px;
    line-height: 1.4;
  }
  .gate-error { color: var(--red); font-size: 0.8rem; margin-top: 8px; display: none; }

  /* ===== AFFILIATE PRODUCT CARDS ===== */
  .affiliate-section { margin: 26px 0 10px; }
  .affiliate-title {
    font-weight: 700;
    color: #FFF;
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .affiliate-sub { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 14px; }
  .affiliate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  @media (max-width: 768px) { .affiliate-grid { grid-template-columns: 1fr; } }
  .aff-card {
    background: #111827;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.15s;
  }
  .aff-card:hover { border-color: var(--accent); }
  .aff-emoji { font-size: 1.6rem; }
  .aff-name { font-weight: 700; font-size: 0.92rem; color: #FFF; }
  .aff-why { font-size: 0.76rem; color: var(--text-muted); flex: 1; }
  .aff-cta {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
  }
  .aff-cta:hover { background: rgba(16, 185, 129, 0.25); }

  /* ===== UPSELL BOX ===== */
  .action-plan {
    margin: 26px 0 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 20px;
  }
  .plan-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 16px;
  }
  .plan-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .plan-step strong { color: #FFF; }
  .plan-step em { color: var(--accent); font-style: normal; font-weight: 600; }
  .step-num {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 1px;
  }

  .verdict-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(45,212,191,0.10), rgba(45,212,191,0.03));
    border: 1px solid rgba(45,212,191,0.30);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 18px 0;
  }
  .verdict-icon { font-size: 1.4rem; }
  .verdict-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .verdict-text strong { color: #FFF; }

  .pdf-download { text-align: center; margin: 22px 0 8px; }
  .pdf-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
  }
  .pdf-btn:hover { background: #1a9b8c; }
  .pdf-note {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 8px;
  }

  .upsell-box {
    margin-top: 26px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.02) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .upsell-emoji { font-size: 2rem; }
  .upsell-info { flex: 1; min-width: 220px; }
  .upsell-info h4 { color: #FFF; font-size: 1rem; margin-bottom: 4px; }
  .upsell-info p { color: var(--text-muted); font-size: 0.82rem; }
  .upsell-price { font-size: 1.4rem; font-weight: 800; color: var(--amber); }
  .upsell-btn {
    background: var(--amber);
    color: var(--card-bg);
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
  }
  .upsell-btn:hover { background: #FBBF24; }
  .upsell-thanks { display: none; color: var(--green); font-weight: 700; font-size: 0.9rem; width: 100%; text-align: center; padding: 6px 0; }

  /* Lead Capture Inside Results (unlocked state) */
  .lead-capture {
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin-top: 24px;
  }
  .lead-capture h4 { font-size: 1.1rem; color: #FFF; margin-bottom: 6px; }
  .lead-capture p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
  .lead-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
  .lead-form input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #020617;
    color: #FFF;
    font-family: inherit;
  }
  .lead-form button {
    background: #0284C7;
    color: #FFF;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
  }
  .lead-thanks {
    display: none;
    color: var(--green);
    font-weight: 700;
    padding: 10px;
  }

  /* Features */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
  }
  @media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }
  
  .feat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
  }
  .feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.2rem;
  }
  .feat-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: #FFF; }
  .feat-desc { font-size: 0.9rem; color: var(--text-muted); }

  /* Extension Promo */
  .promo-banner {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-border) 100%);
    border: 1px solid var(--accent);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
  }
  @media (max-width: 640px) { .promo-banner { flex-direction: column; text-align: center; } }
  .btn-white {
    background: #FFF;
    color: var(--card-bg);
    font-weight: 800;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
  }
  
  footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  /* Region Switcher */
  .region-switcher {
    display: flex;
    background: #020617;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 3px;
    gap: 4px;
  }
  .region-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .region-btn.active {
    background: #0284C7;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(45, 212, 191, 0.4);
  }
  .region-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
  }

  /* SoCal Coverage Banner & State Waitlist */
  .socal-coverage-banner {
    max-width: 620px;
    margin: 20px auto 0;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  }
  .cov-badge {
    display: inline-block;
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent);
    border: 1px solid rgba(45, 212, 191, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .cov-sub {
    color: var(--text-muted);
    font-size: 0.84rem;
    margin: 0 0 12px;
    line-height: 1.4;
  }
  .waitlist-form {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .waitlist-form select, .waitlist-form input {
    padding: 8px 12px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #FFF;
    font-size: 0.85rem;
    outline: none;
  }
  .waitlist-form select { min-width: 140px; cursor: pointer; }
  .waitlist-form input { flex: 1; min-width: 180px; }
  .waitlist-form button {
    background: #0284C7;
    color: #FFF;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .waitlist-form button:hover { background: #0369A1; }

  /* Mobile Gate Positioning */
  @media (max-width: 768px) {
    .gate-overlay {
      align-items: flex-start !important;
      padding-top: 8px !important;
      padding-left: 10px !important;
      padding-right: 10px !important;
    }
    .gate-card {
      margin-top: 6px !important;
      padding: 22px 16px !important;
      width: 100% !important;
    }
    .upsell-box {
      flex-direction: column !important;
      align-items: stretch !important;
      padding: 18px 14px !important;
    }
    .upsell-box div[style*="text-align: right"],
    .upsell-box > div:last-child {
      width: 100% !important;
      text-align: center !important;
      margin-top: 10px !important;
    }
    .upsell-box .pdf-btn {
      width: 100% !important;
      box-sizing: border-box !important;
      text-align: center !important;
      justify-content: center !important;
      white-space: normal !important;
      padding: 12px 16px !important;
      font-size: 0.9rem !important;
    }
  }


  /* Integrated Smart Search Card */
  .search-card {
    max-width: 660px;
    margin: 0 auto 20px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    text-align: left;
  }
  .search-input-wrap {
    position: relative;
    width: 100%;
  }
  .search-card .search-input {
    width: 100%;
    padding: 14px 16px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #FFF;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
  }
  .search-card .search-input:focus {
    border-color: #0284C7;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
  }
  .refine-inline {
    margin: 12px 0 14px;
  }
  .refine-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .search-card .refine-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .search-card .refine-chip {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid #334155;
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #E2E8F0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    user-select: none;
  }
  .search-card .refine-chip:hover {
    background: #334155;
    border-color: #475569;
  }
  .search-card .refine-chip.active {
    background: rgba(45, 212, 191, 0.28);
    border-color: #2DD4BF;
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35), inset 0 0 12px rgba(45, 212, 191, 0.15);
    color: #FFFFFF;
  }
  .search-card .refine-chip.active::after {
    content: '\2713';
    margin-left: auto;
    color: #2DD4BF;
    font-weight: 800;
  }
  .btn-search-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFF;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(45, 212, 191, 0.35);
  }
  .btn-search-primary:hover {
    background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
    transform: translateY(-1px);
  }


/* ==========================================================================
   Regional Coverage & Statutory Registries Section
   ========================================================================== */
.coverage-section {
  margin: 20px 0 80px;
}
.coverage-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.coverage-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.coverage-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.coverage-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
}
.coverage-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.coverage-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}
.coverage-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.coverage-country {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 700;
  color: #FFF;
}
.coverage-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.coverage-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}
.coverage-item:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(45, 212, 191, 0.22);
}
.coverage-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.coverage-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 7px;
}
.coverage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}
.coverage-item-tag {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
}
.coverage-item-desc {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.45;
}
.coverage-fallback-note {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.06);
  border: 1px dashed rgba(45, 212, 191, 0.3);
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}


/* SAMPLES SHOWCASE SECTION - ZERO OVERLAP BULLETPROOF */
.samples-section {
  max-width: 1060px;
  margin: 60px auto;
  padding: 0 16px;
}
.samples-header {
  text-align: center;
  margin-bottom: 36px;
}
.samples-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2DD4BF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.samples-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.samples-subtitle {
  color: #94A3B8;
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}
.samples-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .samples-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.sample-card {
  background: #111A2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sample-card:hover {
  transform: translateY(-3px);
}
.sample-card.paid-tier {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(45, 212, 191, 0.12);
  background: #0F182A;
}

/* Header bar above preview image (NO OVERLAP) */
.sample-card-head {
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sample-card-head.paid-head {
  background: rgba(14, 27, 51, 0.95);
  border-bottom-color: rgba(45, 212, 191, 0.25);
}
.sample-tier-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.02em;
}
.sample-tier-tag.accent {
  color: #2DD4BF;
  font-weight: 800;
}
.sample-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.free-badge {
  background: rgba(148, 163, 184, 0.14);
  color: #CBD5E1;
  border: 1px solid rgba(148, 163, 184, 0.28);
}
.paid-badge {
  background: rgba(45, 212, 191, 0.18);
  color: #2DD4BF;
  border: 1px solid rgba(45, 212, 191, 0.45);
}

/* Image preview box (Clean frame, unobstructed image) */
.sample-image-wrap {
  background: #080E1C;
  padding: 14px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sample-img {
  width: 100%;
  max-width: 440px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Body content */
.sample-content {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sample-title-block {
  margin-bottom: 14px;
}
.sample-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.sample-price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.sample-price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #94A3B8;
}
.sample-price-amount.accent {
  color: #2DD4BF;
  font-size: 1.35rem;
}
.sample-price-detail {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
}
.sample-card-desc {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0 0 18px 0;
}

/* Zero-overlap feature list: flex item contains whole text block */
.sample-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.sample-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.sample-features-list .chk,
.sample-features-list .cross {
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1.4;
}
.sample-features-list .chk {
  color: #10B981;
  font-weight: 800;
}
.sample-features-list .chk.accent {
  color: #2DD4BF;
  font-weight: 800;
}
.sample-features-list .cross {
  color: #EF4444;
  font-weight: 800;
}
.sample-features-list .feat-body {
  flex: 1;
  color: #CBD5E1;
}
.sample-features-list .feat-body strong {
  color: #F8FAFC;
  font-weight: 700;
}
.sample-features-list li.faded .feat-body {
  color: #64748B;
}

/* Actions */
.sample-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}
.free-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.free-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.paid-btn {
  background: #2DD4BF;
  color: #0B132B;
  border: 1px solid #2DD4BF;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.3);
}
.paid-btn:hover {
  background: #14B8A6;
  border-color: #14B8A6;
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   TOOLBOX, MODALS & PROPERTY DUEL REFINEMENTS
   ========================================================================== */
.report-toolbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  justify-content: center;
}

.toolbox-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.toolbox-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: #64748b;
  color: #f8fafc;
  transform: translateY(-1px);
}
.toolbox-btn.primary {
  background: #2dd4bf;
  color: #0b132b;
  border-color: #2dd4bf;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.25);
}
.toolbox-btn.primary:hover {
  background: #14b8a6;
  border-color: #14b8a6;
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.35);
}

/* Modal Overlay & Card */
.hr-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.hr-modal {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: hrModalIn 0.2s ease-out;
}
@keyframes hrModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #1e293b;
}
.hr-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hr-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.hr-modal-close:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
}
.hr-modal-body {
  padding: 22px;
  overflow-y: auto;
  color: #cbd5e1;
}

/* Property Duel Results Grid & Matrix */
.duel-banner {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(16, 185, 129, 0.15));
  border: 1px solid #2dd4bf;
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  margin-bottom: 16px;
}
.duel-banner-title {
  color: #2dd4bf;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.duel-banner-sub {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.duel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .duel-grid {
    grid-template-columns: 1fr;
  }
}
.duel-card {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: all 0.2s ease;
}
.duel-card.winner {
  border-color: #2dd4bf;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08) 0%, #020617 100%);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.12);
}
.duel-badge-winner {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(45, 212, 191, 0.2);
  color: #2dd4bf;
  border: 1px solid #2dd4bf;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.duel-score-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  margin: 6px 0;
}

/* Head-to-Head Comparative Matrix */
.duel-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 16px 0;
  background: #020617;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1e293b;
}
.duel-matrix th {
  background: #0b1329;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}
.duel-matrix td {
  padding: 9px 12px;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
}
.duel-matrix tr:last-child td {
  border-bottom: none;
}
.duel-matrix td.adv {
  color: #2dd4bf;
  font-weight: 700;
}

/* Actions in Duel Modal */
.duel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .duel-actions {
    grid-template-columns: 1fr;
  }
}
.letter-box {
  background: #020617;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px;
  font-family: monospace;
  font-size: 0.82rem;
  color: #e2e8f0;
  white-space: pre-wrap;
  max-height: 280px;
  overflow-y: auto;
  margin: 14px 0;
}

/* ==========================================================================
   PRO DUE DILIGENCE TEASER & FLOW OPTIMIZATIONS
   ========================================================================== */
.pro-diligence-teaser {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
@media (max-width: 680px) {
  .pro-diligence-teaser {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
  }
}
.pro-teaser-badge {
  display: inline-block;
  background: rgba(45, 212, 191, 0.15);
  color: #2DD4BF;
  border: 1px solid #2DD4BF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pro-teaser-text {
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.45;
}
.pro-teaser-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #2DD4BF;
  color: #0B132B !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.3);
  cursor: pointer;
}
.pro-teaser-btn:hover {
  background: #14B8A6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.45);
}

/* 3-Property Shortlist Showdown & Bundle Styles */
@media (max-width: 640px) {
  #duel-inputs-grid {
    grid-template-columns: 1fr !important;
  }
}
.duel-grid.three-way {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 768px) {
  .duel-grid.three-way {
    grid-template-columns: 1fr;
  }
}
.duel-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.duel-rank-gold {
  background: rgba(245, 158, 11, 0.18);
  color: #FBBF24;
  border: 1px solid #F59E0B;
}
.duel-rank-silver {
  background: rgba(148, 163, 184, 0.18);
  color: #E2E8F0;
  border: 1px solid #94A3B8;
}
.duel-rank-bronze {
  background: rgba(180, 83, 9, 0.18);
  color: #FDBA74;
  border: 1px solid #B45309;
}

/* Modal Width Overrides */
#duel-modal .hr-modal {
  max-width: 820px;
}

/* Bundle 1-Click Checkout Banner */
.bundle-checkout-banner {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.5px solid #2DD4BF;
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  width: 100%;
}
.bundle-left,
.bundle-checkout-banner > div:first-child {
  width: 100%;
}
.bundle-tag {
  color: #2DD4BF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bundle-title {
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}
.bundle-sub {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.5;
}
.bundle-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(45, 212, 191, 0.18);
  width: 100%;
  box-sizing: border-box;
}
.bundle-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bundle-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFF;
  line-height: 1;
}
.bundle-price-sub {
  font-size: 0.78rem;
  color: #10B981;
  font-weight: 700;
}
.bundle-checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #2DD4BF;
  color: #0B132B !important;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.35);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}
.bundle-checkout-btn:hover {
  background: #14B8A6;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.5);
}
@media (max-width: 600px) {
  .bundle-checkout-banner {
    padding: 16px 16px;
    gap: 14px;
  }
  .bundle-right {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .bundle-price-box {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .bundle-checkout-btn {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}

.btn-compare-secondary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}
.btn-compare-secondary:hover {
  background: rgba(45, 212, 191, 0.1);
  border-color: #2dd4bf;
  color: #2dd4bf;
  transform: translateY(-1px);
}

/* ==========================================================================
   GLOBAL MASTER LANDING PAGE STYLES
   ========================================================================== */
.global-portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}
@media (max-width: 820px) {
  .global-portal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.portal-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.portal-card:hover {
  transform: translateY(-4px);
  border-color: #2DD4BF;
  box-shadow: 0 16px 40px rgba(45, 212, 191, 0.2);
}
.portal-card.uk {
  border-top: 4px solid #38BDF8;
}
.portal-card.us {
  border-top: 4px solid #2DD4BF;
}
.portal-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.portal-flag-badge.uk {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.portal-flag-badge.us {
  background: rgba(45, 212, 191, 0.15);
  color: #2DD4BF;
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.portal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.25;
}
.portal-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 20px;
}
.portal-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.portal-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.4;
}
.portal-spec-item strong {
  color: #F8FAFC;
}
.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.portal-btn.uk {
  background: #38BDF8;
  color: #0B132B !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}
.portal-btn.uk:hover {
  background: #0284C7;
  color: #FFF !important;
  transform: translateY(-1px);
}
.portal-btn.us {
  background: #2DD4BF;
  color: #0B132B !important;
  box-shadow: 0 4px 18px rgba(45, 212, 191, 0.35);
}
.portal-btn.us:hover {
  background: #14B8A6;
  color: #FFF !important;
  transform: translateY(-1px);
}

/* Comparison Table (Survey vs Audit) */
.blindspot-section {
  margin: 60px 0;
  text-align: center;
}
.blindspot-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: 12px;
  border: 1px solid #1E293B;
  background: #020617;
}
.blindspot-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.blindspot-table th {
  background: #0B1329;
  padding: 14px 18px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  border-bottom: 1px solid #1E293B;
}
.blindspot-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #1E293B;
  color: #CBD5E1;
  vertical-align: top;
}
.blindspot-table tr:last-child td {
  border-bottom: none;
}
.blindspot-table td.dim {
  font-weight: 700;
  color: #F8FAFC;
  width: 22%;
}
.blindspot-table td.trad {
  color: #EF4444;
  width: 38%;
  background: rgba(239, 68, 68, 0.03);
}
.blindspot-table td.audit {
  color: #2DD4BF;
  font-weight: 600;
  width: 40%;
  background: rgba(45, 212, 191, 0.04);
}

/* Smart Geo Banner */
.geo-detect-banner {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border-bottom: 1px solid rgba(45, 212, 191, 0.3);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1000;
}
.geo-detect-banner a {
  color: #2DD4BF;
  font-weight: 700;
  text-decoration: underline;
}
.geo-detect-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 10px;
}

/* ==========================================================================
   PRICING TIER SELECTOR (single / shortlist / buyer pass)
   ========================================================================== */
.pricing-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}
@media (max-width: 680px) {
  .pricing-selector { grid-template-columns: 1fr; }
}
.tier-card {
  position: relative;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.tier-card:hover {
  border-color: #2DD4BF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.2);
}
.tier-card.best {
  border-color: #2DD4BF;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(15, 23, 42, 0.95));
}
.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2DD4BF;
  color: #0B132B;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-name {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.tier-reports { font-size: 1.05rem; font-weight: 700; color: #FFF; }
.tier-price { font-size: 1.55rem; font-weight: 800; color: #FFF; }
.tier-per {
  font-size: 0.72rem;
  color: #2DD4BF;
  font-weight: 700;
}
.tier-save {
  font-size: 0.7rem;
  font-weight: 800;
  color: #0B132B;
  background: #2DD4BF;
  border-radius: 9999px;
  padding: 2px 10px;
  margin-top: 4px;
}
.tier-save.hidden { visibility: hidden; }
.tier-cta {
  margin-top: 8px;
  display: inline-block;
  width: 100%;
  background: #2DD4BF;
  color: #0B132B;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.tier-card:not(.best) .tier-cta { background: rgba(45, 212, 191, 0.12); color: #2DD4BF; border: 1px solid rgba(45, 212, 191, 0.5); }
.tier-note { font-size: 0.68rem; color: #94A3B8; margin-top: 2px; }
