/* ═══════════════════════════════════════════════════
   Pulserr — Design System
   B&W. Clean. Inter + DM Serif Display accents.
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --black: #000000;
  --near-black: #0A0A0A;
  --dark: #1A1A1A;
  --charcoal: #2A2A2A;
  --mid: #6B6B6B;
  --grey: #B0B0B0;
  --light: #E8E7E3;
  --off-white: #F2F1ED;
  --cream: #FAFAF8;

  --serif: 'DM Serif Display', 'Georgia', serif;
  --sans: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
  --mono: 'SF Mono', 'Cascadia Code', monospace;
  --logo: 'DM Serif Display', 'Georgia', serif;

  --step-0: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);
  --step-1: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  --step-2: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 1.8vw, 3rem);
  --step-4: clamp(2.5rem, 1.5rem + 3.5vw, 5rem);
  --step-5: clamp(3rem, 1.5rem + 5vw, 7rem);
  --step-hero: clamp(2.8rem, 1.5rem + 5vw, 6.5rem);

  /* ── Accent hue palette (change these to retheme) ── */
  --hue-1: #E8503A;  /* vermillion — primary accent */
  --hue-2: #2AB09E;  /* teal pop */
  --hue-3: #F5A623;  /* marigold */
  --hue-4: #7B61FF;  /* electric violet */
  --hue-5: #E86CA4;  /* bubblegum */
  --hue-1-soft: #E8503A20;
  --hue-2-soft: #2AB09E20;
  --hue-3-soft: #F5A62320;
  --hue-4-soft: #7B61FF20;
  --hue-5-soft: #E86CA420;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Grain overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

a { color: var(--charcoal); text-decoration: none; }

/* ── Accent utilities ── */
.hue-1 { color: var(--hue-1); }
.hue-2 { color: var(--hue-2); }
.hue-3 { color: var(--hue-3); }
.hue-4 { color: var(--hue-4); }
.hue-5 { color: var(--hue-5); }

::selection {
  background: var(--charcoal);
  color: var(--cream);
}

/* ── Thin rules ── */
.rule {
  border: none;
  border-top: 1px solid var(--light);
  margin: 0;
}

/* ── Reveal animations ── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes clipReveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.8s var(--ease) forwards;
}

.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.35s; }
.reveal-d4 { animation-delay: 0.5s; }
.reveal-d5 { animation-delay: 0.65s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: relative;
  z-index: 100;
}

.nav-logo {
  font-family: var(--logo);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-style: normal;
  color: var(--black);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-icon {
  display: inline-block;
  width: 28px;
  height: 20px;
}

.pulse-icon path {
  stroke: var(--black);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  background-image: linear-gradient(var(--charcoal), var(--charcoal));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.3s var(--ease), color 0.3s;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: var(--charcoal);
  background-size: 100% 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 22px; height: 1px; background: var(--black); }

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--light);
    padding: 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
}

/* ═══════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  color: var(--charcoal);
  background: transparent;
}

.btn:hover { color: var(--charcoal); }

.btn-sm { padding: 8px 20px; font-size: 10px; }
.btn-lg { padding: 16px 40px; font-size: 12px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--hue-1);
  color: #fff;
  border-color: var(--hue-1);
}
.btn-primary:hover { background: #4F46E5; border-color: #4F46E5; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--grey);
}
.btn-outline:hover { border-color: var(--black); }

.btn-ghost {
  background: transparent;
  color: var(--mid);
  border: none;
}
.btn-ghost:hover { color: var(--black); }

.btn-danger {
  background: transparent;
  color: #8B0000;
  border-color: #8B0000;
}
.btn-danger:hover { background: #8B0000; color: var(--cream); }

/* ═══════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════ */

.hero {
  padding: 60px 48px 80px;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-overline {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mid);
  margin-bottom: 16px;
}

.hero h1, .hero-split h1 {
  font-family: var(--serif);
  font-size: var(--step-hero);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 900px;
  margin-bottom: 24px;
}

.hero h1 em, .hero-split h1 em {
  font-style: italic;
}

.hero-sub {
  font-family: var(--sans);
  font-size: var(--step-1);
  color: var(--mid);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero, .hero-split { padding: 40px 24px 60px; min-height: auto; }
}

/* ═══════════════════════════════════════════════════
   Hero Demo — Laptop Mockup
   ═══════════════════════════════════════════════════ */

.hero-demo {
  padding: 0 48px 80px;
  display: flex;
  justify-content: center;
}

