:root {
  --bg: #09090b;
  --bg-2: #111115;
  --bg-3: #18181c;
  --surface: #1e1e23;
  --border: #27272e;
  --fg: #fafafa;
  --fg-2: #a1a1aa;
  --fg-3: #52525b;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --accent-2: #fbbf24;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f97316;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  position: relative;
  padding: 10rem 2rem 6rem;
  overflow: hidden;
  text-align: center;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
}
.badge-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-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-accent { color: var(--accent); }
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-2);
  max-width: 580px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* DASHBOARD CARD */
.hero-dashboard {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(245,158,11,0.05), 0 32px 80px rgba(0,0,0,0.6);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.dash-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}
.dash-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--fg-3);
  font-family: var(--font);
}
.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.dash-count {
  font-size: 0.75rem;
  color: var(--fg-3);
  font-family: var(--mono);
}
.dash-filters {
  display: flex;
  gap: 0.5rem;
}
.filter-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-3);
  cursor: pointer;
}
.filter-chip.active {
  background: var(--accent-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--accent);
}
.dash-table { padding: 0; }
.dash-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 0.875rem;
  font-family: var(--mono);
}
.dash-row:last-child { border-bottom: none; }
.dash-row-head {
  background: var(--bg-3);
  font-size: 0.75rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font);
  font-weight: 500;
}
.tool-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--fg);
  font-family: var(--font);
}
.tool-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font);
  flex-shrink: 0;
}
.tool-icon.slack { background: #1a1a2e; color: #a0a0ff; }
.tool-icon.figma { background: #1a1a2e; color: #a259ff; }
.tool-icon.notion { background: #1a1a2e; color: #a0a0a0; }
.tool-icon.github { background: #1a1a2e; color: #79c0ff; }
.tool-icon.zoom { background: #1a1a2e; color: #2D8CFF; }
.tool-icon.hubspot { background: #1a1a2e; color: #ff7a59; }
.seat-cell { color: var(--fg-2); }
.seat-cell.mute { color: var(--fg-3); }
.cost-cell { color: var(--fg); font-weight: 500; }
.renew-cell { color: var(--fg-2); }
.renew-cell.danger { color: var(--orange); }
.status-cell { font-size: 0.75rem; }
.status-ok { color: var(--green); }
.status-warn { color: var(--orange); }
.dash-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-3);
}
.dash-total {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--mono);
}
.dash-total span:first-child { font-size: 0.8125rem; color: var(--fg-2); }
.total-amount { font-size: 1.25rem; font-weight: 700; color: var(--fg); }
.dash-budget {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--fg-2);
}
.budget-bar {
  width: 80px;
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}
.budget-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.budget-pct { color: var(--accent); font-weight: 600; font-family: var(--mono); }

/* STATS */
.stats {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stat-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.stat-card-accent { background: var(--accent-dim); }
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-family: var(--mono);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.5;
}
.stat-card-accent .stat-label { color: var(--fg-2); }

/* FEATURES */
.features {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.features-header, .howitworks-header, .pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--fg-2);
  max-width: 540px;
  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(--bg-2);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-3); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* HOW IT WORKS */
.howitworks {
  padding: 7rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1px;
}
.step {
  flex: 1;
  padding: 2rem;
}
.step-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dim);
  letter-spacing: -0.05em;
  font-family: var(--mono);
  margin-bottom: 1rem;
  line-height: 1;
}
.step-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.step-body p {
  font-size: 0.9375rem;
  color: var(--fg-2);
  line-height: 1.65;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  flex-shrink: 0;
  align-self: center;
}

/* PRICING */
.pricing {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.price-card {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
  position: relative;
}
.price-card-featured {
  background: var(--bg-3);
}
.price-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-tier {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-family: var(--mono);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.price-amount span {
  font-size: 1rem;
  color: var(--fg-3);
  font-weight: 400;
  font-family: var(--font);
}
.price-desc {
  font-size: 0.875rem;
  color: var(--fg-3);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.price-features li {
  font-size: 0.875rem;
  color: var(--fg-2);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-3);
}

/* CLOSING */
.closing {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.closing-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-2);
  margin-bottom: 3rem;
}
.closing-cta { text-align: center; }
.cta-text {
  font-size: 0.9375rem;
  color: var(--fg-2);
  margin-bottom: 1.5rem;
}
.cta-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-link-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-2);
}
.cta-link-item svg { color: var(--green); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 240px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-3);
  line-height: 1.6;
}
.footer-cols {
  display: flex;
  gap: 4rem;
  flex: 1;
  justify-content: flex-end;
}
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--fg-3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .dash-row { grid-template-columns: 2fr 1fr 1fr; font-size: 0.75rem; }
  .dash-row span:nth-child(4) { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 1px; height: 40px; background: linear-gradient(180deg, var(--border), var(--accent), var(--border)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-cols { justify-content: flex-start; }
}