/* ==========================================================================
   InspectMac.com — Modern Marketing Motion Design System (CSS)
   ========================================================================== */

:root {
  /* Dark Theme Tokens (Default) */
  --bg-app: #08090d;
  --bg-surface: #0f121a;
  --bg-card: rgba(20, 24, 35, 0.7);
  --bg-card-hover: rgba(28, 34, 48, 0.85);
  --bg-glass: rgba(15, 18, 26, 0.75);
  --bg-glass-heavy: rgba(12, 15, 22, 0.9);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(99, 102, 241, 0.35);

  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-subtle: rgba(99, 102, 241, 0.12);
  --accent-glow: rgba(99, 102, 241, 0.25);

  --success: #10b981;
  --success-subtle: rgba(16, 185, 129, 0.12);
  --danger: #ef4444;
  --danger-subtle: rgba(239, 68, 68, 0.12);
  --warning: #f59e0b;

  /* Categories */
  --cat-dev: #0284c7;
  --cat-video: #e11d48;
  --cat-archive: #d97706;
  --cat-app: #7c3aed;
  --cat-residue: #db2777;
  --cat-docs: #2563eb;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
}

/* Light Theme Tokens */
html.light {
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-heavy: rgba(255, 255, 255, 0.95);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-accent: rgba(99, 102, 241, 0.35);

  --accent-primary: #4f46e5;
  --accent-primary-hover: #4338ca;
  --accent-subtle: rgba(79, 70, 229, 0.08);
  --accent-glow: rgba(79, 70, 229, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.12);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.max-w {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Animated Aurora Ambient Glows */
@keyframes auroraPulse {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-48%, 20px) scale(1.18);
    opacity: 0.6;
  }
}

@keyframes auroraFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translate(-30px, -20px) scale(1.12);
    opacity: 0.45;
  }
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 480px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: auroraPulse 10s ease-in-out infinite;
}

.glow-2 {
  top: 950px;
  right: 5%;
  width: 550px;
  height: 420px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
  animation: auroraFloat 12s ease-in-out infinite alternate;
}

/* Navbar */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--accent-glow);
  transition: transform 0.2s ease;
}

.logo:hover .logo-badge {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-domain {
  color: var(--accent-primary);
  font-weight: 600;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.2s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  transform: rotate(15deg) scale(1.05);
}

html.dark .icon-sun { display: block; }
html.dark .icon-moon { display: none; }
html.light .icon-sun { display: none; }
html.light .icon-moon { display: block; }

/* Buttons & Magnetic Hover Physics */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-magnetic {
  will-change: transform;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 24px var(--accent-glow);
}

.btn-secondary {
  background-color: var(--bg-card);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--danger-subtle);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.btn-danger:hover {
  background-color: var(--danger);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

.btn-glow {
  box-shadow: 0 0 25px var(--accent-glow);
}

/* Hero Section */
.hero-section {
  padding-top: 130px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-pill:hover {
  transform: translateY(-1px);
  border-color: var(--accent-primary);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulseBeacon 2s infinite ease-in-out;
}

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

.hero-title {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 20%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.55;
}

.download-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-download {
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  text-align: left;
  overflow: visible;
}

.btn-download:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

.btn-silicon {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--accent-subtle) 100%);
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform 0.2s ease;
}

.btn-download:hover .btn-icon {
  transform: scale(1.08);
}

.btn-text-block {
  display: flex;
  flex-direction: column;
}

.btn-main-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-sub-text {
  font-size: 11px;
  color: var(--text-muted);
}

.badge-recommended {
  position: absolute;
  top: -11px;
  right: 14px;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px var(--accent-glow);
  z-index: 10;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  line-height: 1.1;
}

/* Interactive Hero Window with 3D Tilt & Gyro Sheen */
.hero-window-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease;
  position: relative;
  will-change: transform;
}

.hero-window-card:hover {
  box-shadow: var(--shadow-lg), 0 0 60px var(--accent-glow);
}

.window-glare-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: radial-gradient(circle 300px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.08), transparent 70%);
}

.hero-window-card:hover .window-glare-overlay {
  opacity: 1;
}

.window-header {
  height: 38px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 12px;
  color: var(--text-muted);
  user-select: none;
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-lights .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.traffic-lights:hover .dot {
  transform: scale(1.15);
}

.traffic-lights .close { background: #ff5f56; }
.traffic-lights .min { background: #ffbd2e; }
.traffic-lights .max { background: #27c93f; }

.window-title-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-secondary);
}

.window-telemetry {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-primary);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulseBeacon 1.8s infinite ease-in-out;
}

.window-body {
  display: flex;
  height: 380px;
}

.demo-treemap {
  flex: 1;
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--bg-app);
}