.laptop {
  width: 100%;
  max-width: 900px;
}

.laptop-screen {
  background: var(--near-black);
  border-radius: 12px 12px 0 0;
  padding: 8px;
  border: 2px solid var(--charcoal);
  border-bottom: none;
}

.laptop-base {
  height: 18px;
  background: linear-gradient(180deg, var(--charcoal) 0%, #1e1e1e 100%);
  border-radius: 0 0 8px 8px;
  border: 2px solid var(--charcoal);
  border-top: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-notch {
  width: 80px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

/* Demo dashboard inside laptop */
.demo-dash {
  background: #0f0f17;
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--sans);
}

.demo-topbar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #1e1e2e;
  gap: 12px;
}

.demo-topbar-dots {
  display: flex;
  gap: 5px;
}
.demo-topbar-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.demo-topbar-dots span:nth-child(1) { background: #ff5f57; }
.demo-topbar-dots span:nth-child(2) { background: #febc2e; }
.demo-topbar-dots span:nth-child(3) { background: #28c840; }

.demo-topbar-title {
  flex: 1;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.demo-topbar-badge {
  font-size: 10px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1px solid #1e293b;
  border-radius: 3px;
}

.demo-live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* Demo stat cards */
.demo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid #1e1e2e;
}

.demo-stat {
  padding: 14px 16px;
  border-right: 1px solid #1e1e2e;
}
.demo-stat:last-child { border-right: none; }

.demo-stat-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  margin-bottom: 4px;
}

.demo-stat-value {
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: 400;
}

/* Demo chart */
.demo-chart {
  padding: 12px 16px 4px;
  border-bottom: 1px solid #1e1e2e;
}

.demo-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.demo-chart-labels {
  display: flex;
  justify-content: space-between;
  padding: 4px 0 8px;
  font-size: 9px;
  color: #475569;
}

/* Demo panels */
.demo-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.demo-panel {
  padding: 10px 14px;
  border-right: 1px solid #1e1e2e;
}
.demo-panel:last-child { border-right: none; }

.demo-panel-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1e1e2e;
}

/* Demo bar items */
.demo-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  margin-bottom: 3px;
  font-size: 10px;
  color: #94a3b8;
  border-radius: 2px;
}

.demo-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  opacity: 0.15;
  border-radius: 2px;
}

.demo-bar span {
  position: relative;
  z-index: 1;
}

.demo-bar span:last-child {
  font-weight: 600;
  font-family: var(--serif);
  color: #cbd5e1;
}

