/* ==========================================================================
   NXTslide — Design System
   Inspired by Linear, Vercel, Raycast
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

/* ---------- Reset & Tokens ---------- */

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

:root {
  --bg:          #0a0a0a;
  --bg-1:        #111111;
  --bg-2:        #161616;
  --bg-3:        #1c1c1c;
  --line:        rgba(255,255,255,0.07);
  --line-hover:  rgba(255,255,255,0.12);

  --ink:         #ededed;
  --ink-2:       #a1a1a1;
  --ink-3:       #666666;

  --accent:      #ffffff;
  --accent-dim:  rgba(255,255,255,0.08);

  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,0.12);
  --green-glow:  rgba(34,197,94,0.22);
  --green-border:rgba(34,197,94,0.35);

  --green:       #22c55e;
  --red:         #ef4444;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

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

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 0.875em;
  background: var(--bg-3);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-logo:hover {
  transform: scale(1.03);
}

.logo-txt {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.logo-highlight {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 450;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--ink); background: var(--accent-dim); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-gh {
  color: var(--ink-3);
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav-gh:hover { color: var(--ink); background: var(--accent-dim); }

.btn-nav {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--ink);
  padding: 7px 16px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Landing Auth Widget ─────────────────────────────────────────── */

.btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-hover);
  padding: 6px 14px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-signin:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
}

.nav-pro-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #4ade80;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-hover);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
}
.nav-user-pill:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-user-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-chevron {
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform 0.2s;
}

/* Dropdown */
.nav-auth-in {
  position: relative;
}

.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #111111;
  border: 1px solid var(--line-hover);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.5);
  z-index: 200;
  overflow: hidden;
  animation: dropIn 0.15s ease;
}
.nav-user-dropdown.open { display: block; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nud-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.nud-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-3);
}

.nud-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.nud-email {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.nud-divider {
  height: 1px;
  background: var(--line);
  margin: 0 8px;
}

.nud-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.nud-upgrade {
  color: #818cf8;
  margin-top: 4px;
}
.nud-upgrade:hover {
  background: rgba(99,102,241,0.1);
  color: #a5b4fc;
}

.nud-signout {
  color: var(--ink-2);
  margin-bottom: 4px;
}
.nud-signout:hover {
  background: rgba(239,68,68,0.08);
  color: #f87171;
}

/* Plan active state in pricing card */
.plan-pro-active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--r-md);
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
}



.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink-2);
  transition: all 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  padding: 160px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--line-hover);
  background: var(--bg-1);
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px rgba(34,197,94,0.6); }
  50% { box-shadow: 0 0 14px rgba(34,197,94,0.9), 0 0 24px rgba(34,197,94,0.3); }
}

.hero-h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero-accent {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
  text-align: left;
}

.btn-primary {
  background: #16a34a;
  color: #fff;
  border: 1px solid rgba(34,197,94,0.3);
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 0 0 1px rgba(34,197,94,0.25);
}

.btn-primary:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--green-glow), 0 0 0 1px rgba(34,197,94,0.4);
}

.btn-secondary {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line-hover);
}

.btn-secondary:hover {
  background: var(--bg-3);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.btn-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.btn-sub {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1.2;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.trust-sep { color: var(--bg-3); }

.portable-note {
  font-size: 0.8rem;
  color: var(--ink-3);
}
.portable-note a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}
.portable-note a:hover { text-decoration: underline; }

/* ---------- Section Shared ---------- */

section { padding: 96px 0; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 56px;
  line-height: 1.65;
}

/* ---------- Steps ---------- */

.steps-section {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-1);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
}
.step-card:hover { background: var(--bg-2); }

.step-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ---------- Demo ---------- */

.demo-section {
  border-top: 1px solid var(--line);
  text-align: left;
}

.demo-frame {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 48px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}

