/* ============================================================
   Taskyza — منصة الخدمات الرقمية المتكاملة
   نسخة محسّنة: هوية بصرية أقوى + تجربة موبايل احترافية
   (كل أسماء الـ classes والـ IDs الأصلية محفوظة كما هي)
   ============================================================ */

:root {
  --bg: #070b16;
  --bg-soft: #0b1120;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.05);
  --line: rgba(148, 163, 184, 0.09);
  --line-strong: rgba(148, 163, 184, 0.16);
  --text: #e6ecf5;
  --muted: #94a3b8;
  --faint: #64748b;
  --sky: #38bdf8;
  --blue: #0ea5e9;
  --indigo: #6366f1;
  --violet: #a855f7;
  --pink: #f472b6;
  --mint: #34d399;
  --green: #10b981;
  --amber: #f59e0b;
  --danger: #ef4444;
  --grad: linear-gradient(135deg, #0ea5e9, #6366f1);
  --grad-wide: linear-gradient(135deg, #0ea5e9, #6366f1, #a855f7);
  --grad-text: linear-gradient(120deg, #38bdf8, #818cf8, #c084fc);
  --shadow-glow: 0 10px 34px -8px rgba(99, 102, 241, 0.45);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.5) #070b16;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, a, input, textarea { touch-action: manipulation; }

::selection {
  background: rgba(99, 102, 241, 0.4);
  color: #fff;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0a0f1d; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e293b, #312e81);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #334155, #4338ca); }

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ==================== شريط تقدم القراءة ==================== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 2100;
  background: var(--grad-wide);
  transform-origin: right;
  transform: scaleX(0);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.6);
  pointer-events: none;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.22), rgba(168, 85, 247, 0.22), transparent);
}

.header.scrolled {
  background: rgba(7, 11, 22, 0.94);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.65);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  transition: min-height 0.3s var(--ease);
}

.header.scrolled .navbar { min-height: 68px; }

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

.logo-box {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  background: var(--grad-wide);
  box-shadow: 0 6px 20px -4px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  flex-shrink: 0;
  position: relative;
}

.logo-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.logo-box:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 10px 28px -6px rgba(168, 85, 247, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.3px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
  padding: 8px 2px;
}

.nav-link i { display: none; }

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.35s var(--ease);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.nav-link:hover, .nav-link.active { color: var(--sky); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.auth-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.login-btn {
  padding: 10px 20px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Cairo", sans-serif;
}

.login-btn:hover {
  color: white;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

.register-btn {
  padding: 11px 22px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  background: var(--grad);
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.register-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60%;
  right: -80%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -8px rgba(99, 102, 241, 0.6);
}
.register-btn:hover::after { right: 130%; }

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.header-quick-login {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.header-quick-login:hover {
  color: var(--sky);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1003;
}

.menu-toggle span {
  width: 27px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.35s var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--sky); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(12px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--sky); }

/* عناصر قائمة الجوال (مخفية على الشاشات الكبيرة) */
.menu-head, .menu-auth, .menu-socials, .nav-overlay { display: none; }

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 75% 15%, rgba(14, 165, 233, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 55% at 15% 85%, rgba(124, 58, 237, 0.15), transparent 60%),
    var(--bg);
  padding: 120px 0 90px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, black 25%, transparent 75%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  opacity: 0.5;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.5), transparent 70%);
  top: -120px;
  left: -100px;
  animation: orbFloat 13s ease-in-out infinite alternate;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 70%);
  bottom: -160px;
  right: -120px;
  animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 40px) scale(1.12); }
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(56, 189, 248, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  animation: float 7s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 30%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; top: 70%; animation-delay: 2s; }
.particle:nth-child(4) { left: 60%; top: 80%; animation-delay: 3s; }
.particle:nth-child(5) { left: 90%; top: 60%; animation-delay: 1.5s; }
.particle:nth-child(6) { left: 50%; top: 10%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-80px) scale(1.5); opacity: 1; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.28);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 26px;
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.12), inset 0 0 18px rgba(14, 165, 233, 0.06);
  animation: badgePulse 3.2s ease-in-out infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(14, 165, 233, 0.12), inset 0 0 18px rgba(14, 165, 233, 0.06); }
  50% { box-shadow: 0 0 42px rgba(14, 165, 233, 0.25), inset 0 0 22px rgba(14, 165, 233, 0.1); }
}

