/* Bel Air Studios — coverage.belairstudios.ai
 * Unified visual identity with belairfilms.com (dark cinema theme).
 * Keeps workshop's class names so templates need no changes.
 * 2026-05-12
 */

/* Google Fonts import removed 2026-05-16 — system fonts only (zero-external-deps policy). Inter is the preferred font; -apple-system / BlinkMacSystemFont / Helvetica Neue fallbacks in .body{font-family} retain near-identical look on macOS/Windows. */

:root {
  --gold: #c9a227;
  --gold-light: #e0c060;
  --gold-dark: #a0811a;
  --bg-primary: #0a0a0f;
  --bg-card: #1a1a24;
  --bg-input: #12121a;
  --bg-elev: #0f0f1e;
  --text-primary: #f0f0f0;
  --text-secondary: #8a8a9a;
  --border: #2a2a3a;
  --danger: #e04040;
  --success: #40c060;
  --warning: #c9a227;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.public-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header / nav */
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.public-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.public-nav a, .public-nav .link-button {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.public-nav a:hover, .public-nav .link-button:hover {
  color: var(--gold);
}
.cta-link {
  background: var(--gold);
  color: #000 !important;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
}
.cta-link:hover {
  background: var(--gold-light);
  color: #000 !important;
}
.link-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.public-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.public-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 5%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-elev);
}
.footer-sep { margin: 0 0.6rem; color: var(--border); }

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, rgba(201,162,39,0.08) 0%, transparent 60%);
  margin: -4rem -5% 4rem;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 1.5rem;
  letter-spacing: -1px;
  color: var(--text-primary);
  padding: 0 5%;
}
.hero h1 span { color: var(--gold); }
.lede {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 5%;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold-light); color: #000; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--gold); color: #000; }

.founding-counter {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* Differentiators */
.differentiators { margin-bottom: 5rem; }
.differentiators h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 2.5rem;
  color: var(--text-primary);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  transition: border-color 0.2s;
}
.diff-card:hover { border-color: var(--gold-dark); }
.diff-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
}
.diff-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.diff-card em {
  color: var(--text-primary);
  font-style: italic;
}

/* How it works */
.how-it-works { margin-bottom: 5rem; }
.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 2rem;
  color: var(--text-primary);
}
.steps {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-secondary);
}
.steps li { margin: 0.6rem 0; }
.steps strong { color: var(--gold); }

/* Pricing */
.pricing-preview { margin-bottom: 5rem; }
.pricing-preview h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 2.2rem;
  color: var(--text-primary);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-2px); border-color: var(--gold-dark); }
.price-card.highlight {
  border-color: var(--gold);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(201,162,39,0.08) 0%, var(--bg-card) 50%);
}
.price-card.founding {
  background: linear-gradient(180deg, rgba(201,162,39,0.15) 0%, var(--bg-card) 60%);
  border-color: var(--gold);
}
.price-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.price-card .price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: var(--text-primary);
}
.price-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.5rem 0;
}
.seats-line {
  font-weight: 600;
  color: var(--gold);
  margin-top: 1rem;
  font-size: 0.9rem;
}
.seats-line.sold-out { color: var(--danger); }
.pricing-foot {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
}

