:root {
  --primary-color: #1e3c72;
  --secondary-color: #2a5298;
  --accent-color: #ffd700;
  --danger-color: #ff6b6b;
  --success-color: #28a745;
  --text-dark: #333;
  --text-light: #f8f9fa;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
}

/* منع تأثير اللمس الأزرق أو الرمادي في الموبايل */
* {
  -webkit-tap-highlight-color: transparent; /* Safari / Chrome */
  -webkit-touch-callout: none; /* منع القائمة عند الضغط المطوّل */
}

/* كمان لو عايز تلغي الـ outline عند التركيز */
summary:focus,
button:focus,
a:focus {
  outline: none;
}

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

body {
  font-family: "Cairo", sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--bg-light);
  direction: rtl;
  text-align: right;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Global Styles */
.section-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 5px;
  background-color: var(--accent-color);
  border-radius: 5px;
}

.section-subtitle {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: #666;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--danger-color) 0%, #ee5a6f 100%);
  color: white;
  padding: 20px 50px;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  border: none;
  cursor: pointer;
  margin-top: 30px;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.cta-button i {
  margin-right: 10px;
}

/* Header */
.header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-color);
  text-decoration: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-right: 25px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&auto=format&fit=crop&q=80&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center/cover;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 25px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.hero .tagline {
  font-size: 2.2rem;
  margin-bottom: 35px;
  font-weight: 700;
  color: var(--accent-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.live-date {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 30px;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Urgency Banner */
.urgency-banner {
  background: linear-gradient(90deg, var(--danger-color) 0%, #ee5a6f 100%);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.urgency-banner div {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

/* Problem Section */
.problem-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.problem-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--danger-color), #ee5a6f);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.problem-card:hover::before {
  transform: translateX(0);
}

.problem-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.problem-card i {
  font-size: 4.5rem;
  color: var(--danger-color);
  margin-bottom: 25px;
  transition: color 0.3s ease;
}

.problem-card:hover i {
  color: var(--primary-color);
}

.problem-card h3 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--primary-color);
  font-weight: 700;
}

.problem-card p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.9;
}

/* Solution Section */
.solution-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #eef2f3 0%, #8e9eab 100%);
  color: var(--text-dark);
}

.solution-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.solution-text {
  flex: 1;
  min-width: 400px;
}

.solution-text h3 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 900;
}

.solution-text p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: #444;
  line-height: 2;
}

.checkmark-list {
  list-style: none;
  margin-top: 30px;
}

.checkmark-list li {
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-right: 45px;
  position: relative;
  color: var(--text-dark);
  font-weight: 600;
}

.checkmark-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--success-color);
  font-size: 1.8rem;
  top: -3px;
}

.solution-image {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.solution-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
}

.solution-image img:hover {
  transform: scale(1.03);
}

/* Course Modules Section */
.modules-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.module-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.35);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.module-card:hover::before {
  opacity: 1;
  top: -10%;
  left: -10%;
}

.module-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.45);
}

