/* ==========================================
   CSS for Pricing Page - pricing.html
   NiceChat - Bilingual (English/Arabic)
   ========================================== */

/* Base styles from index.html */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #77bd20;
  --dark-green: #39a750;
  --text-color: #39a750;
  --special-btn-1: #082611;
  --special-btn-2: #114922;
  --gradient-green: linear-gradient(135deg, #77bd20, #39a750);
  --dark-gradient: linear-gradient(135deg, #0d2818, #1a3d2e, #082611);
  --mysterious-gradient: linear-gradient(
    135deg,
    #000000,
    #1a3d2e,
    #39a750,
    #77bd20
  );
  --glow-green: #77bd20;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow: rgba(57, 167, 80, 0.1);
  --dark-shadow: rgba(0, 0, 0, 0.3);
  --glass: rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #1a3d2e, #39a750);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-green);
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #77bd20, #39a750);
}

/* تعريف خط Bahij TheSansArabic */
@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/Bahij_TheSansArabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/alfont_com_ArbFONTS-Bahij_TheSansArabic-Plain.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bahij TheSansArabic";
  src: url("../fonts/ArbFONTS-Bahij_TheSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* حماية شاملة للخط - تطبيق على جميع العناصر */
* {
  font-family: inherit;
}

body,
html {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* تطبيق الخط على جميع الأزرار والنماذج */
button,
input,
textarea,
select,
.cta-button,
.hero-btn,
.form-btn,
.faq-question,
.nav-link,
.mobile-menu-btn,
.language-toggle,
.close {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* تطبيق على العربي والإنجليزي */
body[dir="rtl"] *,
body[dir="ltr"] * {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* Body & Background */
body {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: #000;
  position: relative;
  text-align: left;
}

body[dir="rtl"] {
  font-family: "Bahij TheSansArabic", -apple-system, BlinkMacSystemFont,
    sans-serif !important;
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mysterious-gradient);
  z-index: -2;
  animation: backgroundShift 25s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="g1"><stop offset="0%" stop-color="%2377bd20" stop-opacity="0.15"/><stop offset="100%" stop-color="%2377bd20" stop-opacity="0"/></radialGradient><radialGradient id="g2"><stop offset="0%" stop-color="%2339a750" stop-opacity="0.08"/><stop offset="100%" stop-color="%2339a750" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="400" fill="url(%23g1)" opacity="0.8"><animate attributeName="cx" values="200;800;200" dur="35s" repeatCount="indefinite"/><animate attributeName="cy" values="200;600;200" dur="30s" repeatCount="indefinite"/></circle><circle cx="800" cy="800" r="350" fill="url(%23g2)" opacity="0.6"><animate attributeName="cy" values="800;200;800" dur="28s" repeatCount="indefinite"/><animate attributeName="r" values="350;500;350" dur="32s" repeatCount="indefinite"/></circle><circle cx="500" cy="500" r="450" fill="url(%23g1)" opacity="0.4"><animate attributeName="r" values="450;650;450" dur="40s" repeatCount="indefinite"/><animate attributeName="cx" values="500;300;500" dur="25s" repeatCount="indefinite"/></circle></svg>')
    center/cover;
  z-index: -1;
  opacity: 0.7;
}

@keyframes backgroundShift {
  0%,
  100% {
    background: linear-gradient(
      135deg,
      #000000 0%,
      #1a3d2e 25%,
      #39a750 75%,
      #77bd20 100%
    );
  }
  25% {
    background: linear-gradient(
      225deg,
      #082611 0%,
      #1a3d2e 35%,
      #39a750 65%,
      #77bd20 100%
    );
  }
  50% {
    background: linear-gradient(
      315deg,
      #000000 0%,
      #082611 30%,
      #1a3d2e 70%,
      #39a750 100%
    );
  }
  75% {
    background: linear-gradient(
      45deg,
      #1a3d2e 0%,
      #39a750 40%,
      #77bd20 80%,
      #39a750 100%
    );
  }
}

/* ==========================================
   HEADER STYLES (Same as index.html)
   ========================================== */
header {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
  box-shadow: 0 4px 30px rgba(119, 189, 32, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body[dir="ltr"] .header-container {
  flex-direction: row;
}

body[dir="rtl"] .header-container {
  flex-direction: row-reverse;
}

.logo {
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(119, 189, 32, 0.5));
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(119, 189, 32, 0.8));
}

.logo img {
  height: clamp(60px, 7vw, 90px);
  width: auto;
  max-width: clamp(200px, 35vw, 350px);
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 5px;
}

.logo-text {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.3);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

body[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.8rem 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid transparent;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-green);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
  border-radius: 2px;
}

body[dir="ltr"] .nav-link::after {
  right: 0;
}

body[dir="rtl"] .nav-link::after {
  left: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--glow-green);
  text-shadow: 0 0 15px rgba(119, 189, 32, 0.8);
  border-bottom: 3px solid var(--primary-green);
}

.cta-button {
  background: var(--gradient-green);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(119, 189, 32, 0.6);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

body[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

.language-toggle {
  background: rgba(119, 189, 32, 0.1);
  border: 1px solid rgba(119, 189, 32, 0.3);
  border-radius: 25px;
  padding: 0.6rem 1.2rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.language-toggle:hover {
  background: rgba(119, 189, 32, 0.2);
  border-color: rgba(119, 189, 32, 0.5);
  transform: translateY(-2px);
}

.globe-icon {
  width: 20px;
  height: 20px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary-green);
  transform: scale(1.1);
}

.mobile-menu-btn.active {
  color: var(--primary-green);
  transform: scale(1.1) rotate(90deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.mobile-nav-links .nav-link {
  font-size: 1.2rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

/* ==========================================
   PRICING HERO SECTION
   ========================================== */
.pricing-hero {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(26, 61, 46, 0.9)
  );
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pricing-badge {
  background: rgba(119, 189, 32, 0.2);
  color: var(--primary-green);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2rem;
  border: 1px solid rgba(119, 189, 32, 0.3);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(45deg, #fff, #77bd20, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

body[dir="ltr"] .hero-subtitle {
  text-align: center;
}

body[dir="rtl"] .hero-subtitle {
  text-align: justify;
}

/* Social Icons */
.social-icons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-icon {
  width: 60px;
  height: 60px;
  background: rgba(119, 189, 32, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(119, 189, 32, 0.3);
}

.social-icon:hover {
  background: var(--gradient-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(119, 189, 32, 0.4);
}

.social-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2rem;
  border-radius: 25px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(119, 189, 32, 0.2);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.toggle-label {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.toggle-label.active {
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background: #333;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.toggle-switch.active {
  background: var(--gradient-green);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(30px);
}

.savings-badge {
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

body[dir="ltr"] .savings-badge {
  margin-right: 0.5rem;
}

body[dir="rtl"] .savings-badge {
  margin-left: 0.5rem;
}

/* ==========================================
   PRICING PLANS SECTION
   ========================================== */
.pricing-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0d2818, rgba(0, 0, 0, 0.9));
  position: relative;
}

.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.pricing-card {
  background: linear-gradient(
    135deg,
    rgba(26, 61, 46, 0.8),
    rgba(0, 0, 0, 0.9)
  );
  border-radius: 30px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: 2px solid rgba(119, 189, 32, 0.2);
  backdrop-filter: blur(15px);
  transform: translateY(0);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.pricing-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(119, 189, 32, 0.1) 0%,
    transparent 50%
  );
  transform: scale(0);
  transition: transform 0.5s ease;
  z-index: 1;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover::after {
  transform: scale(1);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(119, 189, 32, 0.3);
  border-color: rgba(119, 189, 32, 0.6);
}

.pricing-card.popular {
  border-color: var(--primary-green);
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(119, 189, 32, 0.4);
}

.pricing-card.popular::before {
  transform: scaleX(1);
  height: 8px;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #77bd20, #39a750);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(119, 189, 32, 0.4);
}

.plan-content {
  position: relative;
  z-index: 2;
}

.plan-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 0 30px rgba(119, 189, 32, 0.4);
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(119, 189, 32, 0.3);
}

.plan-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

body[dir="ltr"] .plan-description {
  text-align: center;
}

body[dir="rtl"] .plan-description {
  text-align: justify;
}

.plan-price {
  margin-bottom: 2rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-green);
  text-shadow: 0 0 20px rgba(119, 189, 32, 0.5);
}

.price-currency {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.price-period {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.original-price {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
}

body[dir="ltr"] .original-price {
  margin-left: 1rem;
}

body[dir="rtl"] .original-price {
  margin-right: 1rem;
}

.discount-badge {
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

.plan-features {
  margin-bottom: 3rem;
}

body[dir="ltr"] .plan-features {
  text-align: left;
}

body[dir="rtl"] .plan-features {
  text-align: right;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem;
}

body[dir="ltr"] .feature-item {
  justify-content: flex-start;
}

body[dir="rtl"] .feature-item {
  justify-content: flex-end;
  text-align: justify;
}

.feature-icon {
  color: var(--primary-green);
  font-size: 1.2rem;
}

body[dir="ltr"] .feature-icon {
  margin-right: 0.8rem;
}

body[dir="rtl"] .feature-icon {
  margin-left: 0.8rem;
}

.plan-button {
  width: 100%;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.plan-button.primary {
  background: var(--gradient-green);
  color: white;
  box-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
}

.plan-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--primary-green);
  box-shadow: 0 0 15px rgba(119, 189, 32, 0.2);
}

.plan-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.plan-button:hover::before {
  left: 100%;
}

.plan-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(119, 189, 32, 0.5);
}

/* ==========================================
   COMPARISON SECTION
   ========================================== */
.comparison-section {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9),
    rgba(26, 61, 46, 0.8)
  );
  padding: 6rem 2rem;
  position: relative;
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 0 25px rgba(119, 189, 32, 0.4);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

body[dir="rtl"] .section-subtitle {
  text-align: justify;
}

.comparison-table {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(119, 189, 32, 0.2);
  border: 1px solid rgba(119, 189, 32, 0.3);
}

.table-header {
  background: var(--gradient-green);
  color: white;
  padding: 2rem;
  text-align: center;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-bottom: 1px solid rgba(119, 189, 32, 0.2);
  transition: background 0.3s ease;
  text-align: center;
}

@media (min-width: 769px) {
  .table-row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
  }

  body[dir="ltr"] .table-row {
    text-align: left;
  }

  body[dir="rtl"] .table-row {
    text-align: right;
  }

  .table-row:hover {
    background: rgba(119, 189, 32, 0.05);
  }
}

.table-cell {
  padding: 1.5rem;
  color: white;
  text-align: center;
  font-size: 1rem;
}

@media (min-width: 769px) {
  .table-cell {
    border-left: 1px solid rgba(119, 189, 32, 0.2);
  }

  body[dir="ltr"] .table-cell:first-child {
    text-align: left;
    font-weight: 600;
    border-left: none;
  }

  body[dir="rtl"] .table-cell:first-child {
    text-align: right;
    font-weight: 600;
    border-right: none;
  }
}

.table-cell:first-child {
  font-weight: 700;
  background: rgba(119, 189, 32, 0.1);
}

@media (min-width: 769px) {
  .table-cell:first-child {
    background: transparent;
  }
}

.feature-check {
  color: var(--primary-green);
  font-size: 1.5rem;
}

.feature-cross {
  color: #ff6b6b;
  font-size: 1.5rem;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
  background: linear-gradient(135deg, #000, #1a1a1a);
  padding: 6rem 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(119, 189, 32, 0.05);
  border: 1px solid rgba(119, 189, 32, 0.2);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  width: 100%;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  line-height: 1.4;
}

body[dir="ltr"] .faq-question {
  text-align: left;
}

body[dir="rtl"] .faq-question {
  text-align: right;
}

.faq-question:hover {
  background: rgba(119, 189, 32, 0.1);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  display: none;
  font-size: 1rem;
}

body[dir="ltr"] .faq-answer {
  text-align: left;
}

body[dir="rtl"] .faq-answer {
  text-align: justify;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-green);
  font-size: 1.2rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: linear-gradient(135deg, #39a750, #77bd20, #39a750);
  padding: 5rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-btn {
  padding: 1.3rem 2.5rem;
  border: none;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-shadow: none;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.hero-btn-primary {
  background: linear-gradient(45deg, #000, #1a3d2e);
  color: var(--white);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.hero-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   MODAL STYLES
   ========================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  margin: 3% auto;
  padding: 0;
  border-radius: 30px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(119, 189, 32, 0.3);
  box-shadow: 0 0 80px rgba(119, 189, 32, 0.3);
}

.modal-header {
  background: var(--gradient-green);
  color: white;
  padding: 2rem 2.5rem;
  border-radius: 30px 30px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.modal-body {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--white);
  font-size: 1.1rem;
}

.form-input,
select.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(119, 189, 32, 0.3);
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.form-input:focus,
select.form-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(119, 189, 32, 0.2);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

select.form-input option {
  background: #2a2a2a;
  color: white;
}

.form-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  margin-top: 3rem;
}

.form-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1rem;
  min-width: 140px;
}

.form-btn-primary {
  background: var(--gradient-green);
  color: white;
  box-shadow: 0 0 20px rgba(119, 189, 32, 0.3);
}

.form-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================
   FOOTER STYLES (Same as index.html)
   ========================================== */
footer {
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: white;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(119, 189, 32, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 769px) {
  body[dir="ltr"] .footer-container {
    text-align: left;
  }

  body[dir="rtl"] .footer-container {
    text-align: right;
  }
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.9;
}

body[dir="ltr"] .footer-section p {
  text-align: left;
}

body[dir="rtl"] .footer-section p {
  text-align: justify;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.3);
}

body[dir="ltr"] .footer-links a:hover {
  transform: translateX(-5px);
}

body[dir="rtl"] .footer-links a:hover {
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

.footer-bottom a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(119, 189, 32, 0.5);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(119, 189, 32, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--gradient-green);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(119, 189, 32, 0.4);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
  }

  .comparison-table {
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .header-container {
    padding: 1rem;
  }

  .pricing-hero {
    padding: 4rem 1rem 3rem;
  }

  .pricing-section,
  .comparison-section,
  .faq-section,
  .cta-section {
    padding: 4rem 1rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .billing-toggle {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .modal-content {
    margin: 5% auto;
    width: 95%;
  }

  .modal-header {
    padding: 1.5rem;
  }

  .modal-body {
    padding: 2rem;
  }

  .form-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
  }

  .social-icons-grid {
    gap: 1rem;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem;
  }

  .logo img {
    height: 65px;
    max-width: 220px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .pricing-hero {
    padding: 3rem 0.5rem 2rem;
  }

  .pricing-section,
  .comparison-section,
  .faq-section,
  .cta-section {
    padding: 3rem 0.5rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .plan-name {
    font-size: 1.5rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .social-icons-grid {
    gap: 0.8rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .social-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .mobile-menu-btn,
  .modal,
  .language-toggle {
    display: none !important;
  }

  body::before,
  body::after {
    display: none;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #00ff00;
    --dark-green: #008000;
  }

  .hero-title {
    -webkit-text-fill-color: white;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body::before {
    animation: none;
  }
}
