/* Metric-matched fallback for Poppins: text keeps the same size while the web font loads (prevents layout shift). */
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('DejaVu Sans'); size-adjust: 112.2%; ascent-override: 93.6%; descent-override: 31.2%; line-gap-override: 8.9%; }
/* Codly India v2 design layer — extracted from index.php (dark mode, approved mockup). */
:root {
  --bg: #0B0820;
  --bg-2: #120C30;
  --glass: rgba(34, 22, 78, .55);
  --glass-2: rgba(52, 30, 112, .45);
  --stroke: rgba(167, 139, 250, .28);
  --stroke-hi: rgba(196, 181, 253, .5);
  --text: #FFFFFF;
  --body: #D9D4F0;
  --muted: #A9A2CC;
  --violet: #7C3AED;
  --purple: #4C1D95;
  --rose: #DB2777;
  --pink: #EC4899;
  --orange: #F97316;
  --orange-2: #EA580C;
  --gold: #F59E0B;
  --cream: #FEF3C7;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 26px;
  --font: 'Poppins', 'Poppins Fallback', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 1rem/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange-2); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
h1, h2, h3 { color: var(--text); margin: 0; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; }
.hl { color: var(--orange); }

/* Page-wide nebula */
.nebula { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.nebula::before, .nebula::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); }
.nebula::before { width: 60vw; height: 60vw; left: 30vw; top: -20vw; background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 65%); }
.nebula::after { width: 50vw; height: 40vw; left: -15vw; top: 25vw; background: radial-gradient(circle, rgba(219, 39, 119, .16), transparent 65%); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; fill: #E9E4FF; }

/* Chips & buttons */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(76, 29, 149, .28); color: var(--body); font-size: .8125rem; font-weight: 500; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.chip svg { width: 15px; height: 15px; color: var(--orange); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: .9375rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s, background .2s; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 6px 22px rgba(249, 115, 22, .35); }
.btn-orange:hover { box-shadow: 0 8px 30px rgba(249, 115, 22, .5); transform: translateY(-1px); }
.btn-line { border-color: rgba(233, 228, 255, .55); color: var(--text); background: rgba(11, 8, 32, .3); }
.btn-line:hover { border-color: #fff; background: rgba(124, 58, 237, .15); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(11, 8, 32, .72); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(167, 139, 250, .14); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 76px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; }
.lockup .ico { width: 46px; height: 46px; overflow: hidden; flex: none; filter: drop-shadow(0 0 10px rgba(56, 189, 248, .35)); }
.lockup .ico img { height: 46px; width: auto; max-width: none; }
.lockup .wm { display: grid; line-height: 1; }
.lockup .wm b { font-size: 1.45rem; font-weight: 700; color: #fff; letter-spacing: .01em; }
.lockup .wm b span { color: var(--orange); }
.lockup .wm small { font-size: .56rem; letter-spacing: .42em; color: var(--body); margin-top: 5px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav .dd > button { padding: 9px 16px; border-radius: 99px; color: var(--body); font-size: .9375rem; font-weight: 500; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd > button:hover { color: #fff; }
.nav > a.active { background: linear-gradient(135deg, rgba(124, 58, 237, .55), rgba(76, 29, 149, .55)); color: #fff; box-shadow: inset 0 0 0 1px var(--stroke-hi); }
.nav .dd { position: relative; }
.nav .dd svg { width: 15px; height: 15px; transition: transform .2s; }
.nav .dd[data-open="true"] > button svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 240px; padding: 8px; border-radius: var(--r-md); background: rgba(20, 13, 52, .97); border: 1px solid var(--stroke); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); display: none; }
.dd[data-open="true"] .dd-menu { display: grid; }
.dd-menu a { padding: 10px 12px; border-radius: 10px; color: var(--body); font-size: .9375rem; }
.dd-menu a:hover { background: rgba(124, 58, 237, .25); color: #fff; }
.head-right { display: flex; align-items: center; gap: 12px; margin-left: 12px; }
.theme-pill { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 3px; border-radius: 99px; border: 1.5px solid rgba(233, 228, 255, .45); color: var(--body); background: rgba(11, 8, 32, .35); cursor: pointer; }
.theme-pill .tp { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s; }
.theme-pill svg { width: 17px; height: 17px; }
.theme-pill[aria-checked="false"] .tp-moon, .theme-pill[aria-checked="true"] .tp-sun { background: linear-gradient(135deg, var(--violet), var(--rose)); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--stroke); background: none; color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.m-nav { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .head-right { margin-left: auto; }
  .m-nav[data-open="true"] { display: grid; gap: 2px; padding: 8px var(--gutter) 18px; border-top: 1px solid var(--stroke); }
  .m-nav a { padding: 12px 10px; border-radius: 10px; color: var(--body); }
  .m-nav a:hover { background: rgba(124, 58, 237, .2); color: #fff; }
  .m-nav .sub { padding-left: 24px; font-size: .9375rem; }
}
@media (max-width: 520px) { .head-right .btn { display: none; } .lockup .wm small { letter-spacing: .3em; } }

/* Hero */
.hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 0; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.1; font-weight: 700; margin-top: 22px; }
.brush { position: relative; display: inline-block; white-space: nowrap; }
.brush svg { position: absolute; left: 30%; right: 0; bottom: -.28em; width: 62%; height: .32em; }
.hero .lede { margin-top: 22px; color: var(--body); font-size: 1.0625rem; max-width: 30em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hstats { display: flex; flex-wrap: nowrap; gap: 0; margin-top: 40px; }
@media (max-width: 1240px) { .hstats { flex-wrap: wrap; row-gap: 14px; } }
.hstat { display: flex; align-items: center; gap: 10px; padding: 4px 18px; border-left: 1px solid rgba(167, 139, 250, .25); white-space: nowrap; }
.hstat:first-child { padding-left: 0; border-left: 0; }
.hstat svg { width: 28px; height: 28px; color: #8B5CF6; flex: none; }
.hstat:nth-child(2) svg { color: #A78BFA; } .hstat:nth-child(3) svg { color: var(--pink); } .hstat:nth-child(4) svg { color: #60A5FA; }
.hstat b { display: block; color: #fff; font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.hstat span { font-size: .8125rem; color: var(--body); }

/* Globe stage */
.stage { position: relative; aspect-ratio: 1.12 / 1; width: 100%; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 2; }
.stage .glow { position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, .45), rgba(219, 39, 119, .18) 45%, transparent 70%); filter: blur(10px); z-index: 0; }
.stage .fb-globe { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, rgba(196, 181, 253, .5), rgba(76, 29, 149, .85) 45%, #160C3E 75%);
  box-shadow: 0 0 60px rgba(168, 85, 247, .55), inset -18px -18px 50px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(236, 72, 153, .5); }
.stage .fb-globe svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; }
.stage .fb-ring { position: absolute; left: 50%; top: 52%; width: 96%; height: 34%; transform: translate(-50%, -50%) rotate(-14deg); border-radius: 50%; border: 2px solid rgba(249, 115, 22, .8); box-shadow: 0 0 18px rgba(249, 115, 22, .6), inset 0 0 18px rgba(236, 72, 153, .35); z-index: 1; }
.stage.has-3d .fb-globe, .stage.has-3d .fb-ring { display: none; }
.emblem { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 4; overflow: hidden; pointer-events: none; filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255, 255, 255, .6)); }
.emblem img { height: 100%; width: auto; max-width: none; }
.otile { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--tilt, -6deg)); z-index: 3; display: grid; justify-items: center; gap: 6px; padding: 14px 16px 12px; min-width: 112px;
  border-radius: 16px; background: linear-gradient(160deg, rgba(76, 29, 149, .92), rgba(28, 14, 70, .92)); border: 1px solid rgba(236, 72, 153, .55);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, .4), 0 0 24px rgba(219, 39, 119, .35), 0 14px 30px rgba(0, 0, 0, .45); color: #fff; font-weight: 600; font-size: .8125rem; white-space: nowrap; transition: box-shadow .2s; }
.otile:hover { box-shadow: 0 0 0 1px var(--orange), 0 0 30px rgba(249, 115, 22, .5), 0 14px 30px rgba(0, 0, 0, .45); }
.otile .mk { font-size: 1.9rem; }
.otile .mk svg { width: 34px; height: 34px; }
.stage.has-3d .otile { left: 0; top: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) translate(-50%, -50%) scale(var(--s, 1)) rotate(var(--tilt, -6deg)); transition: none; will-change: transform; }
.otile.back { z-index: 1; }

/* Product marks */
.mk { display: inline-grid; place-items: center; font-weight: 700; line-height: 1; font-style: italic; letter-spacing: -.04em; }
.mk-m { background: linear-gradient(180deg, #E879F9, #8B5CF6); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; font-weight: 800; }
.mk-ca { background: linear-gradient(180deg, #67E8F9, #2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-code { background: linear-gradient(90deg, #F472B6, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; font-size: .85em; }
.mk-stack svg { color: var(--gold); stroke-width: 2.2; }

/* Hero waves */
.waves { position: relative; display: block; width: 100%; height: clamp(70px, 9vw, 130px); margin-top: -10px; z-index: 1; }

/* Service tiles */
.services { position: relative; z-index: 1; padding: 34px 0 10px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 120px; padding: 18px 12px; text-align: center; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(40, 24, 92, .75), rgba(20, 12, 54, .75)) padding-box, linear-gradient(160deg, rgba(167, 139, 250, .6), rgba(124, 58, 237, .12) 45%, rgba(236, 72, 153, .5)) border-box;
  border: 1px solid transparent; color: #fff; font-size: .9375rem; font-weight: 500; line-height: 1.3; transition: transform .2s, box-shadow .2s; }
.tile svg { width: 32px; height: 32px; color: #fff; }
.tile:nth-child(2) svg { color: #C4B5FD; } .tile:nth-child(3) svg { color: #93C5FD; } .tile:nth-child(4) svg { color: #F0ABFC; } .tile:nth-child(5) svg { color: #93C5FD; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 0 26px rgba(124, 58, 237, .45); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

section.block { position: relative; z-index: 1; padding: clamp(48px, 6vw, 80px) 0; }
.sec-title { font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.18; margin-top: 16px; }
.sec-lede { margin-top: 14px; color: var(--body); max-width: 30em; }

/* Product ecosystem */
.eco { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr); gap: 32px; align-items: center; }
.eco .btn { margin-top: 26px; }
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 26px 18px 22px; min-height: 230px; border-radius: var(--r-lg); border: 1px solid rgba(196, 181, 253, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 0 30px rgba(124, 58, 237, .45), 0 18px 40px rgba(0, 0, 0, .35); }
.pcard::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -30%; height: 60%; background: repeating-radial-gradient(ellipse at 50% 120%, rgba(255, 255, 255, .0) 0 10px, rgba(255, 255, 255, .07) 10px 11px); pointer-events: none; }
.pcard .mk { font-size: 2.5rem; }
.pcard .mk svg { width: 42px; height: 42px; }
.pcard h3 { font-size: 1.0625rem; }
.pcard p { font-size: .8125rem; color: rgba(255, 255, 255, .82); line-height: 1.5; }
.pcard .go { margin-top: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); color: #fff; position: relative; z-index: 1; }
.pcard .go svg { width: 16px; height: 16px; }
.g-violet { background: linear-gradient(170deg, #3B1A86, #5B21B6 55%, #7C3AED); }
.g-blue   { background: linear-gradient(170deg, #0C2A6B, #1D4ED8 60%, #0EA5E9); border-color: rgba(103, 232, 249, .45); }
.g-purple { background: linear-gradient(170deg, #2E1065, #5B21B6 60%, #A21CAF); }
.g-rose   { background: linear-gradient(170deg, #4A0E3A, #9D174D 55%, #EA580C); border-color: rgba(251, 146, 60, .5); }
@media (max-width: 1100px) { .eco { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, .9fr); gap: 36px; align-items: center; }
.photo { position: relative; border-radius: var(--r-lg); padding: 3px; background: linear-gradient(135deg, var(--violet), var(--rose) 50%, var(--orange)); box-shadow: 0 0 40px rgba(219, 39, 119, .3); }
.photo .inner { border-radius: calc(var(--r-lg) - 3px); overflow: hidden; background: var(--bg-2); display: grid; grid-template-columns: repeat(5, 1fr); aspect-ratio: 16 / 10; }
.photo .inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.photo .cap { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(11, 8, 32, .75); font-size: .75rem; color: var(--body); }
.about .btn { margin-top: 24px; }
.astats { display: grid; grid-template-columns: 1fr 1fr; }
.astat { display: flex; align-items: center; gap: 12px; padding: 22px 8px; }
.astat:nth-child(odd) { border-right: 1px solid rgba(167, 139, 250, .2); }
.astat:nth-child(-n+2) { border-bottom: 1px solid rgba(167, 139, 250, .2); }
.astat svg { width: 32px; height: 32px; color: var(--orange); flex: none; }
.astat:nth-child(2) svg, .astat:nth-child(4) svg { color: #C084FC; }
.astat b { display: block; color: #fff; font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.astat span { font-size: .8125rem; white-space: nowrap; }
@media (max-width: 1100px) { .about { grid-template-columns: 1fr 1fr; } .astats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); } .astat:nth-child(n) { border: 0; } }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .astats { grid-template-columns: 1fr 1fr; } }

/* Projects */
.work { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 32px; align-items: center; }
.work > *, .eco > *, .about > *, .hero .wrap > * { min-width: 0; }
.carousel { position: relative; }
.track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px; }
.track::-webkit-scrollbar { display: none; }
.wcard { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; background: rgba(28, 18, 66, .9); border: 1px solid var(--stroke); transition: border-color .2s, box-shadow .2s; }
.wcard:hover { border-color: var(--stroke-hi); box-shadow: 0 0 24px rgba(124, 58, 237, .35); }
.wcard .shot { aspect-ratio: 16 / 9.5; background: #1A1140; overflow: hidden; }
.wcard .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wcard .meta { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px 14px; }
.wcard h3 { font-size: .9375rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.wcard .cat { font-size: .8125rem; color: var(--muted); }
.wcard .ne { margin-left: auto; width: 20px; height: 20px; color: #fff; flex: none; }
.cbtn { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 13, 52, .95); border: 1px solid var(--stroke-hi); color: #fff; cursor: pointer; z-index: 2; }
.cbtn svg { width: 20px; height: 20px; }
.cbtn.prev { left: -22px; } .cbtn.next { right: -22px; }
@media (max-width: 1100px) { .work { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .wcard { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .wcard { flex-basis: 82%; } .cbtn.prev { left: -6px; } .cbtn.next { right: -6px; } }

/* Trusted by */
.trusted { position: relative; z-index: 1; text-align: center; padding: 8px 0 40px; }
.trusted h2 { font-size: 1rem; font-weight: 500; color: var(--text); }
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 22px; }
.client { display: inline-flex; align-items: center; gap: 10px; padding: 8px 22px; color: #fff; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; white-space: nowrap; }
.client + .client { border-left: 1px solid rgba(167, 139, 250, .3); }
.client i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: .8125rem; font-weight: 700; background: linear-gradient(135deg, var(--violet), var(--rose)); }
@media (max-width: 760px) { .client { padding: 8px 16px; font-size: 1rem; } .client + .client { border-left: 0; } }

/* CTA with mountains */
.cta-zone { position: relative; z-index: 1; padding: 40px 0 0; overflow: hidden; }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 88%; }
.cta { position: relative; display: grid; grid-template-columns: auto 1px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 34px clamp(22px, 4vw, 40px); border-radius: var(--r-xl);
  background: linear-gradient(120deg, rgba(46, 16, 101, .85), rgba(59, 7, 100, .7) 60%, rgba(124, 45, 18, .55)); border: 1px solid rgba(196, 181, 253, .35); backdrop-filter: blur(6px); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); margin-bottom: clamp(70px, 9vw, 120px); }
.cta h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.2; }
.cta .sep { width: 1px; align-self: stretch; background: rgba(196, 181, 253, .35); }
.cta p { color: var(--body); max-width: 28em; }
.cta .acts { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 1000px) { .cta { grid-template-columns: 1fr; } .cta .sep { display: none; } }

/* 3D layer + micro-interactions (immersive-3d-web skill) */
:root { --ease: cubic-bezier(0.16, 1, 0.3, 1); }
#universe { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.has-universe .hero .stars { display: none; }
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn svg:last-child { transition: transform .25s var(--ease); }
.btn:hover svg:last-child, .btn:focus-visible svg:last-child { transform: translateX(3px); }
.hero-cta { position: relative; overflow: hidden; }
.hero-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%); background-size: 220% 100%; animation: cta-shine 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes cta-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.nav > a:not(.active) { position: relative; }
.nav > a:not(.active)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:not(.active):hover::after, .nav > a:not(.active):focus-visible::after { transform: scaleX(1); }
.tile, .pcard, .wcard { transition: transform .4s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.pcard:focus-visible, .tile:focus-visible, .wcard:focus-visible { transform: translateY(-4px); box-shadow: 0 0 30px rgba(124, 58, 237, .45); }
.pcard .go { transition: transform .25s var(--ease), background .25s var(--ease); }
.pcard:hover .go { transform: translateX(3px); background: rgba(255, 255, 255, .14); }
@media (prefers-reduced-motion: reduce) { .hero-cta::after { animation: none; display: none; } .btn, .btn svg, .tile, .pcard, .wcard { transition: none; } }

/* Background motion */
.waves .pulse { stroke-dasharray: 70 930; animation: pulse-run 6s linear infinite; filter: drop-shadow(0 0 6px rgba(249, 115, 22, .9)); }
@keyframes pulse-run { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.mountains .ridge { transform: translateY(var(--py, 0)); will-change: transform; }
.mountains .fog { animation: fog-drift 38s linear infinite; }
@keyframes fog-drift { from { transform: translateX(0); } to { transform: translateX(720px); } }
.mountains .sun { transform-box: fill-box; transform-origin: center; animation: sun-breathe 7s ease-in-out infinite; }
@keyframes sun-breathe { 0%, 100% { opacity: .18; transform: scale(1); } 50% { opacity: .32; transform: scale(1.06); } }
.mountains .twinkle circle { animation: twinkle 3.2s ease-in-out infinite; }
.mountains .twinkle circle:nth-child(2n) { animation-delay: -1.1s; animation-duration: 4.1s; }
.mountains .twinkle circle:nth-child(3n) { animation-delay: -2.3s; animation-duration: 2.7s; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) {
  .waves .pulse { display: none; }
  .mountains .fog, .mountains .sun, .mountains .twinkle circle { animation: none; }
}

/* Cookie banner */
#cookie-banner { position: fixed; left: 18px; bottom: 18px; z-index: 80; max-width: 380px; padding: 16px 18px; border-radius: 16px; background: rgba(20, 13, 52, .97); border: 1px solid var(--stroke); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); font-size: .875rem; color: var(--body); }
#cookie-banner b { color: #fff; }
#cookie-banner a { color: var(--orange); text-decoration: underline; }
#cookie-banner .cb-acts { display: flex; gap: 10px; margin-top: 12px; }
#cookie-banner .btn { min-height: 38px; padding: 0 16px; font-size: .875rem; flex: 1; }
@media (max-width: 520px) { #cookie-banner { left: 10px; right: 10px; bottom: 84px; max-width: none; } }

/* Footer */
.site-foot { position: relative; z-index: 1; background: #07051A; border-top: 1px solid rgba(167, 139, 250, .15); padding: 48px 0 28px; font-size: .9375rem; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.fgrid h3 { font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.fgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fgrid a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(167, 139, 250, .15); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .8125rem; }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > :first-child { grid-column: 1 / -1; } }

.wa-fab { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); z-index: 50; }
.wa-fab svg { width: 28px; height: 28px; }
.preview-flag { background: linear-gradient(90deg, var(--violet), var(--rose)); color: #fff; text-align: center; font-size: .8125rem; padding: 6px 12px; position: relative; z-index: 70; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 640px; margin: 10px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .otile { min-width: 84px; padding: 10px 10px 8px; font-size: .6875rem; border-radius: 12px; }
  .otile .mk { font-size: 1.35rem; } .otile .mk svg { width: 24px; height: 24px; }
  .hstat { padding: 8px 14px; } .hstat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .btn, .tile, .pcard { transition: none; } }

/* =====================================================================
   Mobile app layer (phones <= 820px): app bar, bottom navigation,
   bottom sheets, ripples, swipe rows, page slide transitions.
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.bnav { display: none; }

/* Ripple + press feedback */
.has-ripple { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .26); transform: scale(0); animation: ripple .6s var(--ease) forwards; pointer-events: none; z-index: 5; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
@media (hover: none) {
  .btn:active, .tile:active, .pcard:active, .wcard:active, .mcard:active, .icard:active, .w:active, .bn-item:active, .sheet-list a:active { transform: scale(.97); transition: transform .12s var(--ease); }
}

/* Bottom sheets (phones) / centred dialogs (desktop) */
.sheet { position: fixed; inset: 0; z-index: 95; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 18, .62); opacity: 0; transition: opacity .3s var(--ease); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; overscroll-behavior: contain; background: #140D34;
  border-radius: 26px 26px 0 0; border-top: 1px solid var(--stroke); padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .34s var(--ease); box-shadow: 0 -20px 50px rgba(0, 0, 0, .45); }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-grab { width: 42px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .3); margin: 6px auto 12px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-top h2 { font-size: 1.125rem; }
.sheet-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sheet-x svg { width: 18px; height: 18px; }
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sheet-list a { display: flex; align-items: center; gap: 14px; padding: 10px 10px; min-height: 60px; border-radius: 16px; color: var(--body); user-select: none; -webkit-user-select: none; }
.sheet-list a:hover { background: rgba(124, 58, 237, .16); }
.sheet-list .si { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(124, 58, 237, .22); border: 1px solid var(--stroke); flex: none; color: #fff; }
.sheet-list .si svg { width: 20px; height: 20px; }
.sheet-list .si .mk { font-size: 1.15rem; }
.sheet-list .si .mk svg { width: 22px; height: 22px; }
.sheet-list b { display: block; color: #fff; font-weight: 600; font-size: .9375rem; }
.sheet-list small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
html.sheet-open { overflow: hidden; }
@media (min-width: 821px) {
  .sheet-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: min(540px, 92vw); max-height: 86vh; border-radius: 24px; border: 1px solid var(--stroke);
    padding: 20px 22px 22px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-grab { display: none; }
}

/* Image placeholders */
img { transition: opacity .35s var(--ease); }
img.ld { opacity: 0; }
.ph:has(img.ld), .shot:has(img.ld), .thumb:has(img.ld), .photo .inner:has(img.ld) {
  background: linear-gradient(100deg, #1A1140 30%, #2A1D5E 50%, #1A1140 70%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 820px) {
  /* Page slide transitions between pages (Chrome on Android) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .26s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .3s var(--ease) both; }
  .bnav { view-transition-name: bnav; }

  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .btn, .bn-item, .tile, .chip, .nav, .hstat, .client, .gl, .dtab { -webkit-user-select: none; user-select: none; }
  .btn { min-height: 48px; }

  /* Top app bar: solid, compact, hides on scroll down */
  .site-head { background: rgba(11, 8, 32, .97); backdrop-filter: none; -webkit-backdrop-filter: none; transition: transform .3s var(--ease); padding-top: env(safe-area-inset-top); }
  .site-head.hide { transform: translateY(-100%); }
  .site-head .wrap { height: 58px; }
  .lockup .ico { width: 36px; height: 36px; }
  .lockup .ico img { height: 36px; }
  .lockup .wm b { font-size: 1.1rem; }
  .lockup .wm small { font-size: .5rem; letter-spacing: .34em; }
  .head-right .btn, .menu-btn, .m-nav { display: none !important; }
  .theme-pill { height: 36px; padding: 2px; } .theme-pill .tp { width: 30px; height: 30px; } .head-right { margin-left: auto; }

  /* Bottom navigation */
  .bnav { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(16, 11, 42, .98); border-top: 1px solid rgba(167, 139, 250, .2); box-shadow: 0 -8px 30px rgba(0, 0, 0, .35); }
  .bn-item { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 58px; padding: 4px 0; background: none; border: 0; border-radius: 16px; color: var(--muted);
    font: 500 .6875rem/1.2 var(--font); cursor: pointer; text-decoration: none; }
  .bn-item svg { width: 22px; height: 22px; padding: 4px 18px; box-sizing: content-box; border-radius: 99px; transition: background .25s var(--ease), color .25s var(--ease); }
  .bn-item.active { color: #fff; font-weight: 600; }
  .bn-item.active svg { background: linear-gradient(135deg, rgba(124, 58, 237, .7), rgba(219, 39, 119, .55)); color: #fff; }

  /* Floating WhatsApp button + cookie banner sit above the bottom bar */
  .wa-fab { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 18px; }
  #cookie-banner { left: 10px; right: 10px; max-width: none; bottom: calc(82px + env(safe-area-inset-bottom)) !important; }

  /* Lighter effects for smooth scrolling */
  .nebula::before, .nebula::after { filter: blur(36px); }
  .cta { backdrop-filter: none; }
  section.block { padding: 40px 0; }
  .sec-title { font-size: 1.6rem; }

  /* Homepage: app-style sections */
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 2.15rem; margin-top: 16px; }
  .hero .lede { font-size: 1rem; margin-top: 14px; }
  .hero .ctas { gap: 10px; margin-top: 22px; }
  .hero .ctas .btn { flex: 1 1 0; padding: 0 14px; }
  .hstats { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; margin: 26px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter) 6px; gap: 10px; scrollbar-width: none; }
  .hstats::-webkit-scrollbar { display: none; }
  .hstat, .hstat:first-child { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 14px !important; border: 1px solid var(--stroke) !important; border-radius: 16px; background: rgba(28, 18, 66, .7); }
  .tiles, .pcards, .clients { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; gap: 12px; justify-content: flex-start !important; }
  .tiles::-webkit-scrollbar, .pcards::-webkit-scrollbar, .clients::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 40%; min-height: 108px; scroll-snap-align: start; }
  .pcard { flex: 0 0 74%; scroll-snap-align: start; min-height: 220px; }
  .client, .client + .client { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--stroke); border-radius: 99px; background: rgba(28, 18, 66, .7); font-size: .9375rem; scroll-snap-align: start; }
  .cbtn { display: none !important; }
  .wcard { flex-basis: 84%; }
  .cta { padding: 22px; gap: 16px; }
  .cta .acts { width: 100%; }
  .cta .acts .btn { flex: 1 1 0; }
  .site-foot { padding: 32px 0 20px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@keyframes vt-out { to { transform: translateX(-22%); opacity: 0; } }
@keyframes vt-in { from { transform: translateX(28%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripple { display: none; } }

/* Menus: "All ..." link, emoji icons in sheets */
.dd-menu .dd-all { margin-top: 4px; border-top: 1px solid var(--stroke); border-radius: 0 0 10px 10px; color: var(--orange); font-weight: 600; }
.sheet-list .si .emo { font-size: 1.3rem; line-height: 1; }
.sheet-all { width: 100%; margin-top: 12px; }

/* Theme switch hidden until light mode is switched on (includes/v2/LIGHT_ON) */
html.no-theme-switch .theme-pill { display: none !important; }