.module-number {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.module-card h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.module-card ul {
  list-style: none;
}

.module-card ul li {
  margin-bottom: 15px;
  padding-right: 30px;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.7;
}

.module-card ul li::before {
  content: "\f058"; /* check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -5px;
  color: var(--accent-color);
  font-size: 1.5rem;
  top: -3px;
}
/* Bonuses Section */
.bonuses-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  color: white;
  text-align: center;
}

/* ✅ شبكة Responsive باستخدام auto-fit */
.bonus-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.bonus-card:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.bonus-card i {
  font-size: 4rem;
  margin-bottom: 25px;
  color: var(--accent-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.bonus-card h4 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: white;
}

.bonus-card p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #eee;
}

/* 🟡 تابلت (أقل من 992px) */
@media (max-width: 992px) {
  .bonuses-section {
    padding: 80px 0;
  }

  .bonus-card {
    padding: 30px;
  }

  .bonus-card i {
    font-size: 3.5rem;
  }

  .bonus-card h4 {
    font-size: 1.6rem;
  }

  .bonus-card p {
    font-size: 1.1rem;
  }
}

/* 📱 موبايل أفقي (أقل من 768px) */
@media (max-width: 768px) {
  .bonus-card {
    padding: 25px;
    border-radius: 15px;
  }

  .bonus-card i {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .bonus-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .bonus-card p {
    font-size: 1rem;
  }
}

/* 📱 موبايل صغير (أقل من 480px) */
@media (max-width: 480px) {
  .bonuses-section {
    padding: 60px 0;
  }

  .bonus-card {
    padding: 20px;
    border-radius: 12px;
  }

  .bonus-card i {
    font-size: 2.5rem;
  }

  .bonus-card h4 {
    font-size: 1.2rem;
  }

  .bonus-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.bonuses-grid {
  display: grid;
  gap: 40px;
  margin-top: 60px;
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

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

@media (max-width: 767px) {
  .bonuses-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    width: 95%;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.testimonial-card {
  background: white;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid #e0e0e0;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 3.5rem;
  color: #e9ecef;
  z-index: 0;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 2;
  margin-bottom: 25px;
  color: #555;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.author-info h5 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--primary-color);
  font-weight: 700;
}

.author-info p {
  font-size: 1.1rem;
  color: #666;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&auto=format&fit=crop&q=80&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center/cover;
  opacity: 0.1;
  z-index: 1;
}

.pricing-content {
  position: relative;
  z-index: 2;
}

.pricing-card {
  background: white;
  color: var(--text-dark);
  max-width: 700px;
  margin: 70px auto 0;
  padding: 60px;
  border-radius: 25px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  position: relative;
  border: 1px solid #e0e0e0;
}

.pricing-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--danger-color) 0%, #ee5a6f 100%);
  color: white;
  padding: 12px 35px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap; /* يمنع انقسام النص */
  text-align: center;
  z-index: 2;
}

/* 🟢 شاشات أقل من 768px */
@media (max-width: 768px) {
  .pricing-badge {
    top: -20px;
    padding: 10px 25px;
    font-size: 1rem;
  }
}

/* 📱 شاشات أقل من 480px */
@media (max-width: 480px) {
  .pricing-badge {
    top: -18px;
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 25px;
  }
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.current-price {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1;
}

.savings {
  font-size: 1.5rem;
  color: var(--success-color);
  font-weight: 700;
  margin-bottom: 40px;
}

.price-features {
  list-style: none;
  text-align: right;
  margin: 40px 0;
}

.price-features li {
  padding: 18px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 1.2rem;
  position: relative;
  padding-right: 35px;
  color: #444;
}

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

.price-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--success-color);
  font-size: 1.6rem;
  top: 15px;
}
/* Countdown Timer */
.countdown-wrapper {
  background-color: var(--primary-color);
  padding: 30px;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
}

.countdown-wrapper p {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap; /* ✅ يسمح بالكسر عند الشاشات الصغيرة */
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 25px;
  border-radius: 10px;
  min-width: 120px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
}

.countdown-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 5px;
}

.countdown-label {
  font-size: 1.1rem;
  color: #eee;
  margin-top: 5px;
}

/* 📱 شاشات أقل من 768px (تابلت وموبايل أفقي) */
@media (max-width: 700px) {
  .countdown-wrapper {
    padding: 20px;
  }

  .countdown {
    gap: 15px;
  }

  .countdown-item {
    min-width: 90px;
    padding: 15px 20px;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .countdown-label {
    font-size: 0.9rem;
  }
}

/* 📱 شاشات أقل من 480px (موبايل عمودي) */
@media (max-width: 480px) {
  .countdown-wrapper p {
    font-size: 1.2rem;
  }

  .countdown {
    gap: 10px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 10px 12px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }
}
/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: #f9fafc;
  color: #222;
  direction: rtl;
  text-align: right;
}

.faq-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: #222;
  margin-bottom: 15px;
}

.faq-section .section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

/* كل عنصر سؤال */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* السؤال */
.faq-question {
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111;
  background: #fff;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f3f6fa;
}

.faq-question i {
  font-size: 1.1rem;
  color: #555;
  transition: transform 0.3s ease;
}

/* لما يتفتح الـ details */
.faq-item[open] .faq-question i {
  transform: rotate(180deg);
  color: var(--danger-color, #e63946);
}

.faq-item[open] .faq-question {
  background: #eef3fa;
  color: #000;
}

/* الإجابة */
.faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  margin: 0;
}

