/* ===========================
   DITCH YOUR CAR — STYLES
   Mobile-first, dual-theme
   =========================== */

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

/* --- THEME TOKENS --- */
:root[data-theme="dark"] {
  --bg: #0a1228;
  --bg-2: #0f1a36;
  --bg-card: #131f42;
  --bg-elev: #1a2750;
  --border: #243463;
  --text: #f1f5fc;
  --text-2: #a8b4d4;
  --text-3: #6b7aa3;
  --brand-1: #4a8fe7;     /* electric blue from logo */
  --brand-2: #ff6b3d;     /* warm orange from logo */
  --brand-grad: linear-gradient(135deg, #4a8fe7 0%, #6c5ce7 45%, #ff6b3d 100%);
  --accent: #00d4a8;      /* trust green */
  --warning: #ffb547;
  --danger: #ff5577;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --glow: 0 0 40px rgba(74,143,231,0.25);
  --noise-opacity: 0.04;
}

:root[data-theme="light"] {
  --bg: #f7f8fc;
  --bg-2: #ffffff;
  --bg-card: #ffffff;
  --bg-elev: #ffffff;
  --border: #e3e7f0;
  --text: #0a1228;
  --text-2: #4a5577;
  --text-3: #8794b3;
  --brand-1: #2563d4;
  --brand-2: #e85a2c;
  --brand-grad: linear-gradient(135deg, #2563d4 0%, #5b3fd9 45%, #e85a2c 100%);
  --accent: #00a886;
  --warning: #e09530;
  --danger: #e0405e;
  --shadow-sm: 0 2px 8px rgba(15,30,80,0.06);
  --shadow-md: 0 8px 24px rgba(15,30,80,0.08);
  --shadow-lg: 0 20px 60px rgba(15,30,80,0.12);
  --glow: 0 0 40px rgba(37,99,212,0.15);
  --noise-opacity: 0.02;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Subtle noise texture overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
  mix-blend-mode: overlay;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

/* --- NAVIGATION --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand-logo {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--brand-grad);
  border-radius: 10px;
  box-shadow: var(--glow);
}
.brand-logo svg { width: 22px; height: 22px; color: white; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .top { font-size: 1rem; }
.brand-name .bot { font-size: 0.62rem; color: var(--brand-2); letter-spacing: 0.18em; font-weight: 600; margin-top: 2px; }

.nav-links { display: none; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--brand-grad); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-2);
  transition: all 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--brand-1); }
.icon-btn svg { width: 18px; height: 18px; }

.menu-btn { display: grid; }
@media (min-width: 880px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .nav-inner { padding: 1rem 1.5rem; }
}

/* mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.85rem 0.5rem;
  font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--brand-1); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-grad);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--glow); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--brand-1); }
.btn-ghost { color: var(--text-2); padding: 0.65rem 1rem; }
.btn-ghost:hover { color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1rem; }

/* --- HERO --- */
.hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--brand-1) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(60px);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--brand-2) 0%, transparent 60%);
  opacity: 0.12;
  filter: blur(60px);
  z-index: 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  margin-bottom: 1rem;
}
.hero h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-2);
  max-width: 580px;
  margin-bottom: 2rem;
}

/* --- SEARCH BAR --- */
.search-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.search-tabs {
  display: flex; gap: 0.25rem;
  margin-bottom: 1rem;
  background: var(--bg);
  padding: 4px;
  border-radius: 12px;
  width: fit-content;
}
.search-tab {
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}
.search-tab.active { background: var(--brand-grad); color: white; }

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.search-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  display: flex; flex-direction: column; gap: 2px;
}
.search-field label { font-size: 0.7rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.search-field select, .search-field input {
  background: transparent; border: none; outline: none;
  color: var(--text);
  font-size: 0.95rem; font-weight: 500;
  font-family: inherit;
  width: 100%;
}
.search-field select { appearance: none; cursor: pointer; }
.search-field option { background: var(--bg-card); color: var(--text); }

.search-btn-row { margin-top: 0.5rem; }

@media (min-width: 640px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .search-grid { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; }
  .search-btn-row { margin-top: 0; }
}

/* --- TRUST BAR --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem;
}
.trust-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border-radius: 10px;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-item .label { font-weight: 600; color: var(--text); }
.trust-item .sub { font-size: 0.75rem; color: var(--text-3); }
@media (min-width: 720px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
}

/* --- SECTION --- */
section.section { padding: 3rem 0; position: relative; z-index: 2; }
.section-head {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.section-head .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-1);
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-head p { color: var(--text-2); max-width: 600px; }
.section-head-row {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

/* --- CAR GRID --- */
.car-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .car-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .car-grid { grid-template-columns: repeat(4, 1fr); } }

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  display: flex; flex-direction: column;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-1);
  box-shadow: var(--shadow-lg);
}
.car-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.car-badges {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.badge {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge.verified { background: color-mix(in srgb, var(--accent) 85%, transparent); color: white; }
.badge.fica { background: color-mix(in srgb, var(--brand-1) 85%, transparent); color: white; }
.badge.new { background: color-mix(in srgb, var(--brand-2) 85%, transparent); color: white; }
.heart-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: white;
}
.heart-btn svg { width: 16px; height: 16px; }
.heart-btn:hover { color: var(--brand-2); }
.heart-btn.fav { color: var(--brand-2); }

.car-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.car-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.car-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.78rem; color: var(--text-3);
}
.car-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.car-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.car-price {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.car-price .currency { font-size: 0.85rem; color: var(--text-3); font-weight: 500; margin-right: 0.15rem; }
.car-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.seller-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-2);
}
.seller-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: grid; place-items: center;
  font-size: 0.6rem; font-weight: 700; color: white;
}
.location-pill {
  font-size: 0.72rem;
  color: var(--text-3);
  display: inline-flex; align-items: center; gap: 0.25rem;
}

