/* ==========================================================================
   AgentWats Landing Page — Dual-Theme Modern Design System
   Font: Plus Jakarta Sans / Inter (Body) & Outfit (Headings)
   ========================================================================== */

:root, [data-theme="light"] {
  --bg-page: #f8fafc;
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-emerald-light: #059669;
  --accent-cyan: #0891b2;
  --accent-cyan-glow: rgba(8, 145, 178, 0.2);
  --accent-purple: #7c3aed;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --border-subtle: #e2e8f0;
  --border-bright: #cbd5e1;
  --border-emerald: rgba(16, 185, 129, 0.45);
  --border-box: #e2e8f0;

  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-pill-bg: rgba(241, 245, 249, 0.9);
  --nav-pill-border: #e2e8f0;
  --nav-link-hover-bg: #ffffff;

  --popup-bg: #ffffff;
  --popup-border: #e2e8f0;
  --popup-text: #0f172a;
  --popup-shadow: 0 16px 38px rgba(0, 0, 0, 0.09);

  --tag-bg: rgba(16, 185, 129, 0.08);
  --tag-border: rgba(16, 185, 129, 0.25);
  --icon-bg: rgba(16, 185, 129, 0.08);
  --icon-border: rgba(16, 185, 129, 0.2);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-page: #070a12;
  --bg-dark: #070a12;
  --bg-surface: #0d1220;
  --bg-surface-elevated: #13192c;
  --bg-card: rgba(19, 26, 44, 0.72);
  --bg-card-hover: rgba(26, 35, 60, 0.9);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-emerald-light: #34d399;
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-purple: #8b5cf6;

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

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);
  --border-emerald: rgba(16, 185, 129, 0.4);
  --border-box: rgba(255, 255, 255, 0.09);

  --nav-bg: rgba(7, 10, 18, 0.88);
  --nav-pill-bg: rgba(19, 26, 44, 0.85);
  --nav-pill-border: rgba(255, 255, 255, 0.1);
  --nav-link-hover-bg: rgba(255, 255, 255, 0.08);

  --popup-bg: #111827;
  --popup-border: rgba(255, 255, 255, 0.12);
  --popup-text: #f8fafc;
  --popup-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);

  --tag-bg: rgba(16, 185, 129, 0.12);
  --tag-border: rgba(16, 185, 129, 0.3);
  --icon-bg: rgba(255, 255, 255, 0.04);
  --icon-border: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- RTL (Right-to-Left) Support for Arabic/Moroccan Content --- */
html[dir="rtl"], [dir="rtl"] html {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] body {
  font-family: 'Times New Roman', 'Arial Unicode MS', sans-serif;
}

/* RTL navigation adjustments */
[dir="rtl"] .nav-menu-boxed {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-link {
  margin-left: 0;
  margin-right: 20px;
}

/* RTL drawer adjustments */
[dir="rtl"] .mobile-drawer {
  left: 0;
  right: auto;
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0);
}

/* RTL language dropdown */
[dir="rtl"] .lang-dropdown-menu {
  left: 0;
  right: auto;
}

/* RTL test drive section */
[dir="rtl"] #test-drive {
  scroll-margin-top: 120px;
}

/* Ambient Background Glows */
.ambient-glow-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.ambient-glow-2 {
  position: absolute;
  top: 1400px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* --- Mobile Performance: Reduce glow size on mobile --- */
@media (max-width: 768px) {
  .ambient-glow-1 {
    width: min(300px, 85vw);
    height: 260px;
    top: -50px;
    filter: blur(30px);
  }

  .ambient-glow-2 {
    display: none;
  }
}

/* --- Mobile Touch Target Enhancements --- */
@media (max-width: 768px) {
  .nav-link {
    min-height: 44px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
  }

  .nav-link-dot {
    width: 8px;
    height: 8px;
  }

  .btn {
    min-height: 44px;
    padding: 10px 16px;
  }

  .btn-primary {
    min-height: 48px;
  }

  /* Theme toggle button - larger touch area */
  .theme-toggle-btn {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  /* Language dropdown buttons */
  .lang-option-btn {
    min-height: 44px;
    padding: 10px 12px;
  }

  /* Prevent iOS zoom on input */
  input {
    font-size: 16px;
  }
}

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

.section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

/* --- Section Header Utility --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--accent-emerald-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
}

.section-title span.highlight {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-glow-pulse {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Header & Navbar (Organized Boxed Pill Layout)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  flex-wrap: nowrap !important;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(16, 185, 129, 0.25));
  border: none;
  background: transparent;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease;
  flex-shrink: 0;
}

.brand:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(16, 185, 129, 0.45));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.brand-slogan {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--accent-emerald);
}

/* Center Boxed Pill Navigation */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-menu-boxed {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  background: var(--nav-pill-bg);
  border: 1px solid var(--nav-pill-border);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

.nav-menu-boxed .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}

.nav-menu-boxed .nav-link:hover {
  color: var(--accent-emerald-light);
  background: var(--nav-link-hover-bg);
  border-color: var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-emerald);
  opacity: 0.7;
}

/* Right Action Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle Button (Light / Dark Switcher) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-box);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-emerald);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle-text {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Drawer Theme Toggle (Inside Mobile Menu) */
.drawer-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-box);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.drawer-theme-toggle:hover {
  border-color: var(--accent-emerald);
}

