/* =============================================
   NAGRIVA – موقع العلامة الشخصية (عربي)
   تصميم: رضوان
   ============================================= */

/* ── RESET & TOKENS ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --teal: #0ea5e9;
  --grad-main: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --grad-text: linear-gradient(135deg, #a855f7, #60a5fa);

  /* Dark mode (default) */
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(124, 58, 237, 0.4);

  --text-primary: #f0f0f8;
  --text-secondary: #9090b0;
  --text-muted: #606080;

  --nav-bg: rgba(10, 10, 15, 0.6);
  --nav-bg-scrolled: rgba(10, 10, 15, 0.88);
  --nav-border-scrolled: rgba(255,255,255,0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
}

/* ── LIGHT MODE OVERRIDES ── */
body.light-mode {
  --bg: #f4f4f8;
  --bg-surface: #eaeaf0;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(124, 58, 237, 0.4);

  --text-primary: #111118;
  --text-secondary: #4a4a6a;
  --text-muted: #8080a0;

  --nav-bg: rgba(244, 244, 248, 0.6);
  --nav-bg-scrolled: rgba(244, 244, 248, 0.92);
  --nav-border-scrolled: rgba(0,0,0,0.08);

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hidden { display: none !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-service {
  width: 100%;
  justify-content: center;
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 14px;
  margin-top: auto;
}
.btn-service:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-1px);
}

.btn-service-featured {
  width: 100%;
  justify-content: center;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 14px;
  margin-top: auto;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}
.btn-service-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.6);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 28px;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
}

/* ── SECTION COMMON ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.label-white {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   NAVBAR – FLOATING PILL
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  height: 58px;
  z-index: 1000;
  background: rgba(13, 13, 20, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(124,58,237,0.08) inset;
  transition: background 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              top 0.35s cubic-bezier(0.4,0,0.2,1),
              width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.navbar.scrolled {
  top: 10px;
  width: calc(100% - 64px);
  background: rgba(10, 10, 15, 0.88);
  border-color: rgba(124, 58, 237, 0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(124,58,237,0.12) inset,
              0 0 60px rgba(124,58,237,0.06);
}

body.light-mode .navbar {
  background: rgba(244, 244, 250, 0.78);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
body.light-mode .navbar.scrolled {
  background: rgba(240, 240, 248, 0.94);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── Logo ── */
.nav-logo { text-decoration: none; flex-shrink: 0; display: flex; align-items: center; }

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.nav-logo:hover .logo-img {
  transform: scale(1.08);
  filter: brightness(1.35) drop-shadow(0 0 8px rgba(124,58,237,0.6));
}

/* ── Nav Links ── */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.nav-link:hover {
  color: #fff;
}
.nav-link:hover::before {
  opacity: 0.12;
}

.nav-link.active {
  color: #fff;
  background: rgba(124,58,237,0.18);
}
.nav-link.active::before {
  opacity: 0.15;
}

/* Active dot indicator */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 6px var(--purple-light);
}

/* ── Divider between links and actions ── */
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 4px;
}

/* ── Nav Actions (icons + CTA + hamburger) ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ── Icon Buttons (search, theme) ── */
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.nav-icon-btn:hover {
  color: var(--text-primary);
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-1px);
}
.nav-icon-btn:active { transform: scale(0.93); }

/* Theme toggle spin animation */
.theme-toggle i {
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}
.theme-toggle.spinning i {
  transform: rotate(360deg);
}

/* ── CTA Button ── */
.nav-cta {
  text-decoration: none;
  background: var(--grad-main);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  padding: 8px 20px;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4),
              0 0 0 1px rgba(124,58,237,0.3) inset;
  white-space: nowrap;
  letter-spacing: 0;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.6),
              0 0 0 1px rgba(168,85,247,0.4) inset;
  filter: brightness(1.08);
}
.nav-cta:active { transform: scale(0.97); }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 9px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav-toggle:hover {
  border-color: rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.06);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   SEARCH MODAL
