/* Promptforge Landing Page — distinctive dark theme */

:root {
  --bg: #0b0c10;
  --surface: #13151c;
  --surface-2: #1a1d27;
  --border: #22252f;
  --text: #e4e1db;
  --text-dim: #6b7280;
  --accent: #e8a445;
  --accent-dim: #c4852a;
  --accent-glow: rgba(232, 164, 69, 0.15);
  --mint: #6ef5c8;
  --mint-dim: #4dbd95;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 10px;
  --radius-lg: 16px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* Selection */
::selection { background: var(--accent); color: #000; }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(12px);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-dim); transform: translateY(-1px); }

/* ─── HERO ───────────────────────────────────── */
.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 56px 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

/* atmospheric background */
.hero::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(232,164,69,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(110,245,200,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(232, 164, 69, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 32px;
  width: fit-content;
}
.badge-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232,164,69,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(232,164,69,0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

.cta-group { display: flex; gap: 12px; align-items: center; }
.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,164,69,0.25);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--text-dim); color: var(--text); }

.hero-labels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.label-chip {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 5px;
  transition: border-color 0.2s, color 0.2s;
}
.label-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ─── DEMO PANEL (hero right) ─────────────────── */
.demo-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
  position: relative;
}

.demo-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  background: var(--surface-2);
  border-radius: 8px;
  padding: 4px;
}
.demo-tab {
  flex: 1;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  background: none;
}
.demo-tab.active {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}
.demo-tab:not(.active):hover { color: var(--text); }

.demo-step-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.demo-select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 16px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.demo-select:focus { outline: none; border-color: var(--accent); }
.demo-select option { background: var(--surface-2); }

.compiled-output {
  background: #080910;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-height: 0;
  overflow: hidden;
}
.compiled-output.visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 300px;
  overflow: auto;
}
.compiled-header { color: var(--text-dim); margin-bottom: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.output-line { line-height: 1.8; }
.output-role { color: var(--mint); }
.output-keyword { color: var(--accent); }
.output-value { color: #c9d1d9; }
.output-constraint { color: var(--mint-dim); }

/* ─── FEATURES ────────────────────────────────── */
.features-section {
  border-top: 1px solid var(--border);
  padding: 96px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
.features-header { margin-bottom: 64px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(232,164,69,0.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }

.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 18px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ─── DEMO SHOWCASE SECTION ───────────────────── */
.demo-showcase {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 56px;
}
.demo-showcase-inner { max-width: 1280px; margin: 0 auto; }
.demo-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.flow-step {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.3s;
}
.flow-step:hover { border-color: rgba(232,164,69,0.4); }
.flow-step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.flow-step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 8px;
}
.flow-step p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.flow-connector {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 20px;
  flex-shrink: 0;
  align-self: center;
}

/* ─── SOCIAL PROOF / WAITLIST ─────────────────── */
.proof-section {
  padding: 96px 56px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.proof-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.proof-sub { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; }
.proof-stats { display: flex; gap: 40px; }
.stat-item {}
.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--text-dim); font-family: var(--font-mono); }

.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.waitlist-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.waitlist-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }
.waitlist-form { display: flex; gap: 8px; }
.waitlist-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}
.waitlist-input::placeholder { color: var(--text-dim); }
.waitlist-input:focus { outline: none; border-color: var(--accent); }
.waitlist-btn {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.waitlist-btn:hover { background: var(--accent-dim); transform: translateY(-1px); }
.waitlist-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.waitlist-success.show { display: block; }
.waitlist-success-icon { font-size: 32px; margin-bottom: 12px; }
.waitlist-success h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.waitlist-success p { font-size: 13px; color: var(--text-dim); }

/* ─── PRICING CTA BAND ────────────────────────── */
.pricing-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 56px;
  text-align: center;
}
.pricing-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.pricing-band p { font-size: 16px; color: var(--text-dim); margin-bottom: 32px; }
.pricing-band .btn-primary { font-size: 15px; padding: 14px 32px; }

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── SCROLL ANIMATIONS ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO PROOF PILLS ────────────────────────── */
.hero-proof {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--mint);
  background: rgba(110, 245, 200, 0.08);
  border: 1px solid rgba(110, 245, 200, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
}
.proof-dot {
  width: 5px; height: 5px;
  background: var(--mint);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── DEMO PANEL ENHANCEMENTS ─────────────────── */
.demo-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}
.progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.demo-step-count {
  margin-top: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}
.compiled-divider {
  font-size: 9px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.output-user {
  color: #c9d1d9;
  font-style: italic;
}

/* ─── PROOF SECTION ENHANCEMENTS ─────────────── */
.proof-left { padding-right: 40px; }
.proof-right { display: flex; align-items: center; }
.cta-card {
  background: var(--surface);
  border: 1px solid rgba(232, 164, 69, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
}
.cta-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(232,164,69,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.cta-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.cta-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; line-height: 1.6; }
.cta-card-actions { margin-bottom: 12px; }
.cta-btn-lg { font-size: 15px; padding: 14px 28px; }
.cta-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ─── PRICING BAND ENHANCEMENTS ──────────────── */
.pricing-band-inner { text-align: center; }
.pricing-pills { display: flex; gap: 16px; justify-content: center; margin: 32px 0; }
.pricing-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  text-align: center;
  min-width: 140px;
  transition: border-color 0.2s;
}
.pricing-pill:hover { border-color: rgba(232,164,69,0.3); }
.pricing-pill--accent {
  border-color: rgba(232, 164, 69, 0.4);
  background: rgba(232,164,69,0.05);
}
.pill-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.pill-price {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.pill-period { font-size: 16px; font-weight: 400; color: var(--text-dim); }
.pill-desc {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-section { grid-template-columns: 1fr; gap: 40px; }
  .proof-left { padding-right: 0; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; padding: 48px 24px 64px; gap: 48px; }
  .hero-headline { font-size: 36px; }
  .features-section { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .demo-flow { flex-direction: column; gap: 16px; }
  .flow-connector { display: none; }
  .proof-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 40px; }
  .proof-stats { gap: 24px; flex-wrap: wrap; }
  .pricing-band { padding: 64px 24px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
  .waitlist-form { flex-direction: column; }
}