/* ============================================================
   BasinIQ — main.css
   Deploy to: public_html/css/main.css
   ============================================================ */

/* ── Reset & Variables ── */
:root {
  --pitch:   #070d14;
  --deep:    #0d1c2e;
  --steel:   #112944;
  --blue:    #1a4875;
  --sky:     #2a6aad;
  --amber:   #d4853a;
  --gold:    #f0aa50;
  --cream:   #f5efe8;
  --fog:     rgba(255,255,255,0.06);
  --text:    #c8d8e8;
  --muted:   #6a8aaa;
  --line:    rgba(255,255,255,0.08);
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--pitch);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ── Typography ── */
h1, h2, h3 { line-height: 1.2; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: white;
  margin-bottom: 18px;
}

.section-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.45);
  color: white;
  background: var(--fog);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), #e09840);
  color: white;
  box-shadow: 0 4px 20px rgba(212,133,58,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(212,133,58,0.45);
}

.btn-large { padding: 14px 32px; font-size: 16px; }
.btn-full  { width: 100%; }

/* ── Badges ── */
.badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-active { background: rgba(74,222,128,0.12); color: #4ade80; }
.badge-co     { background: rgba(240,170,80,0.12);  color: var(--gold); }
.badge-alt    { background: rgba(42,106,173,0.2);   color: #7cb9f4; }

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(7,13,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s, background 0.3s;
}

#navbar.scrolled {
  padding: 12px 60px;
  background: rgba(7,13,20,0.97);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--amber), var(--gold));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }

.nav-cta { display: flex; gap: 12px; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: white;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--deep);
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 61px; left: 0; right: 0;
  z-index: 199;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; color: var(--text); text-decoration: none; }

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

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26,72,117,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(212,133,58,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--pitch) 0%, var(--deep) 100%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 8s infinite;
}

@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-120px) translateX(30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,133,58,0.12);
  border: 1px solid rgba(212,133,58,0.3);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 5.5vw, 66px);
  color: white;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}

h1 em { font-style: italic; color: var(--amber); }

.hero-desc {
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-proof {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.proof-stat { text-align: center; }
.proof-num {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  color: white;
  line-height: 1;
}
.proof-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.proof-divider { width: 1px; height: 40px; background: var(--line); }

/* Hero panel */
.hero-panel {
  position: absolute;
  right: 60px; top: 50%;
  transform: translateY(-50%);
  width: 400px;
  animation: fadeLeft 1s 0.3s ease both;
  z-index: 2;
}

@keyframes fadeLeft {
  from { opacity:0; transform: translateY(-50%) translateX(40px); }
  to   { opacity:1; transform: translateY(-50%) translateX(0); }
}

.panel-card {
  background: rgba(13,28,46,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.panel-header {
  background: var(--steel);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 10px; height: 10px; border-radius: 50%; }
.panel-dots span:nth-child(1) { background: #ff5f57; }
.panel-dots span:nth-child(2) { background: #febc2e; }
.panel-dots span:nth-child(3) { background: #28c840; }

.panel-title-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

.panel-body { padding: 18px; }

.panel-search-bar {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.panel-search-icon { font-size: 13px; }

.panel-typed {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
  min-width: 10px;
}

.typing-cursor {
  display: inline-block;
  width: 2px; height: 13px;
  background: var(--gold);
  animation: blink 1s infinite;
  vertical-align: middle;
  margin-left: 1px;
}

.panel-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 6px;
  margin-bottom: 5px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: all 0.2s;
  animation: slideIn 0.4s ease both;
  cursor: default;
}

.panel-result-row:hover {
  background: rgba(26,72,117,0.3);
  border-color: rgba(26,72,117,0.5);
}

.panel-result-row:nth-child(1) { animation-delay: 0.8s; }
.panel-result-row:nth-child(2) { animation-delay: 1.1s; }
.panel-result-row:nth-child(3) { animation-delay: 1.4s; }
.panel-result-row:nth-child(4) { animation-delay: 1.7s; }

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

.pr-name { font-size: 12px; font-weight: 500; color: white; margin-bottom: 2px; }
.pr-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); }
.pr-right { text-align: right; }
.pr-value { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--gold); font-weight: 600; }
.pr-trend { font-size: 10px; margin-top: 2px; }
.trend-up   { color: #4ade80; }
.trend-down { color: #f87171; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
}

.how-section .container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.how-item {
  background: var(--deep);
  padding: 40px 32px;
  position: relative;
}

.how-num {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  position: absolute;
  top: 18px; right: 22px;
}

.how-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(212,133,58,0.2), rgba(212,133,58,0.04));
  border: 1px solid rgba(212,133,58,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.how-title { font-size: 17px; font-weight: 600; color: white; margin-bottom: 10px; }
.how-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   SEARCH DEMO
   ============================================================ */
.search-section {
  padding: 100px 0;
  background: var(--pitch);
}

.search-section .container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

.search-demo { margin-top: 52px; max-width: 760px; }

.search-bar-wrap {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 18px;
  gap: 12px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar-wrap:focus-within {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(42,106,173,0.2);
}

.search-icon { font-size: 17px; }

.search-bar-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: white;
}
.search-bar-wrap input::placeholder { color: var(--muted); }

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.chip:hover, .chip.active {
  border-color: var(--sky);
  color: white;
  background: rgba(42,106,173,0.15);
}

.demo-results { display: flex; flex-direction: column; gap: 8px; }

.demo-result-row {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-result-row:hover {
  background: rgba(26,72,117,0.2);
  border-color: rgba(42,106,173,0.4);
  transform: translateX(4px);
}

.demo-result-locked {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0.7;
}

.dr-name   { font-size: 15px; font-weight: 500; color: white; margin-bottom: 4px; }
.dr-detail { font-size: 13px; color: var(--muted); }
.dr-right  { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dr-value  { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--gold); margin-top: 4px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--deep);
  border-top: 1px solid var(--line);
}

.pricing-section .container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-card {
  background: var(--deep);
  padding: 36px 26px;
  position: relative;
}

.pricing-featured {
  background: var(--steel);
}

.pricing-popular-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 14px;
}

.pricing-price { margin-bottom: 16px; }
.price-amount  { font-family: 'DM Serif Display', serif; font-size: 40px; color: white; line-height: 1; }
.price-period  { font-size: 14px; color: var(--muted); }

.pricing-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.55;
  min-height: 54px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
  min-height: 160px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.pricing-features li::before   { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; }
.pricing-features li.feat-no   { color: var(--muted); }
.pricing-features li.feat-no::before { content: '—'; color: var(--muted); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--pitch);
  border-top: 1px solid var(--line);
}

.about-section .container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}

.about-feat-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.about-feat-icon {
  width: 44px; height: 44px;
  background: rgba(212,133,58,0.12);
  border: 1px solid rgba(212,133,58,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.about-feat-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 6px; }
.about-feat-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
}

footer .container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 280px; }

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   AUTH PAGES (login.html / register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 60% at 30% 40%, rgba(26,72,117,0.2) 0%, transparent 70%),
    var(--pitch);
  padding: 100px 24px 60px;
}