.hero-title {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span { display: block; }

.gradient-text {
  background: linear-gradient(120deg, #38bdf8 0%, #818cf8 45%, #c084fc 75%, #f472b6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s linear infinite;
  filter: drop-shadow(0 0 26px rgba(129, 140, 248, 0.35));
}

@keyframes gradientMove {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--grad);
  color: white;
  border-radius: 15px;
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-glow);
  font-family: "Cairo", sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 55%;
  right: -70%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: right 0.65s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -10px rgba(99, 102, 241, 0.65);
}
.btn-primary:hover::after { right: 140%; }
.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1.5px solid var(--line-strong);
  color: white;
  border-radius: 15px;
  font-weight: 800;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.35s var(--ease);
}

.btn-outline:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -14px rgba(56, 189, 248, 0.4);
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s;
}

.trust-chip i { color: var(--mint); font-size: 13px; }
.trust-chip:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 700px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 4px 18px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

.stat-number {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.stat-label {
  font-size: 14px;
  color: var(--faint);
  font-weight: 700;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2.2s infinite;
  z-index: 2;
}

.hero-scroll a {
  color: var(--faint);
  font-size: 22px;
  transition: color 0.3s;
}
.hero-scroll a:hover { color: var(--sky); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

/* ==================== SECTIONS ==================== */
section { padding: 105px 0; }
section[id] { scroll-margin-top: 80px; }

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

.section-badge {
  display: inline-block;
  padding: 7px 20px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sky);
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

.section-badge.purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.28);
  color: #a78bfa;
}

.section-badge.green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.28);
  color: var(--mint);
}

.section-title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
  line-height: 1.4;
}

.section-desc {
  font-size: 17px;
  color: var(--faint);
  max-width: 640px;
  margin: 0 auto;
}

/* ==================== حركات الظهور عند التمرير ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

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

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

/* ==================== FEATURES ==================== */
.features {
  background: radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.07), transparent 42%), var(--bg);
  position: relative;
}

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

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 42px 30px 36px;
  text-align: center;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s, box-shadow 0.45s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.45s;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -30%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.07), transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-9px);
  border-color: var(--line-strong);
  background: var(--panel-strong);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
}

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

.feature-card.featured {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.06);
}

.feature-card.featured::before { background: linear-gradient(90deg, #8b5cf6, #c084fc); opacity: 1; }

.feature-popular {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  padding: 5px 15px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(139, 92, 246, 0.6);
}

.feature-icon {
  width: 84px;
  height: 84px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  margin: 0 auto 26px;
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  color: var(--clr);
  border: 1px solid color-mix(in srgb, var(--clr) 22%, transparent);
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--clr) 45%, transparent);
  transition: transform 0.45s var(--ease);
}

.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }

.feature-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.85;
}

.feature-link {
  color: var(--sky);
  font-weight: 800;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap 0.3s var(--ease), color 0.3s;
}

.feature-link:hover { gap: 13px; color: #7dd3fc; }

/* ==================== SERVICES ==================== */
.services-section {
  background: radial-gradient(circle at 88% 100%, rgba(99, 102, 241, 0.08), transparent 45%), var(--bg-soft);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--grad);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  animation: cardIn 0.55s var(--ease) both;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 56px -26px rgba(0, 0, 0, 0.8);
}

.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.service-card:hover .service-img img { transform: scale(1.09); }

.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 11, 22, 0.55));
  pointer-events: none;
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(14, 165, 233, 0.92);
  backdrop-filter: blur(6px);
  padding: 5px 15px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(14, 165, 233, 0.6);
}

.service-badge.dev { background: rgba(139, 92, 246, 0.92); box-shadow: 0 6px 16px -6px rgba(139, 92, 246, 0.6); }
.service-badge.write { background: rgba(16, 185, 129, 0.92); box-shadow: 0 6px 16px -6px rgba(16, 185, 129, 0.6); }
.service-badge.video { background: rgba(244, 63, 94, 0.92); box-shadow: 0 6px 16px -6px rgba(244, 63, 94, 0.6); }
.service-badge.market { background: rgba(245, 158, 11, 0.92); box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.6); }