/* Phone mockup */
.phone-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.phone-vol-key-hint {
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

.phone-mockup {
  width: 160px;
  height: 320px;
  background: var(--bg-2);
  border-radius: 32px;
  border: 1px solid var(--line-hover);
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.phone-vol-key {
  position: absolute;
  left: -3px;
  width: 3px;
  height: 40px;
  background: var(--bg-3);
  border-radius: 2px 0 0 2px;
  cursor: pointer;
  transition: background 0.1s, transform 0.1s;
}
.phone-vol-key:hover { background: var(--green); transform: scaleX(1.4); }
.phone-vol-key:active { background: var(--green); transform: scaleX(1.6) translateX(-1px); }

.vol-up-btn { top: 80px; }
.vol-down-btn { top: 130px; }

.phone-screen {
  position: absolute;
  inset: 10px;
  background: var(--bg);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-speaker-notch {
  width: 40px;
  height: 4px;
  background: var(--bg-3);
  border-radius: 4px;
  margin: 10px auto 0;
}

.phone-app-header {
  padding: 10px 12px 6px;
  border-bottom: 1px solid var(--line);
}

.phone-app-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.phone-app-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.54rem;
  color: var(--ink-3);
  margin-top: 3px;
}

.pulse-circle {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.phone-pad {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  flex: 1;
}

.phone-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  cursor: pointer;
  padding: 12px 8px;
  flex: 1;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  font-family: inherit;
}
.phone-btn span {
  font-size: 0.52rem;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  font-weight: 600;
}
.phone-btn:hover { background: var(--green-dim); border-color: rgba(34,197,94,0.4); }
.phone-btn:active { transform: scale(0.96); }

.phone-pocket-badge {
  font-size: 0.52rem;
  color: var(--ink-3);
  text-align: center;
  padding: 6px;
  letter-spacing: 0.03em;
}

/* Slide display */
.slide-display-wrapper { display: flex; flex-direction: column; gap: 16px; }

.slide-monitor {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.slide-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.slide-deck-title { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }

.slide-deck-badge {
  font-size: 0.72rem;
  color: var(--ink-3);
  font-family: 'Geist Mono', monospace;
}

.slide-body {
  padding: 40px 32px;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.slide-content-card { width: 100%; }

.slide-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.slide-detail {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.slide-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
}

.slide-indicator {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.slide-indicator span { color: var(--ink); font-weight: 600; }

.slide-status-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--ink-3);
}

.simulator-hud {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hud-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 14px;
  flex: 1;
  min-width: 140px;
}

.hud-label { font-size: 0.72rem; color: var(--ink-3); font-weight: 500; white-space: nowrap; }

.hud-value {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

/* ---------- Features ---------- */

.features-section {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-1);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-card.feature-wide { grid-column: span 2; }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--green-dim);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--green-border);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ---------- Comparison ---------- */

.compare-section {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.table-scroll {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: var(--bg-2);
}

.compare-table th.col-nxt {
  color: var(--green);
  background: var(--green-dim);
}

.compare-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

.compare-table td.col-nxt { background: rgba(34,197,94,0.05); }

.yes { color: var(--green); font-weight: 500; }
.no  { color: var(--red);   opacity: 0.8; }

/* ---------- Pricing ---------- */

.pricing-section {
  border-top: 1px solid var(--line);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 780px;
  margin: 48px auto 0;
  text-align: left;
}

.pricing-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(34,197,94,0.4);
  background: linear-gradient(145deg, var(--bg-1), rgba(34,197,94,0.07));
  box-shadow: 0 0 0 1px rgba(34,197,94,0.12), 0 24px 60px -20px rgba(34,197,94,0.18);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-top { display: flex; flex-direction: column; gap: 8px; }

.plan-name {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.plan-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  font-size: 0.85rem;
  padding-left: 18px;
  position: relative;
  color: var(--ink-2);
  line-height: 1.5;
}

.plan-features li::before { position: absolute; left: 0; top: 0; }
.plan-features li.on { color: var(--ink); }
.plan-features li.on::before { content: '✓'; color: var(--green); }
.plan-features li.off::before { content: '✗'; color: var(--ink-3); }
.plan-features li.on strong { color: var(--ink); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 11px 20px;
  background: var(--bg-3);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid var(--line-hover);
  transition: background 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.plan-btn:hover { background: var(--bg-2); transform: translateY(-1px); }

.plan-btn-primary {
  background: var(--green);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.4), 0 4px 16px rgba(34,197,94,0.22);
}
.plan-btn-primary:hover { background: #15803d; }

/* ---------- FAQ ---------- */

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}

.faq-container { max-width: 680px; margin: 0 auto; }

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  transition: background 0.15s;
  line-height: 1.4;
}
.faq-question:hover { background: var(--accent-dim); }

.faq-icon {
  font-size: 1.1rem;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), color 0.15s;
  font-weight: 300;
}

.faq-answer {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.7;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.25s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 4px 24px 20px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--green);
}

/* ---------- Founder ---------- */

.founder-section {
  border-top: 1px solid var(--line);
  padding: 80px 0;
}

