/* ═══════════════════════════════════════════════════════════
   AutoDealHunt — App Stylesheet
   Fonts: Barlow Condensed (display) + Barlow (body)
═══════════════════════════════════════════════════════════ */

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --black:   #0A0A0A;
  --dark:    #111111;
  --card:    #181818;
  --border:  #252525;
  --border2: #2E2E2E;
  --orange:  #F4651A;
  --orange2: #D9540D;
  --amber:   #F5A623;
  --white:   #F0EDE8;
  --muted:   #777;
  --muted2:  #555;
  --green:   #3ECF8E;
  --blue:    #4A9EFF;
  --red:     #FF4D4D;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,0.4);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-font-smoothing: antialiased; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── UTILITIES ───────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--muted); }
.text-green  { color: var(--green); }
.fw-800 { font-weight: 800; }
.condensed { font-family: 'Barlow Condensed', sans-serif; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex; align-items: center;
  padding: 0 20px; gap: 16px;
}

.logo {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; flex-shrink: 0;
}
.logo img { height: 40px; width: auto; }
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.3px; color: var(--white);
  line-height: 1;
}
.logo-text em { font-style: normal; color: var(--orange); }

.header-search {
  flex: 1; max-width: 420px;
  display: flex; align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 12px; gap: 8px; height: 36px;
}
.header-search input {
  background: none; border: none; outline: none;
  color: var(--white); font-size: 13px; width: 100%;
}
.header-search input::placeholder { color: var(--muted2); }
.header-search svg { color: var(--muted); flex-shrink: 0; }

.header-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ── TRIAL BANNER ───────────────────────────────────────── */
.trial-banner {
  background: rgba(244,101,26,0.08);
  border-bottom: 1px solid rgba(244,101,26,0.2);
  padding: 9px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; font-size: 13px; color: var(--white);
}
.trial-banner strong { color: var(--orange); }
.trial-banner a { color: var(--orange); font-weight: 600; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 9px 20px;
  border-radius: 6px; border: none; cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-weight: 600; font-size: 13px;
  text-decoration: none; white-space: nowrap;
  transition: background 0.15s, transform 0.1s, opacity 0.15s;
  line-height: 1;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange2); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--white); border-color: var(--border2); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 13px 32px; font-size: 15px; border-radius: 7px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #000; font-weight: 700; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  padding: 64px 20px 52px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(244,101,26,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(244,101,26,0.1);
  border: 1px solid rgba(244,101,26,0.22);
  color: var(--orange); font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(48px, 7vw, 82px);
  line-height: 0.95; letter-spacing: -1px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--orange); }
.hero p {
  font-size: 16px; color: #999;
  max-width: 440px; margin: 0 auto 32px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 32px; color: var(--white);
  letter-spacing: -0.5px; line-height: 1;
}
.hero-stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; margin-top: 3px; }

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.filter-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted2); margin-right: 2px;
}
.filter-select {
  background: var(--card); border: 1px solid var(--border);
  color: var(--white); font-family: 'Barlow', sans-serif;
  font-size: 12px; padding: 6px 10px; border-radius: 5px;
  cursor: pointer; outline: none;
}
.filter-select:focus { border-color: var(--orange); }