.service-fav {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(7, 11, 22, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-fav:hover { background: var(--danger); border-color: var(--danger); transform: scale(1.12); }

.service-body { padding: 20px; }

.service-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.service-seller img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.3);
  object-fit: cover;
}

.service-seller span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.seller-rating {
  margin-right: auto;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-body h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.65;
  min-height: 52px;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.service-price {
  font-size: 21px;
  font-weight: 900;
  background: linear-gradient(120deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-delivery {
  font-size: 13px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.section-cta {
  text-align: center;
  margin-top: 46px;
}

/* ==================== SMM ==================== */
.smm-section {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.09), transparent 45%), var(--bg);
}

.smm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.smm-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 38px 24px 30px;
  text-align: center;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  position: relative;
  overflow: hidden;
}

.smm-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--grad-wide);
  opacity: 0;
  transition: opacity 0.45s;
}

.smm-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 56px -26px rgba(0, 0, 0, 0.8);
}

.smm-card:hover::before { opacity: 1; }

.smm-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  margin: 0 auto 22px;
  transition: transform 0.45s var(--ease);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}

.smm-card:hover .smm-icon { transform: scale(1.09) rotate(-4deg); }

.smm-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366); color: white; }
.smm-icon.youtube { background: linear-gradient(135deg, #ff3333, #cc0000); color: white; }
.smm-icon.tiktok { background: #0a0a0f; color: white; border: 1px solid var(--line-strong); }
.smm-icon.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); color: white; }

.smm-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.smm-list {
  text-align: right;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 16px;
}

.smm-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.smm-list li i {
  color: var(--green);
  font-size: 12px;
}

.smm-price {
  font-size: 15px;
  color: var(--faint);
  margin-bottom: 20px;
  font-weight: 600;
}

.smm-price strong {
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(120deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.smm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: var(--grad);
  color: white;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  transition: 0.35s var(--ease);
  box-shadow: 0 8px 24px -10px rgba(99, 102, 241, 0.5);
}

.smm-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -12px rgba(99, 102, 241, 0.65);
}

/* ==================== TASKS ==================== */
.tasks-section {
  background: radial-gradient(circle at 8% 100%, rgba(16, 185, 129, 0.07), transparent 42%), var(--bg-soft);
}

.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 24px 28px;
  text-align: center;
  width: 205px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 24px 48px -24px rgba(16, 185, 129, 0.25);
}

.step-number {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.55), 0 0 0 5px var(--bg-soft);
}

.step-icon {
  font-size: 30px;
  color: var(--mint);
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--faint);
  font-weight: 600;
}

.step-arrow {
  color: #2e3b52;
  font-size: 20px;
  animation: arrowPulse 1.8s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(-6px); opacity: 1; }
}

/* ==================== PRICING ==================== */
.pricing-section {
  background: radial-gradient(ellipse at 50% 40%, rgba(14, 165, 233, 0.07), transparent 55%), var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 42px 30px 34px;
  text-align: center;
  position: relative;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.pricing-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
}

.pricing-card.popular {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.07), rgba(99, 102, 241, 0.04));
  transform: scale(1.045);
  box-shadow: 0 30px 70px -30px rgba(14, 165, 233, 0.35);
  z-index: 2;
}

.pricing-card.popular:hover { transform: scale(1.045) translateY(-7px); }

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  padding: 7px 22px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 10px 26px -8px rgba(99, 102, 241, 0.65);
}

.pricing-card.business {
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06), rgba(220, 38, 38, 0.04));
}

.business-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  padding: 7px 22px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  color: white;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 10px 26px -8px rgba(220, 38, 38, 0.55);
}

.pricing-header { margin-bottom: 24px; }

.pricing-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}

