/* Load Forge Brand & Growth Engine Stylesheet (style.css) */
:root {
  --bg-main: #0a0d12;
  --bg-card: #10141d;
  --bg-card-hover: #161c28;
  --bg-input: #080a0e;
  --border: #1f2937;
  --border-focus: #10b981;
  --primary: #10b981;
  --primary-hover: #34d399;
  --primary-dark: #064e3b;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --accent-cyan: #06b6d4;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: var(--text-main);
}
.brand-badge {
  background: var(--primary-dark);
  color: var(--primary);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: #030507;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}
.btn-outline {
  border-color: var(--border);
  background: transparent;
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}
.hero h1 span.gradient {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

/* Bass Match Lite Widget Card */
.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 820px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.widget-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}
.input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.input-group input, .input-group select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.input-group input:focus, .input-group select:focus {
  border-color: var(--border-focus);
}

/* Candidate Results List */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.candidate-card {
  background: #0d1117;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.candidate-card:hover {
  transform: translateY(-2px);
  border-color: #374151;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-driver-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.card-driver-brand {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}
.card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-hover);
}
.specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid #161f2e;
  border-bottom: 1px solid #161f2e;
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}
.spec-val {
  font-size: 1rem;
  font-weight: 700;
  color: #e5e7eb;
}
.card-rationale {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Unlock Teaser Banner */
.unlock-banner {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}
.unlock-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Technical Details Grid (Driver Pages) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.tech-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.table-props {
  width: 100%;
  border-collapse: collapse;
}
.table-props td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #17202e;
  font-size: 0.9rem;
}
.table-props td.prop-name {
  color: var(--text-muted);
}
.table-props td.prop-val {
  text-align: right;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #e2e8f0;
}

/* Alpha Topbar */
.alpha-topbar {
  background: #0b1120;
  border-bottom: 1px solid #1e293b;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  color: #94a3b8;
}
.alpha-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.alpha-topbar-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.alpha-topbar-link {
  color: #10b981;
  font-weight: 600;
}
.alpha-topbar-link:hover {
  text-decoration: underline;
}

/* Alpha Gate Layout */
.alpha-gate-hero {
  text-align: center;
  max-width: 760px;
  margin: 3rem auto 2.5rem;
  padding: 0 1rem;
}
.alpha-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.alpha-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}
@media (max-width: 860px) {
  .alpha-grid {
    grid-template-columns: 1fr;
  }
}
.alpha-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.alpha-card.highlight {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.06);
}
.alpha-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.alpha-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}
textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer a {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .specs-row {
    gap: 1rem;
  }
  .widget-box {
    padding: 1.25rem;
  }
}

