/* ==========================================================================
   BlurMask - Landing Page Styles (Clean Light Design System)
   ========================================================================== */

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

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  
  --accent-cyan: #0284c7;
  --accent-light: #e0f2fe;
  
  --success: #10b981;
  --success-light: #d1fae5;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Navbar — floating pill style
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px 6px;
  background: linear-gradient(to bottom, rgba(250, 250, 252, 0.9), rgba(250, 250, 252, 0));
  pointer-events: none; /* only the pill itself catches clicks */
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  pointer-events: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 28px;
  height: 28px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.05);
}

.nav-caret {
  opacity: 0.45;
  margin-top: 1px;
}

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary-sm {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-pro-sm {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  font-size: 13px;
}

.btn-pro-sm:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  position: relative;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  background-color: var(--success);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 900px;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

.btn-hero-pro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #7c3aed;
  border: 1.5px solid #a855f7;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
  transition: all 0.15s ease;
}

.btn-hero-pro:hover {
  background: #f5f3ff;
  border-color: #7c3aed;
  color: #6d28d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.2);
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Interactive Live Playground / Simulator Section
   ========================================================================== */
.demo-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  border: 1px solid #c7d2fe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.video-container-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.video-toolbar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.video-wrapper {
  position: relative;
  width: 100%;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tut-video {
  width: 100%;
  height: auto;
  max-height: 720px;
  display: block;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  outline: none;
}

.sim-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 240px;
}

.sim-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.sim-dot.red { background-color: var(--danger); }
.sim-dot.yellow { background-color: var(--warning); }
.sim-dot.green { background-color: var(--success); }

.sim-url {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 5px 14px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  flex: 1;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.sim-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.sim-btn.btn-auto {
  background: var(--primary-light);
  border-color: #c7d2fe;
  color: var(--primary);
}

.sim-btn.btn-auto:hover {
  background: #e0e7ff;
}

.sim-btn.btn-reset {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--danger);
}

.sim-btn.btn-reset:hover {
  background: #fee2e2;
}

.simulator-body {
  padding: 28px;
}