.pricing-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.pricing-tagline {
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-amount { margin-bottom: 8px; }

.currency {
  font-size: 20px;
  color: var(--faint);
  vertical-align: top;
  font-weight: 800;
}

.price {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.business .price {
  background: linear-gradient(120deg, #fbbf24, #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.period {
  font-size: 14px;
  color: var(--faint);
  font-weight: 600;
}

.pricing-savings {
  display: inline-block;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--mint);
  padding: 4px 13px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 800;
  margin-top: 10px;
}

.pricing-features {
  text-align: right;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.pricing-features li {
  padding: 9px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 600;
}

.pricing-features li > i:first-child {
  font-size: 12px;
  color: var(--green);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  opacity: 0.42;
  text-decoration: line-through;
}

.pricing-features li.disabled > i:first-child {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.pricing-features li strong { color: white; font-weight: 800; }

.pricing-btn {
  cursor: pointer;
  border: none;
  font-family: "Cairo", sans-serif;
  padding: 15px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 15.5px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
}

.pricing-btn:not(.active):not(.business-btn) {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1.5px solid var(--line-strong);
}

.pricing-btn:not(.active):not(.business-btn):hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-3px);
}

.pricing-btn.active {
  background: var(--grad);
  color: white;
  box-shadow: var(--shadow-glow);
}

.pricing-btn.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -10px rgba(99, 102, 241, 0.6);
}

.pricing-btn.business-btn {
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: white;
  box-shadow: 0 10px 30px -8px rgba(220, 38, 38, 0.45);
}

.pricing-btn.business-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -10px rgba(220, 38, 38, 0.55);
}

.pricing-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s var(--ease);
}

.guarantee-item:hover { transform: translateY(-3px); }

.guarantee-item > i {
  font-size: 30px;
  color: var(--mint);
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-item strong {
  display: block;
  color: white;
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 3px;
}

.guarantee-item span {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
}

/* ==================== ABOUT ==================== */
.about-section {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px 34px;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-content:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 26px 52px -26px rgba(0, 0, 0, 0.75);
}

.about-content:hover::before { opacity: 1; }

.about-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sky);
}

.about-content h3 i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.about-content p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 15.5px;
}

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

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 13px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover { border-color: rgba(56, 189, 248, 0.28); }

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(56, 189, 248, 0.05);
  box-shadow: 0 16px 40px -24px rgba(56, 189, 248, 0.3);
}

.faq-question {
  padding: 21px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 800;
  color: white;
  transition: color 0.3s;
}

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