/* ── SOURCE BADGES ──────────────────────────────────────── */
.source-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 4px; letter-spacing: 0.3px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  text-transform: uppercase;
}
.source-cl   { background: rgba(200,120,40,0.15);  color: #E8A060; border-color: rgba(232,160,96,0.2); }
.source-fb   { background: rgba(24,119,242,0.12);  color: #6EB2FF; border-color: rgba(110,178,255,0.18); }
.source-at   { background: rgba(62,207,142,0.1);   color: var(--green); border-color: rgba(62,207,142,0.2); }

/* ── LISTINGS GRID ──────────────────────────────────────── */
.listings-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 8px; flex-wrap: wrap; gap: 8px;
}
.listings-count {
  font-size: 12px; color: var(--muted);
  font-weight: 600; letter-spacing: 0.3px;
}
.listings-count strong { color: var(--white); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px; padding: 8px 20px 32px;
}

/* ── LISTING CARD ───────────────────────────────────────── */
.listing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer; display: flex; flex-direction: column;
}
.listing-card:hover {
  border-color: rgba(244,101,26,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card-img {
  width: 100%; height: 165px;
  background: #161616;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.listing-card:hover .card-img img { transform: scale(1.03); }
.card-img-placeholder { font-size: 48px; opacity: 0.1; }
.card-badge-source { position: absolute; top: 10px; left: 10px; }
.card-badge-new {
  position: absolute; top: 10px; right: 40px;
  background: var(--orange); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 2px 7px; border-radius: 3px;
}
.card-fav {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.55); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; border: none;
  transition: background 0.15s;
}
.card-fav:hover { background: rgba(244,101,26,0.4); }

.card-body { padding: 13px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.card-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 26px; color: var(--white);
  letter-spacing: -0.3px; line-height: 1; margin-bottom: 5px;
}
.card-price small {
  font-size: 12px; font-weight: 500; color: var(--muted);
  font-family: 'Barlow', sans-serif; margin-left: 3px;
}
.card-title {
  font-size: 13px; font-weight: 600; color: var(--white);
  margin-bottom: 7px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: var(--muted); margin-bottom: 11px;
}
.card-meta span { display: flex; align-items: center; gap: 3px; }
.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 10px;
  margin-top: auto;
}
.card-location {
  font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 58%; display: flex; align-items: center; gap: 3px;
}

.btn-view {
  font-size: 11px; font-weight: 700; padding: 5px 12px;
  background: var(--orange); color: #fff;
  border-radius: 4px; border: none; cursor: pointer;
  text-decoration: none; display: flex; align-items: center; gap: 4px;
  transition: background 0.15s;
}
.btn-view:hover { background: var(--orange2); color: #fff; }
.btn-view.locked {
  background: var(--border); color: var(--muted);
  cursor: default;
}

/* ── PAYWALL NUDGE ──────────────────────────────────────── */
.paywall-nudge {
  background: rgba(244,101,26,0.06);
  border: 1px solid rgba(244,101,26,0.18);
  border-radius: var(--radius);
  padding: 20px; text-align: center; margin: 0 20px 24px;
}
.paywall-nudge h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 20px; margin-bottom: 6px;
}
.paywall-nudge p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* ── PRICING ────────────────────────────────────────────── */
.pricing-section { padding: 56px 20px; text-align: center; }
.pricing-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 40px;
  text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 6px;
}
.pricing-section > p { color: var(--muted); margin-bottom: 36px; font-size: 14px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 100%; margin: 0 auto;
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; box-sizing: border-box; }
}
.pricing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 26px 18px;
  text-align: center; position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.pricing-card:hover { border-color: rgba(244,101,26,0.3); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: var(--orange);
  background: rgba(244,101,26,0.05);
}
.pricing-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 3px 12px; border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.plan-price {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 46px; line-height: 1; letter-spacing: -1px; color: var(--white);
}
.plan-price sup { font-size: 22px; font-weight: 700; vertical-align: super; letter-spacing: 0; }
.plan-period { font-size: 12px; color: var(--muted); margin-top: 5px; margin-bottom: 4px; }
.plan-savings { font-size: 11px; font-weight: 600; color: var(--green); margin-bottom: 18px; min-height: 16px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.plan-features li { font-size: 12px; color: #bbb; display: flex; align-items: center; gap: 7px; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 11px; flex-shrink: 0; }
.plan-btn { width: 100%; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: 'Barlow', sans-serif; }
.plan-btn-primary { background: var(--orange); color: #fff; }
.plan-btn-primary:hover { background: var(--orange2); }
.plan-btn-ghost { background: var(--border); color: var(--white); }
.plan-btn-ghost:hover { background: var(--border2); }
.pricing-note { margin-top: 20px; font-size: 12px; color: var(--muted); }
.pricing-note strong { color: var(--white); }

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-section { padding: 52px 20px; }
.how-section h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 36px; text-transform: uppercase; text-align: center;
  margin-bottom: 36px; letter-spacing: -0.3px;
}
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto; }
.how-step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
}
.how-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(244,101,26,0.12); border: 1px solid rgba(244,101,26,0.25);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 18px; color: var(--orange);
}
.how-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.how-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── SECTION DIVIDER ────────────────────────────────────── */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── CONTAINER ──────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── AUTH PAGES ─────────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 36px; width: 100%; max-width: 400px;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { height: 40px; margin: 0 auto 10px; }
.auth-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 28px; text-align: center; margin-bottom: 4px;
}
.auth-subtitle { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 28px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; border-top: 1px solid var(--border);
}
.auth-footer { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.auth-footer a { color: var(--orange); font-weight: 600; }

/* ── FORMS ──────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.3px; }
.form-control {
  width: 100%; background: var(--black); border: 1px solid var(--border);
  color: var(--white); font-family: 'Barlow', sans-serif; font-size: 14px;
  padding: 10px 12px; border-radius: 6px; outline: none;
  transition: border-color 0.15s;
}
.form-control:focus { border-color: var(--orange); }
.form-control::placeholder { color: var(--muted2); }
.form-select {
  width: 100%; background: var(--black); border: 1px solid var(--border);
  color: var(--white); font-family: 'Barlow', sans-serif; font-size: 14px;
  padding: 10px 12px; border-radius: 6px; outline: none; cursor: pointer;
  transition: border-color 0.15s;
}
.form-select:focus { border-color: var(--orange); }
.form-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }

/* ── ALERTS ─────────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: 6px; font-size: 13px;
  margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px;
}
.alert-error { background: rgba(255,77,77,0.1); border: 1px solid rgba(255,77,77,0.25); color: #FF8080; }
.alert-success { background: rgba(62,207,142,0.1); border: 1px solid rgba(62,207,142,0.25); color: var(--green); }
.alert-info { background: rgba(74,158,255,0.1); border: 1px solid rgba(74,158,255,0.25); color: var(--blue); }

/* ── ACCOUNT LAYOUT ─────────────────────────────────────── */
.account-layout {
  display: grid; grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px); max-width: 1100px; margin: 0 auto;
  padding: 28px 20px; gap: 28px;
}
@media (max-width: 720px) { .account-layout { grid-template-columns: 1fr; } }

