/* ============================================================
   Hazim Web Studio — Sales Landing Page
   Premium dark theme · Mobile-first · No framework
   ============================================================ */

:root {
  --bg: #07070f;
  --bg-2: #0d0d1c;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceaf6;
  --muted: #9b98b3;
  --muted-2: #7e7b9a;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #e879f9;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.10));
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}

/* Animated aurora background (subtle, GPU-cheap) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  animation: aurora 22s ease-in-out infinite alternate;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(820px 480px at -12% 22%, rgba(34, 211, 238, 0.10), transparent 62%),
    radial-gradient(700px 500px at 50% 115%, rgba(139, 92, 246, 0.08), transparent 60%);
}

@keyframes aurora {
  0% { background-position: 0% 0%, 0% 0%, 0% 0%; filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(8deg); }
  100% { background-position: 6% 4%, -5% 3%, 3% -4%; filter: hue-rotate(-6deg); }
}

/* Fine grid texture overlay for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ============ AMBIENT ORBS (page-wide depth) ============ */
.bg-orb {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-a {
  width: 460px;
  height: 460px;
  top: -190px;
  left: -180px;
  background: radial-gradient(circle at 35% 35%, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.06) 55%, transparent 70%);
  animation: orb-drift-a 27s ease-in-out infinite alternate;
}
.orb-b {
  width: 420px;
  height: 420px;
  top: 26%;
  right: -190px;
  background: radial-gradient(circle at 60% 40%, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0.05) 55%, transparent 70%);
  animation: orb-drift-b 33s ease-in-out infinite alternate;
}
.orb-c {
  width: 440px;
  height: 440px;
  bottom: -210px;
  left: 12%;
  background: radial-gradient(circle at 50% 45%, rgba(232, 121, 249, 0.12), rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  animation: orb-drift-c 39s ease-in-out infinite alternate;
}
@keyframes orb-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(70px, 50px, 0) scale(1.1); }
}
@keyframes orb-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, -70px, 0) scale(1.12); }
}
@keyframes orb-drift-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-80px, -50px, 0) scale(0.94); }
}

/* ============ RISING PARTICLES (ambient, JS-spawned) ============ */
.bg-particle {
  position: fixed;
  bottom: -14px;
  width: var(--p-size, 4px);
  height: var(--p-size, 4px);
  border-radius: 50%;
  background: var(--p-color, rgba(139, 92, 246, 0.55));
  opacity: 0;
  animation: particle-rise var(--p-dur, 20s) linear infinite;
  animation-delay: var(--p-delay, 0s);
  pointer-events: none;
  z-index: -1;
}
@keyframes particle-rise {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  12% { opacity: var(--p-op, 0.35); }
  82% { opacity: var(--p-op, 0.35); }
  100% { transform: translate3d(var(--p-drift, 24px), -106vh, 0) scale(0.5); opacity: 0; }
}

/* ============ INTERACTIVE BACKGROUND (canvas) ============ */
#bg-network {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Soft spotlight following cursor */
.bg-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, rgba(34, 211, 238, 0.05) 40%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.bg-cursor-glow.on {
  opacity: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ TYPOGRAPHY HELPERS ============ */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: grad-shift 6s ease-in-out infinite alternate;
}

@keyframes grad-shift {
  0% { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35), 0 2px 8px rgba(34, 211, 238, 0.18);
  position: relative;
  overflow: hidden;
  background-size: 160% auto;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-position 0.5s ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% center;
  box-shadow: 0 14px 38px rgba(124, 58, 237, 0.5), 0 4px 12px rgba(34, 211, 238, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

.btn-ghost {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wa-icon { width: 20px; height: 20px; flex: none; }
.btn-lg .wa-icon { width: 22px; height: 22px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Gradient hairline under header */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.55), rgba(34, 211, 238, 0.55), transparent);
  opacity: 0.7;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: none; }
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: right 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

/* Language toggle pill */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-toggle a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.lang-toggle a:hover { color: var(--text); }
.lang-toggle a.active {
  background: var(--grad);
  color: #fff;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 40px;
  text-align: center;
  overflow: hidden;
}

/* Spotlight behind hero content */
.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.20), rgba(34, 211, 238, 0.08) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-inner { max-width: 860px; }

