/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
}

@media (min-width: 901px) {
  body.home {
    overflow: hidden;
  }
}

/* ─── Theme Variables ───────────────────────────────── */
:root,
[data-theme="dark"] {
  --bg: #0a0a0a;
  --text: #e5e5e5;
  --text-secondary: #888;
  --text-dim: #555;
  --surface: #141414;
  --surface-raised: #1a1a1a;
  --surface-hover: #252525;
  --border: #2a2a2a;
  --border-hover: #444;
  --nav-btn-bg: #fff;
  --nav-btn-color: #0a0a0a;
  --logo-color: #fff;
  --logo-icon-bg: #000;
  --logo-icon-border: rgba(255, 255, 255, 0.4);
  --input-bg: #141414;
  --signup-btn-bg: #fff;
  --signup-btn-color: #0a0a0a;
  --footer-border: #1a1a1a;
  --footer-text: #555;
  --footer-logo: #333;
  --modal-bg: #141414;
  --modal-feature-bg: #1e1e1e;
  --modal-feature-icon: #999;
  --modal-overlay: rgba(0, 0, 0, 0.8);
  --toggle-bg: transparent;
  --toggle-border: #333;
  --toggle-color: #888;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(255, 255, 255, 0.06) inset;
  --glass-text: rgba(255, 255, 255, 0.85);
  --glass-text-secondary: rgba(255, 255, 255, 0.55);
  --glass-text-dim: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] {
  --bg: #f5f5f5;
  --text: #1a1a1a;
  --text-secondary: #666;
  --text-dim: #999;
  --surface: #fff;
  --surface-raised: #fff;
  --surface-hover: #eee;
  --border: #e0e0e0;
  --border-hover: #ccc;
  --nav-btn-bg: #1a1a1a;
  --nav-btn-color: #fff;
  --logo-color: #1a1a1a;
  --logo-icon-bg: #fff;
  --logo-icon-border: rgba(0, 0, 0, 0.15);
  --input-bg: #fff;
  --signup-btn-bg: #1a1a1a;
  --signup-btn-color: #fff;
  --footer-border: #e0e0e0;
  --footer-text: #999;
  --footer-logo: #ccc;
  --modal-bg: #fff;
  --modal-feature-bg: #f5f5f5;
  --modal-feature-icon: #666;
  --modal-overlay: rgba(0, 0, 0, 0.4);
  --toggle-bg: transparent;
  --toggle-border: #ddd;
  --toggle-color: #666;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(255, 255, 255, 0.7) inset;
  --glass-text: rgba(0, 0, 0, 0.8);
  --glass-text-secondary: rgba(0, 0, 0, 0.5);
  --glass-text-dim: rgba(0, 0, 0, 0.3);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ─── Starfield Canvas ────────────────────────────────── */
.starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
[data-theme="light"] .starfield-canvas { opacity: 0; }

/* ─── Space Nebula Auras ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 35% 30% at 15% 25%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 30% 35% at 80% 65%, rgba(59, 130, 246, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 25% 25% at 55% 85%, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
}
[data-theme="light"] body::before { opacity: 0; }

/* ─── Navigation ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav {
  background: rgba(245, 245, 245, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--logo-color);
  line-height: 1;
}

.nav-logo-icon {
  flex-shrink: 0;
  display: block;
  width: 34px;
  height: 34px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  color: var(--toggle-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* Show sun in dark mode, moon in light mode */
.theme-icon-moon { display: none; }
.theme-icon-sun { display: block; }

[data-theme="light"] .theme-icon-moon { display: block; }
[data-theme="light"] .theme-icon-sun { display: none; }

.nav-btn {
  padding: 11px 30px;
  border-radius: 50px;
  background: var(--nav-btn-bg);
  color: var(--nav-btn-color);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: btnPulse 3s ease-in-out 2s infinite;
}

.nav-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: none;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 2px 8px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08), 0 2px 12px rgba(0, 0, 0, 0.15); }
}

[data-theme="light"] .nav-btn {
  animation-name: btnPulseLight;
}

@keyframes btnPulseLight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 2px 8px rgba(0, 0, 0, 0.06); }
  50% { box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.04), 0 2px 12px rgba(0, 0, 0, 0.1); }
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 48px 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 80px;
  position: relative;
  overflow: hidden;
}