/* --- HOW IT WORKS --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s;
}
.step:hover { border-color: var(--brand-1); transform: translateY(-2px); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 1rem;
}
.step-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--brand-grad);
  border-radius: 12px;
  margin-bottom: 1rem;
  color: white;
}
.step-icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--text-2); line-height: 1.5; }

/* --- SAFETY / TRUST --- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.trust-card:hover { border-color: var(--accent); }
.trust-card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border-radius: 14px;
}
.trust-card-icon svg { width: 26px; height: 26px; }
.trust-card h3 { font-size: 1.1rem; }
.trust-card p { color: var(--text-2); font-size: 0.92rem; }
.trust-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.trust-card li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.88rem; color: var(--text-2);
}
.trust-card li::before {
  content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  position: relative; z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-2); padding: 0.4rem 0; }
.footer-col a:hover { color: var(--brand-1); }
.footer-tag { color: var(--text-2); font-size: 0.92rem; margin-top: 0.75rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-3);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* --- FORM ELEMENTS --- */
.form-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-1) 20%, transparent);
}
.form-field .hint { font-size: 0.75rem; color: var(--text-3); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field select option { background: var(--bg-card); color: var(--text); }

/* --- CHECKBOX / FILE --- */
.checkline {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-2);
  padding: 0.5rem 0;
}
.checkline input { margin-top: 0.2rem; accent-color: var(--brand-1); }

/* --- ALERTS --- */
.alert {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.alert-warn {
  background: color-mix(in srgb, var(--warning) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
  color: var(--text);
}
.alert-info {
  background: color-mix(in srgb, var(--brand-1) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-1) 30%, transparent);
  color: var(--text);
}
.alert-success {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--text);
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert strong { display: block; margin-bottom: 0.25rem; }

/* --- PAGE HEADER --- */
.page-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--brand-1) 0%, transparent 60%);
  opacity: 0.1;
  filter: blur(60px);
}
.page-header h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 0.5rem; }
.page-header p { color: var(--text-2); max-width: 600px; }
.crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--brand-1);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--brand-1); }

/* --- BROWSE PAGE LAYOUT --- */
.browse-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 980px) {
  .browse-layout { grid-template-columns: 280px 1fr; }
}
.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  height: fit-content;
}
@media (min-width: 980px) {
  .filter-sidebar { position: sticky; top: 90px; }
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); margin-bottom: 0.75rem;
  font-family: 'Sora', sans-serif;
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.82rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--brand-1); }
.filter-chip.active { background: var(--brand-grad); color: white; border-color: transparent; }

.browse-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap; gap: 0.75rem;
}
.results-count { font-size: 0.9rem; color: var(--text-2); }
.results-count b { color: var(--text); }
.sort-select {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.55rem 0.9rem;
  color: var(--text); font-size: 0.88rem; font-family: inherit;
  outline: none; cursor: pointer;
}

/* --- WORKFLOW TIMELINE --- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-1), var(--brand-2));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: var(--glow);
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
.timeline-content h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.timeline-content p { color: var(--text-2); font-size: 0.9rem; }
.timeline-content ul { margin-top: 0.75rem; padding-left: 1.2rem; color: var(--text-2); font-size: 0.88rem; }
.timeline-content li { margin-bottom: 0.35rem; }
.timeline-meta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- TWO COLUMN --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 880px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--brand-grad);
  border-radius: 24px;
  padding: 2.5rem 1.75rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.75rem;
  position: relative;
}
.cta-banner p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  position: relative;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.cta-banner .btn {
  background: white;
  color: var(--brand-1);
  position: relative;
}
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }

/* --- FAQ --- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  padding: 1.1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  width: 100%;
  text-align: left;
}
.faq-question .ico { transition: transform 0.3s; }
.faq-item.open .faq-question .ico { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-2);
  font-size: 0.92rem;
  padding: 0 1.25rem;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.25rem 1.25rem; }

/* --- ANIM --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.3s; }

/* --- UTILITIES --- */
.text-center { text-align: center; }
.muted { color: var(--text-2); }
.small { font-size: 0.85rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* hide scrollbar for nice scroll regions */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