/* Demo donut */
.demo-donut-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-donut {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.demo-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-donut-legend span {
  font-size: 9px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.demo-donut-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

@media (max-width: 768px) {
  .hero-demo { padding: 0 16px 60px; }
  .demo-stats { grid-template-columns: repeat(2, 1fr); }
  .demo-stat { border-bottom: 1px solid #1e1e2e; }
  .demo-panels { grid-template-columns: 1fr; }
  .demo-panel { border-right: none; border-bottom: 1px solid #1e1e2e; }
  .demo-panel:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════
   Hero Dual Demo — Phone + Laptop side by side
   ═══════════════════════════════════════════════════ */

.hero-dual-demo {
  padding: 0 48px 80px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
}

.hero-dual-demo .laptop {
  flex: 1;
  max-width: 720px;
}

/* ── Phone mockup ── */
.phone {
  width: 260px;
  min-width: 260px;
  background: var(--near-black);
  border-radius: 32px;
  padding: 12px;
  border: 2px solid var(--charcoal);
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

.phone-notch {
  width: 80px;
  height: 22px;
  background: var(--near-black);
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  background: #0a0a0f;
  border-radius: 22px;
  overflow: hidden;
  height: 480px;
}

/* ── Demo bio page inside phone ── */
.demo-bio {
  height: 100%;
  font-family: var(--sans);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.demo-bio-inner {
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box;
  flex: 1;
}

.demo-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--hue-1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16161d;
  margin-bottom: 10px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}
.demo-bio-avatar svg { width: 36px; height: 36px; }

.demo-bio-name {
  font-size: 14px;
  font-weight: 700;
  color: #FAFAF8;
  margin-bottom: 3px;
}

.demo-bio-desc {
  font-size: 10px;
  color: #8a8a9a;
  margin-bottom: 10px;
}

.demo-bio-socials {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.demo-social-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0.6;
}

.demo-bio-link {
  width: 100%;
  background: #16161d;
  border: 1px solid #2a2a35;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #FAFAF8;
  transition: background 0.2s;
  animation: demoBioLinkFadeIn 0.4s ease both;
}
@keyframes demoBioLinkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo-bio-link:hover { background: #1e1e28; }

.demo-bio-link-featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(236,72,153,0.1));
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 0 12px rgba(99,102,241,0.15);
}

.demo-link-icon { font-size: 13px; }
.demo-link-clicks {
  margin-left: auto;
  font-size: 9px;
  color: var(--hue-1);
  font-weight: 600;
  font-family: var(--mono);
}

.demo-bio-embed {
  width: 100%;
  background: #16161d;
  border: 1px solid #2a2a35;
  border-radius: 10px;
  padding: 14px 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-embed-bar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #1DB954, #14B8A6);
  flex-shrink: 0;
}
.demo-embed-label {
  font-size: 10px;
  color: #8a8a9a;
}

.demo-bio-sub {
  width: 100%;
  display: flex;
  gap: 4px;
  margin-top: 6px;
  margin-bottom: 10px;
}
.demo-bio-sub input {
  flex: 1;
  background: #16161d;
  border: 1px solid #2a2a35;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 9px;
  color: #8a8a9a;
  outline: none;
}
.demo-bio-sub button {
  background: var(--hue-1);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 600;
  cursor: default;
}

.demo-bio-badge {
  font-size: 8px;
  color: #8a8a9a;
  display: flex;
  align-items: center;
  margin-top: 4px;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .hero-dual-demo {
    flex-direction: column;
    align-items: center;
    padding: 0 24px 60px;
    gap: 32px;
  }
  .hero-dual-demo .laptop { max-width: 100%; }
  .phone { width: 240px; min-width: 240px; }
}

@media (max-width: 480px) {
  .phone { width: 220px; min-width: 220px; }
  .phone-screen { height: 420px; }
}

/* ═══════════════════════════════════════════════════
   Bio Showcase Section
   ═══════════════════════════════════════════════════ */

.bio-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.bio-showcase-left {
  padding: 60px 48px;
  border-right: 1px solid var(--light);
}

.bio-showcase-left h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.1;
  margin-bottom: 24px;
}
.bio-showcase-left h2 em { font-style: italic; }

.bio-showcase-left p {
  font-size: var(--step-0);
  color: var(--mid);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 16px;
}

.bio-showcase-right {
  padding: 60px 48px;
  display: flex;
  align-items: center;
}

.bio-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.bio-feat {
  text-align: center;
  padding: 16px 8px;
}

.bio-feat-icon {
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1;
}

.bio-feat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .bio-showcase { grid-template-columns: 1fr; }
  .bio-showcase-left { border-right: none; border-bottom: 1px solid var(--light); padding: 40px 24px; }
  .bio-showcase-right { padding: 40px 24px; }
  .bio-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════
   VS Strip — Linktree comparison
   ═══════════════════════════════════════════════════ */

.vs-strip {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vs-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 700px;
  border: 1px solid var(--light);
  border-radius: 12px;
  overflow: hidden;
}

.vs-col {
  padding: 0;
}

.vs-col-pulse {
  background: var(--near-black);
}
.vs-col-pulse .vs-col-label { color: var(--cream); border-color: #2A2A2A; }
.vs-col-pulse .vs-item { color: #ccc; border-color: #2A2A2A; }

.vs-col-label {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--serif);
  border-bottom: 1px solid var(--light);
}
.vs-col-label span {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  color: var(--mid);
  margin-left: 6px;
}

.vs-item {
  padding: 8px 20px;
  font-size: 12px;
  border-bottom: 1px solid var(--light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vs-item:last-child { border-bottom: none; }

.vs-yes::before {
  content: '\2713';
  color: #14B8A6;
  font-weight: 700;
  font-size: 14px;
}

.vs-no::before {
  content: '\2717';
  color: #EF4444;
  font-weight: 700;
  font-size: 14px;
}

.vs-strip-link {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hue-1) !important;
  text-decoration: none;
}
.vs-strip-link:hover { text-decoration: underline; }

.compare-link-hot {
  border-color: var(--hue-2) !important;
  color: var(--hue-2) !important;
  font-weight: 600;
}

@media (max-width: 600px) {
  .vs-strip { padding: 24px; }
  .vs-strip-inner { grid-template-columns: 1fr; }
  .vs-col-pulse { border-top: 1px solid #2A2A2A; }
}

/* ═══════════════════════════════════════════════════
   Editorial sections
   ═══════════════════════════════════════════════════ */

.section-rule {
  border: none;
  border-top: 1px solid var(--light);
}

.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  padding: 20px 48px;
}

/* ── About / asymmetric two-column ── */

.about {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 0;
  padding: 0;
}

.about-left {
  padding: 60px 48px;
  border-right: 1px solid var(--light);
}

.about-left h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  line-height: 1.15;
}

.about-right {
  padding: 60px 48px 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-right p {
  font-size: var(--step-1);
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 24px;
  max-width: 580px;
}

.about-right p:last-child { margin-bottom: 0; }

.about-code {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--near-black);
  color: var(--grey);
  font-family: var(--mono);
  font-size: 13px;
  border-radius: 2px;
  line-height: 1.7;
  max-width: 500px;
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1px solid var(--light); }
  .about-right { padding: 40px 24px; }
}

/* ── Features / editorial grid ── */

.features-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}

.feature-item {
  padding: 48px;
  border-bottom: 1px solid var(--light);
  border-right: 1px solid var(--light);
  position: relative;
}

.feature-item:nth-child(even) { border-right: none; }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }

.feature-num {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-style: italic;
  color: var(--light);
  position: absolute;
  top: 24px;
  right: 32px;
  line-height: 1;
  opacity: 0.7;
}
.feature-item:nth-child(1) .feature-num { color: var(--hue-1-soft); color: var(--hue-1); opacity: 0.2; }
.feature-item:nth-child(2) .feature-num { color: var(--hue-2); opacity: 0.2; }
.feature-item:nth-child(3) .feature-num { color: var(--hue-3); opacity: 0.2; }
.feature-item:nth-child(4) .feature-num { color: var(--hue-4); opacity: 0.2; }

.feature-item h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
}

.feature-item p {
  color: var(--mid);
  font-size: var(--step-0);
  line-height: 1.7;
  max-width: 400px;
}

.feature-item code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--off-white);
  padding: 2px 6px;
  border-radius: 1px;
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; padding: 32px 24px; }
}