/* ─── Hero Background Texture ────────────────────────── */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 45% at 30% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 70% 35%, rgba(139, 92, 246, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 55%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
}
[data-theme="light"] .hero::before { opacity: 0; }

.hero-left {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 40% 40%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  filter: blur(40px);
  animation: heroGlowPulse 8s ease-in-out infinite;
}
[data-theme="light"] .hero-left::before { opacity: 0; }

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-title {
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -2px;
  color: var(--logo-color);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 44px;
  line-height: 1.5;
}

/* ─── Signup Form ───────────────────────────────────── */
.signup-label {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}
[data-theme="light"] .signup-label { color: #1a1a1a; }

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 400px;
}

.signup-inputs {
  display: flex;
  gap: 10px;
}

.signup-input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.signup-input::placeholder {
  color: var(--text-dim);
}

.signup-input:focus {
  border-color: var(--border-hover);
}

.signup-btn {
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--signup-btn-bg);
  color: var(--signup-btn-color);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  width: 100%;
  text-align: center;
}

.signup-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.signup-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.signup-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: -4px;
  display: none;
}

.signup-error.visible {
  display: block;
}

.hero-compat-line {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 14px;
  letter-spacing: -0.1px;
}

/* ─── Hero Right / Scene ────────────────────────────── */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 640px;
}

.scene {
  position: relative;
  width: 100%;
  padding: 40px 0;
  transition: transform 0.15s ease-out;
}

/* ─── Ambient Gradient Orbs ────────────────────────── */
.scene-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  animation: orbFadeIn 2s ease-out forwards;
}

.scene-orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0) 70%);
  top: -60px;
  right: -40px;
  animation: orbFadeIn 2s ease-out 0.3s forwards, orbDrift1 12s ease-in-out 2s infinite;
}

.scene-orb-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0) 70%);
  bottom: -20px;
  right: -60px;
  animation: orbFadeIn 2s ease-out 0.6s forwards, orbDrift2 14s ease-in-out 2.5s infinite;
}

.scene-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0) 70%);
  bottom: 40px;
  left: -80px;
  animation: orbFadeIn 2s ease-out 0.9s forwards, orbDrift3 16s ease-in-out 3s infinite;
}

[data-theme="light"] .scene-orb-1 { background: radial-gradient(circle, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0) 70%); }
[data-theme="light"] .scene-orb-2 { background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0) 70%); }
[data-theme="light"] .scene-orb-3 { background: radial-gradient(circle, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0) 70%); }

@keyframes orbFadeIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(15px, -10px) scale(1.05); }
  50% { transform: translate(-10px, 15px) scale(0.95); }
  75% { transform: translate(8px, 8px) scale(1.02); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, -8px) scale(1.08); }
  66% { transform: translate(12px, -15px) scale(0.94); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(10px, 12px) scale(1.06); }
  50% { transform: translate(-15px, -5px) scale(0.96); }
  80% { transform: translate(5px, -10px) scale(1.03); }
}

/* ─── Sparkle Elements ─────────────────────────────── */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
}

.sparkle::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: inherit;
  filter: blur(2px);
}

.sparkle-1 {
  top: 15%;
  right: 5%;
  background: #4ade80;
  animation: sparkleFlash 3s ease-in-out 1.5s infinite;
}

.sparkle-2 {
  top: 45%;
  left: 2%;
  background: #f59e0b;
  animation: sparkleFlash 4s ease-in-out 2.2s infinite;
}

.sparkle-3 {
  bottom: 25%;
  right: 15%;
  background: #3b82f6;
  animation: sparkleFlash 3.5s ease-in-out 3s infinite;
}

.sparkle-4 {
  top: 5%;
  left: 40%;
  background: #8b5cf6;
  animation: sparkleFlash 5s ease-in-out 1s infinite;
}

.sparkle-5 {
  bottom: 10%;
  left: 20%;
  background: #f472b6;
  animation: sparkleFlash 4.5s ease-in-out 3.8s infinite;
}

.sparkle-6 {
  top: 70%;
  right: 2%;
  background: #34d399;
  animation: sparkleFlash 3.8s ease-in-out 2.5s infinite;
}

@keyframes sparkleFlash {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  15% { opacity: 1; transform: scale(1.5); }
  30% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0; transform: scale(0.5); }
}

/* ─── Connection Lines ─────────────────────────────── */
.scene-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: connFadeIn 1.5s ease-out 1.5s forwards;
}

