/* ==========================================================================
   Design tokens (dark theme)
   ========================================================================== */
:root {
  --bg: #000;
  --bg-2: #07070a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --solid: #0e0e12;
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.18);
  --text: #fff;
  --muted: #a1a1aa;
  --dim: #8e8e99;

  --cyan: #22d3ee;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --violet: #7c3aed;
  --teal: #14b8a6;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --whatsapp: #22c55e;

  --grad-text: linear-gradient(90deg, #22d3ee 0%, #3b82f6 45%, #a855f7 100%);
  --grad-btn: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%);
  --grad-bar: linear-gradient(90deg, #a855f7, #3b82f6);

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
html.modal-open { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Off-screen start positions of slide-in animations must never widen the page (iOS ignores body overflow). */
main { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.i-fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(139, 92, 246, .45); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 880px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.grid { display: grid; gap: 22px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-grad { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .8); }
.btn-grad:hover { box-shadow: 0 14px 38px -8px rgba(124, 58, 237, .95); }
.btn-dark { background: rgba(255, 255, 255, .06); border-color: var(--border-2); color: #fff; }
.btn-dark:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: #16a34a; color: #fff; box-shadow: 0 10px 26px -10px rgba(22, 163, 74, .8); }
.btn-wa:hover { background: #15803d; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 999px; }
.btn-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: var(--grad-btn); font-size: 13px; font-weight: 700; color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border); color: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }

/* ==========================================================================
   Nav (transparent → glass on scroll)
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 14, .72); border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  position: relative; padding: 8px 13px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .2s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad-bar); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.nav-cta-mobile { display: none; }

@media (max-width: 1023px) {
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 12px; right: 12px; padding: 10px;
    background: rgba(12, 12, 16, .96); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
  }
  .nav-links.open a:not(.btn) { padding: 14px 14px; font-size: 16px; }
  .nav-links.open a:not(.btn)::after { display: none; }
  .nav-links.open .nav-cta-mobile { display: inline-flex; margin-top: 8px; min-height: 48px; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .nav-cta { display: inline-flex; }
}

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad-text); transform: scaleX(0); transform-origin: 0 50%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 120px 0 110px; text-align: center;
}
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
#stars.on { opacity: 1; }
.beams {
  position: absolute; left: 50%; top: -140px; width: 1100px; height: 900px; transform: translateX(-50%);
  background:
    radial-gradient(ellipse 340px 560px at 50% 0%, rgba(20, 184, 166, .42), transparent 70%),
    conic-gradient(from 180deg at 50% 0%, transparent 150deg, rgba(45, 212, 191, .26) 159deg, transparent 168deg,
      transparent 171deg, rgba(45, 212, 191, .34) 180deg, transparent 189deg,
      transparent 192deg, rgba(45, 212, 191, .26) 201deg, transparent 210deg);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
  animation: beam 7s ease-in-out infinite alternate paused;
}
@keyframes beam { from { opacity: .75; } to { opacity: 1; } }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.tile {
  position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .28); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  animation: tile 9s ease-in-out infinite paused; transform: rotate(var(--r, 0deg));
}
.tile svg { width: 26px; height: 26px; }
.t1 { top: 12%; left: 18%; --r: -12deg; animation-duration: 9s; }
.t2 { top: 40%; left: 9%; --r: 8deg; animation-duration: 11s; animation-delay: -2s; }
.t3 { top: 70%; left: 15%; --r: -6deg; animation-duration: 10s; animation-delay: -4s; }
.t4 { top: 9%; left: 50%; --r: 45deg; width: 72px; height: 72px; margin-left: -36px; color: rgba(167, 139, 250, .5); animation-duration: 8s; }
.t5 { top: 16%; right: 13%; --r: 10deg; animation-duration: 12s; animation-delay: -3s; }
.t6 { top: 46%; right: 7%; --r: -10deg; animation-duration: 10s; animation-delay: -5s; }
.t7 { top: 76%; right: 16%; --r: 14deg; animation-duration: 11s; animation-delay: -1s; }
.t8 { top: 86%; left: 31%; --r: -16deg; animation-duration: 13s; animation-delay: -6s; }
.t9 { top: 84%; right: 33%; --r: 18deg; animation-duration: 9.5s; animation-delay: -2.5s; }
@keyframes tile {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-18px) rotate(calc(var(--r, 0deg) + 8deg)); }
}
@media (max-width: 767px) {
  .tile { width: 48px; height: 48px; border-radius: 13px; }
  .tile svg { width: 20px; height: 20px; }
  .t2, .t6, .t8, .t9 { display: none; }
  .t1 { top: 9%; left: 6%; } .t5 { top: 10%; right: 6%; } .t3 { top: 82%; left: 8%; } .t7 { top: 84%; right: 8%; }
  .t4 { top: 7%; width: 54px; height: 54px; margin-left: -27px; }
}
.loaded .tile, .loaded .beams { animation-play-state: running; }

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.hero h1 { margin-top: 26px; font-size: clamp(40px, 8vw, 80px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.roles { margin-top: 22px; max-width: 900px; font-size: clamp(17px, 2.3vw, 25px); font-weight: 500; line-height: 1.5; }
.role { background-clip: text; -webkit-background-clip: text; color: transparent; }
.r1 { background-image: linear-gradient(90deg, #60a5fa, #22d3ee); }
.r2 { background-image: linear-gradient(90deg, #c084fc, #f472b6); }
.r3 { background-image: linear-gradient(90deg, #2dd4bf, #4ade80); }
.sep { margin: 0 10px; color: rgba(255, 255, 255, .35); }
@media (max-width: 639px) { .roles .sep { display: none; } .roles .role { display: block; } }
.hero-desc { margin-top: 26px; max-width: 700px; font-size: clamp(16px, 1.8vw, 18px); color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.socials { display: flex; gap: 14px; margin-top: 44px; }
.social {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border); color: rgba(255, 255, 255, .85);
  transition: transform .25s var(--ease), background-color .25s ease, border-color .25s ease, color .25s ease;
}
.social:hover { transform: translateY(-4px); background: rgba(139, 92, 246, .18); border-color: rgba(139, 92, 246, .5); color: #fff; }
.socials.small { margin-top: 20px; gap: 10px; }
.socials.small .social { width: 42px; height: 42px; border-radius: 11px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .3); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* Staggered entrance for hero content */
.js [data-intro] { opacity: 0; transform: translateY(26px); filter: blur(10px); animation: intro .95s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
@keyframes intro { to { opacity: 1; transform: none; filter: blur(0); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-2); padding: 20px 0 8px; }
.marquee-caption { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.marquee-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite paused; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 45s; }
.loaded .marquee-track { animation-play-state: running; }
.loaded .marquee-row:hover .marquee-track { animation-play-state: paused; }
.brand-list, .tech-list { display: flex; align-items: center; }
.brand-list { gap: 14px; padding: 10px 7px; }
.brand-list li {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: 14.5px; color: rgba(255, 255, 255, .9);
}
.brand-list img { width: 32px; height: 32px; border-radius: 9px; }
.tech-list { gap: 36px; padding: 12px 18px 14px; }
.tech-list li { display: flex; align-items: center; gap: 36px; font-weight: 600; font-size: 14.5px; color: var(--dim); white-space: nowrap; }
.tech-list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections + headings
   ========================================================================== */
.section { position: relative; padding: 96px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.title-bar { display: block; width: 96px; height: 4px; margin: 20px auto 0; border-radius: 4px; background: var(--grad-bar); transform: scaleX(0); transition: transform .9s var(--ease) .25s; }
.section-head.in .title-bar, .no-io .title-bar { transform: scaleX(1); }
.section-sub { margin-top: 22px; font-size: 17px; color: var(--muted); }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.from-left { transform: translateX(-48px); }
.js .reveal.from-right { transform: translateX(48px); }
.js .reveal.zoom { transform: scale(.88); }
.js .reveal.in { opacity: 1; transform: none; }
/* Stagger children of a revealed group */
.js .stagger.reveal { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: 80ms; } .js .stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.js .stagger.in > *:nth-child(4) { transition-delay: 240ms; } .js .stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.js .stagger.in > *:nth-child(6) { transition-delay: 400ms; } .js .stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.js .stagger.in > *:nth-child(8) { transition-delay: 560ms; }

/* Pointer spotlight */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--sx, -999px) var(--sy, -999px), rgba(139, 92, 246, .16), transparent 45%);
  opacity: 0; transition: opacity .3s ease;
}
.spot:hover::after { opacity: 1; }

/* ==========================================================================
   Featured case studies
   ========================================================================== */
.showcase { display: grid; gap: 28px; margin-bottom: 96px; }
.showcase-item {
  display: grid; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.showcase-item:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 70%, transparent); }
@media (min-width: 960px) {
  .showcase { gap: 36px; }
  .showcase-item { grid-template-columns: 1.05fr 1fr; min-height: 480px; }
  .showcase-item.flip .sc-visual { order: 2; }
}
.sc-visual {
  position: relative; min-height: 400px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
    radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    #0b0b10;
}
@media (min-width: 560px) { .sc-visual { min-height: 470px; } }
.sc-phone {
  position: absolute; top: 50%; left: 50%; width: 160px; aspect-ratio: 9 / 19.5; padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, #262633, #0b0b10); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .6s var(--ease);
}
.sc-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.sc-phone.front { transform: translate(-80%, -50%) rotate(-5deg); z-index: 2; }
.sc-phone.back { transform: translate(-12%, -46%) rotate(7deg); opacity: .92; }
.showcase-item:hover .sc-phone.front { transform: translate(-84%, -52%) rotate(-7deg); }
.showcase-item:hover .sc-phone.back { transform: translate(-6%, -46%) rotate(9deg); }
@media (min-width: 560px) { .sc-phone { width: 192px; } }
.sc-browser {
  position: absolute; left: 50%; top: 50%; width: 84%; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease);
}
.sc-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #1c1c24; }
.sc-bar i { width: 9px; height: 9px; border-radius: 50%; }
.sc-bar i:nth-child(1) { background: #f87171; } .sc-bar i:nth-child(2) { background: #fbbf24; } .sc-bar i:nth-child(3) { background: #34d399; }
.sc-bar span { flex: 1; margin-left: 8px; height: 16px; border-radius: 6px; background: #2a2a35; font-size: 10px; line-height: 16px; color: #a1a1aa; text-align: center; font-weight: 600; }
.sc-browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sc-browser.front { transform: translate(-54%, -44%); z-index: 2; }
.sc-browser.back { transform: translate(-44%, -60%) scale(.92); opacity: .6; }
.showcase-item:hover .sc-browser.front { transform: translate(-56%, -46%); }
.showcase-item:hover .sc-browser.back { transform: translate(-40%, -62%) scale(.92); }
.sc-icon { position: absolute; z-index: 3; left: 22px; bottom: 22px; width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .8), 0 0 0 3px rgba(255, 255, 255, .12); }
.flip .sc-icon { left: auto; right: 22px; }

.sc-body { display: flex; flex-direction: column; justify-content: center; padding: 28px 22px 30px; }
@media (min-width: 960px) { .sc-body { padding: 44px 48px; } }
.sc-label { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.sc-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: #fff; font-size: 12px; letter-spacing: 0; }
.sc-body h3 { margin-top: 14px; font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-tagline { margin-top: 10px; color: var(--muted); font-size: 16px; }
.sc-highlights { display: grid; gap: 10px; margin-top: 20px; }
.sc-highlights li { position: relative; padding-left: 28px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.sc-highlights li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(139, 92, 246, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.sc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.sc-metrics li { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.sc-metrics strong { display: block; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -0.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-metrics span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--muted); font-weight: 500; }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }

/* ==========================================================================
   Filters + project cards
   ========================================================================== */
.all-head { text-align: center; margin-bottom: 22px; }
.all-head h3 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; }
.all-head p { margin-top: 8px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.chip-btn {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s ease;
}
.chip-btn:hover { color: #fff; border-color: var(--border-2); }
.chip-btn[aria-pressed="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(124, 58, 237, .9); }
.chip-btn .count { opacity: .65; margin-left: 5px; font-weight: 500; }

.cards { grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--solid); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.js .cards .pcard { opacity: 0; transform: translateY(34px); }
.js .cards.in .pcard { animation: cardIn .75s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.pcard:hover { transform: translateY(-8px) !important; border-color: rgba(139, 92, 246, .45); box-shadow: 0 30px 60px -30px rgba(124, 58, 237, .7); }
.card-open { position: absolute; inset: 0; z-index: 1; background: transparent; border: 0; border-radius: inherit; }

.pcard-media { position: relative; height: 200px; overflow: hidden; background: #111117; }
.pcard-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .32; filter: blur(1.5px) saturate(1.2); transform: scale(1.06); transition: transform .8s var(--ease), opacity .5s ease; }
.pcard-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 55%, rgba(139, 92, 246, .35), transparent 60%); opacity: .7; transition: opacity .5s ease; }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(14, 14, 18, .96)); }
.pcard:hover .pcard-shot { transform: scale(1.16); opacity: .45; }
.pcard:hover .pcard-media::before { opacity: 1; }
.pcard-icons { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.pcard-icons img {
  width: 92px; height: 92px; border-radius: 24px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .5s var(--ease);
}
.pcard-icons img + img { margin-left: -18px; transform: rotate(6deg); }
.pcard:hover .pcard-icons img { transform: translateY(-6px) scale(1.05); }
.pcard:hover .pcard-icons img + img { transform: translateY(-6px) scale(1.05) rotate(6deg); }
.pcard-badge {
  position: absolute; z-index: 2; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.pcard-badge svg { width: 13px; height: 13px; }
.pcard-feat { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: var(--grad-btn); font-size: 12px; font-weight: 700; }

.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 4px; }
.pcard-body h3 { font-size: 20px; font-weight: 700; background: linear-gradient(90deg, #38bdf8, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard-label { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--dim); }
.pcard-desc { margin-top: 12px; font-size: 15px; color: var(--muted); flex: 1; }
.pcard-stat { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.pcard-stat svg { width: 15px; height: 15px; color: #fbbf24; fill: currentColor; stroke: none; }

.tags, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li, .chips li {
  padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: rgba(139, 92, 246, .12); border: 1px solid rgba(139, 92, 246, .32); color: #ddd6fe;
}
.pcard-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 24px 22px; pointer-events: none; }
.pcard-foot .store-row, .pcard-foot a { pointer-events: auto; }
.store-icons { display: flex; gap: 8px; }
.store-ic {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border); color: rgba(255, 255, 255, .85);
  transition: background-color .2s ease, border-color .2s ease;
}
.store-ic:hover { background: rgba(255, 255, 255, .14); border-color: var(--border-2); }
.store-ic svg { width: 17px; height: 17px; }
.store-ic .apple { fill: currentColor; stroke: none; }
.store-ic .play { stroke: none; }

.card-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 260px; padding: 28px;
  border: 2px dashed rgba(139, 92, 246, .45); border-radius: var(--radius);
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .18), transparent 70%), var(--solid);
  transition: border-color .3s ease, transform .4s var(--ease);
}
.js .cards .card-cta { opacity: 0; }
.js .cards.in .card-cta { animation: cardIn .75s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.card-cta:hover { border-color: rgba(139, 92, 246, .8); transform: translateY(-6px); }
@media (min-width: 680px) and (max-width: 1039px) { .card-cta:nth-child(2n + 1) { grid-column: 1 / -1; min-height: 200px; } }
@media (min-width: 1040px) { .card-cta:nth-child(3n + 1) { grid-column: 1 / -1; min-height: 200px; } }
.card-cta h3 { font-size: 21px; font-weight: 800; }
.card-cta p { color: var(--muted); max-width: 320px; }
.cta-plus { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-btn); color: #fff; margin-bottom: 6px; box-shadow: 0 12px 30px -10px rgba(124, 58, 237, .9); }
.cta-plus svg { width: 26px; height: 26px; stroke-width: 2.5; }
.details-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #c4b5fd; }
.details-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card-cta:hover .details-link svg { transform: translateX(3px); }

/* Store buttons (modal + showcase) */
.store-row { display: flex; gap: 8px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px; border-radius: 11px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: #fff;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.store-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--border-2); transform: translateY(-1px); }
.store-btn svg { width: 17px; height: 17px; stroke: none; }
.store-btn svg.apple { fill: currentColor; }
.store-btn svg.globe { fill: none; stroke: var(--cyan); stroke-width: 2; }
.store-btn small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); line-height: 1; }
.store-btn span { line-height: 1.15; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 36px; } }
.about-card { padding: 32px 28px; }
@media (min-width: 640px) { .about-card { padding: 36px 34px; } }
.about-card h3 { font-size: clamp(22px, 2.6vw, 26px); font-weight: 700; line-height: 1.3; }
.about-card p { margin-top: 18px; color: var(--muted); font-size: 16px; }
.about-side { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 14px; transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease !important; }
.stat:hover { transform: translateY(-4px) !important; border-color: rgba(139, 92, 246, .45); background: rgba(255, 255, 255, .07); }
.stat-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, rgba(124, 58, 237, .4), rgba(37, 99, 235, .4)); color: #c4b5fd; }
.stat-icon svg { width: 22px; height: 22px; }
.stat strong { margin-top: 14px; font-size: clamp(30px, 4vw, 38px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span:last-child { margin-top: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.values { padding: 24px 26px; }
.values h3 { font-size: 18px; font-weight: 700; }
.values ul { display: grid; gap: 12px; margin-top: 16px; }
.values li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.d1 { background: #22d3ee; box-shadow: 0 0 12px #22d3ee; } .d2 { background: #a855f7; box-shadow: 0 0 12px #a855f7; }
.d3 { background: #3b82f6; box-shadow: 0 0 12px #3b82f6; } .d4 { background: #2dd4bf; box-shadow: 0 0 12px #2dd4bf; }

/* ==========================================================================
   Services + process
   ========================================================================== */
.services { grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { display: flex; flex-direction: column; padding: 26px; }
.service:hover { transform: translateY(-6px) !important; border-color: rgba(139, 92, 246, .45); background: rgba(255, 255, 255, .07); }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 26px -10px rgba(124, 58, 237, .9); }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { font-size: 18px; font-weight: 700; }
.service p { flex: 1; margin-top: 8px; color: var(--muted); font-size: 15px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; color: #c4b5fd; }
.service-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-link:hover svg { transform: translateX(3px); }

.process { margin-top: 80px; }
.process-title { text-align: center; font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin-bottom: 32px; }
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 24px; }
.step-num { font-size: 14px; font-weight: 800; letter-spacing: .1em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h4 { margin-top: 8px; font-size: 17px; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   Skills
   ========================================================================== */
.skills-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.skill-col h3 { text-align: center; font-size: 21px; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skill-col h3::after { content: ""; display: block; width: 64px; height: 2px; margin: 12px auto 0; border-radius: 2px; background: var(--grad-bar); }
.skill-col[data-tone="2"] h3 { background-image: linear-gradient(90deg, #3b82f6, #a855f7); }
.skill-col[data-tone="3"] h3 { background-image: linear-gradient(90deg, #a855f7, #ec4899); }
.bars { display: grid; gap: 14px; margin-top: 24px; }
.bars li { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s ease, transform .3s var(--ease); }
.bars li:hover { border-color: var(--border-2); transform: translateX(4px); }
.bars li > div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; }
.bars em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bars i { position: relative; display: block; height: 7px; margin-top: 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bars i::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, #06b6d4, #3b82f6); transform: scaleX(0); transform-origin: left;
  transition: transform 1.5s var(--ease);
}
.skill-col[data-tone="2"] .bars i::before { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.skill-col[data-tone="3"] .bars i::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.skill-col.in .bars i::before, .no-io .bars i::before { transform: scaleX(1); }
.skill-col.in .bars li:nth-child(2) i::before { transition-delay: .12s; } .skill-col.in .bars li:nth-child(3) i::before { transition-delay: .24s; }
.skill-col.in .bars li:nth-child(4) i::before { transition-delay: .36s; } .skill-col.in .bars li:nth-child(5) i::before { transition-delay: .48s; }
.skill-col.in .bars li:nth-child(6) i::before { transition-delay: .6s; }
.learning { margin-top: 56px; padding: 30px; text-align: center; }
.learning h3 { font-size: 22px; font-weight: 700; }
.learning p { max-width: 720px; margin: 12px auto 0; color: var(--muted); }
.learning .chips { justify-content: center; }

/* ==========================================================================
   Timeline
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 40px; padding-left: 34px; }
.tl-line { position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.tl-line span { position: absolute; inset: 0; background: linear-gradient(to bottom, #a855f7, #3b82f6, #22d3ee); transform: scaleY(0); transform-origin: top; }
.tl-item { position: relative; }
.tl-dot { position: absolute; left: -31px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: #0b0b10; border: 3px solid #8b5cf6; box-shadow: 0 0 0 4px rgba(139, 92, 246, .18), 0 0 18px rgba(139, 92, 246, .8); }
.tl-card { padding: 26px 26px 24px; transition: transform .8s var(--ease), opacity .8s var(--ease), border-color .3s ease; }
.tl-card:hover { border-color: rgba(139, 92, 246, .45); }
.tl-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.tl-meta span { display: inline-flex; align-items: center; gap: 8px; }
.tl-meta svg { width: 16px; height: 16px; }
.tl-card h3 { margin-top: 14px; font-size: 21px; font-weight: 700; }
.tl-org { margin-top: 6px; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.tl-desc { margin-top: 12px; color: var(--muted); }
.tl-ach { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; font-weight: 700; }
.tl-ach svg { width: 17px; height: 17px; color: #fbbf24; }
.tl-list { display: grid; gap: 8px; margin-top: 10px; }
.tl-list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; }
.tl-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #8b5cf6; }
@media (min-width: 900px) {
  .timeline { padding-left: 0; gap: 0; }
  .tl-line { left: 50%; margin-left: -1px; }
  .tl-item { width: 50%; padding: 0 44px 64px; }
  .tl-item.left { justify-self: start; }
  .tl-item.right { justify-self: end; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item.left .tl-dot { left: auto; right: -7px; }
  .tl-item.right .tl-dot { left: -7px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; transition: border-color .25s ease, background-color .25s ease; }
.faq-item[open] { border-color: rgba(139, 92, 246, .45); background: rgba(255, 255, 255, .07); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 16px 22px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(139, 92, 246, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq-more { margin-top: 32px; text-align: center; }
.faq-more .btn svg { color: var(--whatsapp); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .95fr 1.05fr; gap: 32px; } }
.contact-card, .brief { padding: 30px 22px; border-radius: var(--radius-lg); }
@media (min-width: 640px) { .contact-card, .brief { padding: 34px 32px; } }
.contact-card h3, .brief h3 { font-size: 24px; font-weight: 700; }
.contact-lead, .brief-sub { margin-top: 12px; color: var(--muted); }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border);
  transition: background-color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
a.contact-row:hover { background: rgba(255, 255, 255, .09); border-color: rgba(139, 92, 246, .45); transform: translateX(4px); }
.c-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--grad-btn); color: #fff; }
.c-icon.wa { background: #16a34a; }
.c-icon svg { width: 20px; height: 20px; }
.contact-row small { display: block; font-size: 13px; color: var(--muted); }
.contact-row strong { display: block; font-size: 15px; font-weight: 600; word-break: break-word; }
.next-steps { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.next-steps h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.next-steps ol { display: grid; gap: 14px; margin-top: 16px; counter-reset: ns; }
.next-steps li { position: relative; padding-left: 46px; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad-btn); color: #fff; font-weight: 800; font-size: 14px; }
.next-steps strong { display: block; font-size: 15.5px; }
.next-steps span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; }

.field { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.opt { color: var(--dim); font-weight: 500; }
.field input[type="text"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  font: inherit; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid var(--border);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select option { background: #111117; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #8b5cf6; background-color: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(139, 92, 246, .2); }
.field [aria-invalid="true"] { border-color: #ef4444; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chip { position: relative; margin: 0 !important; cursor: pointer; }
.pick-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); transition: all .2s ease;
}
.pick-chip:hover span { border-color: var(--border-2); color: #fff; }
.pick-chip input:checked + span { background: rgba(139, 92, 246, .2); border-color: #8b5cf6; color: #fff; }
.pick-chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-error { margin-top: 14px; color: #f87171; font-size: 14px; font-weight: 600; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.brief-actions .btn { flex: 1 1 200px; min-height: 52px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { margin-top: 14px; max-width: 380px; color: var(--muted); font-size: 15px; }
.footer h4 { font-size: 15px; font-weight: 700; }
.footer-links { display: grid; gap: 10px; margin-top: 14px; }
.footer-links a, .footer-links span { color: var(--muted); font-size: 14.5px; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--dim); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.to-top:hover { color: #fff; }
.to-top svg { width: 16px; height: 16px; }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  width: min(940px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0;
  border: 1px solid var(--border-2); border-radius: 22px; background: #0c0c11; color: #fff;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(139, 92, 246, .12); overflow: hidden;
}
.modal::backdrop { background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal-inner { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 28px 20px 32px; }
@media (min-width: 680px) { .modal-inner { padding: 36px 36px 40px; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.m-head { display: flex; align-items: center; gap: 16px; padding-right: 48px; }
.m-head > img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px var(--border-2); }
.m-head h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; }
@media (max-width: 520px) { .m-head { align-items: flex-start; } .m-head > img { width: 52px; height: 52px; border-radius: 14px; } }
.m-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.m-pill { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid var(--border); color: var(--muted); }
.m-pill.accent { background: rgba(139, 92, 246, .18); border-color: rgba(139, 92, 246, .45); color: #ddd6fe; }
.m-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.m-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border); font-size: 13px; font-weight: 600; transition: border-color .2s ease, color .2s ease; }
.m-tool svg { width: 16px; height: 16px; }
.m-tool:hover { border-color: var(--border-2); }
.m-tool.done { color: #4ade80; border-color: #4ade80; }
.m-hint { margin-left: auto; font-size: 12.5px; color: var(--dim); }
@media (max-width: 520px) { .m-hint { display: none; } }
.m-shots { display: flex; gap: 14px; margin: 18px -20px 0; padding: 4px 20px 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
@media (min-width: 680px) { .m-shots { margin: 18px -36px 0; padding: 4px 36px 12px; } }
.shot { flex: none; padding: 0; border: 0; background: none; border-radius: 18px; cursor: zoom-in; scroll-snap-align: start; transition: transform .25s var(--ease); }
.shot:hover { transform: translateY(-4px); }
.shot img { width: 190px; height: auto; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; border-radius: 18px; background: #16161d; box-shadow: 0 0 0 1px var(--border); }
@media (min-width: 680px) { .shot img { width: 200px; } }
.m-shots.wide .shot { border-radius: 12px; }
.m-shots.wide .shot img { width: 300px; aspect-ratio: 16 / 10; border-radius: 12px; }
@media (min-width: 680px) { .m-shots.wide .shot img { width: 440px; } }
.m-grid { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 760px) { .m-grid { grid-template-columns: 1.2fr 1fr; } }
.m-grid h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 12px; }
.m-desc { color: var(--muted); font-size: 15.5px; }
.m-features { display: grid; gap: 10px; }
.m-features li { position: relative; padding-left: 28px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.m-features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(139, 92, 246, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.m-apps { display: grid; gap: 12px; margin-top: 28px; }
.m-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.m-app-name { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.m-app-name img { width: 40px; height: 40px; border-radius: 10px; }
.m-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(37, 99, 235, .08)); border: 1px dashed rgba(139, 92, 246, .5); }
.m-cta p { font-weight: 600; }
.m-cta .btn { background: var(--grad-btn); color: #fff; }
.m-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.m-nav-btn { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 14px; border-radius: 14px; text-align: left; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); font-weight: 600; font-size: 14.5px; transition: border-color .2s ease, background-color .2s ease; }
.m-nav-btn:hover { border-color: rgba(139, 92, 246, .5); background: rgba(255, 255, 255, .07); }
.m-nav-btn.next { justify-content: flex-end; text-align: right; }
.m-nav-btn small { display: block; font-size: 11.5px; font-weight: 500; color: var(--dim); }
.m-nav-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .95); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: modalIn .25s ease; }
.lb-figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px 28px; touch-action: pan-y; }
.lb-figure img { max-width: min(100%, 460px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); background: #111117; }
.lightbox.wide .lb-figure img { max-width: min(100%, 1200px); border-radius: 12px; }
.lb-figure figcaption { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .2s ease; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-figure { padding-bottom: 84px; } }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 16px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 34px -8px rgba(22, 163, 74, .7);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), background-color .2s ease;
}
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: #15803d; }
.fab svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .fab { width: 56px; padding: 0; justify-content: center; } .fab-label { display: none; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-intro] { opacity: 1; transform: none; filter: none; }
  .js .reveal, .js .stagger > *, .js .cards .pcard, .js .cards .card-cta { opacity: 1 !important; transform: none !important; }
  .title-bar, .bars i::before { transform: none !important; }
  .marquee-track, .tile { animation: none !important; }
}