══════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-modal {
  width: 100%;
  max-width: 620px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(124,58,237,0.2);
  transform: translateY(-20px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity 0.3s ease;
  margin: 0 16px;
}
.search-overlay.open .search-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.search-icon-inner {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
}
.search-input::placeholder { color: var(--text-muted); }

.search-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.search-close-btn:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}

.search-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 12px 8px;
}

.search-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 20px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-hint i { color: var(--purple-light); }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  color: var(--text-primary);
}
.search-result-item:hover {
  background: rgba(124,58,237,0.08);
}
.search-result-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.search-result-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-light);
  background: rgba(124,58,237,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}
.search-no-results {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 24px 12px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -150px; right: -150px;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: 4s;
}
.blob-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -100px; left: 10%;
  animation-delay: 2s;
}
.blob-4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  bottom: -100px; right: 10%;
  animation-delay: 6s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  width: fit-content;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-light);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 480px;
}
.hero-desc strong { color: var(--text-primary); }

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-number {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

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

.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.mockup-browser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: floatUp 6s ease-in-out infinite;
  direction: ltr;
}

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

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: monospace;
}

.browser-screen {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}

.screen-hero-bar {
  height: 80px;
  background: var(--grad-main);
  border-radius: var(--radius-sm);
  opacity: 0.8;
}

