/* =====================================================
   Marketing Clinic - Dental Landing Page
   Premium CSS Design System
   ===================================================== */

/* ----- Google Fonts Import ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&family=Roboto+Mono:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* ----- CSS Variables (Design Tokens) ----- */
:root {
  /* Colors */
  --primary: #0066CC;
  --primary-dark: #004D99;
  --primary-light: #3399FF;
  --primary-glow: rgba(0, 102, 204, 0.25);
  --accent: #D4AF37;
  --accent-light: #E8C94A;
  --accent-glow: rgba(212, 175, 55, 0.3);
  --success: #22C55E;
  --success-dark: #16A34A;
  --success-glow: rgba(34, 197, 94, 0.25);
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-dark: #0A1628;
  --bg-darker: #060F1D;
  --bg-navy: #0F1B33;
  --text-dark: #1E293B;
  --text-body: #475569;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;
  --border-light: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-heading: 'Poppins', 'Noto Kufi Arabic', sans-serif;
  --font-body: 'Inter', 'Noto Kufi Arabic', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-arabic: 'Noto Kufi Arabic', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 32px;
  --gap-xl: 48px;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow-primary: 0 0 30px rgba(0, 102, 204, 0.2);
  --shadow-glow-accent: 0 0 30px rgba(212, 175, 55, 0.2);
  --shadow-glow-success: 0 0 30px rgba(34, 197, 94, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* ----- Section Base ----- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-arabic);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-header p {
  font-family: var(--font-arabic);
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  color: var(--primary);
  font-family: var(--font-arabic);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* ----- Reveal Animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

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

.navbar-brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  transition: color var(--transition-normal);
}

.navbar.scrolled .navbar-brand-name {
  color: var(--text-dark);
}

.navbar-brand-tagline {
  font-family: var(--font-arabic);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
}

.navbar.scrolled .navbar-brand-tagline {
  color: var(--text-muted);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-family: var(--font-arabic);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-normal);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-normal);
}

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

.navbar.scrolled .navbar-links a {
  color: var(--text-body);
}

.navbar-links a:hover {
  color: var(--text-white);
}

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

.navbar-cta {
  font-family: var(--font-arabic) !important;
  background: var(--success) !important;
  color: var(--text-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all var(--transition-normal) !important;
  box-shadow: var(--shadow-glow-success);
}

.navbar-cta:hover {
  background: var(--success-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35) !important;
}

.navbar-cta::after {
  display: none !important;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.navbar.scrolled .navbar-toggle span {
  background: var(--text-dark);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0A1A3A 50%, #0D2240 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.2); }
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-light);
  font-family: var(--font-arabic);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

.hero h1 {
  font-family: var(--font-arabic);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-arabic);
  font-size: clamp(16px, 2.5vw, 19px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-arabic);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-features li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--success);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--success);
  color: var(--text-white);
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::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 ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--success-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

.btn-secondary svg {
  width: 20px;
  height: 20px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-glow-tooth {
  position: absolute;
  top: -40px;
  left: -20px;
  width: 120px;
  height: 120px;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
  animation: toothGlow 4s ease-in-out infinite;
}

@keyframes toothGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)); transform: rotate(0deg); }
  50% { filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.7)); transform: rotate(5deg); }
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-decoration-1 {
  width: 12px;
  height: 12px;
  background: var(--accent);
  top: 20%;
  left: 5%;
  animation-delay: -2s;
}

.hero-decoration-2 {
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  bottom: 30%;
  left: 15%;
  animation-delay: -4s;
}

.hero-decoration-3 {
  width: 16px;
  height: 16px;
  background: var(--success);
  top: 60%;
  right: 10%;
  opacity: 0.5;
  animation-delay: -1s;
}

/* =====================================================
   SOCIAL PROOF / STATS SECTION
   ===================================================== */
