/* ============================================
   هنا لتسريع الأعمال — Signature Stylesheet
   ============================================ */

:root {
  --bg: #05060a;
  --bg-2: #0a0b14;
  --bg-3: #11121d;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4f8;
  --text-2: #b8bac4;
  --text-3: #7d8090;
  --text-muted: #5a5d6c;

  --violet: #a855f7;
  --violet-deep: #7c3aed;
  --cyan: #22d3ee;
  --gold: #f5b84a;
  --green: #25d366;
  --pink: #ec4899;

  --grad-1: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(34, 211, 238, 0.15));
  --glow-violet: 0 0 60px rgba(168, 85, 247, 0.45);
  --glow-cyan: 0 0 50px rgba(34, 211, 238, 0.35);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1240px;

  --font-ar: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-display: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-en: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--violet); color: #fff; }

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

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Background Layers
   ============================================ */

.bg-mesh {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(236, 72, 153, 0.12), transparent 60%),
    var(--bg);
}

.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.bg-noise {
  position: fixed; inset: 0; z-index: -1;
  opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#particles {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
  pointer-events: none;
  transform: translate3d(-9999px, -9999px, 0);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.3s;
}

@media (hover: none) { .cursor-glow { display: none; } }

/* ============================================
   Top Marquee Bar
   ============================================ */

.top-bar {
  position: relative;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.15), rgba(34, 211, 238, 0.15), rgba(168, 85, 247, 0.15));
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  z-index: 50;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 36px;
  animation: marquee 140s linear infinite;
  width: max-content;
}

.marquee-track-logos {
  gap: 56px;
  animation-duration: 200s;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.top-bar .marquee-track span:not(:nth-child(2n)) {
  color: var(--text);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5, 6, 10, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}

.nav.scrolled {
  background: rgba(5, 6, 10, 0.85);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
}

.logo-mark {
  display: inline-flex;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.4));
  transition: transform 0.4s var(--ease);
}

.logo:hover .logo-mark { transform: rotate(-15deg) scale(1.05); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-ar {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 20px 40px; font-size: 18px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22d3ee, #a855f7, #ec4899);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary > * { position: relative; z-index: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   Hero
   ============================================ */

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

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -100px; right: -100px;
}

.hero-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  bottom: -80px; left: -100px;
  animation-delay: -8s;
}

.hero-orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #ec4899, transparent 70%);
  top: 40%; left: 45%;
  animation-delay: -4s;
  opacity: 0.3;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.line-sub {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-2);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  /* tiny extra padding prevents gradient clipping on descenders */
  padding-bottom: 0.05em;
}

.hero-desc {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-desc strong {
  color: var(--text);
  font-weight: 700;
}

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

.hero-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-item strong {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.trust-item span {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 4px;
}

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

.hero-scroll {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 600;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--violet), transparent);
  animation: scroll-line 2.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   Logo Strip
   ============================================ */

.logo-strip {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.logo-strip-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.logo-chip:hover {
  background: var(--surface-2);
  border-color: var(--violet);
  color: var(--text);
  transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3), transparent);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.section-head-start {
  text-align: start;
  margin-right: auto;
  margin-left: 0;
}

.kicker {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-2);
  line-height: 1.75;
}

/* ============================================
   Capabilities Grid
   ============================================ */

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

.cap-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--grad-1);
  border-radius: var(--radius);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
  filter: blur(20px);
}

.cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  background: var(--surface-2);
}

.cap-card:hover::before { opacity: 0.5; }

.cap-card-feature {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(34, 211, 238, 0.05));
  border-color: rgba(168, 85, 247, 0.3);
}

.cap-feature-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: var(--grad-1);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.cap-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--violet);
  transition: transform 0.4s var(--ease), color 0.3s;
}

.cap-card:hover .cap-icon {
  transform: rotate(-8deg) scale(1.1);
  color: var(--cyan);
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cap-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Works Grid
   ============================================ */

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

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.4s;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.work-card-wide { grid-column: span 1; }
@media (min-width: 900px) { .work-card-wide { grid-column: span 3; } .work-card-wide .work-thumb { height: 400px; } }

.work-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-6px);
}

.work-thumb {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1020, #1a1535);
}

/* Fallback gradient (always shown, behind screenshot/iframe) */
.work-thumb-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: 200% 200%;
  background-position: 0% 0%;
}

/* Screenshot — primary thumbnail (always shown, reliable) */
.work-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease, transform 1.4s var(--ease);
  transform: scale(1.02);
}