.screen-nav {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  width: 70%;
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.screen-card {
  height: 50px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.screen-lines { display: flex; flex-direction: column; gap: 6px; }
.screen-line {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
}
.screen-line.w-80 { width: 80%; }
.screen-line.w-60 { width: 60%; }
.screen-line.w-70 { width: 70%; }

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.floating-card i { font-size: 16px; }

.card-1 { top: -16px; left: -16px; animation: floatCard 4s ease-in-out infinite; }
.card-1 i { color: #22c55e; }
.card-2 { bottom: 50px; right: -30px; animation: floatCard 5s ease-in-out infinite 1s; }
.card-2 i { color: var(--blue-light); }
.card-3 { bottom: -16px; left: 20px; animation: floatCard 4.5s ease-in-out infinite 0.5s; }
.card-3 i { color: #fbbf24; }

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

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  z-index: 1;
  font-weight: 600;
}

.bounce { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services {
  padding: 120px 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card--featured {
  background: linear-gradient(180deg, rgba(124,58,237,0.12) 0%, var(--bg-card) 100%);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.15), var(--shadow-md);
}
.service-card--featured:hover {
  border-color: rgba(124, 58, 237, 0.6);
}

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.icon-purple { background: rgba(124,58,237,0.15); color: var(--purple-light); border: 1px solid rgba(124,58,237,0.25); }
.icon-blue   { background: rgba(37,99,235,0.15);  color: var(--blue-light);   border: 1px solid rgba(37,99,235,0.25); }
.icon-teal   { background: rgba(14,165,233,0.15); color: #38bdf8;             border: 1px solid rgba(14,165,233,0.25); }

.service-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  padding: 4px 14px;
  border-radius: 50px;
  width: fit-content;
}

.service-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.service-features li i { color: #22c55e; font-size: 12px; flex-shrink: 0; }

/* ══════════════════════════════════════
   WHY ME
══════════════════════════════════════ */
.why-me {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.why-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(124,58,237,0.1);
}

.why-icon {
  width: 44px; height: 44px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--purple-light);
}

.why-card h4 { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.why-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ══════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════ */
.portfolio { padding: 120px 0; }

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

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

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.portfolio-card.hide { display: none; }

.portfolio-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
}

.portfolio-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.07);
}

/* Video badge */
.video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  padding: 4px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}
.video-badge i { color: #ff4444; font-size: 14px; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay { gap: 12px; }

.overlay-btn {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.overlay-btn:hover { transform: scale(1.12); background: #fff; }

/* Play button variant — red accent */
.overlay-btn--play {
  background: #ff0000;
  color: #fff;
  font-size: 18px;
  padding-right: 2px; /* optical center for play icon */
}
.overlay-btn--play:hover { background: #cc0000; transform: scale(1.15); }

/* Portfolio mockups */
.portfolio-mockup { width: 80%; position: relative; z-index: 1; direction: ltr; }

.web-mockup {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.pm-bar { display: flex; gap: 5px; padding: 8px 12px; background: rgba(0,0,0,0.2); }
.pm-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.pm-content { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.pm-nav { height: 8px; background: rgba(255,255,255,0.25); border-radius: 4px; width: 60%; }
.pm-hero { height: 40px; background: rgba(255,255,255,0.15); border-radius: 4px; }

.video-mockup { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.play-btn {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.video-bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.video-bars div {
  width: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  animation: audioBars 1.2s ease-in-out infinite;
}
.video-bars div:nth-child(1) { height: 40%; animation-delay: 0s; }
.video-bars div:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.video-bars div:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.video-bars div:nth-child(4) { height: 100%; animation-delay: 0.1s; }
.video-bars div:nth-child(5) { height: 50%; animation-delay: 0.3s; }
@keyframes audioBars {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

.blog-mockup { width: 75%; }
.blog-lines {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
}
.bl-title { height: 14px; background: rgba(255,255,255,0.35); border-radius: 4px; width: 65%; }
.bl-line  { height: 8px;  background: rgba(255,255,255,0.2);  border-radius: 4px; }
.bl-line.w-full { width: 100%; }
.bl-line.w-80   { width: 80%; }
.bl-line.w-90   { width: 90%; }
.bl-line.w-70   { width: 70%; }

.portfolio-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  background: rgba(124,58,237,0.12);
  padding: 3px 12px;
  border-radius: 4px;
  width: fit-content;
}
.portfolio-info h4 { font-size: 16px; font-weight: 800; color: var(--text-primary); line-height: 1.4; }
.portfolio-info p  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}
.testi-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.testi-card--featured {
  background: linear-gradient(180deg, rgba(124,58,237,0.1) 0%, var(--bg-card) 100%);
  border-color: rgba(124,58,237,0.3);
}

.testi-stars { display: flex; gap: 3px; color: #fbbf24; font-size: 14px; }

.testi-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  flex: 1;
}

.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 15px; font-weight: 800; color: var(--text-primary); }
.testi-author span   { font-size: 13px; color: var(--text-muted); }

/* ══════════════════════════════════════
   CTA / CONTACT
══════════════════════════════════════ */
.cta-section {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

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

/* Section header */
.contact-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.cta-highlight {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
}

/* Two-column layout */
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

/* ── Info Panel ── */
.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.contact-info-panel::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.contact-info-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 8px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-icon-wrap.icon-purple { background: rgba(124,58,237,0.15); color: var(--purple-light); }
.contact-info-icon-wrap.icon-green  { background: rgba(37,211,102,0.12); color: #25d366; }
.contact-info-icon-wrap.icon-blue   { background: rgba(37,99,235,0.15);  color: var(--blue-light); }

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}
.contact-info-value:hover { color: var(--purple-light); }

.contact-trust-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.contact-trust-item i { color: #22c55e; font-size: 14px; }

.contact-wa-btn-wrap { margin-top: auto; }
.btn-wa-full {
  width: 100%;
  justify-content: center;
}

/* ── Form Panel ── */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: right;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(37,99,235,0.04) 100%);
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-group label i {
  color: var(--purple-light);
  font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'Cairo', sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  resize: vertical;
  text-align: right;
  direction: rtl;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: rgba(124,58,237,0.07);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.13);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-privacy-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: -6px;
}
.form-privacy-note i { color: #22c55e; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}
.form-success i    { font-size: 56px; color: #22c55e; }
.form-success h3   { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.form-success p    { color: var(--text-secondary); }

/* legacy contact-alts kept for fallback */
.contact-alts {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 600;
}

.contact-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-alt-link:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(124,58,237,0.08);
}
.contact-alt-link .fa-whatsapp { color: #25d366; }
.contact-alt-link .fa-envelope  { color: var(--blue-light); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 64px;
}

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

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

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

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

.social-link {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-tagline i { color: #ef4444; }

/* ══════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 44px; height: 44px;
  background: var(--grad-main);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(124,58,237,0.6); }

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE – TABLET (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-content { align-items: center; }
  .hero-desc { margin: 0 auto; }
  .hero-visual { justify-content: center; }
  .mockup-wrapper { max-width: 400px; }
  .hero-stats { justify-content: center; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }

  .why-inner { grid-template-columns: 1fr; gap: 60px; }
  .why-left { text-align: center; align-items: center; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

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

/* ══════════════════════════════════════
   RESPONSIVE – MOBILE (≤768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar {
    top: 10px;
    width: calc(100% - 24px);
    height: 54px;
    border-radius: 16px;
  }
  .navbar.scrolled {
    top: 6px;
    width: calc(100% - 32px);
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 12px; right: 12px;
    background: rgba(13, 13, 20, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    flex-direction: column;
    padding: 16px 12px;
    gap: 4px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.1) inset;
    transform: translateY(-16px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
    pointer-events: none;
  }
  body.light-mode .nav-links {
    background: rgba(244, 244, 250, 0.96);
    border-color: rgba(0,0,0,0.09);
  }
  .nav-links.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    text-align: center;
    padding: 11px 16px;
    font-size: 15px;
    border-radius: var(--radius-md);
  }
  .nav-link::after { display: none; }
  .nav-divider { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Mobile: show CTA inside nav-links menu */
  .nav-links .mobile-cta {
    display: block;
    text-align: center;
    background: var(--grad-main);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    margin-top: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35);
  }

  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: clamp(30px, 8vw, 46px); }
  .hero-actions { justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }

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

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-panel { padding: 32px 24px; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .scroll-top { bottom: 20px; left: 20px; }

  /* Search modal full-width on mobile */
  .search-overlay { padding-top: 80px; }
  .search-modal { margin: 0 12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; align-items: center; }
  .stat-divider { display: none; }

  /* Hide icon label texts if any, keep icons only */
  .nav-icon-btn { width: 36px; height: 36px; font-size: 14px; }
}

/* ══════════════════════════════════════
   ABOUT ME
══════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.about-image-col {
  display: flex;
  justify-content: center;
}

.about-img-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.about-img-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(37,99,235,0.2) 100%);
  border: 3px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  color: rgba(124,58,237,0.5);
  position: relative;
  z-index: 1;
  margin: 10px auto 0;
}

.about-img-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(124,58,237,0.25);
  animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-badge-float {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-light);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 2;
}
.about-badge-float i { font-size: 15px; color: #fbbf24; }

.about-exp-float {
  position: absolute;
  top: 10px;
  left: -20px;
  background: var(--grad-main);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  z-index: 2;
  min-width: 60px;
  text-align: center;
}
.about-exp-num  { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; }
.about-exp-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8); }

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-story {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.about-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-bullets li i {
  color: #22c55e;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-bullets li span { flex: 1; }

/* ══════════════════════════════════════
   MID-CTA STRIPS
══════════════════════════════════════ */
.mid-cta {
  padding: 48px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mid-cta--accent {
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(37,99,235,0.08) 100%);
  border-color: rgba(124,58,237,0.2);
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mid-cta-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  flex: 1;
  min-width: 200px;
}

.mid-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.how-it-works {
  padding: 120px 0;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: var(--transition);
  position: relative;
}

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

.step-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--purple-light);
}

.step-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: rgba(124,58,237,0.4);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 60px;
}

/* ══════════════════════════════════════
   PRICING
══════════════════════════════════════ */
.pricing {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.pricing-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
.pricing-tab:hover,
.pricing-tab.active {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

.pricing-cards-wrap {
  display: none;
}
.pricing-cards-wrap.active {
  display: block;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
  position: relative;
}

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

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(124,58,237,0.14) 0%, var(--bg-card) 100%);
  border-color: rgba(124,58,237,0.45);
  box-shadow: 0 0 0 1px rgba(124,58,237,0.2), var(--shadow-md);
  transform: translateY(-8px);
}
.pricing-card--featured:hover {
  transform: translateY(-14px);
  border-color: rgba(124,58,237,0.7);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-main);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(124,58,237,0.4);
}

.pricing-plan-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-from {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: #22c55e;
  font-size: 12px;
  flex-shrink: 0;
}

.pricing-delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-light);
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.15);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pricing-note i { color: var(--blue-light); margin-left: 4px; }
.pricing-note a { color: var(--purple-light); text-decoration: none; font-weight: 700; }
.pricing-note a:hover { color: var(--text-primary); }

/* ══════════════════════════════════════
   TRUST BADGES
══════════════════════════════════════ */
.trust-section {
  padding: 36px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.trust-badge:hover { color: var(--text-primary); }

.trust-badge i {
  font-size: 18px;
  color: var(--purple-light);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   PRE-CONTACT CTA
══════════════════════════════════════ */
.pre-contact-cta {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pre-contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pre-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.pre-cta-icon {
  width: 72px;
  height: 72px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--purple-light);
}

.pre-cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
}

.pre-cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.pre-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1dbc5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

.pre-cta-reassure {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.pre-cta-reassure span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pre-cta-reassure i { color: var(--purple-light); }

/* ══════════════════════════════════════
   WHATSAPP CONTACT ALT
══════════════════════════════════════ */
.contact-alt-whatsapp {
  border-color: rgba(37,211,102,0.3) !important;
}
.contact-alt-whatsapp:hover {
  background: rgba(37,211,102,0.08) !important;
  border-color: rgba(37,211,102,0.5) !important;
}

/* ══════════════════════════════════════
   PORTFOLIO MODAL
══════════════════════════════════════ */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.portfolio-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(124,58,237,0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.portfolio-modal.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.modal-body { display: flex; flex-direction: column; gap: 24px; }

.modal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  background: rgba(124,58,237,0.12);
  padding: 4px 14px;
  border-radius: 4px;
  width: fit-content;
}

.modal-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.35;
}

.modal-case {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-case-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-case-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal-case-label.problem i { color: #ef4444; }
.modal-case-label.solution i { color: #fbbf24; }
.modal-case-label.result  i { color: #22c55e; }

.modal-case-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-right: 26px;
}

.modal-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════
   RESPONSIVE ADDITIONS – TABLET
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-image-col { order: -1; }
  .about-content { text-align: center; align-items: center; }
  .about-bullets li { justify-content: flex-start; }

  .steps-row {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  .step-connector { display: none; }
  .step-card { max-width: 220px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-6px); }

  .contact-layout { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

  .mid-cta-inner { flex-direction: column; text-align: center; }
  .mid-cta-text { text-align: center; }

  .trust-badge { padding: 10px 16px; font-size: 13px; }
  .trust-divider { display: none; }
  .trust-badges { gap: 4px; }

  .pre-cta-actions { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════
   RESPONSIVE ADDITIONS – MOBILE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .about { padding: 80px 0; }
  .about-img-wrap { width: 220px; height: 220px; }
  .about-img-circle { width: 200px; height: 200px; font-size: 70px; }
  .about-badge-float { right: -10px; font-size: 12px; padding: 8px 12px; }
  .about-exp-float { left: -10px; }

  .how-it-works { padding: 80px 0; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-card { max-width: 100%; width: 100%; }

  .pricing { padding: 80px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 22px; }

  .pre-contact-cta { padding: 72px 0; }
  .pre-cta-reassure { gap: 16px; }

  .modal-box { padding: 32px 24px; }
  .modal-close { top: 16px; left: 16px; }

  .btn-whatsapp { padding: 13px 22px; font-size: 14px; }

  .mid-cta { padding: 36px 0; }
  .mid-cta-text { font-size: 17px; }
}

@media (max-width: 520px) {
  .trust-badges { flex-direction: column; align-items: center; }
  .pre-cta-actions .btn { width: 100%; justify-content: center; }
  .mid-cta-actions .btn { width: 100%; justify-content: center; }
  .mid-cta-actions { width: 100%; }
  .about-img-wrap { width: 180px; height: 180px; }
  .about-img-circle { width: 160px; height: 160px; font-size: 56px; }
  .about-badge-float { display: none; }
  .about-exp-float { top: 0; left: 0; }
  .modal-case-text { padding-right: 0; }
}

/* ══════════════════════════════════════
   HERO URGENCY
══════════════════════════════════════ */
.hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  width: fit-content;
  animation: pulseUrgency 2.5s ease-in-out infinite;
}
.hero-urgency i { font-size: 14px; }

@keyframes pulseUrgency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0); }
  50% { box-shadow: 0 0 0 6px rgba(251, 146, 60, 0); }
}

/* ══════════════════════════════════════
   OFFERS SECTION
══════════════════════════════════════ */
.offers {
  padding: 120px 0;
}

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

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: var(--transition);
}
.offer-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.offer-card--featured {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, var(--bg-card) 100%);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15), var(--shadow-md);
}
.offer-card--featured:hover {
  border-color: rgba(37, 99, 235, 0.65);
}

.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.offer-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.offer-result-badge--blue {
  color: var(--blue-light);
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.25);
}
.offer-result-badge--teal {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

.offer-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.offer-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.offer-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.offer-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.offer-includes li i {
  color: #22c55e;
  font-size: 12px;
  flex-shrink: 0;
}

.offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.offer-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.offer-meta-item i { color: var(--purple-light); font-size: 13px; }

.offer-price-badge {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.offer-price-badge strong {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

/* ══════════════════════════════════════
   RESULTS / METRICS SECTION
══════════════════════════════════════ */
.results-section {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: var(--transition);
}
.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.metric-card--featured {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, var(--bg-card) 100%);
  border-color: rgba(124, 58, 237, 0.3);
}

.metric-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--purple-light);
}

.metric-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.metric-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.4;
}

.metric-before-after {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.metric-ba-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  min-width: 70px;
}

.ba-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-ba-item.before .ba-label { color: #ef4444; }
.metric-ba-item.after  .ba-label { color: #22c55e; }

.ba-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.metric-ba-arrow {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   STICKY MOBILE CTA
══════════════════════════════════════ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-mobile-cta.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 15px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* ══════════════════════════════════════
   RESPONSIVE – OFFERS & METRICS
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .offers-grid { grid-template-columns: 1fr 1fr; }
  .offer-card:last-child { grid-column: 1 / -1; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .offers { padding: 80px 0; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card:last-child { grid-column: auto; }
  .results-section { padding: 80px 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .metric-card { padding: 24px 16px; }
  .metric-number { font-size: 38px; }
  .sticky-mobile-cta { display: flex; }
  /* pad content so sticky CTA doesn't overlap footer */
  .footer { padding-bottom: 80px; }
}

@media (max-width: 520px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .offer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ══════════════════════════════════════
   VIDEO MODAL
══════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-modal.open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-box {
  position: relative;
  z-index: 1;
  width: min(900px, 94vw);
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255,255,255,0.06);
  transform: scale(0.88) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.video-modal.open .video-modal-box {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.video-modal-player {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}
.video-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ══════════════════════════════════════
   PORTFOLIO MOBILE ENHANCEMENTS
══════════════════════════════════════ */
@media (max-width: 768px) {
  .portfolio-img { height: 190px; }
  .portfolio-grid { gap: 16px; }
  .portfolio-info { padding: 16px 18px 18px; }
  .portfolio-info h4 { font-size: 15px; }
  .video-badge { font-size: 11px; padding: 3px 10px; top: 10px; right: 10px; }
}

@media (max-width: 520px) {
  .portfolio-img { height: 200px; }
  .portfolio-grid { gap: 14px; }
  .overlay-btn { width: 44px; height: 44px; font-size: 15px; }
  .video-modal-box { border-radius: 10px; }
}

/* ══════════════════════════════════════
   TRUSTED CLIENTS SECTION
══════════════════════════════════════ */
.trusted-clients {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 60px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.brand-logo:hover {
  border-color: var(--border-hover);
  color: var(--text-secondary);
  transform: translateY(-2px);
}
.brand-logo i { font-size: 15px; color: var(--purple-light); }

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

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
  position: relative;
}
.client-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.client-card--featured {
  background: linear-gradient(180deg, rgba(124,58,237,0.1) 0%, var(--bg-card) 100%);
  border-color: rgba(124,58,237,0.35);
}

.client-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.client-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(124,58,237,0.35);
  flex-shrink: 0;
}

.client-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.client-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.client-role {
  font-size: 12px;
  color: var(--text-muted);
}

.stars-row {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}
.stars-row i { color: #fbbf24; font-size: 12px; }

.client-quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}
.client-quote strong { color: var(--text-primary); }

.result-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  color: #22c55e;
  width: fit-content;
}
.result-pill i { font-size: 12px; }

@media (max-width: 900px) {
  .clients-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .trusted-clients { padding: 72px 0; }
  .brands-row { margin: 28px 0 44px; }
  .client-card { padding: 22px; }
}

/* ══════════════════════════════════════
   CASE STUDY BUTTON (PORTFOLIO CARDS)
══════════════════════════════════════ */
.btn-case-study {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}
.btn-case-study:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

/* ══════════════════════════════════════
   SPECIAL OFFER SECTION
══════════════════════════════════════ */
.special-offer {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.special-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.special-offer-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.offer-fire-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  color: #f87171;
  animation: pulseUrgency 2.5s ease-in-out infinite;
}
.offer-fire-badge i { font-size: 14px; }

.special-offer-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.35;
}

.special-offer-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.special-offer-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.special-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}
.special-point i { color: #22c55e; font-size: 14px; flex-shrink: 0; }

.urgency-spots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: #fb923c;
}
.urgency-spots i { font-size: 14px; }
.urgency-spots strong { color: #f97316; }

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.countdown-label-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 72px;
}

.cd-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--purple-light);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  font-family: 'Cairo', sans-serif;
}

.cd-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd-sep {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-offer-main {
  font-size: 17px;
  padding: 18px 44px;
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5);
}
.btn-offer-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.65);
}

