/* CSS Reset and Variables */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  /* Color Palette - HSL Custom tailored values */
  --bg-color: #0b0f19;
  --text-primary: #ffffff;
  --text-muted: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.55);
  --card-border: rgba(255, 255, 255, 0.07);
  --card-border-hover: rgba(217, 119, 6, 0.4);
  
  /* Slate & Navy Colors */
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --primary-foreground: #ffffff;
  
  /* Gold & Amber Accents (MMS Premium Brand Theme) */
  --gold: #d97706;
  --gold-light: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.12);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  
  /* Alert / States */
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.15);
  
  /* Shadows & Radius */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-pop: 0 20px 40px -15px rgba(217, 119, 6, 0.15);
  --shadow-glow: 0 0 40px 0px rgba(37, 99, 235, 0.1);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables overriding :root variables when body has .light-theme class */
body.light-theme {
  --bg-color: #f8fafc;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(15, 23, 42, 0.08);
  --card-border-hover: rgba(217, 119, 6, 0.5);
  
  --navy-900: #f1f5f9;
  --navy-800: #e2e8f0;
  --navy-700: #cbd5e1;
  
  --primary-glow: rgba(37, 99, 235, 0.08);
  --gold-glow: rgba(245, 158, 11, 0.08);
  
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-pop: 0 20px 40px -15px rgba(217, 119, 6, 0.08);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', 'IBM Plex Sans Arabic', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-800);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-muted-foreground {
  color: var(--text-muted);
}

/* Layout Elements */
.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-7xl {
  max-width: 1280px;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-b: 1px solid var(--card-border);
  background-color: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

header.scrolled {
  border-bottom-color: rgba(217, 119, 6, 0.2);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
}

nav.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1024px) {
  nav.main-nav {
    display: flex;
  }
}

nav.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--text-primary);
}

nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

nav.main-nav a:hover::after, nav.main-nav a.active::after {
  width: 100%;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b0f19;
  box-shadow: 0 4px 15px -3px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -4px rgba(217, 119, 6, 0.6);
  opacity: 0.95;
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline:hover {
  border-color: var(--gold-light);
  background-color: rgba(30, 41, 59, 0.4);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-icon {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-icon:hover {
  background-color: var(--navy-800);
  color: var(--text-primary);
  border-color: var(--gold);
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px 0;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.06) 0%, transparent 50%);
}

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--card-bg);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-feat-item svg {
  color: var(--gold-light);
  width: 18px;
  height: 18px;
}

/* Call Simulator Card */
.simulator-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.simulator-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
  z-index: -10;
  filter: blur(20px);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.simulator-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.simulator-card:hover {
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: var(--shadow-pop);
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  background: linear-gradient(to bottom, rgba(217, 119, 6, 0.08) 0%, transparent 100%);
}

.sim-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0b0f19;
  font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.sim-avatar-pulse {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--success);
  border: 2px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-avatar-pulse svg {
  width: 10px;
  height: 10px;
  color: #ffffff;
}

.sim-meta p {
  font-size: 0.875rem;
  font-weight: 700;
}

.sim-meta span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.status-indicator {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.status-indicator-ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: var(--success);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-indicator-dot {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  height: 8px;
  width: 8px;
  background-color: var(--success);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.sim-visualizer {
  padding: 20px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
}

.wave-bar {
  width: 3px;
  height: 8px;
  background-color: var(--gold-light);
  border-radius: 10px;
  transition: height 0.1s ease;
  opacity: 0.6;
}

.wave-active .wave-bar {
  animation: wave 1.2s ease-in-out infinite alternate;
}

@keyframes wave {
  0% {
    height: 8px;
    transform: scaleY(1);
  }
  100% {
    height: 40px;
    transform: scaleY(1.5);
  }
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 16px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  transition: width 0.2s linear;
}

.sim-sub-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.sim-sub-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sim-sub-meta span svg {
  color: var(--gold-light);
  width: 12px;
  height: 12px;
}

.sim-body {
  padding: 16px 20px;
}

.state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.state-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--card-border);
  background-color: rgba(15, 23, 42, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.state-item svg {
  color: var(--gold-light);
  width: 14px;
  height: 14px;
}

.state-item.active {
  background-color: rgba(217, 119, 6, 0.15);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 4px 10px -2px rgba(217, 119, 6, 0.2);
}

.sim-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--card-border);
  background-color: rgba(15, 23, 42, 0.35);
  padding: 16px 20px;
}