.hero h1 {
  font-size: clamp(2.3rem, 8vw, 4.1rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  font-family: var(--font-display);
}

.hero .lead {
  font-size: clamp(1.02rem, 2.6vw, 1.22rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero .lead strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-trust li::before { content: ''; }

/* ============ HERO SHOWCASE (browser mockup) ============ */
.hero-showcase {
  position: relative;
  max-width: 980px;
  margin: 54px auto 0;
  perspective: 1200px;
}

.hero-browser {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #16162c, #0c0c1a);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 12px 40px rgba(124, 58, 237, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform: rotateX(4deg);
  transition: transform 0.5s ease;
}
.hero-showcase:hover .hero-browser {
  transform: rotateX(0deg);
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.hero-browser-dots {
  display: flex;
  gap: 6px;
}
.hero-browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.hero-browser-dots span:nth-child(1) { background: #f87171; }
.hero-browser-dots span:nth-child(2) { background: #fbbf24; }
.hero-browser-dots span:nth-child(3) { background: #34d399; }
.hero-browser-url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-browser-body {
  display: block;
  aspect-ratio: 1440 / 780;
  max-height: 460px;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Glow floor reflection under browser */
.hero-showcase::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

/* Floating badge chips around showcase */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(13, 13, 28, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: chip-float 5s ease-in-out infinite;
}
.hero-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}
.hero-chip.chip-a { top: 8%; left: max(2%, env(safe-area-inset-left)); animation-delay: 0s; }
.hero-chip.chip-b { top: 46%; right: max(1%, env(safe-area-inset-right)); animation-delay: 1.2s; }
.hero-chip.chip-c { bottom: 10%; left: 6%; animation-delay: 2.4s; }
@media (max-width: 700px) {
  .hero-chip { display: none; }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Glare sweep across hero browser mockup */
.hero-browser::after {
  content: '';
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -45%;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.07) 55%, transparent);
  transform: skewX(-18deg);
  animation: glare-sweep 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glare-sweep {
  0%, 55% { left: -45%; }
  85%, 100% { left: 135%; }
}

/* ============ SOCIAL PROOF STRIP ============ */
.proof {
  padding: 8px 0 40px;
}
.proof-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.proof-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.proof-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.07);
  transform: translateY(-2px);
}

.proof-star {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.proof-info { min-width: 0; }
.proof-info strong { display: block; font-size: 0.98rem; }
.proof-info small { color: var(--muted); font-size: 0.82rem; }

.proof-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.proof-card:hover .proof-arrow { color: var(--cyan); transform: translate(2px, -2px); }

/* ============ SECTIONS ============ */
.section { padding: 76px 0; scroll-margin-top: calc(var(--header-h) + 12px); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); }

/* ============ PORTFOLIO ============ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.work-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.18);
}

/* CSS-only browser mockup preview (no image assets = fast, no broken links) */
.work-preview {
  position: relative;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(34, 211, 238, 0.28), transparent 55%),
    linear-gradient(160deg, #141428, #0b0b18);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Real screenshot layer */
.work-preview img.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 6s ease;
}
.work-preview img.shot.loaded {
  opacity: 1;
}
.work-preview img.shot.zoom {
  transform: scale(1.06);
}
.work-card:hover .work-preview img.shot {
  transform: translateY(calc(-1 * (100% - 190px)));
}
.work-card:hover .work-preview img.shot.zoom {
  transform: translateY(calc(-1 * (100% - 190px))) scale(1.06);
}

/* Subtle gradient wash keeps screenshots on-brand on hover */
.work-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 15, 0.55) 100%);
  pointer-events: none;
}
.work-card:nth-child(2) .work-preview {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(34, 211, 238, 0.3), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(236, 72, 153, 0.25), transparent 55%),
    linear-gradient(160deg, #141428, #0b0b18);
}
.work-card:nth-child(3) .work-preview {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(139, 92, 246, 0.32), transparent 55%),
    radial-gradient(120% 90% at 10% 100%, rgba(34, 211, 238, 0.3), transparent 55%),
    linear-gradient(160deg, #101427, #0b0b18);
}
.work-card:nth-child(4) .work-preview {
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(236, 72, 153, 0.28), transparent 55%),
    radial-gradient(120% 90% at 85% 100%, rgba(139, 92, 246, 0.3), transparent 55%),
    linear-gradient(160deg, #16142a, #0b0b18);
}

.preview-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.preview-bar span:nth-child(1) { background: #f87171; }
.preview-bar span:nth-child(2) { background: #fbbf24; }
.preview-bar span:nth-child(3) { background: #34d399; }

.preview-body {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px 26px;
}

.work-preview img.shot + .preview-body { display: none; }
.preview-monogram {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preview-url {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-meta { padding: 20px 22px 22px; }
.work-meta h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.work-meta p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }

.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.2s ease;
}
.work-card:hover .work-link { filter: brightness(1.25); }

/* ============ PRICING ============ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(34, 211, 238, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.price-card:hover::before { opacity: 1; }

.price-card.featured {
  background:
    linear-gradient(#10101f, #10101f) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.28);
}
.price-card.featured:hover { box-shadow: 0 24px 60px rgba(124, 58, 237, 0.4); }

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.price-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  padding-bottom: 2px;
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.price-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.price-feats {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}
.price-feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: #d6d3e6;
}
.price-feats li::before {
  content: '✓';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
}

.price-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 30px;
}

/* ============ WHY US ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: 14px;
  background:
    linear-gradient(#12122a, #12122a) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.why-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.94rem; }

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.45);
}

.step-num {
  display: inline-block;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-display);
  background:
    linear-gradient(#12122a, #12122a) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--cyan);
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.2);
}

.process-step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.93rem; }

/* ============ FAQ ============ */
.faq-container { max-width: 760px; }

.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item.open { border-color: rgba(139, 92, 246, 0.5); }
.faq-item.open { background: rgba(139, 92, 246, 0.05); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  padding: 20px 22px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--cyan); }

.faq-icon {
  flex: none;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-cta { text-align: center; margin-top: 38px; }

/* ============ FINAL CTA ============ */
.final { padding-top: 20px; }

.final-box {
  position: relative;
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% -20%, rgba(139, 92, 246, 0.22), transparent 55%),
    radial-gradient(120% 120% at 50% 130%, rgba(34, 211, 238, 0.14), transparent 55%),
    linear-gradient(160deg, #101024, #0a0a16);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 26px;
  padding: clamp(44px, 8vw, 76px) clamp(22px, 6vw, 60px);
  overflow: hidden;
}

/* Rotating conic glow behind final CTA */
.final-box::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  width: 120%;
  height: 130%;
  transform: translateX(-50%) rotate(0deg);
  background: conic-gradient(from 0deg, transparent 0deg, rgba(139, 92, 246, 0.12) 60deg, rgba(34, 211, 238, 0.1) 120deg, transparent 180deg, rgba(139, 92, 246, 0.08) 300deg, transparent 360deg);
  animation: final-spin 16s linear infinite;
  pointer-events: none;
}
@keyframes final-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.final-box > * { position: relative; }

.final-box h2 {
  font-size: clamp(1.7rem, 5.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}
.final-box p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: clamp(0.98rem, 2.4vw, 1.08rem); }

.final-email { margin-top: 20px !important; margin-bottom: 0 !important; font-size: 0.92rem !important; }
.final-email a { color: var(--cyan); font-weight: 600; }
.final-email a:hover { text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 52px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-tag { color: var(--muted); font-size: 0.9rem; }
.footer-email { font-size: 0.9rem; }
.footer-tag { color: var(--muted); font-size: 0.9rem; }
.footer-email { font-size: 0.9rem; }
.footer-email a { color: var(--cyan); font-weight: 600; padding: 8px 4px; display: inline-block; }
.footer-email a:hover { text-decoration: underline; }
.footer-copy { color: #6b6886; font-size: 0.82rem; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger children inside grids */
.work-grid .reveal:nth-child(2), .price-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.work-grid .reveal:nth-child(3), .price-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.work-grid .reveal:nth-child(4), .price-grid .reveal:nth-child(4), .process-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.process-grid .reveal:nth-child(4) { transition-delay: 0.32s; }

/* ============ MEDIA QUERIES (mobile-first) ============ */
@media (min-width: 640px) {
  .hero { padding: 110px 0 60px; }

  .hero-cta { flex-direction: row; justify-content: center; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card:nth-child(3) { grid-column: span 2; }
  .work-card:nth-child(3) .work-meta { max-width: 520px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px) {
  .hero-browser-body { aspect-ratio: auto; height: 200px; }
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 28px;
  }
  .header-wa { margin-left: 0; }
}

@media (min-width: 940px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card.featured { transform: scale(1.045); z-index: 1; }
  .price-card.featured:hover { transform: scale(1.045) translateY(-4px); }

  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .work-card, .price-card, .why-card, .process-step, .proof-card { transition: none; }
  .bg-orb, .bg-particle, .hero-browser::after, .hero-chip { animation: none !important; }
  .bg-particle { display: none !important; }
}

/* ============ FLOATING WHATSAPP BUTTON ============ */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}
.wa-float:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.wa-float .wa-icon { width: 28px; height: 28px; }