.offer-guarantee-note {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.offer-guarantee-note i { color: #22c55e; }

@media (max-width: 768px) {
  .special-offer { padding: 72px 0; }
  .special-offer-points { grid-template-columns: 1fr; }
  .cd-unit { min-width: 60px; padding: 12px 14px; }
  .cd-num { font-size: 26px; }
}

/* ══════════════════════════════════════
   LEAD CAPTURE SECTION
══════════════════════════════════════ */
.lead-capture {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lead-capture-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lead-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--purple-light);
}

.lead-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.3;
}

.lead-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.7;
}

.lead-form { width: 100%; }

.lead-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.lead-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: var(--text-primary);
  direction: rtl;
  transition: var(--transition);
  outline: none;
}
.lead-input::placeholder { color: var(--text-muted); }
.lead-input:focus {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.lead-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
}
.lead-success i { font-size: 18px; }

.lead-note {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lead-note i { color: var(--purple-light); }

@media (max-width: 600px) {
  .lead-row { flex-direction: column; }
  .lead-capture { padding: 60px 0; }
}

/* ══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  left: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Cairo', sans-serif;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1db954;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}
.whatsapp-float i { font-size: 20px; }

.wa-float-label {
  font-size: 14px;
  white-space: nowrap;
}

@keyframes waFloat {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 520px) {
  .whatsapp-float { bottom: 84px; left: 16px; padding: 12px 16px; }
  .wa-float-label { display: none; }
  .whatsapp-float { border-radius: 50%; width: 54px; height: 54px; justify-content: center; padding: 0; }
}

/* ══════════════════════════════════════
   ENHANCED MICRO-INTERACTIONS
══════════════════════════════════════ */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.btn-primary:hover::after { opacity: 1; }

.client-card,
.testi-card {
  cursor: default;
}

/* Smooth scale for portfolio cards on hover */
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.06);
}
.portfolio-img img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
