/* ============================================
   El Sawah Agency - Main Stylesheet
   الألوان: درجات الأزرق السماوي + الأبيض
   ============================================ */

:root {
  --primary: #06a8dd;
  --primary-dark: #0489b5;
  --primary-light: #4ec3ed;
  --primary-glow: rgba(6, 168, 221, 0.4);
  --bg: #f7fcff;
  --bg-dark: #e6f6ff;
  --text: #0a2540;
  --text-light: #5a6c7d;
  --white: #ffffff;
  --shadow: 0 10px 40px -10px rgba(6, 168, 221, 0.25);
  --shadow-lg: 0 20px 60px -15px rgba(6, 168, 221, 0.35);
  --radius: 14px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

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

/* ============================================
   الخلفية المتحركة
   ============================================ */
.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #e6f6ff 0%, #ffffff 50%, #d1edff 100%);
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  background: url('bg.png') center/cover no-repeat;
  opacity: 0.08;
  animation: bgZoom 30s ease-in-out infinite alternate;
}

@keyframes bgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: floatUp 15s linear infinite;
  box-shadow: 0 0 12px var(--primary-glow);
}

.particle:nth-child(odd) { width: 4px; height: 4px; background: var(--primary-light); }
.particle:nth-child(3n) { width: 8px; height: 8px; opacity: 0.2; }

@keyframes floatUp {
  0% { transform: translateY(110vh) translateX(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

/* توزيع عشوائي للجزيئات */
.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 15%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 25%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 35%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 45%; animation-delay: 6s; animation-duration: 25s; }
.particle:nth-child(6) { left: 55%; animation-delay: 3s; animation-duration: 17s; }
.particle:nth-child(7) { left: 65%; animation-delay: 5s; animation-duration: 23s; }
.particle:nth-child(8) { left: 75%; animation-delay: 7s; animation-duration: 19s; }
.particle:nth-child(9) { left: 85%; animation-delay: 2s; animation-duration: 21s; }
.particle:nth-child(10) { left: 95%; animation-delay: 4s; animation-duration: 24s; }
.particle:nth-child(11) { left: 10%; animation-delay: 8s; animation-duration: 20s; }
.particle:nth-child(12) { left: 20%; animation-delay: 9s; animation-duration: 18s; }
.particle:nth-child(13) { left: 30%; animation-delay: 10s; animation-duration: 22s; }
.particle:nth-child(14) { left: 40%; animation-delay: 11s; animation-duration: 17s; }
.particle:nth-child(15) { left: 50%; animation-delay: 12s; animation-duration: 25s; }
.particle:nth-child(16) { left: 60%; animation-delay: 13s; animation-duration: 19s; }
.particle:nth-child(17) { left: 70%; animation-delay: 14s; animation-duration: 21s; }
.particle:nth-child(18) { left: 80%; animation-delay: 15s; animation-duration: 23s; }
.particle:nth-child(19) { left: 90%; animation-delay: 6s; animation-duration: 18s; }
.particle:nth-child(20) { left: 50%; animation-delay: 8s; animation-duration: 26s; }

/* ============================================
   الهيدر
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(6, 168, 221, 0.1);
  padding: 12px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.logo-link:hover { transform: scale(1.05); }

.logo {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(6, 168, 221, 0.25));
}

.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 2px;
}

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

.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wa-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* زر القائمة (Hamburger) - مخفي في البيسي */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* ============================================
   الهيرو
   ============================================ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  animation: fadeUp 0.8s ease-out;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 32px;
  animation: fadeUp 0.8s ease-out 0.15s backwards;
}

.hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s ease-out 0.3s backwards;
}

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

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ============================================
   الأقسام
   ============================================ */
section { padding: 60px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* About */
.about-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.9;
  border: 1px solid rgba(6, 168, 221, 0.1);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  margin-bottom: 6px;
}

.stat-label { font-size: 1rem; opacity: 0.95; }

