/* ========================================
   MockForge — Dark Industrial Theme
   ======================================== */

:root {
  --bg: #0A0A0B;
  --bg-2: #111113;
  --bg-card: #161618;
  --bg-card-hover: #1C1C1F;
  --fg: #F5F5F0;
  --fg-muted: #888;
  --fg-dim: #555;
  --accent: #FF6B00;
  --accent-dim: rgba(255,107,0,0.15);
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --radius: 6px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.navbar-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  padding: 100px 32px 80px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--fg);
}
.hero-highlight {
  color: var(--accent);
  display: inline;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  padding: 0 40px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  margin-right: 40px;
}

/* ---- SHARED SECTION ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

/* ---- CONTRAST / BEFORE-AFTER ---- */
.contrast {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.contrast-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}
.contrast-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.contrast-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.contrast-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.contrast-card--before {
  border-color: rgba(255,255,255,0.08);
}
.contrast-card--after {
  border-color: rgba(255,107,0,0.3);
  box-shadow: 0 0 40px rgba(255,107,0,0.06);
}
.card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  font-family: var(--font-display);
}
.card-badge--bad { background: rgba(255,255,255,0.05); color: #666; }
.card-badge--good { background: rgba(255,107,0,0.15); color: var(--accent); }
.card-site {
  padding: 24px;
}
.site-header { border-radius: 4px; overflow: hidden; }
.site-title-bar {
  background: #e8e8e0;
  padding: 6px 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.site-title-bar--dark { background: #1e1e1e; }
.site-dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; }
.site-dot--amber { background: var(--accent); }
.site-content { padding: 16px; background: #f5f5f0; }
.site-content--dark { background: #111113; }

/* BEFORE side CSS illustration */
.old-banner {
  height: 48px; background: #ddd;
  border-radius: 2px; margin-bottom: 12px;
}
.old-text-block {
  height: 10px; background: #ccc;
  border-radius: 2px; margin-bottom: 8px;
}
.old-text-block--short { width: 60%; }
.old-text-block--med { width: 80%; }
.old-nav-row {
  display: flex; gap: 4px;
  margin: 16px 0;
}
.old-nav-btn {
  height: 24px; flex: 1;
  background: #bbb;
  border-radius: 2px;
}

/* AFTER side CSS illustration */
.new-hero-block {
  background: #1a1a1a;
  border-radius: 4px;
  padding: 20px 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,107,0,0.2);
}
.new-headline {
  height: 14px; width: 55%;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 10px;
  opacity: 0.9;
}
.new-subline {
  height: 8px; width: 75%;
  background: #444;
  border-radius: 2px;
  margin-bottom: 14px;
}
.new-cta {
  height: 28px; width: 120px;
  background: var(--accent);
  border-radius: 3px;
}
.new-feature-row {
  display: flex; gap: 8px;
  margin-bottom: 12px;
}
.new-feature {
  flex: 1; height: 36px;
  background: #1a1a1a;
  border-radius: 4px;
  border: 1px solid rgba(255,107,0,0.15);
}
.new-chat-widget {
  background: #111;
  border-radius: 6px;
  border: 1px solid rgba(255,107,0,0.25);
  overflow: hidden;
}
.chat-header {
  height: 28px;
  background: rgba(255,107,0,0.15);
  border-bottom: 1px solid rgba(255,107,0,0.1);
  padding: 0 12px;
  display: flex; align-items: center;
}
.chat-header::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: block;
}
.chat-msgs { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { height: 8px; border-radius: 4px; }
.chat-msg--bot { width: 70%; background: #222; }
.chat-msg--user { width: 50%; background: rgba(255,107,0,0.3); align-self: flex-end; }
.chat-msg--bot:last-child { width: 55%; }
.chat-input {
  margin: 0 12px 12px;
  height: 24px; background: #1a1a1a;
  border-radius: 4px;
  border: 1px solid rgba(255,107,0,0.15);
}

.card-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-align: center;
  padding: 12px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.card-problems, .card-wins {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  padding: 0 16px 16px;
}
.problem-tag {
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.04);
  color: #777;
  border-radius: 3px;
  font-weight: 500;
}
.win-tag {
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(255,107,0,0.1);
  color: var(--accent);
  border-radius: 3px;
  font-weight: 500;
}
.contrast-footer {
  max-width: 1200px;
  margin: 32px auto 0;
  text-align: center;
}
.contrast-footnote {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- PROCESS ---- */
.process {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.process-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  gap: 0;
  align-items: start;
}
.step { padding: 0 8px; }
.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.step-connector {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}
.connector-line {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* Process visual blocks */
.step-visual { border-radius: var(--radius); overflow: hidden; }

/* Lead list */
.step-visual--list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px;
}
.lead-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.lead-row:last-child { margin-bottom: 0; }
.lead-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #222;
  flex-shrink: 0;
}
.lead-info { flex: 1; min-width: 0; }
.lead-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 2px;
}
.lead-meta {
  font-size: 11px;
  color: var(--fg-muted);
}
.lead-score {
  font-size: 10px; font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.lead-score--hot { background: rgba(255,107,0,0.15); color: var(--accent); }
.lead-score--warm { background: rgba(255,255,255,0.05); color: #aaa; }

/* Generate button */
.step-visual--generate {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px;
}
.gen-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 12px;
}
.gen-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}
.gen-bar {
  height: 100%;
  width: 65%;
  background: var(--accent);
  border-radius: 2px;
  background-image: linear-gradient(90deg, var(--accent) 0%, #ff8c33 100%);
  animation: loadbar 1.5s ease-out forwards;
}
@keyframes loadbar {
  from { width: 0%; }
  to { width: 65%; }
}
.gen-output {
  display: flex; flex-direction: column; gap: 8px;
}
.gen-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
}
.gen-card-icon { flex-shrink: 0; }
.gen-card-label { font-size: 12px; color: var(--fg-muted); }

/* Email preview */
.step-visual--close {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.email-preview {
  border-bottom: 1px solid var(--border);
  padding: 16px;
}
.email-header {
  display: flex; justify-content: space-between;
  margin-bottom: 4px;
}
.email-from { font-size: 11px; color: var(--fg-muted); }
.email-time { font-size: 11px; color: var(--fg-dim); }
.email-subject {
  font-size: 14px; font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.email-body { display: flex; flex-direction: column; gap: 6px; }
.email-line {
  height: 8px; background: #222;
  border-radius: 2px;
}
.email-line--short { width: 40%; }
.email-line--med { width: 70%; }
.email-cta {
  padding: 12px 16px;
  display: flex;
}
.email-cta-btn {
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
}
.close-stat {
  padding: 16px;
  text-align: center;
}
.close-stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.close-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.close-stat-note {
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ---- DASHBOARD SECTION ---- */
.dashboard-section {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}
.dashboard-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}
.dashboard-visual {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.dash-shell {
  background: #0d0d0e;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.dash-topbar {
  background: #141416;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dash-dot--red { background: #ff5f57; }
.dash-dot--yellow { background: #febc2e; }
.dash-dot--green { background: #28c840; }
.dash-title {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--fg-muted);
}
.dash-right { display: flex; align-items: center; gap: 8px; }
.dash-search {
  width: 80px; height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.dash-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
}
.dash-body { display: flex; height: 340px; }
.dash-sidebar {
  width: 180px;
  background: #111113;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--fg-muted);
  cursor: pointer;
}
.dash-nav-item--active {
  color: var(--fg);
  background: rgba(255,107,0,0.08);
  border-left: 2px solid var(--accent);
}
.nav-icon {
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.dash-main { flex: 1; padding: 20px; overflow: hidden; }
.dash-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 100%;
}
.kanban-col {
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: 12px;
  overflow: hidden;
}
.kanban-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.kanban-label {
  font-size: 11px; font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kanban-count {
  font-size: 11px; color: var(--fg-dim);
  background: rgba(255,255,255,0.04);
  padding: 1px 6px;
  border-radius: 10px;
}
.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 6px;
}
.kanban-card:last-child { margin-bottom: 0; }
.kanban-card--won {
  border-color: rgba(255,107,0,0.2);
}
.k-name { font-size: 12px; font-weight: 500; color: var(--fg); margin-bottom: 3px; }
.k-meta { font-size: 10px; color: var(--fg-dim); margin-bottom: 6px; }
.k-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px; border-radius: 2px;
  display: inline-block;
}
.k-tag--hot { background: rgba(255,107,0,0.15); color: var(--accent); }
.k-tag--warm { background: rgba(255,255,255,0.04); color: #888; }
.k-tag--amber { background: rgba(255,107,0,0.1); color: #ff9040; }
.k-tag--won { background: rgba(255,107,0,0.12); color: var(--accent); }

.dashboard-features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.df-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.df-icon { flex-shrink: 0; margin-top: 2px; }
.df-text {
  font-size: 13px; color: var(--fg-muted);
  line-height: 1.5;
}
.df-text strong { color: var(--fg); }

/* ---- CLOSER / VISION ---- */
.closer {
  padding: 96px 32px 112px;
}
.closer-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.closer-quote-mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 24px;
  display: block;
}
.closer-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.closer-attr {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.closer-vision {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.closer-vision p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.closer-vision p:last-child { margin-bottom: 0; }

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .contrast-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contrast-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-connector { display: none; }
  .dashboard-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .dash-sidebar { display: none; }
  .dash-kanban { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 64px 20px 56px; }
  .contrast, .process, .dashboard-section { padding: 64px 20px; }
  .closer { padding: 64px 20px 80px; }
  .navbar-inner { padding: 14px 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
  .dashboard-features { grid-template-columns: 1fr; }
  .dash-kanban { grid-template-columns: 1fr; }
}