/* ==========================================================================
   HAZI WHATSAPP - 3D CYBER DARK DESIGN SYSTEM & GHOST MASCOT
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #05080e;
  --bg-secondary: #080d17;
  --bg-card: rgba(12, 19, 34, 0.72);
  --bg-card-hover: rgba(18, 28, 48, 0.88);
  --bg-glass: rgba(10, 16, 28, 0.65);
  --bg-input: #070b13;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(37, 211, 102, 0.35);
  --border-cyan: rgba(0, 242, 254, 0.35);
  
  /* Accents */
  --wa-green: #25d366;
  --wa-dark-green: #128c7e;
  --wa-teal: #075e54;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --blue-500: #3b82f6;
  --purple-500: #8b5cf6;
  --amber-400: #fbbf24;
  --rose-500: #f43f5e;
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Gradients */
  --grad-emerald: linear-gradient(135deg, #25d366 0%, #10b981 50%, #06b6d4 100%);
  --grad-emerald-glow: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(6, 182, 212, 0.2));
  --grad-hero-text: linear-gradient(180deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  --grad-accent-text: linear-gradient(135deg, #34d399 0%, #25d366 40%, #22d3ee 100%);
  
  /* 3D Shadows & Glows */
  --glow-emerald: 0 0 35px rgba(37, 211, 102, 0.4);
  --glow-cyan: 0 0 35px rgba(6, 182, 212, 0.4);
  --shadow-3d-card: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 211, 102, 0.12);
  --shadow-modal: 0 30px 80px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(37, 211, 102, 0.25);
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(37, 211, 102, 0.12) 0%, transparent 65%),
              radial-gradient(circle at 80% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 75%, rgba(16, 185, 129, 0.08) 0%, transparent 55%),
              var(--bg-primary);
  min-height: 100vh;
}

/* 3D Background Grid & Hologram Lines */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

.ambient-light-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37, 211, 102, 0.25) 0%, rgba(6, 182, 212, 0.15) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10, 16, 28, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  top: 10px;
  background: rgba(6, 10, 18, 0.95);
  border-color: rgba(37, 211, 102, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(37, 211, 102, 0.15);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.5);
  animation: logo-glow 3s infinite alternate;
}

@keyframes logo-glow {
  0% { box-shadow: 0 0 12px rgba(37, 211, 102, 0.4); }
  100% { box-shadow: 0 0 24px rgba(37, 211, 102, 0.8), 0 0 10px rgba(6, 182, 212, 0.6); }
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-green);
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-emerald);
  transition: width 0.25s ease;
}

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-primary {
  background: var(--grad-emerald);
  color: #021208;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-glow-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.7);
  opacity: 0;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* ==========================================================================
   HERO SECTION WITH 3D CANVAS & GHOST MASCOT
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 70px;
  position: relative;
  text-align: center;
}

.hero-grid-3d {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  text-align: left;
  margin-bottom: 20px;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 9999px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 10px var(--wa-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-eyebrow-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-400);
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .text-white-grad {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-accent-grad {
  background: var(--grad-accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 3D Visual Stage with Ghost Companion */
.hero-3d-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-visual-combo {
  width: 100%;
  height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ghost-stage {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SIMULATEUR INTERACTIF EN DIRECT
   ========================================================================== */
.simulator-box {
  background: #090e18;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 24px;
  box-shadow: var(--shadow-3d-card);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.sim-box-header {
  padding: 16px 24px;
  background: #060a12;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sim-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.status-indicator-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 10px var(--wa-green);
  animation: pulse-dot 1.5s infinite;
}

.sim-channels-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}

.sim-channel-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-channel-btn.active {
  background: rgba(37, 211, 102, 0.2);
  color: var(--wa-green);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.25);
}

.sim-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.sim-editor-panel {
  padding: 26px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-input-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.sim-textarea {
  width: 100%;
  height: 110px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  resize: vertical;
  line-height: 1.5;
  transition: border-color var(--transition-fast);
}

.sim-textarea:focus {
  outline: none;
  border-color: var(--wa-green);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.25);
}

.sim-controls-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.range-slider {
  width: 100%;
  accent-color: var(--wa-green);
  cursor: pointer;
}

.sim-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.sim-live-view-panel {
  padding: 26px;
  background: #070c15;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-phone-screen {
  background: #0d1524;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.sim-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  font-size: 0.75rem;
}

.sim-chat-bubble {
  align-self: flex-end;
  background: #005c4b;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 14px 14px 2px 14px;
  font-size: 0.88rem;
  max-width: 92%;
  line-height: 1.45;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.sim-bubble-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 88%;
  background: var(--grad-emerald);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
  transition: width 0.5s ease;
}

.mini-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.mini-sheet-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.mini-sheet-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.sheet-status-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-green);
}

/* ==========================================================================
   COMMENT ÇA MARCHE (FONCTIONNEMENT 3D)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 38px 30px;
  position: relative;
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 211, 102, 0.2);
}

.step-number-badge {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-emerald);
  color: #031208;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

.step-icon-area {
  font-size: 2.3rem;
  margin-top: 10px;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   TARIFS & ABONNEMENTS (250€ LIFETIME OU 99€/MOIS)
   ========================================================================== */
.pricing-grid-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 211, 102, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.14) 0%, rgba(10, 16, 28, 0.95) 100%);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.28);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-emerald);
  color: #031208;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
  white-space: nowrap;
}

.pricing-tier-name {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.pricing-tier-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 44px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--wa-green);
  flex-shrink: 0;
}

/* ==========================================================================
   DOWNLOAD MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.download-modal-box {
  background: #0a0f1a;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 24px;
  padding: 36px;
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-modal);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-backdrop.active .download-modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

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

.modal-detected-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--wa-green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-top: 6px;
}

.download-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.download-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: rgba(15, 23, 40, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--text-primary);
}

.download-option-card:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateX(4px);
}

.download-option-card.primary-detected {
  border-color: var(--wa-green);
  background: rgba(37, 211, 102, 0.12);
}

.download-option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.os-option-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.os-option-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #03060a;
  padding: 60px 0 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-desc {
  max-width: 340px;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

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

.footer-links a:hover {
  color: var(--wa-green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.system-live-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-400);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid-3d {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content-col {
    align-items: center;
  }
  .hero-description {
    margin: 0 auto 32px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual-combo {
    height: 380px;
  }
  .sim-grid-layout {
    grid-template-columns: 1fr;
  }
  .sim-editor-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid-dual {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 24px);
    padding: 10px 16px;
  }
  .nav-links {
    display: none;
  }
  .hero-section {
    padding-top: 110px;
  }
  .hero-visual-combo {
    height: 340px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
