/* PresentTool™ — Investor Pitch Styles */

:root {
  --pt-bg:        #0a0a0c;
  --pt-surface:   #111116;
  --pt-card:      #18181f;
  --pt-border:    rgba(255,255,255,0.08);
  --pt-text:      #f0f0f5;
  --pt-muted:     rgba(240,240,245,0.55);
  --pt-primary:   #c8956c;
  --pt-accent:    #e6b08a;
  --pt-success:   #4ade80;
  --pt-warn:      #fbbf24;
  --pt-error:     #f87171;
  --radius:       12px;
  --font:         'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--pt-bg);
  color: var(--pt-text);
  line-height: 1.65;
  font-size: 15px;
}

/* ─── Accessibility ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -9999px; left: 12px;
  background: var(--pt-primary); color: #fff; padding: 8px 16px;
  border-radius: 0 0 6px 6px; font-size: 13px; font-weight: 600;
  z-index: 9999; text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--pt-primary); outline-offset: 3px; }

/* ─── Cover ──────────────────────────────────────────────────────────────── */
.cover {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,149,108,0.14) 0%, transparent 70%);
  border-bottom: 1px solid var(--pt-border);
}
.cover-badge {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pt-primary); background: rgba(200,149,108,0.12);
  border: 1px solid rgba(200,149,108,0.25); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 28px;
}
.cover-title {
  font-size: clamp(52px, 9vw, 96px); font-weight: 800; letter-spacing: -.04em;
  line-height: 1; margin-bottom: 20px;
}
.brand-accent { color: var(--pt-primary); }
.cover-sub {
  font-size: clamp(15px, 2.2vw, 20px); color: var(--pt-muted);
  max-width: 580px; line-height: 1.55; margin-bottom: 28px;
}
.cover-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-size: 12px; color: var(--pt-muted); margin-bottom: 36px;
}
.cover-meta .dot { opacity: .4; }
.cover-cta {
  display: inline-block;
  background: var(--pt-primary); color: #fff;
  padding: 12px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 150ms;
}
.cover-cta:hover { background: var(--pt-accent); }

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.pitch-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
  padding: 0 24px;
  background: rgba(10,10,12,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pt-border);
}
.pitch-nav a {
  display: inline-block; padding: 14px 12px;
  font-size: 12px; font-weight: 500; color: var(--pt-muted);
  text-decoration: none; white-space: nowrap;
  transition: color 120ms;
}
.pitch-nav a:hover { color: var(--pt-text); }

/* ─── Body ───────────────────────────────────────────────────────────────── */
.pitch-body { max-width: 980px; margin: 0 auto; padding: 0 24px 80px; }

/* ─── Section ────────────────────────────────────────────────────────────── */
.pitch-section {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--pt-border);
}
.pitch-section:last-child { border-bottom: none; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pt-primary); margin-bottom: 14px;
}
.pitch-section > h2 {
  font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.25; margin-bottom: 24px;
}
.section-intro {
  font-size: 16px; color: var(--pt-muted); max-width: 680px; margin-bottom: 36px;
}

/* ─── Pain cards ─────────────────────────────────────────────────────────── */
.pain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 28px;
}
.pain-card {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 20px;
}
.pain-icon { font-size: 24px; margin-bottom: 10px; }
.pain-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pain-card p { font-size: 13px; color: var(--pt-muted); line-height: 1.55; }

.pitch-quote {
  border-left: 3px solid var(--pt-primary);
  padding: 12px 20px; margin-top: 28px;
  font-size: 15px; color: var(--pt-muted); font-style: italic;
  background: rgba(200,149,108,0.05); border-radius: 0 8px 8px 0;
}

/* ─── Steps grid ─────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.step-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 18px;
}
.step-n {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--pt-primary); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.step-item p, .step-item div { font-size: 12px; color: var(--pt-muted); }

/* ─── Market ─────────────────────────────────────────────────────────────── */
.market-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 28px;
}
.market-card {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 22px;
}
.market-card--focus { border-color: rgba(200,149,108,0.4); background: rgba(200,149,108,0.07); }
.market-num { font-size: 28px; font-weight: 800; color: var(--pt-primary); letter-spacing: -.02em; margin-bottom: 6px; }
.market-lbl { font-size: 12px; color: var(--pt-muted); line-height: 1.45; }

.tam-box {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); overflow: hidden;
}
.tam-row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 20px; border-bottom: 1px solid var(--pt-border);
  font-size: 14px;
}
.tam-row:last-child { border-bottom: none; }
.tam-row--focus { background: rgba(200,149,108,0.08); }
.tam-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pt-primary); min-width: 40px;
}

/* ─── Tech stack ─────────────────────────────────────────────────────────── */
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 24px;
}
.tech-card {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 20px;
}
.tech-layer {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pt-primary); margin-bottom: 10px;
}
.tech-card p { font-size: 13px; color: var(--pt-muted); line-height: 1.55; }