.founder-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  border: 1px solid rgba(34,197,94,0.35);
  box-shadow: 0 0 30px var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #22c55e;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.founder-text { display: flex; flex-direction: column; gap: 10px; }

.founder-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.founder-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.founder-text p {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.7;
  font-style: italic;
}

.founder-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-secondary-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--bg-2);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid var(--line-hover);
  transition: background 0.15s, transform 0.15s;
}
.btn-secondary-sm:hover { background: var(--bg-3); transform: translateY(-1px); }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #16a34a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary-sm:hover { background: #15803d; transform: translateY(-1px); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo-txt {
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.footer-col { min-width: 120px; }

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col li {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-3);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom strong { color: var(--ink-2); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.feature-wide { grid-column: span 1; }
  .demo-frame { grid-template-columns: 1fr; }
  .phone-mockup-wrapper { flex-direction: row; align-items: center; gap: 24px; }
  .phone-mockup { width: 140px; height: 280px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    z-index: 99;
  }
  .nav-right .btn-nav { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 120px 0 72px; }
  .hero-h1 { font-size: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }

  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .founder-card { flex-direction: column; }

  .demo-frame { padding: 24px 20px; }
}

/* ---------- Demo Mode Switcher ---------- */
.demo-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.demo-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.demo-tab-btn:hover {
  background: var(--bg-3);
  color: var(--ink);
  border-color: var(--line-hover);
}
.demo-tab-btn.active {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.15);
}

/* Laser & Touchpad View */
.phone-laser-pad {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.1) 0%, rgba(10, 10, 15, 0.95) 75%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--r-md);
  padding: 16px 10px;
  flex: 1;
  cursor: crosshair;
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}
.laser-pad-grid {
  position: absolute;
  inset: 0;
  background-size: 16px 16px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}
.laser-thumb-indicator {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  background: rgba(239, 68, 68, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 12px #ef4444;
  transition: opacity 0.15s;
  top: 50%;
  left: 50%;
}
.laser-pad-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
  pointer-events: none;
}
.laser-pad-hint {
  font-size: 0.55rem;
  color: #94a3b8;
  text-align: center;
  max-width: 130px;
  line-height: 1.3;
  z-index: 2;
  pointer-events: none;
}

/* Simulation Laser Dot on Slide */
.sim-laser-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 4px 1px #fff, 0 0 12px 3px #ff1244, 0 0 28px 8px rgba(255, 18, 68, 0.8), 0 0 50px 16px rgba(255, 18, 68, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 30;
  display: none;
  transition: opacity 0.1s ease;
}
.sim-laser-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 80, 110, 0.6);
  transform: translate(-50%, -50%);
  animation: laserPulse 1.2s infinite ease-out;
}

/* Simulation Spotlight Mask on Slide */
.sim-spotlight-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
  z-index: 25;
  display: none;
  clip-path: circle(85px at -200px -200px);
  transition: clip-path 0.04s ease-out, opacity 0.2s ease;
  border-radius: 12px;
}

/* HUD Quick Actions View */
.phone-hud-pad {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 6px;
  flex: 1;
}
.hud-quick-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.hud-quick-btn:hover {
  background: var(--bg-3);
  border-color: var(--line-hover);
}
.hud-quick-btn.active {
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.4);
  color: #facc15;
}

/* Slide Monitor Blackout state */
.slide-monitor.blackout .slide-body {
  background: #000000 !important;
}
.slide-monitor.blackout .slide-content-card {
  opacity: 0 !important;
  visibility: hidden;
}

/* Spotlight toggle button inside monitor */
.spotlight-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}
.spotlight-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.spotlight-toggle-btn.active {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.5);
  color: #fde047;
}

/* Platform Download Hub Matrix */
.platforms-section {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.platform-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.platform-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.platform-card.highlight {
  border-color: rgba(34, 197, 94, 0.4);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, var(--bg-2) 100%);
}
.platform-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.platform-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 20px;
}
.platform-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.platform-card-meta {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.platform-card-desc {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.platform-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.platform-card-btn.primary {
  background: var(--green);
  color: #000;
}
.platform-card-btn.primary:hover {
  background: #4ade80;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}
.platform-card-btn.secondary {
  background: var(--bg-3);
  color: var(--ink);
  border: 1px solid var(--line);
}
.platform-card-btn.secondary:hover {
  border-color: var(--line-hover);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .platform-grid { grid-template-columns: 1fr; }
}