.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1.5px solid var(--border-box);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  padding: 7px 9px;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--accent-emerald);
}

@media (max-width: 1120px) {
  .nav-menu-wrapper {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
}

/* ============================================================
   Mobile Header — Prevent Overflow & Hide Excess Nav Items
   ============================================================ */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .nav-container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  /* Hide slogan on mobile header to prevent title blowout */
  .brand-slogan {
    display: none !important;
  }

  .brand-title {
    font-size: 1.15rem !important;
  }

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
  }

  /* Hide CTA buttons in header on mobile — accessible in drawer */
  .nav-actions .btn-secondary.btn-sm,
  .nav-actions .btn-primary.btn-sm {
    display: none !important;
  }

  /* Hide theme toggle text label on mobile — keep icon only */
  .theme-toggle-text {
    display: none;
  }

  .theme-toggle-btn {
    padding: 7px 10px;
    gap: 0;
  }

  /* Keep lang dropdown compact on mobile */
  .nav-actions #landingLangDropdownBtn {
    padding: 5px 8px;
    gap: 5px;
  }

  .nav-actions #landingCurrentLangLabel {
    display: none;
  }

  /* Lang dropdown right-aligned so it stays in viewport */
  .nav-actions .lang-dropdown-container {
    position: relative;
  }

  .nav-actions #landingLangDropdownMenu {
    right: 0;
    left: auto;
    min-width: 130px;
  }
}

/* Extra-small devices: hide lang dropdown from header too (drawer has it) */
@media (max-width: 480px) {
  .nav-actions .lang-dropdown-container {
    display: none;
  }
}

/* Sticky anchor scroll offset */
#test-drive,
#personas,
#features,
#security,
#industries,
#calculator,
#pricing,
#faq {
  scroll-margin-top: 96px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  margin-bottom: 24px;
}

.hero-badge-pulse {
  width: 9px;
  height: 9px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title span.glow {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(16, 185, 129, 0.3));
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-price-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-price-tag strong {
  color: #fff;
  font-size: 1.15rem;
  color: var(--accent-emerald-light);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item .icon {
  font-size: 1.2rem;
}

.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2);
  border: 1px solid var(--border-bright);
  transition: transform var(--transition-smooth);
}

.hero-mockup-img:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Floating Status Cards for Modern Hero Aesthetic */
.hero-floating-card {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(14, 20, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 24px rgba(16, 185, 129, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-fast);
}

.hero-floating-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
}

.hero-floating-card.top-left {
  top: -16px;
  left: -24px;
  animation: floatSlow 4.5s ease-in-out infinite;
}

.hero-floating-card.top-right {
  top: -16px;
  right: -24px;
  animation: floatSlow 5.0s ease-in-out infinite 0.5s;
}

.hero-floating-card.bottom-right {
  bottom: 20px;
  right: -24px;
  animation: floatSlow 5.2s ease-in-out infinite 1.0s;
}

.hero-floating-card.bottom-left {
  bottom: -18px;
  left: 20px;
  animation: floatSlow 4.8s ease-in-out infinite 1.5s;
}

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

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-dot.pulse-emerald {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 1.8s infinite;
}

.badge-dot.pulse-cyan {
  background: #06b6d4;
  box-shadow: 0 0 10px #06b6d4;
  animation: pulse-dot 2.2s infinite;
}

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

