/* ============================================================
   Pipesmith Theme — dark/light system
   Dark mode: deep slate + electric teal accent
   Light mode: warm cream + amber accent
   ============================================================ */

/* ---- DARK (default) ---- */
:root,
[data-theme="dark"] {
  --bg:          #0d0f14;
  --bg-elevated: #131720;
  --bg-card:     #1a1f2e;
  --bg-card-alt: #141928;
  --fg:          #e8eaf0;
  --fg-muted:    #7a8099;
  --fg-subtle:   #454d66;
  --accent:      #00d4aa;
  --accent-dim:  #00b891;
  --accent-glow: rgba(0, 212, 170, 0.12);
  --accent-soft: rgba(0, 212, 170, 0.06);
  --danger:      #ff6b6b;
  --success:     #4ade80;
  --border:      rgba(255,255,255,0.06);
  --border-focus:rgba(0, 212, 170, 0.35);
  --radius:      14px;
  --radius-sm:   8px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.12);
  --font-display:'Syne', sans-serif;
  --font-body:   'Satoshi', 'DM Sans', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --nav-bg:      rgba(13, 15, 20, 0.88);
}

/* ---- LIGHT ---- */
[data-theme="light"] {
  --bg:          #f7f5f0;
  --bg-elevated: #ede9e2;
  --bg-card:     #ffffff;
  --bg-card-alt: #f0ede7;
  --fg:          #1a1a24;
  --fg-muted:    #6b6677;
  --fg-subtle:   #b0aab8;
  --accent:      #d97706;
  --accent-dim:  #b45309;
  --accent-glow: rgba(217, 119, 6, 0.10);
  --accent-soft: rgba(217, 119, 6, 0.05);
  --danger:      #dc2626;
  --success:     #16a34a;
  --border:      rgba(0,0,0,0.08);
  --border-focus:rgba(217, 119, 6, 0.4);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 40px rgba(217, 119, 6, 0.08);
  --nav-bg:      rgba(247, 245, 240, 0.88);
}

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

/* Smooth theme transitions */
body, .profile-card, .search-box, .profile-row, .app-nav, .site-footer {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.2s ease;
}

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

/* ---- ACCENT UTIL ---- */
.accent { color: var(--accent); }

/* ============================================================
   SITE NAV — shared across all pages
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand em {
  color: var(--accent);
  font-style: normal;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--fg);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: opacity 0.15s, transform 0.15s;
}
.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--fg-muted);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--border-focus);
}
.theme-toggle svg { pointer-events: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* Nav page offset */
.page-offset { padding-top: 60px; }

/* ============================================================
   USER DROPDOWN (shared — homepage + authenticated pages)
   ============================================================ */
.user-dropdown-wrap { position: relative; }
.user-dropdown-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--fg-muted); transition: color 0.15s, border-color 0.15s;
}
.user-dropdown-btn:hover { color: var(--fg); border-color: var(--border-focus); }
.user-avatar {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--accent-soft); border: 1px solid var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 10px; font-weight: 700; color: var(--accent);
  flex-shrink: 0;
}
.user-chevron { width: 12px; height: 12px; flex-shrink: 0; transition: transform 0.2s; }
.user-dropdown-btn[aria-expanded="true"] .user-chevron { transform: rotate(180deg); }
.user-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 300; overflow: hidden;
  opacity: 0; transform: translateY(-6px) scale(0.97);
  pointer-events: none; transition: opacity 0.15s, transform 0.15s;
}
.user-dropdown-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 14px; color: var(--fg-muted);
  text-decoration: none; transition: background 0.12s, color 0.12s;
}
.dropdown-item:hover { background: var(--bg-elevated); color: var(--fg); }
.dropdown-item svg { flex-shrink: 0; opacity: 0.7; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.dropdown-item.danger:hover { color: var(--danger); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 36px;
}
[data-theme="light"] .hero-eyebrow {
  border-color: rgba(217, 119, 6, 0.2);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-kicker {
  display: block;
  color: var(--accent);
}

.lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--fg-subtle);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  padding: 120px 24px;
  background: var(--bg-elevated);
}
.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 24px;
}
.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
  max-width: 640px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.problem-card {
  background: var(--bg-card);
  padding: 36px 28px;
  transition: background 0.2s;
}
.problem-card:hover { background: var(--bg-card-alt); }
.problem-stat {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.problem-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 120px 24px;
}
.how-inner {
  max-width: 760px;
  margin: 0 auto;
}
.how h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
}
.how-steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 4px;
  letter-spacing: 0.05em;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-content p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   NUMBERS / COMPARISON
   ============================================================ */
