/* Script Doctor — Landing Page Styles
   Option A: "The Doctor Is In" — Dark Cinematic
   Brand: Binary Omlette Collective · binaryomlettecollective.com
*/

/* ── Reset & Custom Properties ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #0b1018;
  --bg-mid:     #0d1117;
  --bg-hero:    #1a2838;
  --emerald:    #3dcc44;
  --steel:      #6a9ab8;
  --text:       #e8eef2;
  --text-muted: #8fa8bc;
  --border:     #1e3050;
  --courier:    'Courier New', Courier, monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ── Alert Banner ─────────────────────────────────────────── */
.alert-bar {
  background: #0d2a1a;
  border-bottom: 1px solid #1a4a2a;
  text-align: center;
  padding: 8px 16px;
  font-family: var(--courier);
  font-size: 0.82rem;
  color: var(--emerald);
  letter-spacing: 0.08em;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 16, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
}

.nav-logo {
  font-family: var(--courier);
  font-size: 1.1rem; font-weight: bold;
  color: var(--text); text-decoration: none; letter-spacing: 0.05em;
}
.nav-logo span { color: var(--emerald); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--emerald); color: #0b1018;
  padding: 8px 20px; border-radius: 4px;
  font-family: var(--courier); font-weight: bold; font-size: 0.9rem;
  text-decoration: none; letter-spacing: 0.03em;
  transition: opacity .15s;
}
.btn-nav:hover { opacity: 0.85; color: #0b1018; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-hero) 100%);
  display: flex; align-items: center;
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(61,204,68,0.06) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-image {
  flex: 0 0 auto;
  display: flex; align-items: flex-end; justify-content: flex-end;
  position: relative; z-index: 2;
}
.hero-image img {
  height: 460px; width: auto;
  filter: drop-shadow(0 20px 40px rgba(61,204,68,0.15));
}

/* Corner brackets */
.bracket-wrap { position: relative; display: inline-block; }
.bracket-wrap::before, .bracket-wrap::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--emerald); border-style: solid;
}
.bracket-wrap::before { top: -8px; left: -12px; border-width: 2px 0 0 2px; }
.bracket-wrap::after  { bottom: -8px; right: -12px; border-width: 0 2px 2px 0; }

.hero-eyebrow {
  font-family: var(--courier);
  font-size: 0.78rem; letter-spacing: 0.18em;
  color: var(--steel); text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--courier);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1; font-weight: bold;
  margin-bottom: 8px;
}
.hero h1 .green { color: var(--emerald); }

/* Heartbeat line */
.heartbeat {
  width: 280px; height: 2px;
  margin: 18px 0 24px;
  position: relative; overflow: hidden;
}
.heartbeat::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, var(--emerald) 20%, var(--emerald) 30%,
    transparent 35%, var(--emerald) 40%, var(--emerald) 45%,
    transparent 50%, var(--emerald) 55%, transparent 100%);
  animation: hb 3s linear infinite;
}
@keyframes hb { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.hero-sub {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 36px; max-width: 480px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.btn-primary {
  background: var(--emerald); color: #0b1018;
  padding: 13px 28px; border-radius: 4px;
  font-family: var(--courier); font-weight: bold; font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: 0.85; color: #0b1018; }

.btn-secondary {
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: 4px;
  font-family: var(--courier); font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  border: 1px solid var(--border);
  transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--steel); }

.hero-meta {
  font-size: 0.82rem; color: var(--text-muted);
  font-family: var(--courier); letter-spacing: 0.04em;
}
.hero-meta span { color: var(--emerald); }

/* ── Countdown ────────────────────────────────────────────── */
.countdown-wrap {
  background: var(--bg-mid);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 48px; text-align: center;
}
.countdown-label {
  font-family: var(--courier); font-size: 0.75rem; letter-spacing: 0.15em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px;
}
.countdown-timer { display: flex; gap: 32px; justify-content: center; align-items: flex-end; }
.countdown-unit { text-align: center; }
.countdown-num {
  font-family: var(--courier); font-size: 2.6rem; font-weight: bold;
  color: var(--steel); line-height: 1; display: block;
}
.countdown-unit > span:last-child {
  font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.1em;
  text-transform: uppercase; font-family: var(--courier);
}

/* ── Section Chrome ───────────────────────────────────────── */
section { padding: 80px 48px; }
section:nth-child(odd) { background: var(--bg-mid); }

.section-label {
  font-family: var(--courier); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--emerald); margin-bottom: 12px;
}

h2 {
  font-family: var(--courier);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: bold; line-height: 1.2; margin-bottom: 20px;
}

.section-sub {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 580px; margin-bottom: 48px;
}

/* ── Problem / Solution ───────────────────────────────────── */
.vs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 900px;
}
.vs-card {
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 6px; padding: 28px 24px;
}
.vs-card.highlight { border-color: var(--emerald); }
.vs-app {
  font-family: var(--courier); font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px;
}
.vs-price {
  font-family: var(--courier); font-size: 2rem; font-weight: bold; margin-bottom: 8px;
}
.vs-price.green { color: var(--emerald); }
.vs-price.muted { color: var(--text-muted); }
.vs-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.vs-card.highlight p { color: var(--text); }
.vs-badge {
  display: inline-block; background: var(--emerald); color: #0b1018;
  font-family: var(--courier); font-size: 0.7rem; font-weight: bold;
  padding: 2px 8px; border-radius: 2px; letter-spacing: 0.08em; margin-bottom: 10px;
}

