/* ═══════════════════════════════════════════
   VELIX_CODE — style.css
   Dark neon theme · blue → purple
═══════════════════════════════════════════ */

:root {
  --bg: #07070f;
  --bg-2: #0b0b18;
  --card: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --blue: #3b82f6;
  --indigo: #6366f1;
  --purple: #a855f7;
  --text: #eef0ff;
  --muted: #9aa0b8;
  --grad: linear-gradient(135deg, var(--blue), var(--purple));
  --radius: 16px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ═══════════ LIGHT THEME ═══════════ */
html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --card: rgba(15, 23, 42, 0.035);
  --card-border: rgba(15, 23, 42, 0.09);
  --text: #12142b;
  --muted: #565c78;
}
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] .navbar.scrolled {
  background: rgba(246, 247, 251, 0.82);
  box-shadow: 0 8px 30px rgba(20, 20, 50, 0.08);
}
html[data-theme="light"] .nav-links {
  background: rgba(255, 255, 255, 0.97);
}
html[data-theme="light"] .review-card p,
html[data-theme="light"] .contact-list li { color: #464c6b; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea { background: rgba(15, 23, 42, 0.035); }
html[data-theme="light"] .field input:focus + label,
html[data-theme="light"] .field textarea:focus + label {
  background: #ffffff; color: var(--indigo);
}
html[data-theme="light"] .lang-btn,
html[data-theme="light"] .theme-btn { background: rgba(15, 23, 42, 0.04); }
html[data-theme="light"] .slider-dots button { background: rgba(15, 23, 42, 0.15); }
html[data-theme="light"] .preloader-bar { background: rgba(15, 23, 42, 0.08); }
html[data-theme="light"] .mouse { border-color: rgba(15, 23, 42, 0.28); }
html[data-theme="light"] .orbit { border-color: rgba(15, 23, 42, 0.09); }
html[data-theme="light"] .typed { color: #7c3aed; }
html[data-theme="light"] .ci { color: #6d28d9; }
html[data-theme="light"] ::selection { background: var(--purple); color: #fff; }

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
}

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

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--purple)); border-radius: 6px; }

.container { width: min(1150px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); }

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a855f7, #ec4899, #60a5fa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 300% 0; } }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 28px;
  align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pl-shape {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLogo 1.6s ease forwards, pulseLogo 1.6s ease 1.6s infinite alternate;
}
@keyframes drawLogo { to { stroke-dashoffset: 0; } }
@keyframes pulseLogo {
  from { filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.4)); }
  to   { filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.9)); }
}
.preloader-text {
  font-family: var(--font-head); letter-spacing: 5px; font-size: 14px;
  color: var(--muted); animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.preloader-bar {
  width: 200px; height: 3px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.08); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 40%;
  background: var(--grad); border-radius: 3px;
  animation: loadBar 1.2s ease-in-out infinite;
}
@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(500%); }
}

/* ═══════════ CUSTOM CURSOR ═══════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 50%; translate: -50% -50%;
}
.cursor-dot { width: 7px; height: 7px; background: var(--purple); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.grow {
  width: 58px; height: 58px;
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(96, 165, 250, 0.9);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ═══════════ PARTICLES ═══════════ */
#particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding 0.35s, background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 7, 15, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: 2px;
  color: var(--text); text-decoration: none; font-size: 17px;
}
.logo svg { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo:hover svg { transform: rotate(360deg) scale(1.1); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1); transform-origin: left;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px; z-index: 102;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 40px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 0;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
}
.btn-primary:hover::before { animation: shine 0.9s ease; }
@keyframes shine { to { transform: translateX(100%); } }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(168, 85, 247, 0.5);
}

.btn-outline {
  color: var(--text); background: transparent;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
}
.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-play { color: var(--text); background: transparent; padding-left: 8px; }
.play-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  position: relative;
}
.play-circle::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1.5px solid rgba(168, 85, 247, 0.6);
  animation: ripple 1.8s ease-out infinite;
}
@keyframes ripple {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh; position: relative; z-index: 1;
  display: flex; align-items: center; padding: 130px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1;
  animation: glowFloat 10s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-glow-1 { width: 480px; height: 480px; background: rgba(99, 102, 241, 0.18); top: -100px; right: -80px; }
.hero-glow-2 { width: 380px; height: 380px; background: rgba(168, 85, 247, 0.14); bottom: -60px; left: -100px; animation-delay: -5s; }
@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.15); }
}

