/* ============================================================
   HAMZA SAT — Premium Design System
   Elite IPTV Landing Page — Full CSS Rewrite
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  /* Backgrounds */
  --bg-primary:    #060910;
  --bg-secondary:  #0c1220;
  --bg-card:       rgba(12, 18, 32, 0.7);
  --bg-card-hover: rgba(18, 26, 48, 0.85);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-card:   rgba(255, 255, 255, 0.08);
  --border-glow:   rgba(59, 130, 246, 0.25);

  /* Accent Palette */
  --cyan:    #06b6d4;
  --blue:    #3b82f6;
  --indigo:  #6366f1;
  --purple:  #a855f7;
  --gold:    #f59e0b;
  --green:   #10b981;
  --rose:    #f43f5e;

  /* Text */
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #4b5563;

  /* Fonts */
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Transitions */
  --t-fast:   0.18s ease;
  --t-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.12);
}

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

html { scroll-behavior: smooth; }

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

html[lang="ar"] body { font-family: var(--font-ar); }

p { color: var(--text-secondary); }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ── Animated Background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(59,130,246,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(168,85,247,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(6,182,212,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ── Noise Texture Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Utility Glow Text ── */
.glow-cyan   { text-shadow: 0 0 18px rgba(6,182,212,0.5); }
.glow-blue   { text-shadow: 0 0 18px rgba(59,130,246,0.5); }
.glow-purple { text-shadow: 0 0 18px rgba(168,85,247,0.5); }
.glow-gold   { text-shadow: 0 0 18px rgba(245,158,11,0.5); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--t-normal);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 16, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  z-index: -1;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  background: none;
  -webkit-text-fill-color: initial;
}

.logo img {
  height: 44px;
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(6,182,212,0.3));
}

.logo-name {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--t-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: 50px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--t-normal);
  font-family: inherit;
}

html[lang="ar"] .lang-btn { font-family: var(--font-ar); }

.lang-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,130,246,0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 1.2rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--t-fast);
}

.menu-toggle:hover { background: rgba(255,255,255,0.06); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Animated glow blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.12), transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: -3s;
}

.hero-blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,0.1), transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
}

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-blob-3 {
  animation: blobFloat3 8s ease-in-out infinite alternate;
}

@keyframes blobFloat3 {
  0%   { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Hero Content */
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--cyan);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulseGlow 3s ease-in-out infinite;
}

.hero-eyebrow i { font-size: 0.8rem; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(59,130,246,0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[lang="ar"] .hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats Strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--t-normal);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn:active { transform: translateY(1px); }

/* WhatsApp */
.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37,211,102,0.4); }

/* Telegram */
.btn-tg {
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,136,204,0.25);
}
.btn-tg:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,136,204,0.4); }

/* Primary (Blue) */
.btn-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37,211,102,0.4); }

/* Secondary (Telegram) */
.btn-secondary {
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,136,204,0.25);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,136,204,0.4); }

/* Ghost */
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section { padding: 6rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to bottom, #fff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[lang="ar"] .section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.35;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================================
   CHANNELS MARQUEE
   ============================================================ */
.channels-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  margin: 2rem 0;
  overflow: hidden;
}

.channels-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  white-space: nowrap;
}

/* Gradient fades on left/right for smooth scrolling effect */
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-content {
  display: flex;
  gap: 2rem;
  padding-left: 2rem;
  animation: scrollMarquee 25s linear infinite;
}

html[lang="ar"] .marquee-content {
  animation: scrollMarqueeAr 25s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollMarqueeAr {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.channel-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--t-fast);
  cursor: default;
}

.channel-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.15);
}

.channel-badge i {
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   SHOWCASE / CARDS GRID
   ============================================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}

/* Sub Card */
.sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--t-slow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

/* Top accent line */
.sub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}

/* Corner glow */
.sub-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
  transition: opacity var(--t-slow);
  opacity: 0;
}

.sub-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6), var(--shadow-glow);
  z-index: 10;
}

.sub-card:hover::before { opacity: 1; }
.sub-card:hover::after  { opacity: 1; }

/* Featured */
.sub-card.featured {
  border-color: rgba(59,130,246,0.2);
}
.sub-card.featured::before { opacity: 1; }

/* Card Badge */
.card-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

html[lang="ar"] .card-badge { right: auto; left: 1.2rem; }