.work-screenshot.loaded { opacity: 1; }
.work-card:hover .work-screenshot.loaded { transform: scale(1.06); }

.work-thumb-fallback-1 { background-image: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f59e0b 100%); }
.work-thumb-fallback-2 { background-image: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a855f7 100%); }
.work-thumb-fallback-3 { background-image: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%); }
.work-thumb-fallback-4 { background-image: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 50%, #6366f1 100%); }
.work-thumb-fallback-5 { background-image: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #22d3ee 100%); }
.work-thumb-fallback-6 { background-image: linear-gradient(135deg, #22d3ee 0%, #14b8a6 50%, #84cc16 100%); }
.work-thumb-fallback-7 { background-image: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 30%, #22d3ee 60%, #ec4899 100%); }

.work-thumb iframe {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 2;
  background: transparent;
  opacity: 0;
  transition: opacity 0.6s ease, transform 1.4s var(--ease);
}

.work-thumb iframe.loaded { opacity: 1; }

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, 0.85));
  z-index: 3;
  pointer-events: none;
}

.work-thumb-label {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 4;
  background: rgba(5, 6, 10, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-card:hover .work-thumb iframe { transform: scale(0.5) translateY(-8%); }

.work-info {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.work-info h3 {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.work-info p {
  font-size: 13px;
  color: var(--text-3);
}

.work-arrow {
  font-size: 22px;
  color: var(--text-3);
  transition: transform 0.4s var(--ease), color 0.3s;
}

[dir="rtl"] .work-arrow { transform: scaleX(-1); }

.work-card:hover .work-arrow {
  color: var(--violet);
  transform: scaleX(-1) translateX(-4px);
}

/* ============================================
   Process Timeline
   ============================================ */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  position: relative;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
}

.process-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 18px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================
   Pricing
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.6;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
}

.price-card-featured {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(34, 211, 238, 0.06));
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-card-featured::before {
  background: var(--grad-1);
  height: 5px;
  opacity: 1;
}

.price-badge {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  background: var(--grad-1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}

.price-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.price-head p {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 28px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.price-currency {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-2);
}

.price-value {
  font-family: var(--font-en);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 13px;
  color: var(--text-3);
  margin-inline-start: 8px;
  font-weight: 600;
}

.price-eta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--cyan);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
}

.price-card-featured .price-eta {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.price-features li:last-child { border-bottom: 0; }

.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.price-features li strong { color: var(--text); }

.price-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 720px;
  margin-inline: auto;
}

/* ============================================
   Guarantee
   ============================================ */

.guarantee {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.guarantee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(168, 85, 247, 0.18), transparent 70%);
  pointer-events: none;
}

.guarantee-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.guarantee-icon { flex-shrink: 0; }

.guarantee-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.guarantee-text p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
}

.guarantee-text strong { color: var(--text); font-weight: 800; }

/* ============================================
   Why Us
   ============================================ */

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

.why-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  background: var(--surface-2);
}

.why-num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ============================================
   Stats
   ============================================ */

.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.stat-unit {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--text-2);
  font-weight: 700;
  margin-inline-start: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 8px;
  font-weight: 600;
}

/* ============================================
   FAQ
   ============================================ */