/* Auth forms */
.auth-form {
  max-width: 440px;
  margin: 2rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
}
.auth-form h1 {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  color: var(--text-primary);
}
.auth-form label {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  margin-top: 0.4rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.2s;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.auth-form button.btn-primary { width: 100%; margin-top: 0.5rem; }
.auth-alt {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.form-error {
  background: rgba(224,64,64,0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}
.muted {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Account dashboard */
.account-header { margin-bottom: 2.5rem; }
.account-header h1 {
  margin: 0 0 0.4rem;
  color: var(--text-primary);
  font-size: 1.8rem;
}
.notice {
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.orders-section h2 {
  margin: 0 0 1.2rem;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  overflow: hidden;
}
.orders-table th {
  text-align: left;
  padding: 0.8rem 1.2rem;
  background: var(--bg-input);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.orders-table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.orders-table tr:last-child td { border-bottom: none; }

.status-pill {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pill.status-paid_pending { background: rgba(201,162,39,0.2); color: var(--gold); }
.status-pill.status-processing { background: rgba(64,128,224,0.2); color: #60a0f0; }
.status-pill.status-completed,
.status-pill.status-emailed { background: rgba(64,192,96,0.2); color: var(--success); }
.status-pill.status-failed { background: rgba(224,64,64,0.2); color: var(--danger); }

/* Hero adjustment when inside .public-main */
.public-main > .hero:first-child {
  margin: -4rem -5% 4rem;
}
/* ════════════════════════════════════════════════════════════════════
   Bel Air Studios — public.css polish v2 (aligns with workshop.css
   design tokens v2). Added 2026-05-19. Backwards-compatible.
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* Mirror Layer 1 + 2 tokens from workshop.css so the public surfaces
     (landing/sample/marketing/account/legal) share visual vocabulary. */
  --color-gold-200: #f0d68a;
  --color-gold-300: #e0c060;
  --color-gold-500: #c9a227;
  --color-gold-700: #a0811a;

  --color-ink-0:   #f0f0f0;
  --color-ink-1:   #c0c0cc;
  --color-ink-2:   #8a8a9a;
  --color-ink-3:   #5a5a6a;
  --color-bg-0:    #0a0a0f;
  --color-bg-1:    #0f0f1e;
  --color-bg-2:    #12121a;
  --color-bg-3:    #1a1a24;
  --color-bg-4:    #2a2a3a;
  --color-bg-5:    #3a3a4a;

  --color-red-300:    #ffb0b0;
  --color-amber-300:  #ffd984;
  --color-green-300:  #b9f2ce;
  --color-red-700:    #8a3030;
  --color-amber-700:  #8a7030;
  --color-green-700:  #2a8048;

  --color-brand:           var(--color-gold-500);
  --color-brand-hover:     var(--color-gold-300);
  --color-text-primary:    var(--color-ink-0);
  --color-text-secondary:  var(--color-ink-2);
  --color-text-tertiary:   var(--color-ink-3);
  --color-bg-canvas:       var(--color-bg-0);
  --color-bg-elevated:     var(--color-bg-3);
  --color-bg-input:        var(--color-bg-2);
  --color-border-subtle:   var(--color-bg-4);
  --color-border-prominent:var(--color-bg-5);

  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
  --space-12: 48px; --space-16: 64px;

  --text-xs:   0.72rem;
  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-lg:   1.15rem;
  --text-xl:   1.35rem;
  --text-2xl:  1.65rem;
  --text-3xl:  2rem;
  --text-4xl:  2.6rem;

  --radius-sm: 4px;  --radius-md: 6px;  --radius-lg: 10px; --radius-xl: 16px;
  --motion-fast: 0.12s ease;
  --motion-base: 0.2s ease;
}

/* ─── Marketing landing cards: elevation + hover lift ────────────── */
.public-body section > div[style*="background: var(--bg-card)"]:hover,
.public-body section > div[style*="background:var(--bg-card)"]:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand) !important;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  transition: transform var(--motion-base), border-color var(--motion-base), box-shadow var(--motion-base);
}

/* Static state for the cards (transition before hover) */
.public-body section > div[style*="background: var(--bg-card)"],
.public-body section > div[style*="background:var(--bg-card)"] {
  transition: transform var(--motion-base), border-color var(--motion-base), box-shadow var(--motion-base);
}

/* ─── Account page: improve table density + readability ────────── */
.public-body .orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.public-body .orders-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-input);
  color: var(--color-text-tertiary);
  font-weight: var(--weight-semibold, 600);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border-subtle);
}
.public-body .orders-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-subtle);
}
.public-body .orders-table tr:hover td {
  background: rgba(201, 162, 39, 0.04);
}

/* Verdict pill (in account scripts table) */
.public-body .verdict {
  display: inline-block;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.public-body .verdict-pass     { background: #4a1f1f; color: var(--color-red-300); }
.public-body .verdict-consider { background: #4a3f1f; color: var(--color-amber-300); }
.public-body .verdict-recommend{ background: #1f4a26; color: var(--color-green-300); }

/* ─── btn-secondary (the "Already a customer" CTA) ─────────────── */
.public-body .btn-secondary {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-prominent);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  text-decoration: none;
  transition: background var(--motion-base), border-color var(--motion-base), color var(--motion-base);
}
.public-body .btn-secondary:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* ─── Focus rings (accessibility) ─────────────────────────────── */
.public-body a:focus-visible,
.public-body button:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ─── Smoother hover on primary CTAs ──────────────────────────── */
.public-body .btn-primary {
  transition: background var(--motion-base), transform var(--motion-fast), box-shadow var(--motion-base);
}
.public-body .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(201, 162, 39, 0.4);
}
