/* ClaimCraft Theme */
:root {
  --bg: #0a0e17;
  --surface: #111827;
  --surface-2: #1a2438;
  --fg: #e8edf5;
  --fg-muted: #8b9ab4;
  --accent: #00c9a7;
  --accent-dim: rgba(0, 201, 167, 0.12);
  --accent-2: #3d8ef0;
  --amber: #f5a623;
  --border: rgba(255,255,255,0.07);
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*, *::before, *::after { 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;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--fg);
}
.nav-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Hero */
.hero {
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 201, 167, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--fg);
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { padding: 0 20px; }
.stat:first-child { padding-left: 0; }
.stat-val {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Phone mockup */
.hero-phone { display: flex; justify-content: center; }
.phone-frame {
  width: 280px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(0, 201, 167, 0.08);
}
.phone-notch {
  width: 80px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #111827;
  border-radius: 26px;
  padding: 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  padding-bottom: 8px;
}
.phone-signal { letter-spacing: 1px; }
.phone-job { padding: 10px; background: var(--surface-2); border-radius: 10px; }
.phone-job-meta { font-size: 11px; color: var(--fg-muted); margin-bottom: 6px; font-family: var(--font-mono); }
.phone-job-tag {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 500;
}
.loss { background: rgba(0, 201, 167, 0.15); color: var(--accent); }
.phone-start-btn {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 16px;
  padding: 14px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.phone-start-icon {
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--surface-2);
  border-radius: 10px;
  border-left: 2px solid var(--accent);
}
.phone-step.muted { opacity: 0.35; border-left-color: transparent; }
.step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
  width: 18px;
}
.step-text { font-size: 11px; color: var(--fg-muted); line-height: 1.4; }
.phone-done-pill {
  margin-top: auto;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 201, 167, 0.2);
}

/* Problem section */
.problem {
  padding: 80px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner { max-width: 900px; margin: 0 auto; }
.problem-label, .flow-label, .features-label, .roles-label, .constraints-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.problem-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--fg);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.problem-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.problem-icon { flex-shrink: 0; margin-top: 2px; }
.problem-item p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.problem-quote {
  font-size: 16px;
  color: var(--fg-muted);
  font-style: italic;
  padding: 20px 24px;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}

/* Flow section */
.flow { padding: 80px 32px; }
.flow-inner { max-width: 900px; margin: 0 auto; }
.flow-headline {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 56px;
  color: var(--fg);
}
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.flow-step:last-child { border-bottom: none; }
.flow-step-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  color: rgba(0,201,167,0.25);
}
.flow-step-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.flow-step-body p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; max-width: 580px; }
.flow-step-arrow { color: var(--fg-muted); }
.flow-target {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.flow-target-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.flow-target strong { font-size: 15px; font-weight: 500; color: var(--fg); }

/* Features */
.features {
  padding: 80px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-headline {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 48px;
  color: var(--fg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.feature-icon-sm { margin-bottom: 14px; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.65; }

/* Roles */
.roles { padding: 80px 32px; }
.roles-inner { max-width: 1100px; margin: 0 auto; }
.roles-headline {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 48px;
  color: var(--fg);
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,201,167,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.management { background: rgba(61,142,240,0.12); color: var(--accent-2); border-color: rgba(61,142,240,0.2); }
.owner { background: rgba(245,166,35,0.12); color: var(--amber); border-color: rgba(245,166,35,0.2); }
.role-desc { font-size: 13px; color: var(--fg-muted); line-height: 1.65; margin-bottom: 20px; }
.role-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.role-list li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}
.role-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* Constraints */
.constraints {
  padding: 80px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.constraints-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.constraints-headline {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 40px;
  color: var(--fg);
}
.constraints-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}
.constraint-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.constraint-x {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 16px;
}
.constraints-note { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* Closing */
.closing {
  padding: 100px 32px;
  background: linear-gradient(180deg, var(--bg) 0%, #0d1420 100%);
}
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--fg);
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 64px;
}
.closing-target {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
}
.target-metric { flex: 1; text-align: center; }
.target-num {
  display: block;
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}
.target-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.target-sep { width: 1px; height: 60px; background: var(--border); }

/* Footer */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: var(--fg-muted); margin-bottom: 16px; }
.footer-copy { font-size: 12px; color: var(--fg-muted); font-family: var(--font-mono); }

/* Responsive */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone { order: -1; }
  .phone-frame { width: 240px; }
  .hero-headline { font-size: 36px; }
  .problem-grid { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 60px 1fr; }
  .flow-step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .constraints-grid { grid-template-columns: 1fr; }
  .closing-target { flex-direction: column; gap: 24px; }
  .target-sep { width: 40px; height: 1px; }
  .hero-stats { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 20px 60px; }
  .problem, .flow, .features, .roles, .constraints, .closing, .footer { padding: 60px 20px; }
  .nav { padding: 0 20px; }
}