.numbers {
  padding: 120px 24px;
  background: var(--bg-elevated);
}
.numbers-inner {
  max-width: 900px;
  margin: 0 auto;
}
.numbers h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
}
.numbers-comparison {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-col {
  padding: 40px 32px;
  background: var(--bg-card);
}
.compare-col.us { background: var(--accent-soft); }
.compare-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
}
.compare-col.us .compare-header { color: var(--accent); }
.compare-col ul { list-style: none; }
.compare-col li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.compare-col li:last-child { border-bottom: none; }
.compare-col.us li { color: var(--fg); }
.compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}
.compare-divider span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  writing-mode: vertical-rl;
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing {
  padding: 140px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.closing-mark {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0.7;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.closing-text {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.closing-sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-brand em {
  color: var(--accent);
  font-style: normal;
}
.footer-meta {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  padding: 120px 24px;
}
.pricing-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.pricing-sub {
  color: var(--fg-muted);
  font-size: 16px;
  margin-bottom: 56px;
  line-height: 1.6;
}

/* Tier Cards */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  margin-bottom: 32px;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tier-card:hover {
  border-color: var(--accent);
}
.tier-featured {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-card);
}
.tier-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 100px;
}
.tier-header { margin-bottom: 24px; }
.tier-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.tier-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.tier-period {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-muted);
}
.tier-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.tier-cta {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: var(--bg-elevated);
  color: var(--fg);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tier-cta:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--fg);
}
.tier-cta-featured {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.tier-cta-featured:hover {
  opacity: 0.88;
  background: var(--accent);
  color: var(--bg);
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.45;
}
.tier-features li strong {
  color: var(--fg);
  font-weight: 600;
}
.check-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--accent);
  margin-top: 2px;
}

/* Trust line */
.trust-line {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 80px;
  letter-spacing: 0.1px;
}

/* Feature Table */
.feature-table-wrap {
  text-align: left;
  margin-bottom: 80px;
}
.feature-table-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--fg);
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-table th {
  background: var(--bg-elevated);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.plan-col-head { text-align: center; }
.plan-highlight-head {
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.feature-table tbody tr:last-child td { border-bottom: none; }
.feature-table tbody tr.row-alt { background: var(--bg-elevated); }
.feature-name {
  color: var(--fg-muted);
  font-weight: 400;
}
.plan-val {
  text-align: center;
  color: var(--fg);
  font-weight: 500;
}
.plan-val.muted { color: var(--fg-subtle); }
.plan-highlight-val {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.table-check {
  width: 16px;
  height: 16px;
  color: var(--accent);
  display: inline-block;
}

/* FAQ */
.faq-wrap {
  text-align: left;
  margin-bottom: 80px;
}
.faq-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--fg);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

/* CSS-only accordion using hidden checkbox + adjacent sibling */
.faq-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-elevated); }
.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--fg-muted);
  transition: transform 0.2s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
/* When checkbox is checked, expand the answer */
.faq-toggle:checked ~ .faq-answer {
  max-height: 200px;
}
.faq-toggle:checked + .faq-question .faq-chevron {
  transform: rotate(180deg);
}
.faq-toggle:checked + .faq-question {
  background: var(--bg-elevated);
}

