/* Electrician Prompt Bible — Dark Industrial Theme */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Satoshi:wght@400;500;700;900&display=swap');

:root {
  --bg: #0c0c0e;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --border: #2a2a2e;
  --amber: #f59e0b;
  --amber-dim: #b4720a;
  --amber-glow: rgba(245, 158, 11, 0.12);
  --amber-glow-strong: rgba(245, 158, 11, 0.25);
  --yellow: #fbbf24;
  --text: #f5f5f3;
  --text-muted: #7a7a7a;
  --text-dim: #4a4a4a;
  --green: #22c55e;
  --green-dim: #166534;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-glow);
  border: 1px solid var(--amber-dim);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow svg { flex-shrink: 0; }

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 800px;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: #000;
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 var(--amber-glow-strong);
}

.btn-primary:hover {
  background: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--amber-glow-strong);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.btn-ghost:hover { color: var(--text); border-color: var(--text-dim); }

.hero-scroll-hint {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-dim);
}

/* ===== STATS BAR ===== */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 0 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

/* ===== SECTION HEADER ===== */
.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

.section-title em { font-style: italic; color: var(--amber); }

.section-sub {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ===== FREE PROMPTS ===== */
.prompts-section { padding: 80px 0; }

.prompts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.prompt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.prompt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.prompt-card:hover {
  border-color: var(--amber-dim);
  box-shadow: 0 0 40px var(--amber-glow);
}

.prompt-card:hover::before { opacity: 1; }

.prompt-number {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--border);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}

.prompt-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.prompt-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.prompt-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.prompt-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ===== SOCIAL PROOF ===== */
.proof-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.proof-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.proof-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.proof-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--amber);
  border-radius: 2px;
}

.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber-glow);
  border: 2px solid var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--amber);
  flex-shrink: 0;
}

.proof-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 700;
}

.proof-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.proof-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.star-icon { color: var(--amber); font-size: 1rem; }

/* ===== PRICING ===== */
.pricing-section { padding: 80px 0; }

.pricing-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--amber-dim);
  border-radius: 16px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px var(--amber-glow), inset 0 0 60px rgba(245, 158, 11, 0.04);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--yellow), var(--amber));
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-glow);
  border: 1px solid var(--amber-dim);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-name {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 4rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.price-cents {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  top: -8px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features .check-icon { color: var(--amber); flex-shrink: 0; margin-top: 1px; }

.btn-buy {
  display: block;
  width: 100%;
  background: var(--amber);
  color: #000;
  font-family: 'Satoshi', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px var(--amber-glow-strong);
}

.btn-buy:hover {
  background: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--amber-glow-strong);
}

.btn-buy:active { transform: translateY(0); }

.pricing-guarantee {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ===== EMAIL CAPTURE ===== */
.email-section {
  padding: 80px 0 100px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.email-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.email-section .section-title { margin-bottom: 10px; }
.email-section .section-sub { margin: 0 auto 40px; }

.email-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.email-input::placeholder { color: var(--text-dim); }
.email-input:focus { border-color: var(--amber-dim); }

.btn-email {
  background: var(--amber);
  color: #000;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}

.btn-email:hover { background: var(--yellow); transform: translateY(-1px); }
.btn-email:active { transform: translateY(0); }

.email-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 14px;
}

.email-success {
  display: none;
  padding: 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid var(--green-dim);
  border-radius: 8px;
  color: var(--green);
  font-weight: 600;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-muted); }

/* ===== DIVIDER ===== */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 56px 0 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { border-right: none; text-align: left; padding: 0; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .prompts-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  .email-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; padding: 0; }
  .hero h1 { font-size: 2.2rem; }
  .proof-grid { gap: 14px; }
}