/* ── Intelligence section ── */

.section-intelligence {
  padding: 48px;
}

.intelligence-intro {
  font-size: var(--step-1);
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 40px;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--light);
}

.intelligence-card {
  padding: 40px 32px;
  border-right: 1px solid var(--light);
  position: relative;
}

.intelligence-card:last-child { border-right: none; }

.intelligence-num {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1;
}
.intelligence-card:nth-child(1) .intelligence-num { color: var(--hue-1); }
.intelligence-card:nth-child(2) .intelligence-num { color: var(--hue-2); }
.intelligence-card:nth-child(3) .intelligence-num { color: var(--hue-3); }
.intelligence-card:nth-child(4) .intelligence-num { color: var(--hue-4); }
.intelligence-card:nth-child(5) .intelligence-num { color: var(--hue-5); }

/* 5-card intelligence grid: 3 + 2 layout */
.intelligence-grid-5 {
  grid-template-columns: repeat(3, 1fr);
}
.intelligence-grid-5 .intelligence-card:nth-child(4),
.intelligence-grid-5 .intelligence-card:nth-child(5) {
  border-top: 1px solid var(--light);
}
.intelligence-grid-5 .intelligence-card:nth-child(4) { border-right: 1px solid var(--light); }
.intelligence-grid-5 .intelligence-card:nth-child(5) { border-right: none; }
.intelligence-grid-5 .intelligence-card:nth-child(3) { border-right: none; }

.intelligence-card h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
}

.intelligence-card p {
  color: var(--mid);
  font-size: var(--step-0);
  line-height: 1.7;
}

.intelligence-card p em {
  font-style: italic;
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .intelligence-grid { grid-template-columns: 1fr; }
  .intelligence-card { border-right: none; border-bottom: 1px solid var(--light); }
  .intelligence-card:last-child { border-bottom: none; }
  .section-intelligence { padding: 32px 24px; }
}

/* ── Pull quote ── */

.pull-quote {
  padding: 80px 48px;
  text-align: center;
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-style: italic;
  color: var(--black);
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
}

.pull-quote cite {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey);
  font-style: normal;
  margin-top: 24px;
}

/* ── Pricing ── */

.pricing-section {
  padding: 0 48px 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--light);
}

.pricing-card {
  padding: 48px 36px;
  border-right: 1px solid var(--light);
  position: relative;
}

.pricing-card:last-child { border-right: none; }