.account-sidebar {}
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px;
  color: var(--muted); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.account-nav a:hover { background: var(--card); color: var(--white); }
.account-nav a.active { background: rgba(244,101,26,0.1); color: var(--orange); }
.account-nav-section {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted2); padding: 14px 12px 4px;
}

.account-main {}
.account-header { margin-bottom: 24px; }
.account-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 28px; letter-spacing: -0.3px;
}
.account-subtitle { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ── ACCESS CARD ────────────────────────────────────────── */
.access-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.access-status {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
}
.access-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.access-dot.active { background: var(--green); box-shadow: 0 0 6px var(--green); }
.access-dot.expired { background: var(--red); }
.access-dot.trial { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.access-expires { font-size: 12px; color: var(--muted); }
.access-days {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 20px; color: var(--orange);
  margin-left: auto;
}

/* ── STAT CARDS ─────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.stat-card-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 30px; color: var(--white); letter-spacing: -0.5px; line-height: 1;
}
.stat-card-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── DEAL HUNTER ALERTS ─────────────────────────────────── */
.alert-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 14px;
}
.alert-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(244,101,26,0.1); border: 1px solid rgba(244,101,26,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.alert-card-body { flex: 1; min-width: 0; }
.alert-card-name { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.alert-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.alert-tag {
  background: var(--border); color: var(--muted);
  font-size: 10px; font-weight: 600; padding: 2px 8px;
  border-radius: 3px; letter-spacing: 0.3px;
}
.alert-card-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.alert-toggle {
  position: relative; width: 36px; height: 20px; cursor: pointer;
}
.alert-toggle input { opacity: 0; width: 0; height: 0; }
.alert-toggle-slider {
  position: absolute; inset: 0; border-radius: 20px;
  background: var(--border2); transition: 0.2s;
}
.alert-toggle-slider::before {
  content: ''; position: absolute; width: 14px; height: 14px;
  border-radius: 50%; background: white; left: 3px; top: 3px;
  transition: 0.2s;
}
.alert-toggle input:checked + .alert-toggle-slider { background: var(--orange); }
.alert-toggle input:checked + .alert-toggle-slider::before { transform: translateX(16px); }

/* ── CREATE ALERT FORM ──────────────────────────────────── */
.create-alert-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.create-alert-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .form-row-3 { grid-template-columns: 1fr 1fr; } }

/* ── PAYMENT HISTORY ────────────────────────────────────── */
.payment-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 8px;
}
.payment-row:last-child { border-bottom: none; }
.payment-plan { font-weight: 600; font-size: 14px; }
.payment-date { font-size: 12px; color: var(--muted); }
.payment-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 18px; color: var(--green);
}
.payment-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px;
}
.payment-badge.succeeded { background: rgba(62,207,142,0.15); color: var(--green); }

/* ── LISTING DETAIL ─────────────────────────────────────── */
.listing-detail { max-width: 900px; margin: 28px auto; padding: 0 20px 40px; }
.listing-detail-imgs {
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  margin-bottom: 24px; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.listing-detail-imgs img { width: 100%; height: 100%; object-fit: cover; }
.listing-detail-price {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 48px; color: var(--white); letter-spacing: -1px; line-height: 1;
}
.listing-detail-title { font-size: 20px; font-weight: 700; margin: 6px 0 16px; }
.listing-detail-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.listing-meta-item { display: flex; flex-direction: column; gap: 2px; }
.listing-meta-label { font-size: 10px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }
.listing-meta-value { font-size: 14px; font-weight: 600; color: var(--white); }
.listing-detail-desc { font-size: 14px; color: #aaa; line-height: 1.7; margin-bottom: 24px; }
.listing-cta {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.listing-cta p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* ── EMPTY STATE ────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 56px 20px; color: var(--muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 18px; color: var(--white); font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 20px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; color: var(--muted); flex-wrap: wrap;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--white); }
.footer-tagline { margin-left: auto; font-style: italic; }

/* ── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 800; padding: 0 5px;
}

/* ── GOOGLE BTN ─────────────────────────────────────────── */
.btn-google {
  background: #fff; color: #333; border: 1px solid #ddd;
  font-weight: 600; font-size: 13px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px; border-radius: 6px; cursor: pointer;
  transition: background 0.15s;
}
.btn-google:hover { background: #f5f5f5; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero h1 { font-size: 42px; }
  .hero-stats { gap: 20px; }
  .listings-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .site-header .header-search { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .account-layout { padding: 16px; }
}
@media (max-width: 400px) {
  .listings-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .header-nav .btn-primary { display: none; }
  body { overflow-x: hidden; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; box-sizing: border-box; justify-content: center; }
}

html { overflow-x: hidden; }
@media (max-width: 600px) {
  .header-inner { flex-wrap: nowrap; }
  .header-nav .btn-primary { display: none !important; }
}