.stats {
  background: var(--bg-white);
  padding: 80px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-card:nth-child(1)::before { background: var(--primary); }
.stat-card:nth-child(2)::before { background: var(--success); }
.stat-card:nth-child(3)::before { background: var(--accent); }
.stat-card:nth-child(4)::before { background: #F97316; }

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

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-card:nth-child(1) .stat-icon { background: rgba(0, 102, 204, 0.1); color: var(--primary); }
.stat-card:nth-child(2) .stat-icon { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.stat-card:nth-child(3) .stat-icon { background: rgba(212, 175, 55, 0.1); color: var(--accent); }
.stat-card:nth-child(4) .stat-icon { background: rgba(249, 115, 22, 0.1); color: #F97316; }

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-card:nth-child(1) .stat-number { color: var(--primary); }
.stat-card:nth-child(2) .stat-number { color: var(--success); }
.stat-card:nth-child(3) .stat-number { color: var(--accent); }
.stat-card:nth-child(4) .stat-number { color: #F97316; }

.stat-label {
  font-family: var(--font-arabic);
  font-size: 15px;
  color: var(--text-body);
  font-weight: 500;
}

.stats-note {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-arabic);
  font-size: 16px;
  color: var(--text-muted);
}

/* =====================================================
   PROBLEM / SOLUTION SECTION
   ===================================================== */
.problem-solution {
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.problem-solution::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.3;
}

.ps-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.ps-intro p {
  font-family: var(--font-arabic);
  font-size: 17px;
  color: var(--text-body);
  line-height: 2;
}

.ps-intro .ps-highlight {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ps-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.ps-card-problems {
  background: linear-gradient(135deg, #FEF2F2, #FFF1F2);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.ps-card-solutions {
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.ps-card-title {
  font-family: var(--font-arabic);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-card-problems .ps-card-title {
  color: #DC2626;
}

.ps-card-solutions .ps-card-title {
  color: #16A34A;
}

.ps-card-title svg {
  width: 28px;
  height: 28px;
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-arabic);
  font-size: 16px;
  line-height: 1.7;
}

.ps-card-problems .ps-list li {
  color: #991B1B;
}

.ps-card-solutions .ps-list li {
  color: #166534;
}

.ps-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 4px;
}

.ps-card-problems .ps-list li svg { color: #EF4444; }
.ps-card-solutions .ps-list li svg { color: #22C55E; }

/* =====================================================
   OFFER / FEATURES SECTION
   ===================================================== */
.features {
  background: var(--bg-white);
}

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

.feature-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  overflow: hidden;
  cursor: default;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:nth-child(1)::after { background: linear-gradient(135deg, rgba(0,102,204,0.03), rgba(0,102,204,0.07)); }
.feature-card:nth-child(2)::after { background: linear-gradient(135deg, rgba(34,197,94,0.03), rgba(34,197,94,0.07)); }
.feature-card:nth-child(3)::after { background: linear-gradient(135deg, rgba(212,175,55,0.03), rgba(212,175,55,0.07)); }
.feature-card:nth-child(4)::after { background: linear-gradient(135deg, rgba(139,92,246,0.03), rgba(139,92,246,0.07)); }
.feature-card:nth-child(5)::after { background: linear-gradient(135deg, rgba(249,115,22,0.03), rgba(249,115,22,0.07)); }
.feature-card:nth-child(6)::after { background: linear-gradient(135deg, rgba(236,72,153,0.03), rgba(236,72,153,0.07)); }

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(0,102,204,0.1); color: var(--primary); }
.feature-card:nth-child(2) .feature-icon { background: rgba(34,197,94,0.1); color: var(--success); }
.feature-card:nth-child(3) .feature-icon { background: rgba(212,175,55,0.1); color: var(--accent); }
.feature-card:nth-child(4) .feature-icon { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.feature-card:nth-child(5) .feature-icon { background: rgba(249,115,22,0.1); color: #F97316; }
.feature-card:nth-child(6) .feature-icon { background: rgba(236,72,153,0.1); color: #EC4899; }

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-family: var(--font-arabic);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-arabic);
  font-size: 15px;
  color: var(--text-body);
}

.feature-list li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* =====================================================
   PORTFOLIO SECTION
   ===================================================== */
.portfolio {
  background: var(--bg-subtle);
}

.portfolio-slider {
  position: relative;
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-slide {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.portfolio-slide:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.portfolio-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-slide:hover img {
  transform: scale(1.05);
}

.portfolio-slide-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: var(--text-white);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.portfolio-slide:hover .portfolio-slide-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-slide-name {
  font-family: var(--font-arabic);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-slide-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-arabic);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.portfolio-slide-stars {
  color: var(--accent);
}

.portfolio-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.portfolio-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-body);
}

.portfolio-nav-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.portfolio-nav-btn svg {
  width: 20px;
  height: 20px;
}

.portfolio-dots {
  display: flex;
  gap: 8px;
}

.portfolio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.portfolio-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials {
  background: var(--bg-white);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 8px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-quote-icon {
  color: var(--primary-glow);
  margin-bottom: 20px;
}

.testimonial-quote-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-text {
  font-family: var(--font-arabic);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 24px;
  min-height: 120px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-glow);
  transition: transform var(--transition-normal);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

.testimonial-author-info h4 {
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-author-info p {
  font-family: var(--font-arabic);
  font-size: 13px;
  color: var(--text-muted);
}

/* =====================================================
   STEPS / TIMELINE SECTION
   ===================================================== */
.steps {
  background: var(--bg-subtle);
}

.timeline {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  right: 30px;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--success));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding: 0 80px 56px 0;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-number {
  position: absolute;
  top: 0;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-subtle), var(--shadow-glow-primary);
}

.timeline-item:nth-child(2) .timeline-number { background: var(--accent); box-shadow: 0 0 0 6px var(--bg-subtle), var(--shadow-glow-accent); }
.timeline-item:nth-child(3) .timeline-number { background: var(--primary-light); box-shadow: 0 0 0 6px var(--bg-subtle), var(--shadow-glow-primary); }
.timeline-item:nth-child(4) .timeline-number { background: var(--success); box-shadow: 0 0 0 6px var(--bg-subtle), var(--shadow-glow-success); }

.timeline-content {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  transform: translateX(-8px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
  font-family: var(--font-arabic);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.timeline-content p {
  font-family: var(--font-arabic);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.timeline-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-content ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-arabic);
  font-size: 14px;
  color: var(--text-body);
}

.timeline-content ul li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.timeline-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-arabic);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-top: 12px;
}

.timeline-duration svg {
  width: 14px;
  height: 14px;
}

/* =====================================================
   PRICING SECTION
   ===================================================== */
.pricing {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0A1A3A 50%, #0D2240 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out infinite;
}

.pricing .section-header h2 {
  color: var(--text-white);
}

.pricing .section-header p {
  color: rgba(255,255,255,0.6);
}

.pricing-card {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}

.pricing-compare {
  text-align: center;
  margin-bottom: 36px;
}

.pricing-compare p {
  font-family: var(--font-arabic);
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.pricing-compare .line-through {
  text-decoration: line-through;
  color: rgba(255,255,255,0.35);
}

.pricing-amount {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-amount .price {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 900;
  color: var(--accent-light);
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  animation: priceGlow 3s ease-in-out infinite;
  line-height: 1;
}

@keyframes priceGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }
  50% { text-shadow: 0 0 60px rgba(212, 175, 55, 0.5); }
}

.pricing-amount .currency {
  font-family: var(--font-arabic);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
}

.pricing-amount .period {
  display: block;
  font-family: var(--font-arabic);
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-arabic);
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.pricing-features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--success);
}

.pricing-savings {
  text-align: center;
  padding: 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
}

.pricing-savings p {
  font-family: var(--font-arabic);
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.pricing-savings .savings-amount {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--success);
}

.pricing-urgency {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  padding: 24px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md);
}

.pricing-urgency li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-arabic);
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.pricing-urgency li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #F97316;
}

.pricing-cta {
  text-align: center;
}

.pricing-cta .btn-primary {
  font-size: 18px;
  padding: 18px 48px;
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 8px 40px rgba(34, 197, 94, 0.5); }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq {
  background: var(--bg-white);
}

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

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-arabic);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  transition: all var(--transition-normal);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-family: var(--font-arabic);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-darker);
  color: var(--text-white);
  padding: 64px 0 24px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
}