.pricing-card.featured {
  background: var(--near-black);
  color: var(--cream);
}

.pricing-card.featured .pricing-features li { color: var(--grey); border-color: #2A2A2A; }
.pricing-card.featured .pricing-features li::before { color: var(--cream); }
.pricing-card.featured .pricing-name { color: var(--cream); }
.pricing-card.featured .pricing-price { color: var(--cream); }
.pricing-card.featured .pricing-price span { color: var(--mid); }

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hue-1);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 16px;
}

.pricing-name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 32px;
  line-height: 1;
}
.pricing-price span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--mid);
  border-bottom: 1px solid var(--light);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '\2014\00a0';
  color: var(--grey);
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid var(--light); }
  .pricing-card:last-child { border-bottom: none; }
  .pricing-section { padding: 0 24px 60px; }
}

/* ── Compare ── */

.compare-section {
  padding: 0 48px 60px;
}

.compare-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-link {
  padding: 10px 20px;
  border: 1px solid var(--light);
  border-radius: 1px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.compare-link:hover { border-color: var(--black); color: var(--black); }

/* ── Final CTA ── */

.final-cta {
  padding: 100px 48px;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--mid);
  margin-bottom: 36px;
  font-size: var(--step-0);
}

/* ── Footer ── */

.footer {
  border-top: 1px solid var(--light);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mid);
  font-size: 13px;
}

.footer-left .footer-brand {
  font-family: var(--logo);
  font-size: 18px;
  font-style: normal;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--mid);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--black); }

.footer-version {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey);
}

@media (max-width: 768px) {
  .footer { padding: 20px 24px; flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   Auth Pages
   ═══════════════════════════════════════════════════ */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  padding: 48px;
  border: 1px solid var(--light);
  border-radius: 4px;
  background: var(--cream);
}

.auth-card h1 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 4px;
  color: var(--black);
}

.auth-sub {
  color: var(--mid);
  margin-bottom: 36px;
  font-size: 14px;
}

.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--mid);
}

.auth-alt a {
  color: var(--black);
  border-bottom: 1px solid var(--grey);
  transition: border-color 0.2s;
}
.auth-alt a:hover { border-color: var(--black); }

/* ── Forms ── */

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  color: var(--mid);
}

.form-group input,
.form-group textarea,
.select {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--light);
  color: var(--black);
  font-size: 15px;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.select:focus {
  border-color: var(--black);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey);
}

.form-group textarea { resize: vertical; min-height: 80px; border: 1px solid var(--light); padding: 12px; }
.form-error { color: #8B0000; font-size: 13px; margin-top: 8px; }

.toggle-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--charcoal) !important;
}
.toggle-label input[type="checkbox"] { width: auto; }

/* ═══════════════════════════════════════════════════
   Dashboard App
   ═══════════════════════════════════════════════════ */

.app-page {
  display: flex;
  min-height: 100vh;
  background: var(--cream);
}

.sidebar {
  width: 240px;
  min-height: 100vh;
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.sidebar-logo {
  font-family: var(--logo);
  font-size: 20px;
  font-style: normal;
  color: var(--cream);
  padding: 8px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-logo .pulse-icon path { stroke: var(--cream); }

.sidebar-section {
  margin-bottom: 8px;
}

.sidebar-section-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  padding: 12px 12px 6px;
}

.sidebar-sites, .sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-section + .sidebar-section {
  flex: 1;
}

.site-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-right: 8px;
}

.sidebar-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: none;
  border: 1px solid transparent;
  border-radius: 1px;
  color: var(--grey);
  font-size: 13px;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.1s;
  text-align: left;
  width: 100%;
}
.sidebar-site:hover { background: var(--charcoal); color: var(--cream); }
.sidebar-site.active { background: var(--charcoal); border-color: var(--mid); color: var(--cream); }

.site-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-live {
  padding: 2px 8px;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.6;
}

.sidebar-add {
  padding: 10px;
  margin-top: 8px;
  background: none;
  border: 1px solid var(--charcoal);
  border-radius: 1px;
  color: var(--grey);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color 0.15s;
}
.sidebar-add:hover { border-color: var(--cream); color: var(--cream); }

.sidebar-bottom {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-link {
  display: block;
  padding: 8px 12px;
  color: var(--mid) !important;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
}
.sidebar-link:hover { color: var(--cream) !important; }

/* ── Main app area ── */

.app-main {
  flex: 1;
  margin-left: 240px;
  padding: 32px 40px;
  min-height: 100vh;
}

.app-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}
.app-empty h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
  color: var(--black);
}
.app-empty p { color: var(--mid); margin-bottom: 32px; }