.faq-question > i {
  color: var(--sky);
  transition: transform 0.4s var(--ease);
  font-size: 13px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item.active .faq-question > i {
  transform: rotate(135deg);
  background: rgba(14, 165, 233, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
  padding: 0 25px 22px;
  color: var(--muted);
  line-height: 1.95;
  font-size: 15px;
}

/* ==================== CONTACT ==================== */
.contact-section {
  background: radial-gradient(circle at 85% 0%, rgba(14, 165, 233, 0.07), transparent 42%), var(--bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 26px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 14px;
  color: var(--faint);
  font-weight: 600;
  direction: ltr;
  text-align: right;
}

.contact-socials, .footer-socials {
  display: flex;
  gap: 11px;
  margin-top: 8px;
}

.contact-socials a, .footer-socials a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: 0.35s var(--ease);
  font-size: 17px;
}

.contact-socials a:hover, .footer-socials a:hover {
  background: var(--grad);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 14px;
  color: #cbd5e1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  color: white;
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #475569; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.06);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.full-width { width: 100%; }

/* ==================== FOOTER ==================== */
.footer {
  background: #04060d;
  padding: 70px 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), rgba(168, 85, 247, 0.35), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 46px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.footer-brand span {
  font-size: 23px;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col p {
  font-size: 14.5px;
  color: var(--faint);
  line-height: 1.9;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}

.footer-col a {
  display: block;
  padding: 7px 0;
  color: var(--faint);
  font-size: 14.5px;
  font-weight: 600;
  transition: 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--sky);
  padding-right: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}

/* ==================== MODALS ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: linear-gradient(180deg, #101828, #0d1420);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 42px 40px 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modalIn 0.45s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 80px -40px rgba(99, 102, 241, 0.4);
}

.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03); border-radius: 3px; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.3); border-radius: 3px; }

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

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--danger);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-header .logo-box { margin: 0 auto 16px; }

.modal-header h2 {
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-header p {
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}

.input-icon { position: relative; }

.input-icon i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  font-size: 15px;
  transition: color 0.3s;
}

.input-icon input { padding-right: 46px !important; }
.input-icon input:focus + i,
.input-icon input:focus ~ i { color: var(--sky); }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--indigo);
  cursor: pointer;
}

.modal-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--faint);
  font-weight: 600;
}

.modal-switch a {
  color: var(--sky);
  font-weight: 800;
  transition: color 0.3s;
}
.modal-switch a:hover { color: #7dd3fc; }

/* ==================== GOOGLE SIGN IN ==================== */
.google-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 20px;
}

.google-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.google-divider span {
  position: relative;
  background: #0f1622;
  padding: 0 16px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 800;
}

.google-signin-container { display: none; }

.google-btn-custom {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #4285f4, #3574e0);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 26px -8px rgba(66, 133, 244, 0.45);
  position: relative;
  overflow: hidden;
}

.google-btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(66, 133, 244, 0.55);
}

.google-btn-custom:active { transform: translateY(0); }

.google-btn-custom .google-icon {
  width: 27px;
  height: 27px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.google-btn-custom .google-icon svg { width: 100%; height: 100%; }

.google-btn-custom:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 50px;
  height: 50px;
  background: var(--grad);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 19px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 0.4s var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

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

.back-to-top:hover { transform: translateY(-5px); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .smm-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { gap: 22px; }
}

@media (max-width: 992px) {
  .header-actions { display: flex; }
  .header-quick-login { display: flex; }
  .menu-toggle { display: flex; }
  .auth-buttons { display: none; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 14, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -110%;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0c1322, #0a0f1d);
    flex-direction: column;
    align-items: stretch;
    padding: 26px 22px 30px;
    gap: 0;
    transition: right 0.5s var(--ease);
    border-left: 1px solid var(--line-strong);
    box-shadow: -30px 0 70px rgba(0, 0, 0, 0.55);
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-menu.active { right: 0; }

  .nav-menu::-webkit-scrollbar { width: 5px; }
  .nav-menu::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.25); border-radius: 3px; }

  /* حركة متتابعة لعناصر القائمة */
  .nav-menu > * {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  }

  .nav-menu.active > * {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu.active > *:nth-child(1) { transition-delay: 0.06s; }
  .nav-menu.active > *:nth-child(2) { transition-delay: 0.10s; }
  .nav-menu.active > *:nth-child(3) { transition-delay: 0.14s; }
  .nav-menu.active > *:nth-child(4) { transition-delay: 0.18s; }
  .nav-menu.active > *:nth-child(5) { transition-delay: 0.22s; }
  .nav-menu.active > *:nth-child(6) { transition-delay: 0.26s; }
  .nav-menu.active > *:nth-child(7) { transition-delay: 0.30s; }
  .nav-menu.active > *:nth-child(8) { transition-delay: 0.34s; }
  .nav-menu.active > *:nth-child(9) { transition-delay: 0.40s; }
  .nav-menu.active > *:nth-child(10) { transition-delay: 0.46s; }

  .menu-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 4px 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
  }

  .menu-head .logo-box { width: 44px; height: 44px; border-radius: 14px; }

  .menu-head-text { display: flex; flex-direction: column; line-height: 1.4; }

  .menu-head-text strong {
    font-size: 19px;
    font-weight: 900;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .menu-head-text span {
    font-size: 12px;
    color: var(--faint);
    font-weight: 700;
  }

  .nav-link {
    padding: 14px 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 52px;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s, padding 0.3s;
  }

  .nav-link i {
    display: inline-block;
    width: 22px;
    text-align: center;
    color: var(--faint);
    font-size: 15px;
    transition: color 0.3s;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(56, 189, 248, 0.08);
    color: var(--sky);
    padding-right: 16px;
  }

  .nav-link:hover i, .nav-link.active i { color: var(--sky); }
  .nav-link::after { display: none; }

  .menu-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .menu-auth-login,
  .menu-auth-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    transition: 0.35s var(--ease);
    width: 100%;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
  }

  .menu-auth-login {
    border: 1.5px solid var(--line-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
  }

  .menu-auth-login:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.08);
    color: var(--sky);
  }

  .menu-auth-register {
    background: var(--grad);
    color: white;
    box-shadow: var(--shadow-glow);
  }

  .menu-auth-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(99, 102, 241, 0.6);
  }

  .menu-socials {
    display: flex;
    justify-content: center;
    gap: 11px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .menu-socials a {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 16px;
    transition: 0.3s;
  }

  .menu-socials a:hover {
    background: var(--grad);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
  }

  .features-grid, .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-7px); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .hero-stats { gap: 0; }
  .how-it-works { flex-direction: column; gap: 10px; }
  .step-card { width: 100%; max-width: 340px; }
  .step-arrow { transform: rotate(-90deg); }
  .pricing-guarantees { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  section { padding: 72px 0; }

  .navbar { min-height: 66px; }
  .brand-name { font-size: 21px; }
  .logo-box { width: 40px; height: 40px; border-radius: 13px; }
  .header-actions { gap: 8px; }
  .header-quick-login { width: 40px; height: 40px; border-radius: 13px; }

  .hero { min-height: 760px; padding-top: 96px; }
  .hero-content { width: 100%; }
  .hero-badge { font-size: 12.5px; padding: 7px 16px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(28px, 8.6vw, 38px); line-height: 1.5; margin-bottom: 14px; }
  .hero-desc { font-size: 15px; line-height: 1.95; margin-bottom: 26px; }
  .hero-actions { gap: 10px; margin-bottom: 22px; }
  .hero-actions a { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }
  .hero-trust { gap: 8px; margin-bottom: 30px; }
  .trust-chip { font-size: 11.5px; padding: 7px 13px; }
  .hero-stats { flex-direction: row; gap: 0; justify-content: space-between; padding: 18px 6px; border-radius: 18px; }
  .stat-item { padding: 2px 8px; min-width: 0; }
  .stat-number { font-size: clamp(20px, 6.6vw, 27px); }
  .stat-label { font-size: 11px; line-height: 1.5; }
  .hero-scroll { display: none; }

  .section-header { margin-bottom: 38px; }
  .section-title { font-size: clamp(24px, 7vw, 30px); }
  .section-desc { font-size: 14px; line-height: 1.85; }

  .features-grid, .services-grid, .smm-grid, .pricing-grid { gap: 18px; }
  .feature-card, .smm-card { padding: 30px 20px 26px; }
  .service-img { height: 190px; }
  .filter-bar { gap: 8px; margin-bottom: 30px; }
  .filter-btn { padding: 9px 15px; font-size: 13px; }
  .smm-grid { grid-template-columns: 1fr; }

  .step-card { padding: 30px 20px 24px; }

  .pricing-card { padding: 34px 20px 26px; }
  .price { font-size: 46px; }
  .pricing-guarantees { margin-top: 40px; padding: 22px 18px; }
  .guarantee-item { align-items: flex-start; gap: 13px; }
  .guarantee-item > i { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }

  .about-content { padding: 28px 22px; }
  .faq-question { padding: 18px 18px; font-size: 15px; }
  .faq-answer p { padding: 0 18px 18px; font-size: 14px; }

  .contact-form { padding: 26px 18px; }
  .contact-info { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 34px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding-bottom: 20px; }

  .modal-overlay { padding: 12px; align-items: flex-start; }
  .modal-box {
    width: 100%;
    max-width: 480px;
    max-height: calc(100dvh - 24px);
    margin: 0 auto;
    padding: 30px 18px 24px;
    border-radius: 22px;
  }
  .modal-close { top: 12px; left: 12px; width: 35px; height: 35px; }
  .modal-header { margin-bottom: 22px; }
  .modal-header h2 { font-size: 22px; }
  .google-btn-custom, .modal-box .btn-primary { min-height: 50px; }
  .modal-box input { min-height: 47px; font-size: 16px; }
  .checkbox-label { align-items: flex-start; line-height: 1.7; }
  .checkbox-label input { min-width: 18px; min-height: 18px; margin-top: 4px; }

  .back-to-top { width: 44px; height: 44px; bottom: 16px; left: 16px; border-radius: 13px; font-size: 16px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .hero { min-height: 720px; }
  .hero-title { font-size: 27px; }
  .stat-label { font-size: 10px; }
  .filter-btn { padding-inline: 10px; font-size: 12.5px; }
  .modal-box { padding-inline: 14px; }
  .trust-chip { font-size: 10.5px; padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