.footer-brand-desc {
  font-family: var(--font-arabic);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
}

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

.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-arabic);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-normal);
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.footer-col ul li a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-family: var(--font-arabic);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
  transition: all var(--transition-normal);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4), 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4), 0 0 0 12px rgba(34, 197, 94, 0); }
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-features {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-mockup {
    max-width: 400px;
  }

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

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

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

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

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    color: var(--text-dark) !important;
    font-size: 16px;
  }

  .navbar-toggle {
    display: flex;
  }

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

  .testimonial-card {
    flex: 0 0 calc(50% - 16px);
  }

  .portfolio-slide {
    flex: 0 0 calc(50% - 16px);
  }
}

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

  .hero {
    min-height: auto;
    padding: 120px 0 64px;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 32px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .pricing-amount .price {
    font-size: 48px;
  }

  .timeline::before {
    right: 20px;
  }

  .timeline-item {
    padding-right: 64px;
  }

  .timeline-number {
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - 16px);
  }

  .portfolio-slide {
    flex: 0 0 calc(100% - 16px);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .ps-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-mockup {
    max-width: 280px;
  }

  .stat-number {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 24px;
  }
}

/* ----- Custom Scrollbar ----- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ----- Selection ----- */
::selection {
  background: var(--primary);
  color: var(--text-white);
}