.faq-wrap {
  max-width: 880px;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-item[open] {
  border-color: rgba(168, 85, 247, 0.35);
  background: var(--surface-2);
}

.faq-item summary {
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 1;
  color: var(--violet);
  transition: transform 0.4s var(--ease), color 0.3s;
  font-weight: 300;
}

.faq-item[open] summary::after { transform: rotate(45deg); color: var(--cyan); }

.faq-item p {
  padding: 0 26px 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.final-cta-inner { position: relative; z-index: 1; }

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.final-cta p {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 580px;
  margin-inline: auto;
}

.final-phone {
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.05em;
  direction: ltr;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 18px; }

.footer-brand p {
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 420px;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: 0.05em;
}

.footer-col a, .footer-col span {
  display: block;
  padding: 6px 0;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--violet); }

.footer-base {
  padding: 24px 0;
}

.footer-base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 90;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.wa-float:hover {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.6);
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

/* ============================================
   Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   Responsive — Mobile First Refinements
   ============================================ */

@media (max-width: 1024px) {
  .cap-grid, .why-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .work-card-wide { grid-column: span 2 !important; }
  .work-card-wide .work-thumb { height: 320px; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }

  .top-bar { padding: 8px 0; font-size: 12px; }

  .nav-inner { padding: 12px 18px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .logo-ar { font-size: 19px; }
  .logo-sub { font-size: 10px; }

  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    flex-direction: column;
    background: rgba(5, 6, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px 28px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 80px;
    min-height: auto;
  }
  .hero-orb { filter: blur(60px); opacity: 0.4; }
  .hero-orb-1 { width: 340px; height: 340px; top: -80px; right: -80px; }
  .hero-orb-2 { width: 300px; height: 300px; bottom: -60px; left: -60px; }
  .hero-orb-3 { display: none; }

  .hero-badge { font-size: 12px; padding: 7px 14px; margin-bottom: 22px; }
  .hero-desc { margin-bottom: 32px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
    margin-bottom: 44px;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 16px 22px;
    font-size: 16px;
  }
  .hero-trust {
    gap: 18px 24px;
    padding-top: 28px;
  }
  .trust-item strong { font-size: 22px; }
  .trust-item span { font-size: 12px; }
  .trust-divider { display: none; }
  .hero-scroll { display: none; }

  .section-head { margin-bottom: 44px; }
  .section-title { font-size: clamp(28px, 7vw, 38px); }
  .kicker { font-size: 11px; letter-spacing: 0.18em; }

  .cap-grid, .why-grid, .works-grid, .pricing-grid, .footer-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cap-card, .why-card { padding: 26px 22px; }
  .process-list { grid-template-columns: 1fr; gap: 14px; }
  .process-step { padding: 24px 22px; }
  .work-card-wide { grid-column: span 1 !important; }
  .work-thumb { height: 240px; }
  .work-info { padding: 18px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  .logo-strip { padding: 36px 0 26px; }
  .logo-chip { font-size: 15px; padding: 10px 18px; }

  .guarantee { padding: 70px 0; }
  .guarantee-inner { flex-direction: column; text-align: center; gap: 22px; }
  .guarantee-icon svg { width: 64px; height: 64px; }
  .guarantee-text p { font-size: 15.5px; }

  .price-card { padding: 32px 22px; border-radius: 22px; }
  .price-card-featured { order: -1; }
  .price-amount { gap: 4px; }
  .price-value { font-size: 56px; }
  .price-currency { font-size: 24px; }
  .price-features li { padding: 9px 0; font-size: 14.5px; }
  .price-badge { top: 18px; inset-inline-end: 18px; font-size: 11px; padding: 6px 12px; }

  .faq-item summary { padding: 18px 20px; font-size: 15.5px; gap: 12px; }
  .faq-item summary::after { font-size: 24px; }
  .faq-item p { padding: 0 20px 20px; font-size: 14.5px; }

  .final-cta { padding: 90px 0; }
  .final-cta .btn-xl { padding: 18px 28px; font-size: 16px; width: 100%; max-width: 380px; }
  .final-phone { font-size: 17px; }

  .footer { padding: 56px 0 0; }
  .footer-inner { padding-bottom: 36px; gap: 36px; }
  .footer-cols { gap: 24px; }
  .footer-base-inner { justify-content: center; text-align: center; font-size: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  .hero-title { font-size: clamp(34px, 11vw, 46px); line-height: 1.08; }
  .line-sub { font-size: clamp(17px, 5vw, 22px); }
  .hero-badge { font-size: 11.5px; }

  .logo-sub { display: none; }
  .logo-ar { font-size: 22px; }

  .top-bar { font-size: 11px; padding: 7px 0; }
  .marquee-track { gap: 24px; }

  .cap-card h3, .why-card h3 { font-size: 18px; }
  .cap-card p, .why-card p { font-size: 14px; }

  .work-thumb { height: 200px; }
  .work-info h3 { font-size: 17px; }
  .work-info p { font-size: 12.5px; }

  .price-head h3 { font-size: 21px; }
  .price-value { font-size: 50px; }
  .price-card { padding: 28px 20px; }

  .stat-num { font-size: 36px; }
  .stat-unit { font-size: 18px; }

  .wa-float { width: 56px; height: 56px; bottom: 16px; inset-inline-end: 16px; }
  .wa-float svg { width: 26px; height: 26px; }

  .guarantee-text h2 { font-size: 26px; }
  .guarantee-text p { font-size: 14.5px; }

  .final-cta h2 { font-size: clamp(28px, 8vw, 38px); }
  .final-cta p { font-size: 15px; }
}