.auth-card {
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.auth-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.auth-tab.active {
  background: var(--sky);
  color: white;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder { color: var(--muted); }

.form-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(42,106,173,0.2);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.form-footer a { color: var(--gold); text-decoration: none; }
.form-footer a:hover { text-decoration: underline; }

.form-error {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #f87171;
  margin-bottom: 20px;
  display: none;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 61px;
}

.sidebar {
  width: 240px;
  background: var(--deep);
  border-right: 1px solid var(--line);
  padding: 32px 0;
  flex-shrink: 0;
  position: fixed;
  top: 61px; bottom: 0;
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 32px; }

.sidebar-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding: 0 20px;
  margin-bottom: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}

.sidebar-link:hover { color: white; background: var(--fog); }
.sidebar-link.active { color: white; background: rgba(26,72,117,0.2); border-left-color: var(--amber); }

.dashboard-main {
  flex: 1;
  margin-left: 240px;
  padding: 40px 48px;
  background: var(--pitch);
  min-height: calc(100vh - 61px);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.dashboard-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: white;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
}

.stat-card-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card-value { font-family: 'DM Serif Display', serif; font-size: 32px; color: white; line-height: 1; }
.stat-card-sub   { font-size: 12px; color: var(--muted); margin-top: 4px; }

.data-table {
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}

.data-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.data-table-title { font-size: 15px; font-weight: 600; color: white; }

table.results-table {
  width: 100%;
  border-collapse: collapse;
}

table.results-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

table.results-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
}

table.results-table tr:last-child td { border-bottom: none; }
table.results-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-panel { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #navbar { padding: 14px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }

  .hero        { padding: 100px 24px 60px; }
  .how-section .container,
  .search-section .container,
  .pricing-section .container,
  .about-section .container,
  footer .container { padding: 0 24px; }
  .how-section, .search-section, .pricing-section, .about-section { padding: 72px 0; }

  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .dashboard-main  { margin-left: 0; padding: 24px 20px; }
  .sidebar         { display: none; }
  .stat-cards      { grid-template-columns: 1fr 1fr; }
}