.sim-footer-info p {
  font-size: 0.85rem;
  font-weight: 700;
}

.sim-footer-info span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.sim-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 25px -4px rgba(217, 119, 6, 0.5);
  transition: var(--transition-smooth);
}

.sim-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px -4px rgba(217, 119, 6, 0.7);
}

.sim-play-btn:active {
  transform: scale(0.95);
}

.sim-play-btn svg {
  width: 24px;
  height: 24px;
  transition: var(--transition-smooth);
}

.sim-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-card p {
  font-size: 1.1rem;
  font-weight: 800;
}

.stat-card span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Feature Section */
.section {
  padding: 100px 0;
}

.section-alt {
  background-color: rgba(15, 23, 42, 0.25);
  border-y: 1px solid rgba(255, 255, 255, 0.03);
}

.sec-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
  padding: 0 16px;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--gold-glow);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.sec-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .sec-title {
    font-size: 2.4rem;
  }
}

.sec-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-pop);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--gold-glow);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  background: var(--gold-gradient);
  color: #0b0f19;
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Steps Section */
.grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

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

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0f19;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Trust Bar / Bottom stats banner */
.trust-bar {
  background-color: rgba(30, 41, 59, 0.25);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon-box svg {
  width: 18px;
  height: 18px;
}

/* Industries Section */
.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ind-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.ind-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-pop);
}

.ind-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--gold-glow);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.ind-card:hover .ind-icon-box {
  background: var(--gold-gradient);
  color: #0b0f19;
}

.ind-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.ind-card p.desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ind-features {
  list-style: none;
  margin-bottom: 24px;
}

.ind-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ind-features li svg {
  color: var(--gold-light);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.audio-demo-player {
  margin-top: auto;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}

.audio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-light);
  background-color: var(--gold-glow);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.audio-badge svg {
  width: 10px;
  height: 10px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 10px;
}

.player-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0f19;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px -2px rgba(217, 119, 6, 0.4);
  transition: var(--transition-smooth);
}

.player-play-btn:hover {
  transform: scale(1.05);
}

.player-info {
  flex-grow: 1;
  min-width: 0;
}

.player-title {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-timeline {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
  position: relative;
}

.player-timeline-progress {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  transition: width 0.1s linear;
}

.player-time {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
  filter: blur(40px);
}

.cta-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  background-color: #080b13;
  padding: 60px 0 30px 0;
  margin-top: auto;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-links-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links-col ul li a:hover {
  color: var(--gold-light);
  padding-right: 4px;
}

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

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

/* Calculator Page styles */
.calc-container {
  max-width: 900px;
  margin: 40px auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.calc-inputs {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.input-group {
  margin-bottom: 28px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.input-group label span.val {
  color: var(--gold-light);
  font-family: monospace;
  font-size: 1rem;
}

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--navy-800);
  border-radius: 100px;
  outline: none;
  margin-bottom: 8px;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.calc-results {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.results-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.results-big-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.results-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.results-stats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: right;
  margin-bottom: 32px;
}

.res-stat-item {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.res-stat-item span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.res-stat-item p {
  font-size: 1.1rem;
  font-weight: 800;
}

/* Contact / Demo Request Forms */
.form-card {
  max-width: 600px;
  margin: 40px auto;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-align: center;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid-full {
    grid-column: span 2;
  }
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.form-input, .form-select, .form-textarea {
  font-family: inherit;
  font-size: 0.875rem;
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  margin-top: 24px;
}

/* Success Card */
.success-container {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--success-glow);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.success-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.success-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Drawer / Mobile Overlay */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: #0b0f19;
  border-left: 1px solid var(--card-border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.drawer-nav a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.drawer-nav a:hover, .drawer-nav a.active {
  color: var(--gold-light);
}