/* Card Logo */
.card-logo-container {
  height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.card-logo-img {
  max-height: 68px;
  max-width: 160px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform var(--t-fast);
}

/* For logos with dark/black backgrounds use screen mode instead */
.card-logo-img.dark-bg {
  mix-blend-mode: screen;
}

.sub-card:hover .card-logo-img {
  transform: scale(1.05);
}

.card-logo-text {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-logo-text i { -webkit-text-fill-color: initial; }

/* Card Title */
.sub-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

/* Description */
.sub-card .desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  line-height: 1.7;
  min-height: 3.5rem;
}

/* ── Pricing Table ── */
.price-table {
  margin-bottom: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  position: relative;
  user-select: none;
}

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

/* WhatsApp green hover */
.price-row:hover {
  background: rgba(37, 211, 102, 0.08);
  border-radius: 8px;
}

.price-row:active {
  transform: scale(0.98);
  background: rgba(37, 211, 102, 0.14);
}

/* WhatsApp icon hint that appears on hover */
.price-row::after {
  content: '\f232'; /* fa-whatsapp unicode */
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
  font-size: 0.9rem;
  color: #25d366;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  pointer-events: none;
  flex-shrink: 0;
}

html[lang="ar"] .price-row::after {
  transform: translateX(6px);
}

.price-row:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Clickable indicator on price-label */
.price-row:hover .price-label {
  color: var(--text-primary);
}

.price-row:hover .price-amount {
  color: #25d366;
}

/* Best value row hover */
.price-row.best-value { background: rgba(245,158,11,0.06); }
.price-row.best-value .price-label { color: var(--gold); font-weight: 600; }
.price-row.best-value .price-label i { color: var(--gold); }
.price-row.best-value .price-amount {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(245,158,11,0.5);
}
.price-row.best-value:hover {
  background: rgba(37, 211, 102, 0.1);
}
.price-row.best-value:hover .price-amount {
  color: #25d366;
  text-shadow: none;
}

/* Order tooltip text above the row on hover */
.price-table {
  position: relative;
}

/* Animated border glow on price-table when hovering a row */
.price-row:hover ~ .price-row,
.price-row:focus-visible {
  outline: none;
}

/* ── Price Label / Amount / Currency ── */
.price-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.price-label i {
  color: var(--cyan);
  font-size: 0.75rem;
  transition: color var(--t-fast);
}

.price-amount {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--blue);
  transition: color var(--t-fast);
}

.price-currency {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 0.1rem;
}

/* Features List */
.features-list {
  list-style: none;
  margin-bottom: 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.features-list li i {
  color: var(--green);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Card Buttons */
.card-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: auto;
}

.card-buttons .btn {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 10px;
  justify-content: center;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  position: relative;
  background:
    linear-gradient(to bottom, transparent, rgba(12,18,32,0.5), transparent);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  padding: 2rem 1.6rem;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: var(--t-normal);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(168,85,247,0.1), transparent 70%);
  pointer-events: none;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(168,85,247,0.2);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 20px rgba(168,85,247,0.08);
}

.feature-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(99,102,241,0.1));
  border: 1px solid rgba(168,85,247,0.15);
  color: var(--purple);
  font-size: 1.5rem;
}

.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.feature-box p { font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   STATS SECTION (inline)
   ============================================================ */
.stats-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats-grid .stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.4rem;
}

.stats-grid .stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ============================================================
   STEPS / GUIDE
   ============================================================ */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 2.5rem 1.8rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--t-normal);
}

.step-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -22px;
  left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  color: var(--bg-primary);
  box-shadow: 0 6px 18px rgba(59,130,246,0.4);
}

.step-card h3 { font-size: 1.15rem; margin: 0.8rem 0 0.8rem; }
.step-card p  { font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   VERIFICATIONS & REVIEWS SECTION
   ============================================================ */
.verifications-section {
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.5), rgba(15, 23, 42, 0.4));
  position: relative;
}

.verifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-bottom: 4rem;
}

.v-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  transition: var(--t-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.v-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

.v-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--cyan);
}

.v-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

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

.v-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

/* Trust Metrics Banner */
.trust-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 18px;
  padding: 1.8rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.metric-item {
  text-align: center;
}

.metric-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .metric-divider { display: none; }
  .trust-metrics-bar { justify-content: grid; grid-template-columns: 1fr 1fr; text-align: center; }
}

/* Reviews Header & Grid */
.reviews-header {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--t-fast);
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.review-server {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.verified-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color var(--t-normal), box-shadow var(--t-normal);
}

.faq-item.active {
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 4px 20px rgba(59,130,246,0.06);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.5rem;
  background: none;
  border: none;
  text-align: right;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  font-family: inherit;
  transition: color var(--t-fast);
}

html[lang="ar"] .faq-question { text-align: right; }
html[lang="fr"] .faq-question { text-align: left; }

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