/* ── Bio Dashboard View ── */

.bio-dashboard-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  margin-top: 20px;
  align-items: start;
}

.bio-preview-col {
  display: flex;
  justify-content: center;
}

.bio-preview-phone {
  width: 300px;
  background: var(--near-black);
  border-radius: 36px;
  padding: 12px;
  border: 2px solid var(--charcoal);
  position: sticky;
  top: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.05);
}

.bio-preview-notch {
  width: 90px;
  height: 24px;
  background: var(--near-black);
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.bio-preview-frame {
  width: 100%;
  height: 580px;
  border: none;
  border-radius: 24px;
  background: #0a0a0f;
}

/* ── Bio Analytics Column ── */

.bio-analytics-col {
  min-width: 0;
}

@media (max-width: 900px) {
  .bio-dashboard-grid { grid-template-columns: 1fr; }
  .bio-preview-phone { width: 260px; margin: 0 auto; }
  .bio-preview-frame { height: 480px; }
  .bio-editor-content { max-height: none; }
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-title { display: flex; align-items: center; gap: 16px; }
.dash-title h1 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--black);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--light);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #1a8a1a;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 0 2px rgba(26, 138, 26, 0.15);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.dash-controls { display: flex; gap: 12px; align-items: center; }
.dash-controls .select {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--light);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 12px;
  border-radius: 1px;
}

/* ── Stats ── */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--light);
}

.stat-card {
  padding: 24px 28px;
  border-right: 1px solid var(--light);
  transition: background 0.2s;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--off-white); }

.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--serif);
  font-size: var(--step-2);
  color: var(--black);
  font-weight: 400;
}

/* ── Chart ── */

.chart-container {
  border: 1px solid var(--light);
  padding: 24px;
  margin-bottom: 28px;
  background: var(--cream);
}

.chart-container canvas {
  width: 100% !important;
  height: 280px;
}

/* ── Panels ── */

.panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.panel {
  border: 1px solid var(--light);
  overflow: hidden;
  border-radius: 2px;
}

.panel-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  border-bottom: 1px solid var(--light);
  color: var(--grey);
  background: var(--cream);
}

.panel-body { padding: 4px 0; max-height: 320px; overflow-y: auto; }
.panel-empty { padding: 24px 20px; color: var(--grey); text-align: center; font-size: 13px; }

.bar-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 13px;
}

.bar-bg {
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  background: var(--off-white);
  z-index: 0;
  transition: width 0.4s var(--ease);
}

.bar-label { position: relative; z-index: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; color: var(--charcoal); }
.bar-value { position: relative; z-index: 1; color: var(--mid); font-weight: 600; margin-left: 12px; white-space: nowrap; font-family: var(--serif); }

/* ── Live feed ── */

.panel-feed { padding: 0; }

.feed-item {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  border-bottom: 1px solid var(--light);
  font-size: 12px;
  transition: background 0.3s;
}
.feed-item-new { background: var(--off-white); }
.feed-path { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--charcoal); }
.feed-meta { color: var(--grey); margin: 0 12px; font-size: 11px; white-space: nowrap; }
.feed-time { color: var(--grey); font-size: 11px; white-space: nowrap; }

/* ── Modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

/* Ensure [hidden] always wins over explicit display rules */
[hidden] {
  display: none !important;
}

.modal {
  background: var(--cream);
  border: 1px solid var(--light);
  border-radius: 4px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.modal h2 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--black);
}

.modal h3 { font-size: 14px; margin-bottom: 8px; color: var(--charcoal); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--grey);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--black); }

.modal-divider { border: none; border-top: 1px solid var(--light); margin: 28px 0; }

.mt-2 { margin-top: 16px; }

.code-block {
  background: var(--near-black);
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  overflow-x: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 1px;
}

.copy-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  padding: 4px 12px;
}

/* ── Usage ── */