/* حركة الظهور */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 40px 0;
  text-align: center;
  font-size: 1.1rem;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero .tagline {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .solution-content {
    flex-direction: column;
  }
  .solution-text,
  .solution-image {
    min-width: unset;
    width: 100%;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .section-subtitle {
    font-size: 1.2rem;
  }
  .cta-button {
    font-size: 1.4rem;
    padding: 15px 40px;
  }
  .countdown-item {
    min-width: 90px;
    padding: 15px;
  }
  .countdown-number {
    font-size: 2.5rem;
  }
  .countdown-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    margin-top: 10px;
  }
  .nav-links a {
    margin: 0 10px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero .tagline {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .problem-card,
  .module-card,
  .bonus-card,
  .testimonial-card,
  .pricing-card {
    padding: 30px;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .current-price {
    font-size: 4rem;
  }
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .tagline {
    font-size: 1.2rem;
  }
  .cta-button {
    font-size: 1.2rem;
    padding: 12px 30px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }
  .problem-card h3,
  .module-card h3,
  .bonus-card h4 {
    font-size: 1.5rem;
  }
  .problem-card p,
  .module-card ul li,
  .bonus-card p,
  .testimonial-text,
  .faq-question,
  .faq-answer {
    font-size: 1rem;
  }
  .current-price {
    font-size: 3rem;
  }
  .original-price {
    font-size: 1.5rem;
  }
  .savings {
    font-size: 1.1rem;
  }
  .countdown-item {
    min-width: 70px;
    padding: 10px;
  }
  .countdown-number {
    font-size: 2rem;
  }
  .countdown-label {
    font-size: 0.8rem;
  }
  .final-cta h2 {
    font-size: 2.5rem;
  }
  .final-cta p {
    font-size: 1.2rem;
  }
}

/* ========================================= */
/* ===== Responsive Header Styles ========== */
/* ========================================= */

/* زرار الـ Hamburger */
.hamburger-menu {
  display: none; /* إخفاء الزرار على الشاشات الكبيرة */
  font-size: 1.8rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001; /* للتأكد من أنه فوق كل العناصر الأخرى */
  padding: 5px;
}

/* التعديلات عند عرض الموقع على شاشات الموبايل */
@media (max-width: 768px) {
  /* تعديل بسيط على الهيدر كونتينر لضمان التنسيق */
  .header .container {
    flex-direction: row;
    justify-content: space-between;
  }

  /* إظهار زرار الـ Hamburger */
  .hamburger-menu {
    display: block;
  }

  /* تنسيق قائمة الروابط في وضع الموبايل */
  .nav-links {
    position: fixed; /* تثبيتها على الشاشة */
    top: 0;
    right: 0; /* تبدأ من اليمين لأن الموقع عربي */
    height: 100vh; /* تأخذ طول الشاشة بالكامل */
    width: 280px; /* عرض القائمة */
    background-color: var(--primary-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);

    /* تنسيق الروابط بشكل عمودي */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    /* لإخفاء القائمة خارج الشاشة في البداية */
    transform: translateX(100%); /* تبدأ خارج الشاشة من اليمين */
    transition: transform 0.4s ease-in-out; /* حركة انسيابية للظهور */
    z-index: 1000;
  }

  /* كلاس الـ active الذي يضيفه الـ JS لإظهار القائمة */
  .nav-links.active {
    transform: translateX(0); /* ترجع لمكانها الطبيعي (تظهر) */
    display: flex;
  }

  /* تعديل بسيط على الروابط داخل القائمة */
  .nav-links a {
    margin: 0;
    font-size: 1.3rem;
    color: white; /* تأكيد اللون */
  }
}

.faq-item {
  background: white;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #e9ecef;
  /* إضافة حركة انسيابية للظل والبوردر */
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-question {
  padding: 25px 30px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark); /* اللون في الحالة العادية */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none; /* لإخفاء السهم الافتراضي */
  transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
  display: none;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question i {
  color: #adb5bd; /* لون الأيقونة وهي مغلقة */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* --- هنا التعديلات المهمة --- */

/* 1. تنسيق العنصر بالكامل عند الفتح */
.faq-item[open] {
  border-color: #dbe4f9;
  /* إضافة ظل أزرق خفيف مشابه للصورة */
  box-shadow: 0 8px 30px rgba(30, 60, 114, 0.15);
}

/* 2. تغيير لون السؤال والأيقونة عند الفتح */
.faq-item[open] > .faq-question {
  color: var(--primary-color);
}

.faq-item[open] > .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-color); /* تغيير لون الأيقونة للأزرق */
}
/* --- نهاية التعديلات --- */

.faq-answer {
  padding: 0 30px 25px 30px; /* ضبط الـ padding */
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
}

.footer-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  ) !important;
}

.flex-between {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 35px;
  height: max-content;
}

.cta-button.btn-header {
  font-size: 1.4rem;
  height: 50px;
  width: max-content;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 60, 114, 0.85); /* نفس الـ primary مع شفافية */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

#ctaPopup {
  display: none;
}

/* Popup Box */
.popup-content {
  background: white;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
  animation: popupFade 0.3s ease;
}

@keyframes popupFade {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.close-popup {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 2rem;
  color: var(--danger-color);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.close-popup:hover {
  transform: scale(1.2);
}

/* Popup Title */
.popup-content h3 {
  color: var(--primary-color);
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* Buttons Stack */
.popup-buttons {
  display: flex;
  flex-direction: column; /* تحت بعض */
  gap: 15px;
  align-items: stretch;
}

/* Individual Links */
.popup-buttons a {
  display: block;
  padding: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* الزر الأول */
.popup-buttons .link-one {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.popup-buttons .link-one:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.5);
}

/* الزر الثاني */
.popup-buttons .link-two {
  background: linear-gradient(135deg, var(--accent-color), #ffdf6b);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.popup-buttons .link-two:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

/* Final CTA Section */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--danger-color) 0%, #ee5a6f 100%);
  color: white;
  text-align: center;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.final-cta h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.final-cta p {
  font-size: 1.6rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