.conn-line {
  stroke-dasharray: 8 6;
  animation: connDash 20s linear infinite;
}

.conn-line-1 { animation-delay: 0s; }
.conn-line-2 { animation-delay: -7s; }
.conn-line-3 { animation-delay: -14s; }

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

@keyframes connDash {
  to { stroke-dashoffset: -200; }
}

/* ─── Floating Cursor ──────────────────────────────── */
.scene-cursor {
  position: absolute;
  left: 68%;
  top: 10%;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.scene-cursor.visible {
  opacity: 1;
  transition: opacity 0.8s ease;
}

.cursor-ring {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  pointer-events: none;
}

.cursor-ring.click {
  animation: cursorClick 0.45s ease-out forwards;
}

@keyframes cursorClick {
  0% { transform: scale(0); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

/* ─── Meeting Window ────────────────────────────────── */
.meeting-window {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  width: 340px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: meetingEnter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(255, 255, 255, 0.06) inset;
}

@keyframes meetingEnter {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.meeting-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.meeting-dots {
  display: flex;
  gap: 6px;
}

.meeting-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.meeting-dots span:nth-child(1) { background: #ff5f57; }
.meeting-dots span:nth-child(2) { background: #febc2e; }
.meeting-dots span:nth-child(3) { background: #28c840; }

.meeting-title {
  flex: 1;
  font-weight: 500;
  color: var(--text);
}

.meeting-time {
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  font-size: 11px;
}

.meeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.participant {
  background: var(--surface-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 22px;
  position: relative;
}

.participant-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.participant.speaking .participant-avatar {
  animation: avatarRing 3s ease-in-out infinite;
}

@keyframes avatarRing {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(var(--ring-color, 59,130,246), 0.3); }
  50% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(var(--ring-color, 59,130,246), 0.15); }
}

.participant-name {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.participant-speaking {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.participant.speaking .participant-speaking {
  opacity: 1;
}

.speaking-bar {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, #4ade80, #22d3ee);
  animation: speakPulse 0.6s ease-in-out infinite alternate;
}

.speaking-bar:nth-child(1) { height: 6px; animation-delay: 0s; }
.speaking-bar:nth-child(2) { height: 14px; animation-delay: 0.12s; }
.speaking-bar:nth-child(3) { height: 9px; animation-delay: 0.24s; }

@keyframes speakPulse {
  0% { transform: scaleY(0.35); opacity: 0.4; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

/* ─── Floating Cards (shared · glassmorphic) ────────── */
.float-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--glass-text);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  z-index: 2;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.float-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glass-shadow), 0 24px 70px rgba(0, 0, 0, 0.2);
}

/* Shimmer highlight sweep */
.shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 60%
  );
  animation: shimmerSweep 6s ease-in-out 2s infinite;
  pointer-events: none;
  z-index: 10;
}

[data-theme="light"] .shimmer {
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 55%,
    transparent 60%
  );
}

@keyframes shimmerSweep {
  0%, 100% { left: -100%; }
  40% { left: 200%; }
  41% { left: -100%; }
}

.float-notes .shimmer { animation-delay: 2.5s; animation-duration: 7s; }
.float-actions .shimmer { animation-delay: 4s; animation-duration: 8s; }
.float-chat .shimmer { animation-delay: 5.5s; animation-duration: 6.5s; }

.float-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--glass-text-secondary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* Pulsing header dot */
.header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.header-dot-green {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 18px rgba(74, 222, 128, 1); transform: scale(1.15); }
}

/* ─── Floating: Live Notes ──────────────────────────── */
.float-notes {
  top: -60px;
  right: -20px;
  width: 275px;
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(74, 222, 128, 0.2), 0 0 80px rgba(74, 222, 128, 0.1);
  animation: floatInNotes 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.float-notes.animated {
  animation: idleFloatNotes 7s ease-in-out infinite;
}

.float-notes:hover {
  border-color: rgba(74, 222, 128, 0.7);
  box-shadow: var(--glass-shadow), 0 0 50px rgba(74, 222, 128, 0.35), 0 24px 70px rgba(0, 0, 0, 0.2);
}

.float-notes-list {
  position: relative;
  z-index: 1;
}

.float-notes-list p {
  font-size: 12.5px;
  color: var(--glass-text-secondary);
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}

.float-notes-list strong {
  color: var(--glass-text);
  font-weight: 600;
}

.float-note-typing {
  color: var(--glass-text-dim);
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: #4ade80;
  text-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ─── Floating: Action Items ────────────────────────── */
.float-actions {
  bottom: 20px;
  left: -60px;
  width: 255px;
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(245, 158, 11, 0.18), 0 0 80px rgba(245, 158, 11, 0.08);
  animation: floatInActions 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.float-actions.animated {
  animation: idleFloatActions 8s ease-in-out infinite;
}

.float-actions:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: var(--glass-shadow), 0 0 50px rgba(245, 158, 11, 0.3), 0 24px 70px rgba(0, 0, 0, 0.2);
}

.float-actions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto;
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: 12px;
  color: var(--glass-text-secondary);
  letter-spacing: -0.1px;
}

.action-item strong {
  color: var(--glass-text);
  font-weight: 600;
  margin-left: 0.25em;
}

.action-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 6px;
  margin-top: 1px;
  color: var(--glass-text-secondary);
}

.action-check-empty {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ─── Floating: Chatbot ─────────────────────────────── */
.float-chat {
  bottom: -60px;
  right: -10px;
  width: 245px;
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(59, 130, 246, 0.2), 0 0 80px rgba(59, 130, 246, 0.1);
  animation: floatInChat 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.float-chat.animated {
  animation: idleFloatChat 9s ease-in-out infinite;
}

.float-chat:hover {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: var(--glass-shadow), 0 0 50px rgba(59, 130, 246, 0.35), 0 24px 70px rgba(0, 0, 0, 0.2);
}

.float-chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
  min-height: 105px;
}

.float-chat-q {
  font-size: 12px;
  color: var(--glass-text-dim);
  font-style: italic;
  letter-spacing: -0.1px;
}

.float-chat-a {
  font-size: 12.5px;
  color: var(--glass-text-secondary);
  line-height: 1.55;
  letter-spacing: -0.1px;
}

.float-chat-a strong {
  color: var(--glass-text);
  font-weight: 600;
}

/* ─── Incognito Badge ───────────────────────────────── */
.float-incognito {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 28px;
  padding: 10px 22px;
  font-size: 11.5px;
  letter-spacing: -0.1px;
  color: var(--glass-text-dim);
  white-space: nowrap;
  box-shadow: var(--glass-shadow), 0 0 30px rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.float-incognito:hover {
  transform: translateY(calc(-50% - 6px)) scale(1.02);
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: var(--glass-shadow), 0 0 50px rgba(139, 92, 246, 0.3);
}

/* ─── Float Animations ──────────────────────────────── */

/* --- Entrance animations (each card from a different direction) --- */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatInNotes {
  from {
    opacity: 0;
    transform: translateY(-30px) translateX(20px) rotate(3deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0) scale(1);
  }
}

@keyframes floatInActions {
  from {
    opacity: 0;
    transform: translateY(30px) translateX(-25px) rotate(-2deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0) scale(1);
  }
}

@keyframes floatInChat {
  from {
    opacity: 0;
    transform: translateY(25px) translateX(30px) rotate(2deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0) scale(1);
  }
}

/* --- Unique idle float paths (smooth, organic) --- */
@keyframes idleFloatNotes {
  0%, 100% { transform: translateY(0) translateX(0); }
  33%  { transform: translateY(-6px) translateX(2px); }
  66%  { transform: translateY(-3px) translateX(-1px); }
}

@keyframes idleFloatActions {
  0%, 100% { transform: translateY(0) translateX(0); }
  40%  { transform: translateY(-5px) translateX(-2px); }
  70%  { transform: translateY(-2px) translateX(1px); }
}

@keyframes idleFloatChat {
  0%, 100% { transform: translateY(0) translateX(0); }
  35%  { transform: translateY(-4px) translateX(3px); }
  70%  { transform: translateY(-7px) translateX(-1px); }
}

/* --- Incognito badge --- */
.float-incognito {
  animation: floatInIncog 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}

.float-incognito.animated {
  animation: idleFloatIncog 6s ease-in-out infinite;
}

@keyframes floatInIncog {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
  }
}

@keyframes idleFloatIncog {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  30% { transform: translateY(calc(-50% - 3px)) translateX(2px); }
  60% { transform: translateY(calc(-50% - 5px)) translateX(-1px); }
}

/* ─── Footer ────────────────────────────────────────── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-top: 1px solid var(--footer-border);
  font-size: 13px;
  color: var(--footer-text);
}

.footer-left span {
  color: var(--footer-text);
}

.footer-center {
  display: flex;
  gap: 32px;
}

.footer-center a {
  color: var(--footer-text);
  transition: color 0.2s;
}

.footer-center a:hover {
  color: var(--text-secondary);
}

.footer-right .footer-logo {
  font-size: 20px;
  font-weight: 400;
  color: var(--footer-logo);
  letter-spacing: -0.5px;
}

/* ─── Modal ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--modal-overlay);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--modal-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 48px;
  max-width: 1020px;
  width: 94%;
  max-height: 94vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.modal-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.modal-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* Row 1: 3 cards across */
.mf-tile:nth-child(1),
.mf-tile:nth-child(2),
.mf-tile:nth-child(3) {
  grid-column: span 2;
}

/* Row 2: 2 cards centered */
.mf-tile:nth-child(4) {
  grid-column: 1 / 4;
}

.mf-tile:nth-child(5) {
  grid-column: 4 / 7;
}

/* ─── Glassmorphic Feature Tiles ────────────────────── */
.mf-tile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 0.5px rgba(255,255,255,0.04) inset;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  /* stagger — hidden until modal opens */
  opacity: 0;
  transform: translateY(12px);
}

.mf-tile:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 0 0.5px rgba(255,255,255,0.08) inset;
  border-color: var(--border-hover);
}

/* ─── Per-tile accent colors ──────────────────────── */
.mf-tile:nth-child(1) { border-left: 2.5px solid rgba(74, 222, 128, 0.6); }
.mf-tile:nth-child(2) { border-left: 2.5px solid rgba(59, 130, 246, 0.6); }
.mf-tile:nth-child(3) { border-left: 2.5px solid rgba(167, 139, 250, 0.6); }
.mf-tile:nth-child(4) { border-left: 2.5px solid rgba(245, 158, 11, 0.6); }
.mf-tile:nth-child(5) { border-left: 2.5px solid rgba(34, 211, 238, 0.6); }

.mf-tile:nth-child(1) .modal-feature-icon { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.25); color: #4ade80; }
.mf-tile:nth-child(2) .modal-feature-icon { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.25); color: #3b82f6; }
.mf-tile:nth-child(3) .modal-feature-icon { background: rgba(167, 139, 250, 0.12); border-color: rgba(167, 139, 250, 0.25); color: #a78bfa; }
.mf-tile:nth-child(4) .modal-feature-icon { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.25); color: #f59e0b; }
.mf-tile:nth-child(5) .modal-feature-icon { background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.25); color: #22d3ee; }

.mf-tile:nth-child(1):hover { border-color: rgba(74, 222, 128, 0.5); box-shadow: 0 8px 32px rgba(74, 222, 128, 0.1), 0 0 0 0.5px rgba(255,255,255,0.08) inset; }
.mf-tile:nth-child(2):hover { border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1), 0 0 0 0.5px rgba(255,255,255,0.08) inset; }
.mf-tile:nth-child(3):hover { border-color: rgba(167, 139, 250, 0.5); box-shadow: 0 8px 32px rgba(167, 139, 250, 0.1), 0 0 0 0.5px rgba(255,255,255,0.08) inset; }
.mf-tile:nth-child(4):hover { border-color: rgba(245, 158, 11, 0.5); box-shadow: 0 8px 32px rgba(245, 158, 11, 0.1), 0 0 0 0.5px rgba(255,255,255,0.08) inset; }
.mf-tile:nth-child(5):hover { border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 8px 32px rgba(34, 211, 238, 0.1), 0 0 0 0.5px rgba(255,255,255,0.08) inset; }

/* Stagger entrance when modal is active */
.modal-overlay.active .mf-tile {
  animation: mfSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal-overlay.active .mf-tile:nth-child(1) { animation-delay: 0.1s; }
.modal-overlay.active .mf-tile:nth-child(2) { animation-delay: 0.2s; }
.modal-overlay.active .mf-tile:nth-child(3) { animation-delay: 0.3s; }
.modal-overlay.active .mf-tile:nth-child(4) { animation-delay: 0.4s; }
.modal-overlay.active .mf-tile:nth-child(5) { animation-delay: 0.5s; }

@keyframes mfSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reset when modal closes so it re-animates next open */
.modal-overlay:not(.active) .mf-tile {
  opacity: 0;
  transform: translateY(12px);
}

.modal-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--modal-feature-icon);
}

.mf-tile h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.mf-tile:nth-child(1) h3 { color: #4ade80; }
.mf-tile:nth-child(2) h3 { color: #60a5fa; }
.mf-tile:nth-child(3) h3 { color: #a78bfa; }
.mf-tile:nth-child(4) h3 { color: #fbbf24; }
.mf-tile:nth-child(5) h3 { color: #22d3ee; }

/* Light theme: darker accent headings for readability */
[data-theme="light"] .mf-tile:nth-child(1) h3 { color: #16a34a; }
[data-theme="light"] .mf-tile:nth-child(2) h3 { color: #2563eb; }
[data-theme="light"] .mf-tile:nth-child(3) h3 { color: #7c3aed; }
[data-theme="light"] .mf-tile:nth-child(4) h3 { color: #d97706; }
[data-theme="light"] .mf-tile:nth-child(5) h3 { color: #0891b2; }

.mf-tile p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ─── Animated Icons ────────────────────────────────── */

/* Pulsing green dot for real-time notes */
.mf-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  display: block;
  position: relative;
}

.mf-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.3);
  animation: mfPulse 2s ease-in-out infinite;
}

@keyframes mfPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* Typing indicator for chatbot */
.mf-typing {
  display: flex;
  align-items: center;
  gap: 3px;
}

.mf-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
  animation: mfTypingBounce 1.4s ease-in-out infinite;
}

.mf-typing span:nth-child(2) { animation-delay: 0.15s; }
.mf-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes mfTypingBounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Eye-slash blink for incognito — color inherited from parent icon */
.mf-eye-blink {
  color: inherit;
  transform-origin: center;
  animation: mfEyeClose 3s ease-in-out infinite;
}

.mf-eye-slash {
  animation: mfEyeSlash 3s ease-in-out infinite;
}

@keyframes mfEyeClose {
  0%, 35%, 45%, 100% { transform: scaleY(1); }
  40% { transform: scaleY(0.15); }
}

@keyframes mfEyeSlash {
  0%, 35%, 45%, 100% { opacity: 1; }
  40% { opacity: 0; }
}

/* Shield pulse for private-by-design */
.mf-shield {
  transform-origin: center;
  animation: mfShieldPulse 2.5s ease-in-out infinite;
}

@keyframes mfShieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Monitor float for works-everywhere */
.mf-monitor {
  animation: mfMonitorFloat 3s ease-in-out infinite;
}

@keyframes mfMonitorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* ─── Legal Pages ──────────────────────────────────── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 48px 80px;
}

.legal-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--logo-color);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.legal-section strong {
  color: var(--text);
  font-weight: 500;
}

.legal-section a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.legal-section ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* ─── Responsive: Tablet ────────────────────────────── */
@media (max-width: 900px) {
  .nav {
    padding: 16px 20px;
  }

  .hero {
    flex: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 20px 60px;
    gap: 48px;
    align-items: flex-start;
  }

  .hero-left {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-title {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .signup-label {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .signup-form {
    max-width: 100%;
  }

  /* Scene: keep desktop floating layout, scale to fit */
  .hero-right {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }

  .scene {
    width: 100%;
    max-width: 680px;
    flex-shrink: 0;
    transform-origin: top center;
  }

  .scene-connections { display: none; }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    text-align: center;
  }

  .footer-center {
    gap: 20px;
  }

  /* Modal */
  .modal {
    padding: 28px 20px;
    border-radius: 20px;
    max-width: 100%;
    width: 94%;
    max-height: 90vh;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .modal-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .modal-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mf-tile:nth-child(1),
  .mf-tile:nth-child(2),
  .mf-tile:nth-child(3),
  .mf-tile:nth-child(4),
  .mf-tile:nth-child(5) {
    grid-column: 1 / -1;
  }

  .mf-tile {
    padding: 14px 16px;
    gap: 12px;
  }

  .mf-tile p {
    font-size: 12px;
  }

  .modal-feature-icon {
    width: 36px;
    height: 36px;
  }
}

/* Smaller tablets: scale scene */
@media (max-width: 700px) {
  .scene {
    transform: scale(0.75);
    margin-bottom: -82px;
  }
}

/* ─── Responsive: Mobile ────────────────────────────── */
@media (max-width: 480px) {

  /* Nav */
  .nav {
    padding: 16px 20px;
  }

  .nav-logo {
    font-size: 22px;
    gap: 7px;
  }

  .nav-logo-icon {
    width: 22px;
    height: 22px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  /* Hero: owns the first viewport */
  .hero {
    padding: 110px 24px 56px;
    gap: 56px;
  }

  .hero-title {
    font-size: 46px;
    letter-spacing: -2px;
    margin-bottom: 28px;
    line-height: 1.06;
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.5;
  }

  .signup-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
  }

  .hero-compat-line {
    margin-top: 20px;
  }

  /* Signup */
  .signup-inputs {
    flex-direction: column;
  }

  .signup-input {
    padding: 17px 20px;
    font-size: 16px;
    width: 100%;
    border-radius: 14px;
  }

  .signup-btn {
    padding: 17px;
    font-size: 16px;
    border-radius: 14px;
  }

  /* ── Scene: layered card composition ── */
  .hero-right {
    overflow: visible;
  }

  .scene {
    width: 100%;
    flex-shrink: 1;
    transform: none;
    margin-bottom: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .scene-orb { display: none; }
  .sparkle { display: none; }
  .scene-connections { display: none; }
  .scene-cursor { display: none; }

  /* Meeting window — larger to feel like a real Zoom call */
  .meeting-window {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }

  .meeting-titlebar {
    padding: 13px 16px;
    font-size: 12.5px;
  }

  .participant {
    padding: 32px 12px 28px;
  }

  .participant-avatar {
    width: 52px;
    height: 52px;
    font-size: 17px;
    margin-bottom: 9px;
  }

  .participant-name {
    font-size: 12px;
  }

  /* Shared float card styles — smaller than meeting window */
  .float-card,
  .float-notes,
  .float-actions,
  .float-chat,
  .float-notes.animated,
  .float-actions.animated,
  .float-chat.animated {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 11.5px;
    line-height: 1.5;
    animation: floatIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .float-card:hover {
    animation-play-state: running;
    transform: translateY(-4px);
  }

  .meeting-window {
    animation: floatIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
  }

  .shimmer { display: none; }

  .float-card-header {
    font-size: 9.5px;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
  }

  /* Live Notes: full width, layered over meeting edge */
  .float-notes {
    grid-column: 1 / -1;
    margin-top: -16px;
    z-index: 2;
  }

  .float-notes-list p {
    font-size: 11.5px;
    margin-bottom: 4px;
  }

  /* Action Items: left column */
  .float-actions {
    grid-column: 1 / 2;
    align-self: start;
  }

  .float-actions-list {
    gap: 6px;
  }

  .action-item {
    font-size: 10.5px;
  }

  .action-check {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-left: 0;
  }

  /* Ask Noted: right column */
  .float-chat {
    grid-column: 2 / 3;
    align-self: start;
  }

  .float-chat-q {
    font-size: 10.5px;
  }

  .float-chat-a {
    font-size: 11px;
    line-height: 1.5;
  }

  /* Incognito badge */
  .float-incognito {
    grid-column: 1 / -1;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 22px;
    font-size: 11.5px;
    border-radius: 28px;
    margin-top: 2px;
    animation: floatIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  }

  .float-incognito:hover {
    transform: none;
  }

  /* Staggered entrance delays */
  .float-notes  { animation-delay: 0.15s; }
  .float-actions { animation-delay: 0.3s; }
  .float-chat   { animation-delay: 0.4s; }

  .float-incognito.animated { animation: none; }

  /* Legal pages */
  .legal-page {
    padding: 100px 20px 60px;
  }

  .legal-title {
    font-size: 30px;
  }

  .legal-section h2 {
    font-size: 16px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 24px 20px;
    font-size: 12px;
    gap: 14px;
  }

  .footer-right .footer-logo {
    font-size: 16px;
  }

  /* Modal */
  .modal {
    padding: 28px 20px;
    border-radius: 18px;
    width: 94%;
  }

  .modal-title {
    font-size: 24px;
    letter-spacing: -0.8px;
  }

  .modal-desc {
    font-size: 13.5px;
    margin-bottom: 18px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
  }

  .modal-close svg {
    width: 20px;
    height: 20px;
  }

  .mf-tile h3 {
    font-size: 13.5px;
  }

  .mf-tile p {
    font-size: 12px;
  }
}
