/* NextMeeting — Professional landing */

:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f4f4f5;
  --surface: #ffffff;
  --border: #e4e4e7;
  --border-light: #f4f4f5;
  --text: #09090b;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;
  --primary: #18181b;
  --primary-hover: #27272a;
  --primary-light: #f4f4f5;
  --primary-dim: rgba(24, 24, 27, 0.08);
  --navy: #09090b;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning-bg: #fef3c7;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.03);
  --shadow: 0 8px 24px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.08);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

img, svg, video, canvas { max-width: 100%; height: auto; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-content {
  padding-top: var(--nav-height);
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo:hover { color: var(--text); }

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-muted);
}

.nav-cta {
  margin-left: 0.35rem;
  padding: 0.5rem 1rem !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* ── Typography ── */

.display-heading {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.65;
}

/* ── Badges & Buttons ── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-coming {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(24, 24, 27, 0.15);
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(24, 24, 27, 0.25);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--border-light);
}

/* ── Hero ── */

.hero {
  padding: 3.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.hero-copy { max-width: 520px; min-width: 0; width: 100%; }

.hero-badge { margin-bottom: 1.25rem; }

.hero h1 {
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  margin-bottom: 1.1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust svg {
  width: 16px; height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--primary-light) 0%, #f0f7ff 50%, var(--bg-subtle) 100%);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  min-width: 0;
  width: 100%;
}

.hero-art-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(24, 24, 27, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
  border-radius: var(--radius-xl);
}

/* ── Audience bar ── */

.audience-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.audience-bar p {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.audience-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.audience-pill svg {
  width: 15px; height: 15px;
  color: var(--primary);
}

/* ── Feed mockup ── */

.feed-mockup {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  min-width: 0;
}

.feed-header {
  padding: 0.9rem 1.15rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-header span:first-child {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.feed-date-nav {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.feed-live {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feed-live::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.feed-events { padding: 0.65rem; min-width: 0; width: 100%; }

.feed-event {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  background: var(--bg);
  border: 1px solid var(--border-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 0;
  width: 100%;
}

.feed-event:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.feed-event.highlight {
  border-color: rgba(24, 24, 27, 0.25);
  background: var(--primary-dim);
}

.feed-event-time {
  flex-shrink: 0;
  text-align: center;
  min-width: 44px;
}

.feed-event-time .day {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1.1;
}

.feed-event-time .month {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.feed-event-info { flex: 1; min-width: 0; }

.feed-event-info h4 {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-event-info p.feed-event-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  row-gap: 0.15rem;
}

.feed-event-org {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.org-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-event-tag {
  flex-shrink: 0;
  font-size: 0.62rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag-public { background: #dbeafe; color: #1d4ed8; }
.tag-internal { background: #f1f5f9; color: #475569; }
.tag-private { background: #fce7f3; color: #9d174d; }

.feed-footer {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-subtle);
}

/* Floating cards on hero art */
.float-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: float 4s ease-in-out infinite;
}

.float-card svg { width: 14px; height: 14px; color: var(--primary); }

.float-card-1 { top: -12px; right: -8px; animation-delay: 0s; }
.float-card-2 { bottom: 20px; left: -16px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Stats ── */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
  min-width: 0;
}

.stat-item { text-align: center; }

.stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Sections ── */

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-subtle); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-desc { margin: 0 auto; }

/* ── Cards ── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 22px; height: 22px;
  color: var(--primary);
  stroke-width: 1.75;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── Problem highlight cards ── */

.problem-cards .card {
  border-top: 3px solid var(--primary);
}

/* ── Node diagram ── */

.node-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.node-level {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.node-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), color var(--transition);
}

.node-box:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.node-box.root {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.node-box.root:hover { color: #fff; border-color: var(--primary-hover); background: var(--primary-hover); }

.node-box.individual {
  border-style: dashed;
  border-color: #cbd5e1;
}

.node-connector {
  width: 2px; height: 24px;
  background: var(--border);
  margin: 0 auto;
}

.node-connector.wide {
  width: 50%; height: 2px;
  margin: 12px auto;
}

/* ── Split blocks ── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.problem-block, .solution-block {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.problem-block {
  background: #fef2f2;
  border-color: #fecaca;
}

.solution-block {
  background: var(--success-bg);
  border-color: #a7f3d0;
}

.split-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.split-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.split-section li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.problem-block li::before {
  content: "✕";
  color: #dc2626;
  font-weight: 700;
  flex-shrink: 0;
}

.solution-block li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Steps ── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
  width: 100%;
  min-width: 0;
}

.step {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Feature list ── */

.feature-category { margin-bottom: 3rem; }

.feature-category h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
}

.feature-category h3 .cat-icon {
  width: 32px; height: 32px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-category h3 .cat-icon svg {
  width: 16px; height: 16px;
  color: var(--primary);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
}

.feature-item {
  display: flex;
  gap: 0.85rem;
  padding: 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-item strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Page hero ── */

.page-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.page-hero .section-desc { margin: 0 auto; }

/* ── CTA ── */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #334155 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-banner .badge-coming {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-banner .badge-dot { background: #4ade80; }

.cta-banner .email-input {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
  color: var(--text);
}

.cta-banner .signup-note { color: rgba(255, 255, 255, 0.55); }

/* ── Signup / Waitlist & Redesigned Admin Analytics Dashboard ── */

.signup-section { padding: 4.5rem 0 5.5rem; background: radial-gradient(100% 100% at 50% 100%, rgba(24, 24, 27, 0.04) 0%, transparent 100%); }

.signup-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.signup-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #34D399 100%);
}

.signup-card h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.signup-card > p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* ── Interactive Waitlist & Feedback Modal Wizard ── */

.waitlist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.waitlist-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.waitlist-modal-container {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.waitlist-modal-overlay.open .waitlist-modal-container {
  transform: translateY(0) scale(1);
}

.waitlist-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.waitlist-modal-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.waitlist-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.waitlist-modal-close:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.waitlist-modal-close svg {
  width: 18px;
  height: 18px;
}

.waitlist-modal-progress {
  height: 3px;
  background: var(--bg-muted);
  width: 100%;
  position: relative;
}

.waitlist-modal-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 25%;
  transition: width 0.3s ease;
}

.waitlist-modal-body {
  padding: 1.75rem 1.5rem;
  flex: 1;
  overflow-y: auto;
  max-height: 70vh;
}

.waitlist-step {
  display: none;
  animation: slideInStep 0.25s ease-out forwards;
}

.waitlist-step.active {
  display: block;
}

@keyframes slideInStep {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.waitlist-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.waitlist-step .step-subtitle {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

/* Choice card pills */
.choice-pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.choice-pill {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition);
}

.choice-pill:hover {
  border-color: #cbd5e1;
  background: var(--bg-subtle);
}

.choice-pill.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

.choice-pill-icon {
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.choice-pill-info {
  display: flex;
  flex-direction: column;
}

.choice-pill-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.choice-pill-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Checkbox pill selections */
.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.checkbox-pill {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}

.checkbox-pill:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.checkbox-pill.selected {
  border-color: rgba(24, 24, 27, 0.4);
  background: var(--primary-dim);
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  background: var(--bg);
}

.checkbox-pill.selected .checkbox-box {
  border-color: var(--primary);
  background: var(--primary);
}

.checkbox-box svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.checkbox-pill.selected .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.checkbox-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.checkbox-pill.selected .checkbox-label {
  color: var(--text);
}

/* Modal form controls */
.modal-textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  outline: none;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  resize: vertical;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.modal-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.waitlist-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
}

.waitlist-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.email-form-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.email-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 0;
  width: 100%;
}
.email-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.email-form-row .email-input {
  flex: 1;
}

/* Success Step */
.waitlist-success-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1.25rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
}

.waitlist-success-badge svg {
  width: 28px;
  height: 28px;
}

.queue-card {
  background: var(--primary-light);
  border: 1px solid rgba(24, 24, 27, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.25rem 0;
  text-align: center;
}

.queue-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}

.queue-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.waitlist-summary-list {
  background: var(--bg-muted);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
}

.waitlist-summary-list div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding-bottom: 0.25rem;
}

.waitlist-summary-list div:last-child {
  border: none;
  padding: 0;
}

.waitlist-summary-list strong {
  color: var(--text);
}

/* ── SaaS Waitlist Admin Analytics Dashboard ── */

.admin-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-top: 2.25rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.admin-panel summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.admin-panel summary svg {
  color: var(--primary);
  transition: transform var(--transition);
}

.admin-panel[open] summary svg {
  transform: rotate(90deg);
}

.admin-panel[open] summary {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.admin-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.kpi-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.kpi-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.kpi-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Analytics Row (Charts) */
.analytics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.chart-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
}

.chart-card h4 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.45rem;
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chart-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chart-bar-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s ease;
}

.chart-bar-fill.secondary-color {
  background: #34D399;
}

.chart-bar-val {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  width: 25px;
  text-align: right;
}

/* Ledger List */
.admin-table-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table-header {
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table-header h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.email-list {
  max-height: 250px;
  overflow-y: auto;
  font-size: 0.82rem;
}

.ledger-row {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition);
  width: 100%;
  min-width: 0;
}

.ledger-row:hover {
  background: var(--bg-subtle);
}

.ledger-row:last-child {
  border: none;
}

.ledger-email {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  width: max-content;
}

.ledger-badge-org { background: rgba(24, 24, 27, 0.08); color: var(--primary); }
.ledger-badge-source { background: #f1f5f9; color: #475569; }

.ledger-comment {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ledger-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ledger-delete-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.15rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.ledger-delete-btn:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
}

.ledger-delete-btn svg {
  width: 14px;
  height: 14px;
}

.admin-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

.illus-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2rem;
  width: 100%;
  min-width: 0;
}

.illus-panel svg { width: 100%; height: auto; max-height: 280px; }

/* ── Interactive Feed Mockup Enhancements ── */

.feed-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  min-width: 0;
}

.feed-filter-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.feed-pills-scroll {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  flex: 1;
  min-width: 0;
  width: 100%;
}

.feed-pills-scroll::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.feed-pill-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.feed-pill-btn:hover {
  background: var(--bg-muted);
}

.feed-pill-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.feed-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.feed-pill-btn.active .feed-pill-dot {
  background: #fff;
}

.feed-search-row {
  position: relative;
  width: 100%;
  min-width: 0;
}

.feed-search-input {
  width: 100%;
  min-width: 0;
  padding: 0.45rem 0.75rem 0.45rem 1.85rem;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  outline: none;
  font-family: var(--font);
  transition: all var(--transition);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-dim);
}

.feed-search-row svg {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: var(--text-muted);
}

.feed-visibility-filters {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.feed-visibility-filters::-webkit-scrollbar {
  display: none;
}

.feed-visibility-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition);
}

.feed-visibility-btn:hover {
  background: var(--bg-muted);
  color: var(--text-secondary);
}

.feed-visibility-btn.active {
  border-color: #cbd5e1;
  background: var(--bg-muted);
  color: var(--text);
}

/* Dynamic Event Actions */
.feed-event-bell {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-left: auto;
}

.feed-event-bell:hover {
  color: var(--primary);
  background: var(--primary-dim);
}

.feed-event-bell.active {
  color: #EAB308;
  animation: bellRing 0.4s ease-out;
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-15deg); }
  75% { transform: rotate(10deg); }
}

.feed-empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.feed-empty-state svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

/* ── Interactive Node Diagram Elements ── */

.node-box.clickable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-box.clickable:active {
  transform: scale(0.96);
}

.node-box-sub-indicator {
  position: absolute;
  top: -5px;
  right: 0px;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--success);
  color: white;
  padding: 0.1rem 0.35rem;
  border-radius: 100px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.25);
  animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.node-box.unsubscribed {
  opacity: 0.65;
  border-color: var(--border);
  background: var(--bg-subtle);
}

.node-box.unsubscribed:hover {
  opacity: 1;
  border-color: #cbd5e1;
}

.node-interactive-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: slideInStep 0.25s ease-out;
}

.node-info-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.node-info-details {
  flex: 1;
}

.node-info-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.node-info-details p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.node-sub-toggle-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.node-sub-toggle-btn.subscribed {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.node-sub-toggle-btn.subscribed:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.node-sub-toggle-btn.unsubscribed {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.node-sub-toggle-btn.unsubscribed:hover {
  background: var(--primary-hover);
}

/* Response Media Queries Upgrades */
@media (max-width: 900px) {
  .analytics-row { grid-template-columns: 1fr; }
  .node-interactive-panel { flex-direction: column; text-align: center; gap: 0.85rem; }
}

@media (max-width: 600px) {
  .kpi-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .ledger-row { grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.85rem 1rem; }
  .ledger-comment { grid-column: span 2; }
  .ledger-date { text-align: left; justify-content: flex-start; }
}


/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  min-width: 0;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.65rem;
  max-width: 300px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: none; text-align: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .split-section { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.7rem 1rem; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
  .email-form-row { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.35rem; text-align: center; }
  .float-card { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 1rem; }
  .hero-art { padding: 0.75rem; }
  .feed-controls { padding: 0.75rem; }
  .feed-header { padding: 0.75rem; }
  .stats-row { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .ledger-row { grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.85rem 1rem; }
  .ledger-comment { grid-column: span 2; }
  .ledger-date { text-align: left; justify-content: flex-start; }
  .problem-block, .solution-block { padding: 1.25rem; }
}