.usage-item { margin-bottom: 20px; }
.usage-label { font-size: 11px; color: var(--mid); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.usage-bar { height: 4px; background: var(--light); overflow: hidden; }
.usage-fill { height: 100%; background: var(--charcoal); transition: width 0.3s; }
.usage-fill.warn { background: #8B0000; }
.usage-text { font-size: 12px; color: var(--mid); margin-top: 4px; text-align: right; }
.usage-plan { font-size: 14px; color: var(--mid); }

/* ── Notification ── */

.notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 28px;
  background: var(--near-black);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  font-size: 13px;
  z-index: 300;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.notification.show { transform: translateY(0); opacity: 1; }
.notification.error { color: #CC4444; }

/* ═══════════════════════════════════════════════════
   Shared / Public Pages
   ═══════════════════════════════════════════════════ */

.shared-page { background: var(--cream); }
.shared-domain {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.shared-main { max-width: 1100px; margin: 0 auto; padding: 32px 48px; }
.shared-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.shared-header h1 { font-family: var(--serif); font-size: var(--step-2); font-weight: 400; color: var(--black); }

.pulse-badge { text-align: center; margin-top: 48px; padding: 16px; }
.pulse-badge a { color: var(--grey); font-size: 11px; letter-spacing: 0.05em; }
.pulse-badge a:hover { color: var(--black); }
.pulse-badge a strong { font-weight: 700; }

/* ═══════════════════════════════════════════════════
   SEO Pages
   ═══════════════════════════════════════════════════ */

.seo-page { background: var(--cream); }

.seo-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px;
}

.seo-content h1 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--black);
}

.seo-subtitle { color: var(--mid); font-size: var(--step-1); margin-bottom: 48px; }

.comparison-table-wrap { overflow-x: auto; margin-bottom: 64px; }

.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light);
  font-size: 14px;
}
.comparison-table th {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
}
.cmp-label { font-weight: 600; color: var(--black); }
.cmp-pulse { color: var(--charcoal); }
.cmp-other { color: var(--grey); }

.seo-cta { text-align: center; padding: 48px 0; }
.seo-cta h2 { font-family: var(--serif); font-size: var(--step-2); font-weight: 400; font-style: italic; margin-bottom: 8px; color: var(--black); }
.seo-cta p { color: var(--mid); margin-bottom: 28px; }

.feature-highlights {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border: 1px solid var(--light);
  margin-bottom: 64px;
}

.highlight-card {
  padding: 32px;
  border-bottom: 1px solid var(--light);
  border-right: 1px solid var(--light);
}
.highlight-card:nth-child(even) { border-right: none; }
.highlight-card:nth-last-child(-n+2) { border-bottom: none; }
.highlight-card h3 { font-family: var(--serif); margin-bottom: 8px; font-size: 18px; font-weight: 400; color: var(--black); }
.highlight-card p { color: var(--mid); font-size: 14px; line-height: 1.7; }
.highlight-card code { font-family: var(--mono); font-size: 12px; color: var(--charcoal); background: var(--off-white); padding: 2px 6px; }

/* ── Responsive app ── */

@media (max-width: 768px) {
  .sidebar { width: 100%; min-height: auto; position: relative; padding: 16px; }
  .app-main { margin-left: 0; padding: 20px; }
  .app-page { flex-direction: column; }
  .panels-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-bottom: 1px solid var(--light); }
  .hero h1 { font-size: var(--step-4); }
  .section-label { padding: 20px 24px; }
}

/* ═══════════════════════════════════════════════════
   Admin Dashboard
   ═══════════════════════════════════════════════════ */

.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--light);
  margin-bottom: 28px;
}

.admin-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab:hover { color: var(--charcoal); }
.admin-tab.active { color: var(--black); border-bottom-color: var(--black); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--light);
  margin-bottom: 28px;
}

.admin-metric {
  padding: 24px;
  border-right: 1px solid var(--light);
}
.admin-metric:last-child { border-right: none; }
.admin-metric .stat-label { margin-bottom: 6px; }
.admin-metric .stat-value { font-size: var(--step-3); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--light);
}
.admin-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--light);
  color: var(--charcoal);
}
.admin-table tr:hover td { background: var(--off-white); }

.admin-section {
  margin-bottom: 32px;
}
.admin-section-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-bottom: 12px;
}

.user-view-frame {
  width: 100%;
  height: calc(100vh - 160px);
  border: 1px solid var(--light);
  background: var(--cream);
}

/* ── Outreach channel cards ── */

.outreach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}

.outreach-card {
  border: 1px solid var(--light);
  overflow: hidden;
}

.outreach-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--light);
  background: var(--off-white);
}

.outreach-card-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}

.outreach-card-body {
  padding: 16px 20px;
  max-height: 300px;
  overflow-y: auto;
}