.card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.card-val {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Live Interactive WhatsApp Simulator
   ========================================================================== */
.simulator-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Persona Showcase Selection Grid with Real Profile Pictures */
.personas-selector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 1100px) {
  .personas-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .personas-selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.persona-card-btn {
  background: rgba(19, 26, 44, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.persona-card-btn:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: rgba(26, 35, 60, 0.85);
}

.persona-card-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 182, 212, 0.15) 100%);
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.persona-avatar-box {
  position: relative;
  width: 58px;
  height: 58px;
}

.persona-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  display: block;
  transition: border-color 0.2s;
}

.persona-card-btn.active .persona-img {
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.persona-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0d1220;
  box-shadow: 0 0 6px #10b981;
}

.persona-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.persona-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.94rem;
  color: #fff;
}

.persona-role {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.industry-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.sim-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  background: rgba(15, 23, 42, 0.7);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(16px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sim-niche-select-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-select-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sim-niche-select {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-emerald);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  transition: all var(--transition-fast);
}

.sim-niche-select:hover,
.sim-niche-select:focus {
  border-color: #34d399;
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.4);
}

.industry-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.industry-tab:hover {
  border-color: var(--border-bright);
  color: #fff;
}

.industry-tab.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border-color: var(--accent-emerald);
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.sim-lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.sim-lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.sim-lang-btn .sim-lang-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
}

.sim-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--border-bright);
}

.sim-lang-btn.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5) !important;
}

.sim-lang-btn.active .sim-lang-label {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.phone-lang-tag {
  display: inline-block;
  vertical-align: middle;
  transition: all 0.2s ease;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
}

/* iPhone 16 Pro Luxury Smartphone Mockup */
.phone-mockup {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #0b141a;
  border: 11px solid #1c2230;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 40px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  height: 580px;
  position: relative;
}

/* iOS Dynamic Island & Top Bar */
.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 4px;
  background: #202c33;
  color: #aebac1;
  font-size: 0.72rem;
  font-weight: 700;
  user-select: none;
}

.phone-time {
  letter-spacing: -0.02em;
}

.phone-island {
  width: 86px;
  height: 20px;
  background: #000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.06);
}

.island-camera {
  width: 8px;
  height: 8px;
  background: #111b21;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #aebac1;
}

.phone-header {
  background: #202c33;
  padding: 8px 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-back-arrow {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #e9edef;
  transition: transform 0.15s ease;
}

.phone-back-arrow:hover {
  transform: translateX(-2px);
}

.phone-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
}

.phone-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.phone-header-info {
  flex: 1;
  min-width: 0;
}

.phone-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e9edef;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-name .verified-icon {
  flex-shrink: 0;
}

.phone-status {
  font-size: 0.72rem;
  color: #25d366;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aebac1;
}

.phone-chat-body {
  flex: 1;
  background: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Chat Messages */
.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
  animation: messageIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-bubble.received {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-bottom-left-radius: 2px;
}

.chat-bubble.sent {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-bottom-right-radius: 2px;
}

.chat-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.ticks {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
  letter-spacing: -1px;
}

.ticks.blue {
  color: #53bdeb !important;
}

.phone-status.typing {
  color: #53bdeb !important;
  font-style: italic;
  animation: pulse-text 1.2s infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; text-shadow: 0 0 6px rgba(83, 189, 235, 0.6); }
}

.typing-indicator {
  display: none;
  align-self: flex-start;
  background: #202c33;
  padding: 10px 16px;
  border-radius: 14px;
  gap: 5px;
  animation: messageIn 0.2s ease forwards;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #8696a0;
  border-radius: 50%;
  animation: typing-blink 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-blink {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

.phone-footer {
  background: #202c33;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wa-input-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #8696a0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.wa-input-icon:hover {
  color: #e9edef;
  background: rgba(255, 255, 255, 0.06);
}

.phone-input {
  flex: 1;
  background: #2a3942;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 9px 16px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.phone-input:focus {
  border-color: rgba(16, 185, 129, 0.5);
}

.phone-send-btn {
  width: 36px;
  height: 36px;
  background: #00a884;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 168, 132, 0.4);
}

.phone-send-btn:hover {
  background: #00c298;
  transform: scale(1.05);
}

.phone-send-btn:active {
  transform: scale(0.95);
}

/* Simulator Controls Panel */
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-info-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sim-info-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.sim-info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.prompt-chips-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.prompt-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prompt-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-chip-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--border-emerald);
  transform: translateX(4px);
}