.treemap-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.treemap-row {
  display: flex;
  gap: 6px;
}

.treemap-cell {
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.treemap-cell:hover {
  transform: scale(0.985);
  filter: brightness(1.2);
}

.treemap-cell.active-inspect {
  outline: 2px solid #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  transform: scale(0.99);
}

.cat-dev { background: var(--cat-dev); color: #ffffff; }
.cat-video { background: var(--cat-video); color: #ffffff; }
.cat-archive { background: var(--cat-archive); color: #ffffff; }
.cat-app { background: var(--cat-app); color: #ffffff; }
.cat-residue { background: var(--cat-residue); color: #ffffff; }
.cat-docs { background: var(--cat-docs); color: #ffffff; }

.cell-title {
  font-size: 12px;
  font-weight: 700;
}

.cell-size {
  font-size: 11px;
  font-family: var(--font-mono);
  opacity: 0.9;
}

.demo-inspector {
  width: 280px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inspector-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
}

.inspector-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-word;
}

.inspector-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.metric-box {
  padding: 8px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform 0.15s ease;
}

.metric-box:hover {
  transform: translateY(-1px);
}

.metric-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
}

.metric-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.metric-val.highlight {
  color: var(--accent-primary);
}

.inspector-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

/* Stats Strip */
.stats-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease;
}

.stat-card:hover .stat-num {
  transform: scale(1.06);
  color: var(--accent-primary);
}

.stat-lbl {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Section Common */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Features Bento Grid & Spotlight Hover */
.features-section {
  padding: 90px 24px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  padding: 24px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(4deg);
}

.icon-treemap { background: rgba(99, 102, 241, 0.15); color: var(--accent-primary); }
.icon-dev { background: rgba(2, 132, 199, 0.15); color: var(--cat-dev); }
.icon-uninstall { background: rgba(219, 39, 119, 0.15); color: var(--cat-residue); }
.icon-search { background: rgba(217, 119, 6, 0.15); color: var(--cat-archive); }
.icon-health { background: rgba(16, 185, 129, 0.15); color: var(--success); }

.bento-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.bento-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.bento-pill-group {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.bento-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.bento-pill:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.code-inline {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-surface);
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* Comparison Table */
.compare-section {
  padding: 60px 24px;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.compare-table th, .compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table th {
  background: var(--bg-surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table .col-highlight {
  background: var(--accent-subtle);
  color: var(--text-primary);
}

.pill-green {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--success-subtle);
  color: var(--success);
  font-weight: 700;
  font-size: 11px;
}

.pill-red {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--danger-subtle);
  color: var(--danger);
  font-weight: 600;
  font-size: 11px;
}

.check-icon {
  color: var(--success);
  font-weight: bold;
}

.cross-icon {
  color: var(--danger);
  font-weight: bold;
}

/* Pricing Grid */
.pricing-section {
  padding: 90px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.price-card {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pro-card {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.08) 100%);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pro-card:hover {
  box-shadow: var(--shadow-lg), 0 0 50px var(--accent-glow);
}

.pro-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}

.price-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.discount-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 14px;
}

.save-tag {
  background: var(--success-subtle);
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.price-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-amount .currency {
  font-size: 20px;
  vertical-align: top;
  margin-right: 2px;
}

.price-amount .period {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list li .check {
  color: var(--success);
  font-weight: bold;
}

.refund-hint {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* How it Works */
.how-section {
  padding: 60px 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 22px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.step-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 24px;
}

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.open {
  border-color: var(--accent-primary);
}

.faq-trigger {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.open .faq-content {
  max-height: 250px;
  padding-bottom: 16px;
}

.faq-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Final CTA */
.final-cta-section {
  padding: 60px 24px 100px 24px;
}

.final-cta-box {
  padding: 50px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.final-cta-box:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 60px var(--accent-glow);
}

.final-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.final-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 60px 0 30px 0;
  font-size: 13px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.footer-links-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  transition: color 0.12s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
}

/* Motion & Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered Delay Utilities */
.bento-grid .reveal-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.bento-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.bento-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.18s; }
.bento-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.bento-grid .reveal-on-scroll:nth-child(5) { transition-delay: 0.30s; }

.pricing-grid .reveal-on-scroll:nth-child(1) { transition-delay: 0.08s; }
.pricing-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.18s; }

.steps-grid .reveal-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.steps-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.steps-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.18s; }
.steps-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.24s; }

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

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .window-body {
    flex-direction: column;
    height: auto;
  }
  .demo-inspector {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .download-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-download {
    width: 100%;
  }
}