/* Tabs / Categories */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tab:hover { border-color: var(--primary-light); }

.tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow);
}

/* Sub tabs (image/video) */
.sub-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.sub-tab {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: var(--transition);
}

.sub-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Works grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.work-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-dark);
}

.work-info {
  padding: 18px;
}

.work-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.work-cat {
  display: inline-block;
  font-size: 0.8rem;
  background: var(--bg-dark);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(6, 168, 221, 0.2);
}

/* ============================================
   Forms
   ============================================ */
.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e3eef5;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
}

.alert-success {
  background: #d4f5e1;
  color: #0d6b2f;
  border: 1px solid #8fd9a8;
}

.alert-error {
  color: #8b1e1e;
  border: 1px solid #f1a3a3;
}

/* ============================================
   Packages
   ============================================ */
.package-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--white);
  padding: 20px;
}

.package-image img { border-radius: var(--radius); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, #0a2540, #0f3a5f);
  color: var(--white);
  padding: 50px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  margin-bottom: 14px;
  font-size: 1.15rem;
  color: var(--primary-light);
}

.footer-grid p, .footer-grid a {
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

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

.footer-logo {
  height: 150px !important; /* زيادة الحجم بشكل كبير وإجباره */
  width: auto !important;
  max-height: none !important;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ============================================
   Modal (لمشاهدة الصور/الفيديو)
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal.show { display: flex; }

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-content img,
.modal-content video {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ============================================
   Responsive (Mobile Only Changes)
   ============================================ */
@media (max-width: 768px) {
  /* تفعيل زر القائمة المنسدلة */
  .menu-toggle {
    display: flex;
  }

  /* تحويل القائمة العلوية إلى قائمة منسدلة جانبية */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%; /* مخفي خارج الشاشة */
    width: 80%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s ease-in-out;
    z-index: 1000;
    order: unset; /* إلغاء الترتيب القديم */
  }

  .main-nav.active {
    right: 0; /* إظهار القائمة */
  }

  .main-nav a {
    font-size: 1.2rem;
    width: auto;
    text-align: center;
  }

  /* تحويل زر الهامبرغر لعلامة X عند الفتح */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* تحسين الهيدر للموبايل */
  .site-header .container { 
    flex-direction: row; /* الحفاظ على الصف في الهيدر */
    justify-content: space-between;
    gap: 15px; 
    padding: 10px 15px;
  }
  
  .header-contact { 
    width: auto; 
    order: 2;
  }
  
  .logo { height: 40px; margin: 0; }
  
  /* تحسين الهيرو */
  .hero { padding: 40px 15px 30px; }
  .hero h1 { font-size: 1.8rem; line-height: 1.3; }
  .hero p { font-size: 0.95rem; margin-bottom: 25px; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; gap: 12px; }
  .btn { width: 100%; padding: 12px 20px; }

  /* تحسين الأقسام والبطاقات */
  section { padding: 35px 0; }
  .section-title { font-size: 1.6rem; margin-bottom: 10px; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 30px; padding: 0 10px; }
  .about-card, .form-card { padding: 20px; border-radius: 16px; }
  
  /* تحسين الشبكات (Grids) */
  .stats-grid, .works-grid, .plans-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* تحسين التذييل (Footer) */
  .site-footer { padding: 40px 0 20px; text-align: center; }
  .footer-grid { gap: 35px; }
  .footer-logo { 
    height: 90px !important; 
    margin: 0 auto 20px; 
    display: block;
  }
  .footer-grid h4 { margin-bottom: 15px; font-size: 1.1rem; }
  .footer-grid p, .footer-grid a { font-size: 0.9rem; margin-bottom: 10px; }
  
  /* تحسينات عامة */
  .container { padding: 0 15px; }
  .plan-card--popular { transform: none !important; }
  .plan-card--popular:hover { transform: translateY(-5px) !important; }
}

/* ============================================
   Plans / Packages - Premium Cards
   Theme: Sky-blue + White
   ============================================ */
.plans-section { padding: 30px 0 80px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  margin-top: 50px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
  border: 1.5px solid rgba(6, 168, 221, 0.15);
  border-radius: var(--radius-lg);
  padding: 38px 28px 32px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 12px 35px -18px rgba(6, 168, 221, 0.25);
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-dark));
  opacity: 0.85;
}