.prompt-chip-btn .lang-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* Sandbox Customizer Card */
.sandbox-customizer-card {
  background: rgba(16, 185, 129, 0.05);
  border: 1px dashed var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.customizer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.customizer-inputs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.customizer-input {
  flex: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.customizer-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.customizer-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Security & Absolute Trust Section
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.security-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.security-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.security-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(16, 185, 129, 0.12);
  background: var(--bg-card-hover);
}

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

.feature-box-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--tag-bg);
  color: var(--accent-emerald-light);
  border: 1px solid var(--tag-border);
  white-space: nowrap;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icon-bg);
  border: 1.5px solid var(--icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--accent-emerald);
  transform: scale(1.08);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Industry Visual Showcase (HD B-Roll)
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.industry-img-box {
  width: 100%;
  height: 210px;
  overflow: hidden;
  position: relative;
}

.industry-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover .industry-img-box img {
  transform: scale(1.06);
}

.industry-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  border: 1px solid var(--border-subtle);
}

.industry-content {
  padding: 24px;
}

.industry-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.industry-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.industry-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.industry-checklist li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.industry-checklist li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 800;
}

/* ==========================================================================
   Interactive ROI & Revenue Calculator
   ========================================================================== */
.calculator-card {
  background: linear-gradient(135deg, rgba(13, 18, 32, 0.9) 0%, rgba(19, 25, 44, 0.9) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.calc-value-display {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald-light);
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 14px var(--accent-emerald);
  transition: transform 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Calculator Result Box */
.calc-result-box {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.calc-result-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.calc-huge-number {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-cost-comparison {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.calc-cost-comparison strong {
  color: #fff;
}

/* ==========================================================================
   Pricing Section (500 DH / mo)
   ========================================================================== */
.currency-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface-elevated);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  width: fit-content;
  margin: 0 auto 48px;
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.currency-btn.active {
  background: var(--accent-emerald);
  color: #fff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.8) 0%, rgba(13, 20, 36, 0.9) 100%);
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.pricing-features-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features-list li span.check {
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question-btn span {
  color: inherit;
}


.faq-chevron {
  color: var(--accent-emerald);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron,
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.final-cta-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%), var(--bg-surface);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(16, 185, 129, 0.15);
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.final-cta-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04060b;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-emerald-light);
}

/* ==========================================================================
   Mobile Drawer & Responsiveness Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .features-grid,
  .industries-grid,
  .pricing-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .simulator-container,
  .calculator-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-floating-card {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-floating-card {
    display: none !important;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .features-grid,
  .industries-grid,
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .final-cta-title {
    font-size: 2.0rem;
  }
  .calculator-card {
    padding: 22px 14px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .calc-huge-number {
    font-size: 2.2rem !important;
  }

  /* Prevent button white-space blowout on mobile */
  .btn {
    white-space: normal !important;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
  }
  .hero-cta-row .btn,
  .final-cta-card .btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Footer Links Wrap */
  .footer-links {
    flex-wrap: wrap !important;
    gap: 12px 18px !important;
    justify-content: center !important;
  }
  .footer-top,
  .footer-bottom {
    text-align: center;
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* Simulator Container & Mockup mobile fit */
  .simulator-container {
    padding: 18px 12px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .phone-mockup {
    width: 100% !important;
    max-width: 100% !important;
    border-width: 6px !important;
    border-radius: 28px !important;
    box-sizing: border-box !important;
    height: 520px !important;
  }
  .phone-footer {
    padding: 6px 8px !important;
    gap: 4px !important;
  }
  .phone-input {
    font-size: 16px !important; /* Prevents iOS auto-zoom on field focus */
    padding: 8px 12px !important;
  }

  /* Cards Mobile Containment */
  .final-cta-card {
    padding: 36px 18px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .pricing-card {
    padding: 24px 16px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .feature-card {
    padding: 20px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Social proof notification popup fit */
  .live-notification-popup {
    left: 12px !important;
    right: 12px !important;
    bottom: 16px !important;
    max-width: calc(100vw - 24px) !important;
    width: auto !important;
  }
}

/* Smartphone Small Screen (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }
  .section-title {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
  }
  .final-cta-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  .hero-badge {
    padding: 6px 12px !important;
    gap: 6px !important;
  }
  .hero-badge-text {
    font-size: 0.72rem !important;
  }
  .hero-description {
    font-size: 1.02rem !important;
  }
  .pricing-amount-row .pricing-price {
    font-size: 1.8rem !important;
  }
  .calc-huge-number {
    font-size: 1.9rem !important;
  }
  .sim-lang-btn {
    padding: 4px 7px !important;
    font-size: 0.75rem !important;
  }
  .persona-card-btn {
    padding: 10px 6px !important;
  }
  .persona-avatar-box {
    width: 46px !important;
    height: 46px !important;
  }
  .persona-name {
    font-size: 0.82rem !important;
  }
  .persona-role {
    font-size: 0.68rem !important;
  }
}

/* Mobile Off-Canvas Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-subtle);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.mobile-drawer-backdrop.show {
  display: block;
}

.drawer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}



/* ==========================================================================
   WhatsApp Sandbox Simulator — Complete Dual-Theme Support
   ========================================================================== */

/* Light Mode Simulator Defaults */
:root, [data-theme="light"] {
  --phone-bg: #efeae2;
  --phone-bezel-border: 11px solid #0f172a;
  --phone-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px #e2e8f0;
  --topbar-bg: #ffffff;
  --topbar-text: #0f172a;
  --island-bg: #0f172a;
  --island-cam: #1e293b;
  --phone-head-bg: #008069;
  --phone-head-text: #ffffff;
  --phone-head-status: #d1fae5;
  --chat-wallpaper: #efeae2;
  --chat-wallpaper-dot: rgba(0, 0, 0, 0.04);
  --bubble-recv-bg: #ffffff;
  --bubble-recv-text: #111b21;
  --bubble-recv-time: #64748b;
  --bubble-recv-border: 3px solid #10b981;
  --bubble-sent-bg: #d9fdd3;
  --bubble-sent-text: #111b21;
  --bubble-sent-time: #059669;
  --phone-foot-bg: #f0f2f5;
  --phone-inp-bg: #ffffff;
  --phone-inp-text: #111b21;
  --phone-inp-border: 1px solid #cbd5e1;
  --phone-inp-icon: #54656f;
  --phone-send-btn-bg: #00a884;
}

/* Dark Mode Simulator */
[data-theme="dark"] {
  --phone-bg: #0b141a;
  --phone-bezel-border: 11px solid #1c2230;
  --phone-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --topbar-bg: #202c33;
  --topbar-text: #aebac1;
  --island-bg: #000000;
  --island-cam: #111b21;
  --phone-head-bg: #202c33;
  --phone-head-text: #e9edef;
  --phone-head-status: #25d366;
  --chat-wallpaper: #0b141a;
  --chat-wallpaper-dot: rgba(255, 255, 255, 0.03);
  --bubble-recv-bg: #202c33;
  --bubble-recv-text: #e9edef;
  --bubble-recv-time: #8696a0;
  --bubble-recv-border: 3px solid #10b981;
  --bubble-sent-bg: #005c4b;
  --bubble-sent-text: #e9edef;
  --bubble-sent-time: #8696a0;
  --phone-foot-bg: #202c33;
  --phone-inp-bg: #2a3942;
  --phone-inp-text: #e9edef;
  --phone-inp-border: 1px solid transparent;
  --phone-inp-icon: #8696a0;
  --phone-send-btn-bg: #00a884;
}

.phone-mockup {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: var(--phone-bg);
  border: var(--phone-bezel-border);
  border-radius: 46px;
  overflow: hidden;
  box-shadow: var(--phone-shadow);
  display: flex;
  flex-direction: column;
  height: 580px;
  position: relative;
  transition: all 0.25s ease;
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 4px;
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 0.72rem;
  font-weight: 700;
  user-select: none;
  transition: background 0.2s, color 0.2s;
}

.phone-time {
  letter-spacing: -0.02em;
}

.phone-island {
  width: 86px;
  height: 20px;
  background: var(--island-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.island-camera {
  width: 8px;
  height: 8px;
  background: var(--island-cam);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: inherit;
}

.phone-header {
  background: var(--phone-head-bg);
  padding: 8px 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}

.phone-back-arrow {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.15s ease;
}

.phone-back-arrow:hover {
  transform: translateX(-2px);
}

.phone-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: relative;
}

.phone-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--phone-head-text);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-status {
  font-size: 0.72rem;
  color: var(--phone-head-status);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.phone-chat-body {
  flex: 1;
  background: var(--chat-wallpaper);
  background-image: radial-gradient(var(--chat-wallpaper-dot) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}

.chat-bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
  animation: messageIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-bubble.received {
  align-self: flex-start;
  background: var(--bubble-recv-bg);
  color: var(--bubble-recv-text);
  border-bottom-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-left: var(--bubble-recv-border);
}

.chat-bubble.received .chat-time {
  color: var(--bubble-recv-time);
}

.chat-bubble.sent {
  align-self: flex-end;
  background: var(--bubble-sent-bg);
  color: var(--bubble-sent-text);
  border-bottom-right-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chat-bubble.sent .chat-time {
  color: var(--bubble-sent-time);
}

.chat-bubble.wa-media-bubble {
  padding: 4px 4px 6px 4px;
  max-width: 86%;
  background: var(--bubble-recv-bg);
  border-radius: 10px;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-box);
  border-left: 3px solid #10b981;
  margin-bottom: 6px;
}

.phone-footer {
  background: var(--phone-foot-bg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  transition: background 0.2s;
}

.wa-input-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--phone-inp-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.15s;
}

.wa-input-icon:hover {
  color: var(--accent-emerald);
}

.phone-input {
  flex: 1;
  background: var(--phone-inp-bg);
  border: var(--phone-inp-border);
  border-radius: 24px;
  padding: 9px 16px;
  color: var(--phone-inp-text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.phone-send-btn {
  width: 38px;
  height: 38px;
  background: var(--phone-send-btn-bg);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 168, 132, 0.35);
  transition: background 0.15s, transform 0.15s;
}

.phone-send-btn:hover {
  background: #059669;
  transform: scale(1.05);
}

/* ==========================================================================
   Floating Live Notification Popup (Social Proof & Activity)
   ========================================================================== */
.live-notification-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: var(--popup-bg);
  border: 1.5px solid var(--popup-border);
  border-radius: 16px;
  box-shadow: var(--popup-shadow);
  padding: 14px 18px;
  max-width: 390px;
  display: flex;
  align-items: center;
  transform: translateY(120px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.live-notification-popup.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.notif-accent-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #10b981 0%, #06b6d4 100%);
}

.notif-content-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.notif-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.notif-text-col {
  flex: 1;
  min-width: 0;
}

.notif-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.notif-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.notif-time {
  font-size: 0.72rem;
  color: var(--accent-emerald-light);
  font-weight: 600;
  white-space: nowrap;
}

.notif-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.notif-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s;
}

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

/* ==========================================================================
   WhatsApp Interactive Location Confirmation Modal
   ========================================================================== */
.wa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wa-modal-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-box);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: messageIn 0.25s ease-out;
}

.wa-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.wa-modal-icon {
  font-size: 1.6rem;
  background: rgba(16, 185, 129, 0.12);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-modal-head-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.wa-modal-head-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.wa-modal-preview {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.wa-loc-pin-icon {
  font-size: 1.3rem;
}

.wa-loc-venue-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.wa-loc-venue-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.wa-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   Full Light Mode Visual Overrides (Clean White with Green Accents)
   ========================================================================== */
[data-theme="light"] body {
  background-color: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .ambient-glow-1 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
}

[data-theme="light"] .ambient-glow-2 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, transparent 65%);
}

/* Text & Headings High Contrast */
[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .feature-title,
[data-theme="light"] .pricing-plan-name,
[data-theme="light"] .pricing-price,
[data-theme="light"] .security-title,
[data-theme="light"] .sim-info-title,
[data-theme="light"] .persona-name,
[data-theme="light"] .brand-name,
[data-theme="light"] .brand-title,
[data-theme="light"] .faq-question,
[data-theme="light"] .faq-question-btn,
[data-theme="light"] .faq-question-btn span,
[data-theme="light"] .calculator-title,
[data-theme="light"] .roi-figure,
[data-theme="light"] .customizer-header,
[data-theme="light"] .final-cta-title {
  color: #0f172a !important;
}

[data-theme="light"] .brand-slogan {
  color: #047857 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] .hero-description,
[data-theme="light"] .feature-description,
[data-theme="light"] .security-desc,
[data-theme="light"] .sim-info-desc,
[data-theme="light"] .faq-answer {
  color: #334155 !important;
}

/* Light Mode Cards & Surfaces */
[data-theme="light"] .hero-section {
  background: #f8fafc;
}

[data-theme="light"] section#security,
[data-theme="light"] section#industries,
[data-theme="light"] section#calculator {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .hero-badge {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
}

[data-theme="light"] .hero-price-tag {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .trust-item {
  color: #334155;
}

[data-theme="light"] .persona-card-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .persona-card-btn:hover {
  border-color: #10b981;
  background: #f8fafc;
  transform: translateY(-2px);
}

[data-theme="light"] .persona-card-btn.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .persona-role {
  color: #64748b;
}

[data-theme="light"] .sim-lang-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
}

[data-theme="light"] .sim-lang-btn:hover {
  border-color: #10b981;
  color: #059669;
}

[data-theme="light"] .sim-lang-btn.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

[data-theme="light"] .prompt-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .prompt-chip:hover {
  border-color: #10b981;
  color: #059669;
  background: rgba(16, 185, 129, 0.06);
}

[data-theme="light"] .sim-info-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .sandbox-customizer-card {
  background: #ffffff;
  border: 1.5px dashed rgba(16, 185, 129, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .customizer-input {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .security-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .security-card:hover {
  border-color: #10b981;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}

[data-theme="light"] .security-icon-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .industry-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .industry-card:hover {
  border-color: #10b981;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}

[data-theme="light"] .industry-content h3 {
  color: #0f172a;
}

[data-theme="light"] .industry-content p {
  color: #475569;
}

[data-theme="light"] .calculator-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .calc-result-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .pricing-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pricing-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
}

[data-theme="light"] .pricing-card.featured {
  background: #ffffff;
  border: 2.5px solid #10b981;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.16);
}

[data-theme="light"] .pricing-card.featured:hover {
  box-shadow: 0 16px 44px rgba(16, 185, 129, 0.22);
}

[data-theme="light"] .pricing-features-list li {
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .currency-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
}

[data-theme="light"] .currency-btn.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

[data-theme="light"] .faq-item {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .faq-item:hover {
  border-color: #10b981 !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.08) !important;
}

[data-theme="light"] .faq-item.open {
  border-color: #10b981 !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .faq-answer {
  color: #334155 !important;
}


[data-theme="light"] .btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: #0f172a;
  color: #0f172a;
}

[data-theme="light"] .site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
}

[data-theme="light"] .site-footer .brand-name,
[data-theme="light"] .site-footer .brand-title {
  color: #ffffff !important;
}

[data-theme="light"] .site-footer .brand-slogan {
  color: #34d399 !important;
}

[data-theme="light"] .footer-links a {
  color: #cbd5e1;
}

[data-theme="light"] .footer-links a:hover {
  color: #34d399;
}

[data-theme="light"] .mobile-drawer {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

/* Strict Image Safety Limits */
.hero-mockup-img {
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-bright);
}

.persona-avatar-box {
  width: 58px !important;
  height: 58px !important;
  flex-shrink: 0 !important;
}

.persona-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.industry-img-box {
  width: 100% !important;
  height: 210px !important;
  overflow: hidden !important;
}

.industry-img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ==========================================================================
   Language Pure Flags Switcher Styling
   ========================================================================== */
.lang-flag-btn {
  font-size: 1.2rem;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
}

.lang-flag-btn:hover {
  opacity: 1;
  transform: scale(1.18);
}

.lang-flag-btn.active {
  opacity: 1;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   Floating Interactive Dark Superpowers Banner (Marquee)
   ========================================================================== */
.floating-banner-section {
  padding: 0 0 35px 0;
  margin-top: -10px;
  position: relative;
  z-index: 25;
}

.floating-dark-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 10, 20, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 14px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .floating-dark-banner {
  background: linear-gradient(135deg, #090e17, #0f172a) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2), 0 0 25px rgba(16, 185, 129, 0.15) !important;
}

.banner-badge-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.banner-badge-indicator .pulse-emerald {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 2s infinite;
}

.banner-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.banner-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: bannerMarqueeScroll 38s linear infinite;
  will-change: transform;
}

.banner-track:hover {
  animation-play-state: paused;
}

@keyframes bannerMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feature-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-pill-btn:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.6);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.25);
}

.feature-pill-btn .pill-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.feature-pill-btn .pill-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f8fafc;
}

.feature-pill-btn .pill-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   Header & Drawer Language Dropdown with Real Vector SVG Flags
   ========================================================================== */
.lang-dropdown-container {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  transition: all var(--transition-fast);
  font-family: inherit;
}

.lang-dropdown-btn:hover {
  border-color: var(--accent-emerald) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.lang-dropdown-menu {
  background: var(--bg-surface-elevated, #0f172a);
  border: 1px solid var(--border-glass);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999 !important;
}

.lang-dropdown-container.open .lang-dropdown-menu {
  display: block !important;
}

[data-theme="light"] .lang-dropdown-menu {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

.lang-option-btn {
  transition: all 0.15s ease;
  font-family: inherit;
}

.lang-option-btn * {
  pointer-events: none;
}

.lang-option-btn:hover {
  background: rgba(16, 185, 129, 0.12) !important;
  color: var(--accent-emerald) !important;
  transform: translateX(2px);
}

.lang-option-btn.active {
  background: rgba(16, 185, 129, 0.18) !important;
  color: var(--accent-emerald) !important;
  font-weight: 700;
}

/* RTL Support for Arabic */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .hero-cta-group {
  justify-content: flex-start;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto !important;
  left: 0 !important;
  text-align: right;
}

[dir="rtl"] .lang-option-btn {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .lang-option-btn:hover {
  transform: translateX(-2px);
}

[dir="rtl"] .section-title-tag,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
  text-align: right;
}


/* ==========================================================================
   AgentWats Flagship — Obsidian & Mint Laser Design System (Linear/Stripe Tier)
   ========================================================================== */

:root, [data-theme="dark"] {
  --bg-deep: #05070D;
  --bg-surface: #0B101E;
  --bg-surface-elevated: #111827;
  
  --accent-mint: #00F5A0;
  --accent-mint-hover: #00D284;
  --accent-emerald: #10B981;
  --accent-gold: #F59E0B;
  --accent-gold-light: #FBBF24;
  
  --glass-bg: rgba(11, 16, 30, 0.72);
  --glass-bg-hover: rgba(17, 24, 39, 0.85);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-mint: rgba(0, 245, 160, 0.3);
  --glass-border-gold: rgba(245, 158, 11, 0.35);
  
  --text-pure: #FFFFFF;
  --text-high: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
}

body {
  background-color: var(--bg-deep) !important;
  color: var(--text-high) !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
}

/* Luminous Ambient Mesh Lighting */
.obsidian-mesh-glow {
  background-color: #05070D;
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 245, 160, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.10) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(14, 165, 233, 0.05) 0px, transparent 60%),
    radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Glassmorphism Cards */
.glass-card-luxury {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-luxury:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-mint);
  box-shadow: 0 25px 60px -15px rgba(0, 245, 160, 0.12);
  transform: translateY(-3px);
}

.glass-card-gold {
  background: rgba(18, 14, 8, 0.75);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-gold);
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.15);
  border-radius: 24px;
}

.glass-card-gold:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 25px 60px -15px rgba(245, 158, 11, 0.25);
  transform: translateY(-3px);
}

/* Laser Mint Buttons */
.btn-laser-mint {
  background: linear-gradient(135deg, #00F5A0 0%, #00D284 100%);
  color: #05070D !important;
  font-weight: 800;
  border: none;
  box-shadow: 0 0 30px rgba(0, 245, 160, 0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-laser-mint:hover {
  background: linear-gradient(135deg, #22FFAF 0%, #00E590 100%);
  box-shadow: 0 0 45px rgba(0, 245, 160, 0.6);
  transform: translateY(-2px);
}

.btn-laser-mint:active {
  transform: scale(0.98);
}

/* Warm Gold COD Card Buttons */
.btn-gold-cod {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24 !important;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
  transition: all 0.25s ease;
}

.btn-gold-cod:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

/* Shimmer animation */
@keyframes laser-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: laser-shimmer 3s infinite;
}

/* Audio waveform animated bars */
@keyframes soundwave {
  0%, 100% { height: 4px; }
  50% { height: 20px; }
}

.waveform-bar {
  width: 3px;
  background-color: #00F5A0;
  border-radius: 9999px;
  display: inline-block;
  animation: soundwave 1.2s ease-in-out infinite;
}

.waveform-bar:nth-child(2) { animation-delay: 0.2s; }
.waveform-bar:nth-child(3) { animation-delay: 0.4s; }
.waveform-bar:nth-child(4) { animation-delay: 0.1s; }
.waveform-bar:nth-child(5) { animation-delay: 0.5s; }
.waveform-bar:nth-child(6) { animation-delay: 0.3s; }

/* Subtle Glow Borders */
.border-glow-mint {
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow: inset 0 0 15px rgba(0, 245, 160, 0.08), 0 0 20px rgba(0, 245, 160, 0.15);
}

.border-glow-gold {
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: inset 0 0 15px rgba(245, 158, 11, 0.08), 0 0 20px rgba(245, 158, 11, 0.18);
}
