/* ==============================================================================
   Awsilak (أوصّلك) Official Landing Page Design System & Stylesheet
   Modern, Ultra-responsive, Bilingual (RTL / LTR)
   ============================================================================== */

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --primary-subtle: rgba(16, 185, 129, 0.12);
  
  --secondary: #F59E0B;
  --secondary-glow: rgba(245, 158, 11, 0.2);
  --accent-purple: #6366F1;
  --accent-blue: #3B82F6;
  
  --bg-dark: #0B0F19;
  --bg-darker: #060911;
  --card-bg: #121826;
  --card-bg-hover: #172033;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-focus: rgba(16, 185, 129, 0.4);
  
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-light: #E5E7EB;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-ar: 'Alexandria', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.font-arabic {
  font-family: var(--font-ar);
}

body.font-english {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* ------------------------------------------------------------------------------
   Typography & Utilities
   ------------------------------------------------------------------------------ */
.text-gradient {
  background: linear-gradient(135deg, #34D399 0%, #10B981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 16px;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------------------
   Header & Navigation
   ------------------------------------------------------------------------------ */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.navbar.scrolled {
  padding: 12px 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
}

.brand-logo img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px var(--primary-glow));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

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

.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  padding: 8px;
}

/* ------------------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

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

.hero-content h1 {
  font-size: 3.35rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.18;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

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

.trust-item i {
  color: #F59E0B;
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 600px;
  background: #111622;
  border: 10px solid #1F2937;
  border-radius: 44px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 22px;
  background: #1F2937;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  position: relative;
  background: #0D131F;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(13, 19, 31, 0.4), rgba(13, 19, 31, 0.7)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 20px, transparent 20px, transparent 40px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 40px 40px;
}

.live-route-svg {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80%;
  height: 50%;
}

.driver-marker {
  animation: pulseMarker 2s infinite ease-in-out;
}

@keyframes pulseMarker {
  0% { transform: scale(1); filter: drop-shadow(0 0 4px #10B981); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 14px #10B981); }
  100% { transform: scale(1); filter: drop-shadow(0 0 4px #10B981); }
}

.phone-ride-card {
  position: absolute;
  bottom: 16px;
  left: 14px;
  right: 14px;
  background: rgba(18, 24, 38, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

.driver-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
}

.driver-info h4 {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

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

.ride-eta {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

.ride-fare-tag {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FCD34D;
}

/* ------------------------------------------------------------------------------
   Stats Section
   ------------------------------------------------------------------------------ */
.stats-section {
  padding: 30px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-darker);
}

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

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ------------------------------------------------------------------------------
   Services Section (Tabs & Cards)
   ------------------------------------------------------------------------------ */
.services-section {
  padding: 100px 0;
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.service-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.service-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.service-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  animation: fadeIn 0.4s ease forwards;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border-focus);
  box-shadow: var(--shadow-lg), 0 0 20px var(--primary-glow);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.service-feature-item span.check {
  color: var(--primary);
  font-weight: 800;
}

/* ------------------------------------------------------------------------------
   Interactive Fare Calculator Section
   ------------------------------------------------------------------------------ */
.calc-section {
  padding: 90px 0;
  background: var(--bg-darker);
  position: relative;
}

.calc-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

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

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

.input-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 14px 18px;
  background: #0B0F19;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

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

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1F2937;
  outline: none;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-result-card {
  background: linear-gradient(145deg, #131E2C 0%, #0F1722 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.calc-result-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.calc-result-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: #FCD34D;
  line-height: 1;
  margin-bottom: 6px;
}

.calc-currency-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.calc-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

/* ------------------------------------------------------------------------------
   Safety Section
   ------------------------------------------------------------------------------ */
.safety-section {
  padding: 100px 0;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.safety-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.safety-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.3);
}

.safety-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.safety-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.safety-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ------------------------------------------------------------------------------
   Captain Recruitment Section
   ------------------------------------------------------------------------------ */
.captain-section {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 50%), var(--bg-darker);
}

.captain-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.captain-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.captain-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.perk-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.14);
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.perk-content h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.perk-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.captain-box-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.captain-box-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.captain-req-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-light);
}

.req-item span.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

/* ------------------------------------------------------------------------------
   Download App Banner
   ------------------------------------------------------------------------------ */
.download-banner-section {
  padding: 80px 0;
}

.download-banner-card {
  background: linear-gradient(135deg, #0E2922 0%, #0F172A 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.download-banner-card h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
}

.download-banner-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.store-buttons-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111827;
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
}

.store-btn:hover {
  background: #1F2937;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.captain-app-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 12px;
}

.captain-app-link:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------------------
   FAQ Section
   ------------------------------------------------------------------------------ */
.faq-section {
  padding: 90px 0;
  background: var(--bg-darker);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.4);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: inherit;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.28s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, padding 0.32s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

/* ------------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------------ */
footer.main-footer {
  background: #070A11;
  border-top: 1px solid var(--card-border);
  padding: 70px 0 30px 0;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ------------------------------------------------------------------------------
   Modal Dialogs & Toast Notifications
   ------------------------------------------------------------------------------ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.modal-overlay.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #111827;
  border: 1px solid var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ------------------------------------------------------------------------------
   Responsive Design Breakpoints
   ------------------------------------------------------------------------------ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .captain-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0B0F19;
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-nav.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .calc-box {
    padding: 24px;
  }

  .download-banner-card {
    padding: 40px 20px;
  }
}