.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 40px; align-items: center;
}
.hero-tag {
  display: inline-block; letter-spacing: 6px; font-size: 13px;
  color: var(--muted); font-family: var(--font-head); margin-bottom: 18px;
}
.hero-title { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.08; font-weight: 700; }
.hero-title .line { display: block; }
.hero-sub { color: var(--muted); margin: 26px 0 34px; max-width: 480px; font-size: 17px; }
.typed { color: #c4b5fd; font-weight: 600; }
.type-caret { color: var(--purple); animation: blink 0.8s steps(2) infinite; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* glitch on hover */
.glitch { position: relative; }
.glitch:hover::before, .glitch:hover::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: inherit; -webkit-background-clip: text; background-clip: text;
}
.glitch:hover::before { animation: glitchA 0.35s steps(2) infinite; color: rgba(96,165,250,0.8); }
.glitch:hover::after  { animation: glitchB 0.35s steps(2) infinite reverse; color: rgba(236,72,153,0.8); }
@keyframes glitchA { 0% { transform: translate(2px, -2px); } 50% { transform: translate(-2px, 1px); } 100% { transform: translate(1px, 2px); } }
@keyframes glitchB { 0% { transform: translate(-2px, 2px); } 50% { transform: translate(2px, -1px); } 100% { transform: translate(-1px, -2px); } }

/* hero visual — 3D logo */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.logo-3d-scene { position: relative; perspective: 900px; }
.logo-3d {
  position: relative; transform-style: preserve-3d;
  animation: heroFloat 5s ease-in-out infinite alternate;
  transition: transform 0.15s ease-out;
}
@keyframes heroFloat {
  from { translate: 0 -10px; }
  to   { translate: 0 14px; }
}
.big-logo {
  width: min(330px, 60vw);
  filter: drop-shadow(0 0 45px rgba(124, 92, 250, 0.55));
}

.podium { position: relative; margin-top: -30px; display: grid; place-items: center; }
.podium-base {
  width: 210px; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(124, 92, 250, 0.5), transparent 70%);
  filter: blur(6px);
  animation: podiumPulse 3s ease-in-out infinite alternate;
}
@keyframes podiumPulse { from { opacity: 0.5; transform: scaleX(0.9); } to { opacity: 1; transform: scaleX(1.08); } }
.podium-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(139, 108, 250, 0.35);
  transform: rotateX(72deg);
}
.ring-a { width: 250px; height: 250px; animation: ringSpin 9s linear infinite; }
.ring-b { width: 330px; height: 330px; border-style: dashed; animation: ringSpin 16s linear infinite reverse; }
@keyframes ringSpin { to { transform: rotateX(72deg) rotate(360deg); } }

.orbit {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05); z-index: -1;
}
.orbit-1 { width: 420px; height: 420px; animation: orbitSpin 30s linear infinite; }
.orbit-2 { width: 540px; height: 540px; animation: orbitSpin 50s linear infinite reverse; }
.orbit::after {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple); box-shadow: 0 0 12px var(--purple);
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.float-shape {
  position: absolute; border-radius: 22%;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.9), rgba(168, 85, 247, 0.9));
  box-shadow: 0 0 25px rgba(124, 92, 250, 0.5);
  animation: shapeFloat 6s ease-in-out infinite alternate;
}
.shape-1 { width: 34px; height: 34px; top: 6%; left: 4%; rotate: 20deg; }
.shape-2 { width: 22px; height: 22px; top: 18%; right: 2%; rotate: -15deg; animation-delay: -2s; }
.shape-3 { width: 42px; height: 42px; bottom: 14%; right: 6%; rotate: 40deg; animation-delay: -4s; border-radius: 50%; }
.shape-4 { width: 16px; height: 16px; bottom: 26%; left: 0; rotate: 10deg; animation-delay: -1s; }
@keyframes shapeFloat {
  from { transform: translateY(-14px) rotate(0deg); }
  to   { transform: translateY(16px) rotate(25deg); }
}

.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50%; }
.mouse {
  width: 26px; height: 42px; border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex; justify-content: center; padding-top: 8px;
}
.mouse span {
  width: 3px; height: 8px; border-radius: 3px; background: var(--purple);
  animation: wheel 1.6s ease infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════ SECTIONS ═══════════ */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 55px; }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.eyebrow {
  display: inline-block; font-family: var(--font-head);
  letter-spacing: 5px; font-size: 12px; color: var(--purple);
  margin-bottom: 10px; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--grad); margin-inline-end: 10px; vertical-align: middle;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }

