:root {
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --bg-card: #161619;
  --fg: #e8e8ec;
  --fg-muted: #8a8a9a;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.accent { color: var(--accent); }

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 28px;
  color: #fff;
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.lede-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 0;
  background: var(--bg);
}

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 60px;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.6;
}

.problem-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== HOW ===== */
.how {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.how h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 60px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.how-item {
  display: flex;
  gap: 20px;
  padding: 36px 32px;
  background: var(--bg-card);
  transition: background 0.3s;
}

.how-item:hover {
  background: #1a1a1e;
}

.how-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  padding-top: 4px;
}

.how-content h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.how-content p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== NUMBERS ===== */
.numbers {
  padding: 100px 0;
  background: var(--bg);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.number-block {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.number-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.number-label {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 0;
  background: var(--bg-elevated);
  text-align: center;
}

.closing-content {
  max-width: 780px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 28px;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 60px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 80px 20px 60px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .lede {
    font-size: 1.05rem;
  }
  .problem, .how, .numbers {
    padding: 80px 0;
  }
  .closing {
    padding: 100px 0;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-item {
    padding: 28px 24px;
  }
  .problem-card {
    padding: 28px 24px;
  }
}

/* ===== SHARED: CTA BUTTON ===== */
.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ===== NAV ===== */
.form-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
}
.nav-back {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.nav-back:hover { color: var(--fg); }

/* ===== AUDIT FORM HERO ===== */
.audit-hero {
  padding: 80px 0 60px;
  background: var(--bg);
  text-align: center;
}
.audit-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  margin: 24px 0 20px;
}

/* ===== AUDIT FORM ===== */
.audit-form-section {
  padding: 0 0 100px;
  background: var(--bg);
}
.audit-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.form-group {
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.required {
  color: var(--accent);
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.form-textarea--short {
  min-height: 80px;
}
.form-hint {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 14px 18px;
  color: #f87171;
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.form-footer {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
}
.btn-submit {
  font-size: 1.05rem;
  padding: 18px 48px;
}
.form-disclaimer {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* ===== SUCCESS STATE ===== */
.form-success {
  padding: 120px 0;
  text-align: center;
}
.success-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 48px;
}
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 0 auto 28px;
}
.success-card h1 {
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 16px;
}
.success-card p {
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== ADMIN ===== */
.admin-body {
  background: var(--bg);
}
.admin-layout {
  min-height: 100vh;
}
.admin-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.admin-brand-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
}
.admin-view-form {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.admin-view-form:hover { color: var(--fg); }
.admin-main {
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.stat-card--new {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.04);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.stat-card--new .stat-value { color: var(--accent); }
.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Table */
.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  text-align: left;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.business-name { font-weight: 500; color: #fff; margin-bottom: 2px; }
.business-tools { font-size: 0.8rem; color: var(--fg-muted); }
.contact-email a { color: var(--fg-muted); font-size: 0.85rem; text-decoration: none; }
.contact-email a:hover { color: var(--accent); }
.td-muted { color: var(--fg-muted); }
.td-date { font-size: 0.85rem; white-space: nowrap; }
.type-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: capitalize;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  color: var(--fg-muted);
}
.status-select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  background: var(--bg-elevated);
  color: var(--fg);
}
.status-select--large { width: 100%; padding: 12px 14px; font-size: 0.9rem; }
.status-new { border-color: rgba(245,158,11,0.4); color: var(--accent); background: rgba(245,158,11,0.08); }
.status-contacted { border-color: rgba(99,179,237,0.4); color: #63b3ed; background: rgba(99,179,237,0.08); }
.status-booked { border-color: rgba(104,211,145,0.4); color: #68d391; background: rgba(104,211,145,0.08); }
.status-closed { border-color: rgba(255,255,255,0.15); color: var(--fg-muted); background: var(--bg-elevated); }
.view-link { color: var(--accent); font-size: 0.85rem; text-decoration: none; font-weight: 500; white-space: nowrap; }
.view-link:hover { opacity: 0.8; }

/* Admin empty state */
.admin-empty {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  color: var(--fg);
}

/* Admin detail */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}
.detail-meta-right { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 6px; }
.detail-business { font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.detail-meta { font-size: 0.9rem; color: var(--fg-muted); }
.detail-section { margin-bottom: 28px; }
.detail-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.detail-body {
  color: var(--fg);
  line-height: 1.7;
  font-size: 0.95rem;
  white-space: pre-wrap;
}
.detail-date { color: var(--fg-muted); font-size: 0.9rem; }
.detail-sidebar { position: sticky; top: 84px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.sidebar-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.action-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s;
}
.action-btn:hover { border-color: rgba(245,158,11,0.4); color: var(--accent); }

/* ===== LANDING PAGE CTA ===== */
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta-sub {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 14px;
}

@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; }
  .audit-form { padding: 32px 24px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-main { padding: 24px 16px; }
  .admin-header { padding: 0 16px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .admin-table { font-size: 0.82rem; }
}
@media (max-width: 500px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
}