/* === TOKENS === */
:root {
  --bg: #0D0D0F;
  --surface: #16161A;
  --surface-2: #1E1E24;
  --border: #2A2A32;
  --accent: #FF5C35;
  --accent-dim: rgba(255, 92, 53, 0.15);
  --text: #F0EEE8;
  --text-muted: #8A8A96;
  --green: #3ECF8E;
  --yellow: #F5C542;
  --blue: #5B8AF0;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 100px;
  text-align: center;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,92,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,92,53,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 100%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  border-radius: 12px;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 80px;
}
.cta-label { font-weight: 600; }
.cta-arrow { opacity: 0.7; transition: transform 0.2s; }
.hero-cta:hover .cta-arrow { transform: translateX(4px); }

/* Dashboard widget */
.hero-dashboard {
  width: 100%;
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dash-dot { width: 12px; height: 12px; border-radius: 50%; }
.dash-dot.red { background: #FF5F57; }
.dash-dot.yellow { background: #FFBD2E; }
.dash-dot.green { background: #28C840; }
.dash-title { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-family: var(--font-display); }
.dash-body { display: flex; height: 300px; }
.dash-sidebar {
  width: 160px;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.sidebar-item.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
}
.dash-main { flex: 1; padding: 20px; overflow: hidden; display: flex; flex-direction: column; gap: 20px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.stat-value { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); }
.stat-delta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.stat-delta.up { color: var(--green); }
.dash-feed { flex: 1; background: var(--surface-2); border-radius: 10px; padding: 14px; border: 1px solid var(--border); overflow: hidden; }
.feed-header { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; font-family: var(--font-display); }
.feed-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.feed-item:last-child { border-bottom: none; }
.feed-icon { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feed-icon.green { background: rgba(62,207,142,0.15); color: var(--green); }
.feed-icon.blue { background: rgba(91,138,240,0.15); color: var(--blue); }
.feed-icon.yellow { background: rgba(245,197,66,0.15); color: var(--yellow); }
.feed-text { color: var(--text-muted); }
.feed-text strong { color: var(--text); font-weight: 500; }

/* === SECTIONS === */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 56px;
}

/* === HOW IT WORKS === */
.hiw { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hiw-inner { max-width: 900px; margin: 0 auto; }
.hiw-steps { display: flex; align-items: center; gap: 0; }
.hiw-step { flex: 1; }
.step-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--border); margin-bottom: 16px; }
.hiw-step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.hiw-step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.hiw-connector { flex-shrink: 0; padding: 0 16px; }

/* === FEATURES === */
.features { padding: 100px 32px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon { margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === MANIFESTO === */
.manifesto { padding: 100px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.manifesto-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.manifesto-content .section-title { margin-bottom: 24px; }
.manifesto-body { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.manifesto-highlight { font-size: 17px; color: var(--text) !important; border-left: 3px solid var(--accent); padding-left: 20px; }
.mv-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 28px; margin-bottom: 12px; }
.mv-label { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.mv-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); padding: 6px 0; }
.mv-icon { color: #FF5F57; font-weight: 700; }
.mv-icon.green { color: var(--green); }
.with-cop .mv-item { color: var(--text); }

/* === CLOSING === */
.closing { padding: 120px 32px; position: relative; overflow: hidden; }
.closing-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,53,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.closing-tagline { font-family: var(--font-display); font-size: clamp(36px, 6vw, 64px); font-weight: 800; letter-spacing: -2px; color: var(--text); margin-bottom: 20px; }
.closing-sub { font-size: 17px; color: var(--text-muted); line-height: 1.65; }

/* === FOOTER === */
.footer { padding: 40px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 80px; }
  .hero-headline { letter-spacing: -1px; }
  .dash-sidebar { display: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { flex-direction: column; gap: 32px; }
  .hiw-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-tagline { display: none; }
  .nav-inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .dash-stats { grid-template-columns: 1fr; }
  .hero-dashboard { border-radius: 10px; }
  .dash-body { height: auto; }
}