.faq-question i {
  color: var(--cyan);
  font-size: 0.9rem;
  transition: transform var(--t-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.2s;
  padding: 0 1.5rem;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.8;
  padding-bottom: 1.4rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-buttons .btn { padding: 1rem 2.2rem; font-size: 1rem; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-actions {
  position: fixed;
  bottom: 2rem; right: 2rem;
  display: flex; flex-direction: column;
  gap: 0.7rem;
  z-index: 999;
}

html[lang="ar"] .floating-actions { right: auto; left: 2rem; }

.floating-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: var(--t-normal);
  position: relative;
}

.floating-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 50%, rgba(255,255,255,0.2) 100%);
  animation: spinRing 3s linear infinite;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.floating-btn:hover::before { opacity: 1; }
.floating-btn:hover { transform: translateY(-4px) scale(1.06); }

@keyframes spinRing { to { transform: rotate(360deg); } }

.floating-wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
.floating-tg { background: linear-gradient(135deg, #29b6f6, #0288d1); box-shadow: 0 6px 20px rgba(0,136,204,0.45); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #03050b;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo img { height: 38px; border-radius: 6px; }

.footer-brand .footer-logo-name {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links ul a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-links ul a:hover { color: var(--cyan); }

.footer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright { font-size: 0.85rem; color: var(--text-muted); }

.footer-socials { display: flex; gap: 0.7rem; }

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--t-fast);
}

.footer-socials a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--cyan);
  border-color: rgba(6,182,212,0.3);
}

/* ── Legacy footer nav (fallback) ── */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--t-fast);
}

.footer-nav a:hover { color: var(--cyan); }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.hero-eyebrow  { animation: fadeInDown 0.7s ease both; }
.hero h1       { animation: fadeInUp  0.7s ease 0.1s both; }
.hero-subtitle { animation: fadeInUp  0.7s ease 0.2s both; }
.hero-actions  { animation: fadeInUp  0.7s ease 0.3s both; }
.hero-stats    { animation: fadeInUp  0.7s ease 0.4s both; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.2rem;
    gap: 0.3rem;
    animation: slideDown 0.25s ease;
    z-index: 999;
  }

  .nav-links.mobile-open li { width: 100%; }

  .nav-links.mobile-open a {
    display: block;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--t-fast);
  }

  .nav-links.mobile-open a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
  }

  .menu-toggle { display: flex; }
}

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

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 768px) {
  .header-container { height: 66px; }

  .hero { padding: 7rem 0 4rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.6rem; }

  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  .showcase-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .card-buttons  { grid-template-columns: 1fr; }

  .features-row  { grid-template-columns: 1fr; gap: 1.2rem; }
  .steps-timeline{ grid-template-columns: 1fr; }

  .footer-top    { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .floating-actions { bottom: 1.5rem; right: 1rem; }
  html[lang="ar"] .floating-actions { right: auto; left: 1rem; }

  .cta { padding: 4rem 0; }
  .cta h2 { font-size: 1.9rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .stat-item { min-width: 90px; }

  .sub-card { padding: 1.5rem; }
  .price-table { margin-bottom: 1.2rem; }

  .step-card { padding: 2.2rem 1.4rem 1.6rem; }
  .faq-question { font-size: 0.95rem; }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--cyan), var(--blue));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ============================================================
   CARD SHINE EFFECT (hover shimmer)
   ============================================================ */
.sub-card .card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  pointer-events: none;
  transition: background-position 0.6s ease;
  border-radius: inherit;
}

.sub-card:hover .card-shine {
  background-position: -200% 0;
}

/* ============================================================
   FLOATING BUTTON TOOLTIP
   ============================================================ */
.floating-btn[title] {
  position: relative;
}

.floating-btn[title]::after {
  content: attr(title);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 18, 32, 0.95);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  border: 1px solid var(--border-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
  font-family: var(--font-en);
}

html[lang="ar"] .floating-btn[title]::after {
  right: auto;
  left: calc(100% + 10px);
}

.floating-btn:hover::after { opacity: 1; }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 7rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(12, 18, 32, 0.9);
  border: 1px solid var(--border-card);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  z-index: 998;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-normal), transform var(--t-normal), background var(--t-fast);
  backdrop-filter: blur(10px);
}

html[lang="ar"] #back-to-top { right: auto; left: 2rem; }

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

#back-to-top:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--border-glow);
}

/* ============================================================
   SECTION DIVIDER GRADIENT
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-card), transparent);
  margin: 0;
}

/* ============================================================
   TRUST BADGE STRIP (below hero)
   ============================================================ */
.trust-strip {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 18, 32, 0.4);
}

.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item i {
  font-size: 1rem;
  color: var(--cyan);
}

/* ============================================================
   SELECTION COLOR
   ============================================================ */
::selection {
  background: rgba(59, 130, 246, 0.35);
  color: var(--text-primary);
}