/* ── Features Grid ────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1000px;
}
.feature-card {
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 6px; padding: 28px 24px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--steel); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.feature-card h3 {
  font-family: var(--courier); font-size: 1rem; font-weight: bold;
  margin-bottom: 8px; color: var(--emerald);
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ── Themes Strip ─────────────────────────────────────────── */
.themes-strip { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.theme-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: default; }
.theme-swatch {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid #1e3050;
  position: relative; overflow: hidden;
}
.theme-chip:hover .theme-swatch { border-color: var(--emerald); }
.theme-name {
  font-family: var(--courier); font-size: 0.68rem;
  color: var(--text-muted); text-align: center; white-space: nowrap;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1000px;
}
.testimonial-card {
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 6px; padding: 28px 24px;
}
.testimonial-quote {
  font-size: 0.95rem; color: var(--text); line-height: 1.6;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-quote::before { content: '\201C'; color: var(--emerald); font-size: 1.4rem; }
.testimonial-author { font-family: var(--courier); font-size: 0.82rem; color: var(--text-muted); }
.testimonial-author strong { color: var(--steel); }

/* ── Pricing Card ─────────────────────────────────────────── */
.pricing-card {
  max-width: 480px;
  background: var(--bg-deep); border: 1px solid var(--emerald);
  border-radius: 8px; padding: 40px; position: relative;
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--emerald); color: #0b1018;
  font-family: var(--courier); font-size: 0.72rem; font-weight: bold;
  padding: 4px 16px; border-radius: 20px; letter-spacing: 0.1em; white-space: nowrap;
}
.pricing-card h3 {
  font-family: var(--courier); font-size: 1.1rem; color: var(--text); margin-bottom: 6px;
}
.pricing-price {
  font-family: var(--courier); font-size: 3.4rem; font-weight: bold;
  color: var(--emerald); line-height: 1; margin: 16px 0 4px;
}
.pricing-price sup { font-size: 1.4rem; vertical-align: super; }
.pricing-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text);
  display: flex; gap: 10px; align-items: center;
}
.pricing-features li::before { content: '✓'; color: var(--emerald); font-weight: bold; }
.pricing-features li:last-child { border-bottom: none; }
.btn-pricing {
  display: block; width: 100%; text-align: center;
  background: var(--emerald); color: #0b1018;
  padding: 14px; border-radius: 4px;
  font-family: var(--courier); font-weight: bold; font-size: 1rem;
  text-decoration: none; transition: opacity .15s;
}
.btn-pricing:hover { opacity: 0.85; color: #0b1018; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-wrap { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q {
  font-family: var(--courier); font-size: 0.98rem; font-weight: bold;
  color: var(--text); margin-bottom: 10px;
}
.faq-q::before { content: '> '; color: var(--emerald); }
.faq-a { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
.faq-doc { display: flex; gap: 20px; margin-top: 40px; align-items: center; }
.faq-doc img { width: 80px; opacity: 0.85; }
.faq-doc-text { font-size: 0.9rem; color: var(--text-muted); }
.faq-doc-text strong { color: var(--steel); font-family: var(--courier); }
.faq-doc-text a { color: var(--steel); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--courier); font-size: 0.9rem; color: var(--text-muted); }
.footer-logo span { color: var(--emerald); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: #3a5568; font-family: var(--courier); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 800px) {
  nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .hero { flex-direction: column; padding: 60px 20px 40px; text-align: center; min-height: auto; }
  .hero-image { justify-content: center; margin-top: 32px; }
  .hero-image img { height: 280px; }
  .hero-ctas { justify-content: center; }
  .heartbeat { margin-left: auto; margin-right: auto; }
  section { padding: 60px 20px; }
  .vs-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .countdown-wrap { padding: 24px 20px; }
  .countdown-timer { gap: 20px; }
  footer { padding: 32px 20px; flex-direction: column; text-align: center; }
}