/* Bottom CTA */
.pricing-bottom-cta {
  text-align: center;
}
.pricing-bottom-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--fg);
}
.pricing-bottom-sub {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 12px;
}

/* ============================================================
   SHOWCASE — Example Research Preview
   ============================================================ */
.showcase {
  padding: 100px 20px;
  background: var(--bg);
  position: relative;
}
.showcase-inner {
  max-width: 860px;
  margin: 0 auto;
}
.showcase-header {
  text-align: center;
  margin-bottom: 48px;
}
.showcase-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--fg);
}
.showcase-sub {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* Window chrome */
.showcase-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25), 0 0 0 1px var(--border);
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border);
}
.window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca41; }
.window-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
}
.window-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Preview content */
.showcase-content {
  padding: 28px 32px;
  max-height: 680px;
  overflow: hidden;
  position: relative;
}
/* Frosted fade at bottom */
.showcase-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-card) 100%);
  pointer-events: none;
}

/* Profile header */
.sc-header { margin-bottom: 20px; }
.sc-company-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--fg);
}
.sc-summary {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.sc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.meta-chip strong { color: var(--fg); }

/* Hook card */
.sc-hook {
  padding: 18px 22px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.sc-hook-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}
.sc-hook-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
}

/* Section cards */
.sc-sections { display: flex; flex-direction: column; gap: 8px; }
.sc-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sc-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.sc-icon { font-size: 14px; flex-shrink: 0; }
.sc-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fg-muted);
}
.sc-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  background: var(--bg-elevated);
  padding: 1px 7px;
  border-radius: 100px;
}
.sc-body { padding: 14px 18px; }

/* Talking points */
.sc-tp {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--fg);
  line-height: 1.55;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.sc-tp:first-child { padding-top: 0; }
.sc-tp:last-child { border-bottom: none; padding-bottom: 0; }
.sc-bullet {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 1px;
}

/* Pain signals */
.sc-pain {
  padding: 12px 14px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 8px;
}
.sc-pain:last-child { margin-bottom: 0; }
.sc-pain-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--fg);
  margin-bottom: 6px;
}
.sc-pain-angle {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.sc-pain-angle::before { content: '→ '; }
.sc-pain-source {
  font-size: 11px;
  color: var(--fg-subtle);
}

/* Contacts */
.sc-contact {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sc-contact:last-child { border-bottom: none; padding-bottom: 0; }
.sc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.sc-contact-info { min-width: 0; }
.sc-contact-name {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 1px;
}
.sc-contact-title {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 3px;
}
.sc-contact-activity {
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.4;
}
.sc-contact-li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
  font-weight: 500;
}

/* Tech tags */
.sc-tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tech-tag {
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--fg-muted);
}

/* CTA bar */
.sc-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 4px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.sc-cta-label {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--fg-muted);
}
.sc-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.sc-cta-btn:hover { opacity: 0.88; }

/* Footer stats */
.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.showcase-stat {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.showcase-sep {
  color: var(--fg-subtle);
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .hero { min-height: 80vh; padding: 60px 20px 80px; }
  .problem-grid { grid-template-columns: 1fr; gap: 1px; }
  .numbers-comparison {
    grid-template-columns: 1fr;
  }
  .compare-divider { display: none; }
  .problem, .how, .numbers, .showcase { padding: 80px 20px; }
  .closing { padding: 100px 20px; }
  .step { grid-template-columns: 32px 1fr; gap: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .nav-right { gap: 14px; }
  .nav-link.hide-mobile { display: none; }
  .showcase-content { padding: 20px 20px; }
  .sc-meta { gap: 6px; }
  .sc-cta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase-footer { gap: 12px; }
}

@media (max-width: 480px) {
  .compare-col { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .hero h1 { font-size: 36px; }
  .showcase-content { max-height: none; }
  .showcase-content::after { display: none; }
}