.plan-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(6,168,221,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: rgba(6, 168, 221, 0.4);
  box-shadow: 0 28px 55px -22px rgba(6, 168, 221, 0.45);
}
.plan-card:hover::after { opacity: 1; }

/* الباقة الأكثر شعبية */
.plan-card--popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #e6f6ff 100%);
  transform: scale(1.04);
  box-shadow: 0 22px 55px -18px rgba(6, 168, 221, 0.45);
}
.plan-card--popular::before { height: 7px; }
.plan-card--popular:hover { transform: scale(1.04) translateY(-10px); }

.plan-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(6, 168, 221, 0.45);
  z-index: 2;
}

.plan-discount {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ff5b6e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 5px 11px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(255, 91, 110, 0.4);
  z-index: 2;
}

.plan-card--popular .plan-discount { top: 52px; }

.plan-head { margin-top: 18px; margin-bottom: 22px; }

.plan-name {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.plan-tagline {
  font-size: 0.92rem;
  color: var(--text-light);
  min-height: 42px;
  display: flex; align-items: center; justify-content: center;
}

.plan-price-block {
  background: linear-gradient(180deg, rgba(6,168,221,0.06), rgba(6,168,221,0.01));
  border: 1.5px dashed rgba(6,168,221,0.25);
  border-radius: var(--radius);
  padding: 18px 14px;
  margin-bottom: 24px;
}

.plan-old-price {
  display: block;
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.plan-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.plan-price-value {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-period {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: right;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.plan-check {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  border-radius: 50%;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(6, 168, 221, 0.35);
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 10px 24px -8px rgba(6, 168, 221, 0.5);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.plan-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(6, 168, 221, 0.6);
}

.plan-card--popular .plan-cta {
  background: linear-gradient(135deg, var(--primary-dark), #036a8d);
}

@media (max-width: 720px) {
  .plans-grid { gap: 22px; }
  .plan-card--popular { transform: none; }
  .plan-card--popular:hover { transform: translateY(-10px); }
  .plan-price-value { font-size: 2.3rem; }
}

/* ============================================
   Time Picker (Booking)
   ============================================ */
.time-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.time-picker select {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}
.time-picker .time-sep {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

/* ============================================
   Plan Auto-Filled Notice
   ============================================ */
.selected-plan-notice {
  background: linear-gradient(135deg, rgba(6,168,221,0.1), rgba(6,168,221,0.03));
  border: 1.5px solid rgba(6,168,221,0.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary-dark);
}
.selected-plan-notice strong { color: var(--text); }

/* ============================================
   Admin - Discount Modal
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 37, 64, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 30px 70px rgba(0,0,0,0.3);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
  border-bottom: 2px solid rgba(6,168,221,0.15);
  padding-bottom: 10px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-end;
}
.discount-preview {
  background: rgba(6,168,221,0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 10px;
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================
   Admin Plans Grid
   ============================================ */
.admin-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.admin-plan-card {
  background: #fff;
  border: 1.5px solid #e3eef5;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}
.admin-plan-card h3 { color: var(--primary-dark); margin-bottom: 6px; }
.admin-plan-card .price-row {
  display: flex; align-items: baseline; gap: 8px; margin: 10px 0;
}
.admin-plan-card .price-now { font-size: 1.6rem; font-weight: 900; color: var(--primary); }
.admin-plan-card .price-old { color: #94a3b8; text-decoration: line-through; font-size: 0.95rem; }
.admin-plan-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn-discount {
  background: linear-gradient(135deg, #ff5b6e, #d8364b);
  color: #fff;
}
.btn-edit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
