/* ==========================================
   EliteLoop Website Styles
   Inspired by resutex.com design
   ========================================== */

/* CSS Variables */
:root {
  /* Colors - EliteLoop Brand */
  --primary-gold: #C9A02F;
  --primary-gold-light: #E8C547;
  --primary-gold-dark: #A88525;

  --navy-dark: #0A1628;
  --navy: #0F1F3A;
  --navy-light: #1A2D4D;

  --bg-primary: #030712;
  --bg-secondary: #0A1628;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);

  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(201, 160, 47, 0.3);

  /* Badge Colors */
  --bronze: #CD7F32;
  --silver: #C0C0C0;
  --gold: #FFD700;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #C9A02F 0%, #E8C547 50%, #C9A02F 100%);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(201, 160, 47, 0.15) 0%, transparent 60%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

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

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition-normal);
}

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

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

.nav-buttons {
  display: flex;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-gold);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 160, 47, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-gold);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #000;
}

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 160, 47, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 160, 47, 0.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(201, 160, 47, 0.1);
  border: 1px solid rgba(201, 160, 47, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Hero Phone Mockup */
.hero-phone {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0F1F3A 0%, #0A1628 100%);
  border-radius: 32px;
  overflow: hidden;
}

.app-preview {
  padding: 20px;
  height: 100%;
  position: relative;
}

.app-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.app-pins {
  position: relative;
  height: 200px;
  margin-bottom: 20px;
}

.pin {
  position: absolute;
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

.pin.gold {
  top: 30%;
  left: 60%;
  animation-delay: 0s;
}

.pin.silver {
  top: 50%;
  left: 30%;
  animation-delay: 0.5s;
}

.pin.bronze {
  top: 70%;
  left: 50%;
  animation-delay: 1s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.app-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
}

.card-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.card-info {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ==========================================
   Sections Common
   ========================================== */
section {
  padding: var(--section-padding) 0;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(201, 160, 47, 0.1);
  border: 1px solid rgba(201, 160, 47, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

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

/* ==========================================
   Features Section
   ========================================== */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-normal);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works {
  position: relative;
  overflow: hidden;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

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

.step:nth-child(even) {
  direction: rtl;
}

.step:nth-child(even)>* {
  direction: ltr;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(201, 160, 47, 0.2);
  line-height: 1;
}

.step-content {
  max-width: 400px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  min-width: 200px;
  text-align: center;
}

.visual-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.badge-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.mini-badge.gold {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.mini-badge.silver {
  background: rgba(192, 192, 192, 0.1);
  color: var(--silver);
  border: 1px solid rgba(192, 192, 192, 0.3);
}

.mini-badge.bronze {
  background: rgba(205, 127, 50, 0.1);
  color: var(--bronze);
  border: 1px solid rgba(205, 127, 50, 0.3);
}

.map-card {
  position: relative;
  min-height: 150px;
  background: linear-gradient(135deg, #0F1F3A 0%, #0A1628 100%);
}

.map-pins {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.map-pin {
  position: absolute;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
  background: var(--bg-secondary);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  color: var(--text-tertiary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle {
  position: relative;
  width: 56px;
  height: 28px;
  cursor: pointer;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  transition: var(--transition-normal);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--primary-gold);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.toggle input:checked+.toggle-slider::before {
  transform: translateX(28px);
}

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  margin-left: 8px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  transition: var(--transition-normal);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(201, 160, 47, 0.1) 0%, var(--bg-card) 100%);
  border-color: var(--primary-gold);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gradient-gold);
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
}

.card-header {
  text-align: center;
  margin-bottom: 24px;
}

.card-badge {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-header p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.card-price {
  text-align: center;
  margin-bottom: 24px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
}

.period {
  color: var(--text-tertiary);
  font-size: 1rem;
}

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

.card-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.card-features li:last-child {
  border-bottom: none;
}

.card-features li.disabled {
  color: var(--text-tertiary);
}

.check {
  color: #22c55e;
  font-weight: 600;
}

.x {
  color: #ef4444;
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-normal);
}

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

.faq-item.active {
  border-color: var(--primary-gold);
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
  transition: var(--transition-normal);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   Download CTA Section
   ========================================== */
.download-cta {
  background: var(--bg-secondary);
  text-align: center;
}

.cta-content {
  max-width: 500px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.store-btn img {
  height: 48px;
  transition: var(--transition-normal);
}

.store-btn:hover img {
  transform: scale(1.05);
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--bg-primary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* ==========================================
   Animations
   ========================================== */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(-10px);
  }
}

/* AOS-like scroll animations */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .hero-phone {
    display: none;
  }

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

  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step:nth-child(even) {
    direction: ltr;
  }

  .step-number {
    font-size: 3rem;
  }

  .step-content {
    max-width: 100%;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links,
  .nav-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

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

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

  .footer-brand {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pricing-card {
    padding: 24px;
  }
}

/* ==========================================
   Logo Styles
   ========================================== */
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.app-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
}

.cta-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 24px;
}

/* ==========================================
   Language Button & Modal
   ========================================== */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.lang-icon {
  font-size: 1.1rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

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

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

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

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-option:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.lang-option.active {
  background: rgba(201, 160, 47, 0.1);
  border-color: var(--primary-gold);
}

.lang-flag {
  font-size: 1.5rem;
}

.lang-name {
  flex: 1;
}

/* ==========================================
   RTL Support (Arabic)
   ========================================== */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .nav-links {
  flex-direction: row-reverse;
}

body.rtl .nav-buttons {
  flex-direction: row-reverse;
}

body.rtl .hero-content {
  text-align: right;
}

body.rtl .hero-buttons {
  justify-content: flex-start;
}

body.rtl .hero-phone {
  right: auto;
  left: 5%;
}

body.rtl .step {
  direction: ltr;
}

body.rtl .step:nth-child(even) {
  direction: rtl;
}

body.rtl .feature-card,
body.rtl .pricing-card,
body.rtl .faq-item {
  text-align: right;
}

body.rtl .card-features li {
  flex-direction: row-reverse;
}

body.rtl .faq-question {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .footer-grid {
  direction: rtl;
}

body.rtl .footer-links {
  text-align: right;
}

body.rtl .lang-option {
  flex-direction: row-reverse;
}

/* ==========================================
   Responsive Language Button
   ========================================== */
@media (max-width: 768px) {
  .lang-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  body.rtl .lang-btn {
    right: auto;
    left: 20px;
  }

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