.moat-box {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 24px;
}
.moat-box h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.moat-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.moat-box li {
  font-size: 13px; color: var(--pt-muted); padding-left: 20px; position: relative;
}
.moat-box li::before {
  content: "→"; position: absolute; left: 0; color: var(--pt-primary); font-weight: 600;
}

/* ─── Competition table ──────────────────────────────────────────────────── */
.comp-table-wrap { overflow-x: auto; margin-bottom: 12px; }
.comp-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.comp-table th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--pt-muted);
  padding: 10px 14px; border-bottom: 1px solid var(--pt-border);
}
.comp-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--pt-border);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-us { background: rgba(200,149,108,0.07); }
.comp-us td { font-weight: 500; }
.yes { color: var(--pt-success); font-weight: 700; text-align: center; }
.no  { color: var(--pt-error);   opacity: .6;    text-align: center; }
.partial { color: var(--pt-warn); text-align: center; }
.comp-note { font-size: 12px; color: var(--pt-muted); }

/* ─── Business model / tiers ─────────────────────────────────────────────── */
.tier-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 36px;
}
.tier-card {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 24px; position: relative;
}
.tier-card--featured { border-color: rgba(200,149,108,0.5); background: rgba(200,149,108,0.07); }
.tier-badge {
  position: absolute; top: -11px; left: 20px;
  background: var(--pt-primary); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
}
.tier-name { font-size: 13px; font-weight: 600; color: var(--pt-muted); margin-bottom: 8px; }
.tier-price { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.tier-price span { font-size: 14px; font-weight: 400; color: var(--pt-muted); }
.tier-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tier-card li { font-size: 13px; color: var(--pt-muted); padding-left: 16px; position: relative; }
.tier-card li::before { content: "·"; position: absolute; left: 4px; color: var(--pt-primary); }

/* ─── Credit table ───────────────────────────────────────────────────────── */
.credit-table-wrap { margin-bottom: 32px; }
.credit-table-wrap h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.credit-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.credit-table th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--pt-muted);
  padding: 8px 12px; border-bottom: 1px solid var(--pt-border);
}
.credit-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }

/* ─── Unit economics ─────────────────────────────────────────────────────── */
.unit-box {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 24px;
}
.unit-box h3 { font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.unit-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.unit-item { display: flex; flex-direction: column; gap: 4px; }
.unit-item--highlight .unit-num { color: var(--pt-success); }
.unit-num { font-size: 24px; font-weight: 800; color: var(--pt-primary); letter-spacing: -.02em; }
.unit-item > span:last-child { font-size: 12px; color: var(--pt-muted); }

/* ─── Roadmap ────────────────────────────────────────────────────────────── */
.roadmap-list { display: flex; flex-direction: column; gap: 16px; }
.roadmap-item {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 24px;
}
.roadmap-item--active { border-color: rgba(200,149,108,0.4); background: rgba(200,149,108,0.06); }
.rm-phase {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pt-primary); margin-bottom: 8px;
}
.roadmap-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.roadmap-item p { font-size: 13px; color: var(--pt-muted); margin-bottom: 14px; }
.rm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-tags span {
  font-size: 11px; font-weight: 500; color: var(--pt-muted);
  background: rgba(255,255,255,0.06); border: 1px solid var(--pt-border);
  border-radius: 100px; padding: 3px 10px;
}

/* ─── Risks ──────────────────────────────────────────────────────────────── */
.risk-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.risk-card {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 20px;
}
.risk-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.risk-mit { font-size: 13px; color: var(--pt-muted); line-height: 1.55; }

/* ─── Team ───────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.team-card {
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: var(--radius); padding: 22px; text-align: center;
}
.team-icon { font-size: 28px; margin-bottom: 12px; }
.team-role { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--pt-muted); line-height: 1.55; }

/* ─── Traction ───────────────────────────────────────────────────────────── */
.traction-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px; margin-bottom: 32px;
}
.traction-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--pt-card); border: 1px solid var(--pt-border);
  border-radius: 8px; padding: 14px 16px;
}
.traction-icon { font-size: 18px; flex-shrink: 0; }
.traction-text { font-size: 13px; color: var(--pt-muted); }

.ask-box {
  background: rgba(200,149,108,0.07); border: 1px solid rgba(200,149,108,0.3);
  border-radius: var(--radius); padding: 32px; text-align: center;
}
.ask-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.ask-box p { font-size: 14px; color: var(--pt-muted); max-width: 560px; margin: 0 auto 24px; line-height: 1.6; }
.ask-cta {
  display: inline-block; background: var(--pt-primary); color: #fff;
  padding: 12px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 150ms;
}
.ask-cta:hover { background: var(--pt-accent); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.pitch-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 24px; gap: 10px;
  border-top: 1px solid var(--pt-border);
  font-size: 12px; color: var(--pt-muted);
}
.pitch-footer a { color: var(--pt-primary); text-decoration: none; }

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */
.pitch-section { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.pitch-section.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pitch-section { opacity: 1; transform: none; transition: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .pitch-nav { gap: 0; }
  .pitch-nav a { padding: 10px 8px; font-size: 11px; }
  .pitch-section { padding: 52px 0 40px; }
}
