@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --green: #073f34;
  --green2: #0d5b4a;
  --green3: #1a7a62;
  --mint: #8bd45f;
  --gold: #e9b437;
  --gold2: #f3c542;
  --cream: #f7f5ee;
  --ink: #17332c;
  --muted: #6b7c75;
  --line: #d9e4df;
  --white: #fff;
  --shadow: 0 18px 40px rgba(5,42,35,.13);
  --shadow-sm: 0 4px 16px rgba(5,42,35,.08);
  --radius: 20px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #f4f7f4;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Syne', sans-serif; }

a { text-decoration: none; color: inherit; }

/* ── TOPBAR ─────────────────────────────────── */
.topbar {
  background: var(--green);
  color: #b8e8c8;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  letter-spacing: .02em;
}

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1180px;
  margin: auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brand-text {
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  color: var(--green);
  font-size: 17px;
  letter-spacing: -.04em;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: #3a544d;
  padding: 7px 12px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: #eef6f1;
  color: var(--green);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: .2s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
}
.mobile-nav a:hover { background: #eef6f1; color: var(--green); }
.mobile-nav.open { display: flex; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(160deg, var(--gold2), #d9a420);
  color: #1a2e1f;
  box-shadow: 0 8px 22px rgba(233,180,55,.3);
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(233,180,55,.4); }
.btn-green {
  background: var(--green2);
  color: white;
  box-shadow: 0 6px 18px rgba(13,91,74,.22);
}
.btn-green:hover { background: var(--green3); }
.btn-light {
  background: #eef6f1;
  color: var(--green);
  border: 1px solid var(--line);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: radial-gradient(ellipse at 30% 0%, rgba(139,212,95,.18) 0%, transparent 50%),
              linear-gradient(145deg, #052e23 0%, #073f34 40%, #0a5040 70%, #052e23 100%);
  color: white;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 1180px;
  margin: auto;
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #c8ecd6;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: 58px;
  line-height: 1.03;
  margin-bottom: 18px;
  letter-spacing: -.05em;
}
.hero h1 em { font-style: normal; color: var(--gold2); }
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #cce8da;
  margin-bottom: 32px;
  max-width: 520px;
}
.searchbox {
  background: white;
  border-radius: 20px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  box-shadow: var(--shadow);
}
.searchbox input, .searchbox select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color .15s;
}
.searchbox input:focus, .searchbox select:focus { border-color: var(--green2); }
.hero-visual {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  box-shadow: inset 0 0 80px rgba(255,255,255,.04), 0 30px 60px rgba(0,0,0,.25);
}
.hero-visual img { max-width: 100%; height: auto; }

/* ── CONTAINERS ─────────────────────────────── */
.container { max-width: 1180px; margin: auto; padding: 64px 24px; }
.container-sm { max-width: 840px; margin: auto; padding: 64px 24px; }

/* ── PAGE HERO ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #052e23, var(--green2));
  color: white;
  padding: 56px 24px;
}
.page-hero .inner { max-width: 1180px; margin: auto; }
.page-hero h1 { font-size: 48px; margin-bottom: 10px; letter-spacing: -.04em; }
.page-hero p { font-size: 17px; color: #b8d8c8; }

/* ── SECTION TITLES ─────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 36px; letter-spacing: -.04em; }
.muted { color: var(--muted); }

/* ── CARDS ───────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.listing-img {
  height: 200px;
  background: linear-gradient(135deg, #dce8e2, #b5cec5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}
.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body { padding: 20px; display: block; }
.tag {
  display: inline-block;
  background: #edf8e9;
  color: #275f32;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  margin-bottom: 8px;
}
.tag-gold { background: #fef8e3; color: #8a5e00; }
.tag-blue { background: #e8f0fe; color: #1a4fa0; }
.tag-red { background: #fee8e8; color: #9b1f1f; }
.tag-grey { background: #f0f0f0; color: #666; }
.price {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--green);
  margin: 8px 0;
  display: inline-block;
}
.specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.specs span {
  background: #f2f6f4;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #3a5448;
}

/* ── GRIDS ───────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ── FILTER BAR ─────────────────────────────── */
.filterbar {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.field {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fafcfb;
  outline: none;
  transition: border-color .15s, background .15s;
}
.field:focus { border-color: var(--green2); background: white; }

/* ── SPLIT PANEL ─────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ── STEPS ───────────────────────────────────── */
.steps { counter-reset: step; }
.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: #1a2e1f;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ── PRICING ─────────────────────────────────── */
.plan-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.plan-card.featured { border: 2px solid var(--gold); }
.plan-card .price { font-size: 42px; margin: 16px 0 4px; }
.plan-desc { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.plan-features { list-style: none; margin: 0 0 24px; }
.plan-features li {
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green2); font-weight: 900; }

/* ── NOTICE BOX ─────────────────────────────── */
.notice {
  background: #fff8e6;
  border: 1px solid #f0d486;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
}
.notice h3 { font-size: 17px; margin-bottom: 8px; color: #7a4f00; }
.notice p { font-size: 14px; color: #6b4f1a; line-height: 1.6; }

/* ── RENEWAL BOX ─────────────────────────────── */
.renewal-box {
  background: #f5faf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 24px;
}
.renewal-box h3 { font-size: 16px; margin-bottom: 10px; }
.renewal-box p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── SAMPLE BANNER ───────────────────────────── */
.sample-banner {
  background: #f0f0f0;
  border: 1px dashed #bbb;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: inline-block;
  margin-bottom: 6px;
}

/* ── FORM ─────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 700; color: #3a544d; }
.upload-area {
  border: 2px dashed #a9c9bb;
  background: #f5faf7;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.upload-area:hover { border-color: var(--green2); background: #eef6f1; }
.upload-area strong { display: block; margin-bottom: 6px; }
.upload-area .muted { font-size: 13px; }

/* ── LISTING DETAIL ─────────────────────────── */
.photo-main {
  height: 440px;
  background: linear-gradient(135deg, #dce8e2, #b5cec5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  overflow: hidden;
}
.photo-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 10px; }
.thumb {
  height: 82px;
  background: #e8efeb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.thumb:hover { border-color: var(--green2); }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.detail-item {
  background: #f4f8f6;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.detail-item strong { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
.detail-item span { font-size: 15px; font-weight: 600; }

/* ── ACCOUNT ─────────────────────────────────── */
.status-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-bottom: 24px; }
.status-pill {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.status-pill:hover, .status-pill.active { border-color: var(--green2); color: var(--green); background: #eef6f1; }
.listing-row {
  display: flex;
  gap: 18px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.listing-row-thumb {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dce8e2, #b5cec5);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.listing-row-body { flex: 1; }
.listing-row-body h3 { font-size: 16px; margin-bottom: 4px; }
.listing-row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.days-bar { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.days-track { flex: 1; height: 6px; background: #e2ede8; border-radius: 3px; }
.days-fill { height: 100%; border-radius: 3px; background: var(--green2); }
.days-fill.warn { background: var(--gold); }
.days-fill.expired { background: #d94040; }

/* ── DEALER ──────────────────────────────────── */
.dealer-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--green2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 14px;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: #051e18;
  color: #8ab8a4;
  padding: 48px 24px 36px;
}
.footer-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 900; color: white; margin-bottom: 10px; }
.footer-tagline { font-size: 14px; line-height: 1.6; }
.footer h4 { color: white; font-size: 13px; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: #7aaa8e; transition: color .15s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid #0d3328;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #4a7a62;
}

/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,30,24,.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 40px 80px rgba(0,0,0,.3);
  transform: translateY(16px);
  transition: transform .2s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal h2 { font-size: 26px; margin-bottom: 8px; }
.modal p { color: var(--muted); margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #eef6f1;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── TOAST ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--green);
  color: white;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(5,42,35,.3);
  z-index: 2000;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── EMPTY STATE ─────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.empty-state .icon { font-size: 54px; margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb { font-size: 13px; color: #8ab8a4; margin-bottom: 12px; }
.breadcrumb a { color: #8ab8a4; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { margin: 0 6px; }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .12s; }
.fade-up-3 { animation-delay: .19s; }
.fade-up-4 { animation-delay: .26s; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 10px 16px; }
  .brand-text { font-size: 15px; }
  .btn-gold.nav-cta { padding: 9px 14px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-visual { display: none; }
  .searchbox, .filterbar { grid-template-columns: 1fr; }
  .split, .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .status-grid { grid-template-columns: repeat(3,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .page-hero h1 { font-size: 36px; }
  .listing-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .nav-inner { padding: 8px 12px; }
  .brand-text { font-size: 13px; }
  .btn-gold.nav-cta { padding: 8px 12px; font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: repeat(2,1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3,1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