/* ═══════════ SERVICES ═══════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
  transition-delay: 0s !important;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(124, 92, 250, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 108, 250, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(124, 92, 250, 0.12);
}
.card-icon {
  width: 74px; height: 74px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(139, 108, 250, 0.25);
  color: #8b9cff;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, color 0.4s;
}
.card-icon svg { width: 34px; height: 34px; }
.service-card:hover .card-icon {
  transform: translateY(-6px) rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 30px rgba(124, 92, 250, 0.35);
  color: #c4b5fd;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; }
.card-line {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover .card-line { transform: scaleX(1); }

/* ═══════════ PORTFOLIO ═══════════ */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  color: var(--text); display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
  transition-delay: 0s !important;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(139, 108, 250, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.project-thumb { height: 190px; overflow: hidden; display: grid; place-items: center; position: relative; }
.thumb-tech   { background: linear-gradient(135deg, #0f172a, #1e1b4b); }
.thumb-store  { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.thumb-med    { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.thumb-beauty { background: linear-gradient(135deg, #1c1917, #3b1d3f); }

.mock-browser {
  width: 78%; border-radius: 10px; overflow: hidden;
  background: #10122b; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .mock-browser { transform: translateY(-8px) scale(1.05) rotate(-1deg); }
.mock-browser.light { background: #f8fafc; color: #0f172a; }
.mock-browser.dark { background: #17131c; }
.mock-bar { display: flex; gap: 5px; padding: 8px 10px; background: rgba(128, 128, 160, 0.15); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(150, 150, 180, 0.6); }
.mock-body {
  padding: 16px 14px 22px; display: flex; justify-content: space-between;
  align-items: center; gap: 8px; min-height: 92px;
}
.mock-body strong { font-family: var(--font-head); font-size: 14px; line-height: 1.3; }
.mock-browser:not(.light) .mock-body strong { color: #e0e7ff; }

.mock-device { width: 34px; height: 52px; border-radius: 6px; background: linear-gradient(160deg, #3b82f6, #7c3aed); box-shadow: 0 0 18px rgba(99, 102, 241, 0.7); }
.mock-headphone { position: relative; width: 48px; height: 48px; }
.hp-band { position: absolute; inset: 4px 6px auto; height: 26px; border: 4px solid #334155; border-bottom: 0; border-radius: 24px 24px 0 0; }
.hp-ear { position: absolute; bottom: 6px; width: 12px; height: 18px; border-radius: 5px; background: #334155; }
.hp-ear.l { left: 4px; } .hp-ear.r { right: 4px; }
.mock-cross { width: 40px; height: 40px; border-radius: 10px; background: #2563eb; color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; box-shadow: 0 0 18px rgba(37, 99, 235, 0.6); }
.mock-sparkle { font-size: 30px; color: #e879f9; text-shadow: 0 0 18px #d946ef; animation: sparkle 2s ease-in-out infinite alternate; }
@keyframes sparkle { from { transform: scale(0.85) rotate(-10deg); opacity: 0.7; } to { transform: scale(1.15) rotate(12deg); opacity: 1; } }

.project-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
}
.project-meta h4 { font-size: 17px; }
.project-meta span { color: var(--muted); font-size: 13px; }
.open-icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--card-border); color: var(--muted) !important;
  transition: all 0.35s;
  font-size: 15px !important;
}
.project-card:hover .open-icon {
  background: var(--grad); color: #fff !important;
  border-color: transparent; transform: rotate(45deg);
}

/* ═══════════ STATS ═══════════ */
.stats-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 44px 20px; gap: 24px;
  position: relative; overflow: hidden;
}
.stats-panel::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 170%; aspect-ratio: 1;
  background: conic-gradient(transparent 72%, rgba(124, 92, 250, 0.45), transparent);
  animation: borderSpin 7s linear infinite;
  z-index: -1;
  will-change: transform;
}
@keyframes borderSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-end: -12px; top: 15%; height: 70%;
  width: 1px; background: var(--card-border);
}
.stat-icon {
  width: 52px; height: 52px; margin: 0 auto 12px; color: #8b9cff;
  display: grid; place-items: center;
}
.stat-icon svg { width: 38px; height: 38px; }
.stat-num {
  font-family: var(--font-head); font-size: 42px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ═══════════ REVIEWS ═══════════ */
.reviews-track { max-width: 760px; margin-inline: auto; overflow: hidden; }
.reviews-slider {
  display: flex; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.review-card {
  min-width: 100%; padding: 40px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); text-align: center;
}
.stars { color: #fbbf24; letter-spacing: 4px; font-size: 18px; margin-bottom: 18px; text-shadow: 0 0 12px rgba(251, 191, 36, 0.5); }
.review-card p { color: #cdd2ea; font-size: 17px; font-style: italic; max-width: 560px; margin-inline: auto; }
.reviewer { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.reviewer strong { display: block; font-size: 15px; }
.reviewer small { color: var(--muted); }
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.18); transition: all 0.4s;
}
.slider-dots button.on { width: 30px; background: var(--grad); }

/* ═══════════ CONTACT ═══════════ */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
}
.contact-info h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.contact-info p { color: var(--muted); max-width: 380px; }
.contact-list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #cdd2ea; }
.ci {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 17px;
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(139, 108, 250, 0.25); color: #a5b4fc;
}
.contact-form {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 38px; display: grid; gap: 22px;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text); font-family: var(--font-body); font-size: 15px;
  outline: 0; transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.field label {
  position: absolute; inset-inline-start: 14px; top: 15px; color: var(--muted);
  pointer-events: none; transition: all 0.25s ease; font-size: 15px;
  background: transparent; padding: 0 6px;
}
.field input:focus, .field textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -10px; font-size: 12px; color: #a5b4fc; background: #101020; border-radius: 6px;
}
.btn.full { justify-content: center; width: 100%; }
.form-note { text-align: center; font-size: 14px; color: #6ee7a0; min-height: 20px; margin: -6px 0 0; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--card-border);
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05));
  padding-top: 70px; position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px; padding-bottom: 50px;
}
.f-brand p { color: var(--muted); font-size: 14px; margin: 18px 0 22px; max-width: 260px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  color: var(--muted); font-family: var(--font-head); font-size: 13px; font-weight: 600;
  border: 1px solid var(--card-border);
  transition: all 0.35s;
}
.socials a:hover {
  background: var(--grad); color: #fff; border-color: transparent;
  transform: translateY(-4px); box-shadow: 0 10px 20px rgba(124, 92, 250, 0.35);
}
.f-col h4 { font-size: 16px; margin-bottom: 20px; }
.f-col a, .f-col span {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 14px; margin-bottom: 12px; transition: color 0.3s, transform 0.3s;
}
.f-col a:hover { color: var(--text); transform: translateX(5px); }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  text-align: center; padding: 22px 0; color: var(--muted); font-size: 14px;
}

/* ═══════════ WHATSAPP FAB ═══════════ */
.whatsapp-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #22c55e; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
  animation: fabBounce 2.4s ease-in-out infinite;
  transition: transform 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.12) rotate(8deg); animation-play-state: paused; }
@keyframes fabBounce {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .contact-info p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 340px; order: -1; margin-top: 20px; }
  .orbit-2 { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 101;
    background: rgba(7, 7, 15, 0.96); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    clip-path: circle(0% at calc(100% - 44px) 40px);
    transition: clip-path 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.open { clip-path: circle(140% at calc(100% - 44px) 40px); }
  .nav-links a { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat:not(:last-child)::after { display: none; }
  .contact-form { padding: 26px; }
}

/* ═══════════ LANGUAGE SWITCHER ═══════════ */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  padding: 9px 18px; border-radius: 40px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  transition: all 0.35s;
}
.lang-btn:hover {
  background: var(--grad); border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124, 92, 250, 0.4);
}

.theme-btn {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  transition: all 0.35s;
}
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .icon-moon { display: none; }
html[data-theme="light"] .theme-btn .icon-sun { display: none; }
html[data-theme="light"] .theme-btn .icon-moon { display: block; }
.theme-btn:hover {
  background: var(--grad); border-color: transparent; color: #fff;
  transform: translateY(-2px) rotate(15deg);
  box-shadow: 0 8px 22px rgba(124, 92, 250, 0.4);
}

/* ═══════════ ARABIC / RTL ═══════════ */
html[lang="ar"] {
  --font-head: "Tajawal", sans-serif;
  --font-body: "Tajawal", sans-serif;
}
html[lang="ar"] .eyebrow,
html[lang="ar"] .hero-tag,
html[lang="ar"] .preloader-text { letter-spacing: 1px; }
html[lang="ar"] .hero-title { line-height: 1.25; }
html[lang="ar"] .logo span { letter-spacing: 2px; }

[dir="rtl"] .btn .arrow { transform: rotate(180deg); display: inline-block; }
[dir="rtl"] .btn:hover .arrow { transform: rotate(180deg) translateX(5px); }
[dir="rtl"] .f-col a:hover { transform: translateX(-5px); }
[dir="rtl"] .review-card p { font-style: normal; }

@media (max-width: 760px) {
  [dir="rtl"] .nav-links { clip-path: circle(0% at 44px 40px); }
  [dir="rtl"] .nav-links.open { clip-path: circle(140% at 44px 40px); }
}

/* ═══════════ 3D LOGO STACK ═══════════ */
.logo-3d-scene { perspective: 800px; }
.logo-stack {
  position: relative;
  transform-style: preserve-3d;
  animation: idleSpin 14s ease-in-out infinite;
}
@keyframes idleSpin {
  0%, 100% { transform: rotateY(-22deg) rotateX(4deg); }
  25%      { transform: rotateY(0deg)   rotateX(-3deg); }
  50%      { transform: rotateY(22deg)  rotateX(4deg); }
  75%      { transform: rotateY(0deg)   rotateX(-3deg); }
}
.logo-stack svg { display: block; width: min(330px, 60vw); }
.logo-stack .back-layer {
  position: absolute; inset: 0;
  filter: none;
}

/* reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.2s !important; }
}

/* ══════════ OTP VERIFICATION MODAL & SMS POPUP ══════════ */
.otp-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8, 10, 20, 0.82);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: all 0.35s ease;
}
.otp-modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.otp-modal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  max-width: 440px; width: 100%;
  padding: 32px 28px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 92, 250, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.otp-modal-overlay.active .otp-modal-card {
  transform: scale(1) translateY(0);
}
.otp-close-btn {
  position: absolute; top: 18px; inset-inline-end: 20px;
  background: none; border: none; color: var(--muted);
  font-size: 24px; cursor: pointer; transition: color 0.2s;
  line-height: 1;
}
.otp-close-btn:hover { color: #fff; }
.otp-icon-wrap {
  width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(139, 108, 250, 0.3);
  display: grid; place-items: center; color: #a5b4fc;
}
.otp-modal-card h3 { font-size: 20px; margin-bottom: 8px; font-family: var(--font-head); }
.otp-desc { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

/* SMS Toast inside Modal */
.sms-banner {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 14px; padding: 14px 16px;
  margin-bottom: 22px; text-align: start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: pulseSms 2.5s infinite ease-in-out;
}
@keyframes pulseSms {
  0%, 100% { border-color: rgba(96, 165, 250, 0.4); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
  50% { border-color: rgba(168, 85, 247, 0.7); box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3); }
}
.sms-banner-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: #93c5fd; font-weight: 600; margin-bottom: 6px;
}
.sms-banner-body {
  font-size: 0.9rem; color: #e2e8f0; line-height: 1.4;
}
.sms-banner-body strong {
  color: #67e8f9; font-size: 1.15rem; font-family: monospace; letter-spacing: 3px;
  background: rgba(6, 182, 212, 0.15); padding: 2px 10px; border-radius: 6px;
  display: inline-block; margin-inline-start: 4px; border: 1px solid rgba(6, 182, 212, 0.3);
}

.otp-input-group { margin-bottom: 12px; }
.otp-input-group input {
  width: 100%; padding: 14px; text-align: center;
  font-size: 24px; font-family: monospace; letter-spacing: 8px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--card-border); color: #fff;
  transition: all 0.3s ease;
}
.otp-input-group input:focus {
  border-color: #60a5fa; outline: none;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}
.otp-error-msg {
  color: #f87171; font-size: 13px; margin-bottom: 14px; min-height: 20px;
}
.otp-actions { display: flex; flex-direction: column; gap: 10px; }
.otp-resend-btn {
  background: none; border: none; color: var(--muted);
  font-size: 13px; cursor: pointer; transition: color 0.2s;
  padding: 6px;
}
.otp-resend-btn:hover { color: #a5b4fc; text-decoration: underline; }