.sim-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.sim-metric {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.sim-metric .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.sim-metric .val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.sim-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

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

.sim-table th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.sim-table tr:last-child td {
  border-bottom: none;
}

.sim-table tr:hover {
  background-color: #f8fafc;
}

.status-active {
  background: var(--success-light);
  color: #047857;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  display: inline-block;
}

/* Simulator Blur Targets & Privacy Modes */
.blur-target {
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  padding: 2px 4px;
  display: inline-block;
}

.blur-target:hover {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
  background-color: rgba(79, 70, 229, 0.05);
}

.mode-gaussian.is-blurred {
  filter: blur(8px);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.mode-pixelate.is-blurred {
  filter: blur(12px) contrast(150%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.mode-redact.is-blurred {
  background-color: #0f172a !important;
  color: transparent !important;
  user-select: none;
  border-radius: 4px;
  border: none !important;
  transition: background-color 0.2s ease;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px #c4b5fd;
  border-color: #c4b5fd;
}

.feature-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.icon-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.icon-indigo {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}

.icon-emerald {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.icon-cyan {
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #a5f3fc;
}

.icon-violet {
  background: #f5f3ff;
  color: #8b5cf6;
  border: 1px solid #e9d5ff;
}

.icon-amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.feature-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.feature-badge.badge-pro {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.kbd-shortcut {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-bottom: 2px solid #94a3b8;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.feature-meta {
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.feature-meta-tag {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Pricing Comparison Section
   ========================================================================== */
.pricing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.pricing-card.featured {
  border: 2px solid #7c3aed;
  box-shadow: 0 12px 36px -4px rgba(124, 58, 237, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.pricing-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -4px rgba(124, 58, 237, 0.28);
  border-color: #6d28d9;
}

.popular-ribbon {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 18px;
  border-radius: 9999px;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}

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

.plan-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.plan-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.plan-badge.badge-pro-pill {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.savings-pill {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 999px;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.plan-features li.feature-highlight {
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-primary);
}

.check-icon {
  width: 17px;
  height: 17px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon.highlight {
  color: #7c3aed;
}

.dash-icon {
  width: 17px;
  height: 17px;
  color: #94a3b8;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li.disabled {
  color: var(--text-dim);
  opacity: 0.75;
}

.pricing-action {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-guarantee {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.btn-pricing-secondary {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-pricing-secondary:hover {
  background: var(--bg-subtle);
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.btn-pricing-primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  width: 100%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-pricing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}

/* Trust Bar */
.pricing-trust-bar {
  margin-top: 48px;
  padding: 18px 24px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  color: #7c3aed;
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px 24px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

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

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}

.faq-item:hover .faq-chevron {
  background: #f5f3ff;
  color: #7c3aed;
}

.faq-item.active {
  border-color: #c4b5fd;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  color: #334155;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

/* FAQ Footer CTA */
.faq-footer-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #f5f3ff, #faf5ff);
  border: 1px solid #ede9fe;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.faq-footer-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.faq-footer-info p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

.btn-faq-contact {
  background: #ffffff;
  color: #7c3aed;
  border: 1.5px solid #c4b5fd;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-faq-contact:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* ==========================================================================
   Motion — scroll reveal & entrance animations
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-badge    { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards; }
.hero-title    { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards; }
.hero-subtitle { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards; }
.hero-cta-group{ animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards; }
.hero-platforms{ animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards; }

/* Gentle idle float for the hero badge dot is already covered by `pulse`.
   Micro-interactions: */
.feature-card,
.pricing-card,
.video-container-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.feature-card:hover,
.video-container-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-cta-group,
  .hero-platforms {
    animation: none;
  }
  .feature-card:hover,
  .pricing-card:hover,
  .video-container-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-subtext {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.footer-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 12px;
}

.footer-columns {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-note {
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-columns {
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-subtle);
}

.modal-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

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

.modal-content {
  padding: 24px;
}

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

.payment-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.payment-row:last-child {
  margin-bottom: 0;
}

.payment-row.total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.total-amount {
  color: var(--primary);
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

.result-success {
  color: #166534;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.license-key-display {
  background: #f0fdf4;
  border: 1.5px dashed var(--success);
  color: #15803d;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.05em;
  user-select: all;
}

.key-hint {
  color: var(--text-muted);
  font-size: 11px;
  display: block;
  margin-top: 6px;
  text-align: center;
}

/* ==========================================================================
   Responsive adjustments for all devices (Tablets, Mobiles, Small Screens)
   ========================================================================== */

/* Tablets & Small Laptops (< 992px) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .footer-container {
    gap: 36px;
  }
  .footer-columns {
    gap: 36px;
  }
}

/* Tablets & Large Phones (< 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 16px 4px;
  }
  .nav-container {
    padding: 6px 8px 6px 14px;
  }
  .nav-links {
    display: none;
  }
  .btn-nav-cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-section {
    padding: 48px 16px 36px;
  }
  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
    max-width: 100%;
    line-height: 1.35;
  }
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
    padding: 0 4px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    gap: 12px;
    margin-bottom: 32px;
  }
  .btn-hero-primary,
  .btn-hero-pro {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }

  .hero-platforms {
    font-size: 12px;
    gap: 8px;
  }
  .platform-tags {
    justify-content: center;
  }

  .demo-section {
    padding: 30px 16px 60px;
  }
  .video-toolbar {
    padding: 10px 14px;
  }
  .sim-brand {
    min-width: 0;
    width: 100%;
  }
  .sim-url {
    font-size: 11px;
    padding: 4px 10px;
  }

  .features-section {
    padding: 40px 16px;
  }
  .features-grid {
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }

  .pricing-section {
    padding: 40px 16px;
  }
  .pricing-grid {
    gap: 24px;
  }
  .pricing-card {
    padding: 32px 22px;
  }
  .pricing-card.featured {
    order: -1;
  }
  .popular-ribbon {
    font-size: 10px;
    padding: 3px 12px;
  }

  .faq-section {
    padding: 40px 16px 60px;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }
  .faq-answer {
    padding: 0 18px;
    font-size: 0.9rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 18px 18px;
  }

  .footer {
    padding: 44px 0 0;
  }
  .footer-container {
    padding: 0 16px 32px;
    flex-direction: column;
    gap: 32px;
  }
  .footer-brand {
    max-width: 100%;
  }
  .footer-columns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px;
  }
}

/* Small Phones (< 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 8px 12px 4px;
  }
  .nav-container {
    padding: 5px 6px 5px 12px;
  }
  .nav-logo {
    font-size: 15px;
    gap: 8px;
  }
  .logo-icon img {
    width: 22px;
    height: 22px;
  }
  .btn-nav-cta {
    font-size: 12px;
    padding: 7px 12px;
    gap: 4px;
  }
  .btn-nav-cta svg {
    display: none;
  }

  .hero-section {
    padding: 36px 14px 30px;
  }
  .hero-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-cta-group {
    max-width: 100%;
  }
  .platform-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
  .section-header p {
    font-size: 0.92rem;
  }

  .pricing-card {
    padding: 28px 18px;
  }
  .plan-price {
    font-size: 2.3rem;
  }
  .pricing-trust-bar {
    grid-template-columns: 1fr;
    padding: 16px 14px;
    gap: 12px;
    margin-top: 32px;
  }
  .trust-item {
    font-size: 12px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .modal-overlay {
    padding: 12px;
  }
  .modal-box {
    border-radius: var(--radius-md);
  }
  .modal-head {
    padding: 14px 16px;
  }
  .modal-head h3 {
    font-size: 1rem;
  }
  .modal-content {
    padding: 16px 14px;
  }
  .payment-box {
    padding: 12px;
  }
  .payment-row {
    font-size: 13px;
  }
}