.outreach-card-body pre {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   Interactive Compare Pages
   ═══════════════════════════════════════════════════ */

.compare-interactive { margin-bottom: 48px; }

.compare-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--light);
  transition: background 0.2s;
  cursor: default;
}
.compare-row:hover { background: var(--off-white); }

.compare-row-header {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  border-bottom: 2px solid var(--light);
}

.compare-cell {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  border-right: 1px solid var(--light);
}
.compare-cell:last-child { border-right: none; }

.compare-feature {
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-pulse-val {
  color: var(--charcoal);
  position: relative;
}
.compare-pulse-val::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.compare-other-val {
  color: var(--mid);
}
.compare-other-val::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--light);
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.compare-expand {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
  background: var(--off-white);
}

.compare-expand.open { max-height: 200px; }

.compare-expand-content {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
}

.compare-verdict {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--light);
  margin-bottom: 48px;
}
.compare-verdict h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  margin-bottom: 8px;
}
.compare-verdict p { color: var(--mid); font-size: 14px; }

@media (max-width: 768px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: none; border-bottom: 1px solid var(--light); }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
  .admin-metric { border-bottom: 1px solid var(--light); }
  .outreach-grid { grid-template-columns: 1fr; }
}

/* ── Scrollbar ── */

::-webkit-scrollbar { width: 0; height: 0; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; }
* { scrollbar-width: none; -ms-overflow-style: none; }

/* ═══ Design Studio (inline) ═══ */

.ds-section {
  margin-bottom: 24px;
}
.ds-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid);
  margin-bottom: 10px;
}

.ds-themes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ds-theme {
  cursor: pointer;
  border: 2px solid var(--light);
  border-radius: 10px;
  padding: 6px;
  text-align: center;
  transition: all 0.15s ease;
  position: relative;
}
.ds-theme:hover {
  border-color: var(--charcoal);
  transform: translateY(-1px);
}
.ds-theme.active {
  border-color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}
.ds-theme-swatch {
  height: 48px;
  border-radius: 6px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}
.ds-theme-swatch-avatar {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.ds-theme-swatch-link {
  position: absolute;
  bottom: 6px;
  left: 12%;
  right: 12%;
  height: 8px;
  border-radius: 4px;
}
.ds-theme-swatch-link2 {
  position: absolute;
  bottom: 18px;
  left: 12%;
  right: 12%;
  height: 8px;
  border-radius: 4px;
}
.ds-theme-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--charcoal);
}

.ds-colors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.ds-color-picker {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-color-picker label {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
}
.ds-color-swatch {
  display: flex;
  gap: 4px;
  align-items: center;
}
.ds-color-swatch input[type="color"] {
  width: 36px;
  height: 36px;
  border: 2px solid var(--light);
  border-radius: 8px;
  padding: 2px;
  cursor: pointer;
  background: transparent;
}
.ds-color-swatch input[type="text"] {
  flex: 1;
  font-size: 11px;
  font-family: var(--mono);
  padding: 6px 8px;
  border: 1px solid var(--light);
  border-radius: 6px;
  width: 0;
}

/* ═══ Enhanced Sleeker Design ═══ */

/* Smoother page transitions */
* { -webkit-tap-highlight-color: transparent; }

/* Sleeker nav with backdrop blur */
.nav {
  backdrop-filter: blur(12px) saturate(1.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  background: rgba(250, 250, 248, 0.85);
}

/* Better button interactions */
.btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-ghost:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Smooth card hover states */
.pricing-card {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Sleeker form inputs */
input:not([type="color"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select, textarea {
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:not([type="color"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(232, 80, 58, 0.1);
}

/* Improved scroll reveal spring */
.scroll-reveal {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Admin panel improvements */
.admin-metric {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.admin-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Sleeker sidebar */
.sidebar-site {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sidebar-site:hover {
  transform: translateX(4px);
}

/* Outreach card animations */
.outreach-card {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.outreach-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Compare link pills */
.compare-link {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.compare-link:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Auth page polish */
.auth-card {
  transition: box-shadow 0.3s;
}
.auth-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Phone mockup hover */
.phone {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}
.hero-phone-2:hover .phone {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

/* Laptop mockup hover */
.laptop {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.laptop:hover {
  transform: translateY(-4px);
}

/* Smooth table rows */
.admin-table tbody tr {
  transition: background 0.2s;
}
.admin-table tbody tr:hover {
  background: var(--off-white);
}

/* Section labels */
.section-label {
  transition: letter-spacing 0.3s;
}
.section-label:hover {
  letter-spacing: 0.25em;
}
