/* ===================================================================
   Zyn Soft — Portfolio  (Light theme + Indigo/Blue, cinematic hero)
   Rebrand: tweak the color tokens in :root below.
   =================================================================== */

:root {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --cyan: #06b6d4;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, #4f46e5 0%, #3b82f6 45%, #06b6d4 100%);

  --bg: #f6f8ff;
  --bg-2: #eef1fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #94a3b8;
  --line: #e6e9f5;

  /* cinematic dark hero palette */
  --night: #07071a;
  --night-2: #0e0e2a;

  --shadow-sm: 0 4px 16px rgba(31,41,88,.06);
  --shadow-md: 0 18px 50px rgba(31,41,88,.12);
  --shadow-lg: 0 30px 80px rgba(49,46,129,.18);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22,1,0.36,1);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

/* Lenis smooth-scroll */
html.lenis,html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }
.lenis.lenis-stopped{ overflow:hidden; }
.section__title,.kicker,.section__lead,.mock{ will-change:transform; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
body{
  font-family:"Inter",system-ui,-apple-system,sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.6;
  overflow-x:hidden; cursor:none;
}
@media (hover:none){ body{ cursor:auto; } }
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:"Sora",sans-serif; line-height:1.1; letter-spacing:-.02em; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

/* ---------- Aurora background (light sections) ---------- */
.aurora{ position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.aurora__blob{
  position:absolute; border-radius:50%; filter:blur(90px); opacity:.5;
  background:radial-gradient(circle, var(--indigo), transparent 70%);
  animation:drift 22s var(--ease) infinite;
}
.aurora .a1{ width:540px; height:540px; top:-160px; right:-120px; background:radial-gradient(circle,rgba(99,102,241,.55),transparent 70%); }
.aurora .a2{ width:520px; height:520px; bottom:-140px; left:-120px; background:radial-gradient(circle,rgba(6,182,212,.45),transparent 70%); animation-delay:-7s; }
.aurora .a3{ width:460px; height:460px; top:40%; left:55%; background:radial-gradient(circle,rgba(139,92,246,.35),transparent 70%); animation-delay:-14s; }
@keyframes drift{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(60px,40px) scale(1.12); }
  66%{ transform:translate(-50px,30px) scale(.92); }
}
body::after{ /* soft light wash so content stays readable over aurora */
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, rgba(246,248,255,.55), rgba(238,241,251,.82));
}

/* ---------- Utilities ---------- */
.grad-text{
  background:var(--grad); -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.kicker{
  display:inline-block; font-family:"Sora",sans-serif; font-weight:600;
  font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--indigo);
  padding:6px 14px; border:1px solid var(--line); border-radius:999px;
  background:rgba(255,255,255,.7); backdrop-filter:blur(8px); margin-bottom:18px;
}

/* ---------- Buttons ---------- */
.btn{
  --pad:12px 22px;
  display:inline-flex; align-items:center; gap:8px; padding:var(--pad);
  font-family:"Sora",sans-serif; font-weight:600; font-size:.95rem;
  border-radius:999px; border:1px solid transparent; cursor:none;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space:nowrap;
}
@media (hover:none){ .btn{ cursor:pointer; } }
.btn--sm{ --pad:9px 18px; font-size:.88rem; }
.btn--lg{ --pad:15px 30px; font-size:1rem; }
.btn--block{ width:100%; justify-content:center; }
.btn--primary{ background:var(--grad); color:#fff; box-shadow:0 12px 30px rgba(79,70,229,.35); }
.btn--primary:hover{ transform:translateY(-3px); box-shadow:0 20px 44px rgba(79,70,229,.5); }
.btn--glass{
  background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.35); color:#fff;
  backdrop-filter:blur(10px);
}
.btn--glass:hover{ transform:translateY(-3px); background:rgba(255,255,255,.18); }
.btn--glass .play{ font-size:.7rem; }

/* "Let's Talk" CTA — moving gradient + shine + pulsing dot + arrow */
.btn--talk{
  position:relative; overflow:hidden; color:#fff; gap:8px;
  background:linear-gradient(120deg,#4f46e5,#3b82f6,#06b6d4,#4f46e5);
  background-size:300% 100%;
  animation:talkGrad 6s linear infinite;
  box-shadow:0 8px 22px rgba(79,70,229,.4);
}
@keyframes talkGrad{ to{ background-position:300% 50%; } }
.btn--talk::before{
  content:""; position:absolute; top:0; left:-120%; width:55%; height:100%; transform:skewX(-20deg); pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition:left .6s var(--ease);
}
.btn--talk:hover::before{ left:150%; }
.btn--talk:hover{ box-shadow:0 14px 34px rgba(79,70,229,.6); }
.btn--talk .btn__dot{ width:7px; height:7px; border-radius:50%; background:#fff; box-shadow:0 0 0 0 rgba(255,255,255,.7); animation:talkPulse 1.8s infinite; }
@keyframes talkPulse{ 0%{ box-shadow:0 0 0 0 rgba(255,255,255,.6); } 70%{ box-shadow:0 0 0 7px rgba(255,255,255,0); } 100%{ box-shadow:0 0 0 0 rgba(255,255,255,0); } }
.btn--talk svg{ width:14px; height:14px; transition:transform .3s var(--ease); }
.btn--talk:hover svg{ transform:translateX(4px); }

/* ---------- Custom cursor + spotlight ---------- */
.cursor,.cursor-dot{ position:fixed; top:0; left:0; border-radius:50%; pointer-events:none; z-index:9999; transform:translate(-50%,-50%); }
.cursor{ width:34px; height:34px; border:1.5px solid rgba(79,70,229,.5); transition:width .25s,height .25s,background .25s,border-color .25s; }
.cursor-dot{ width:6px; height:6px; background:var(--indigo); }
.cursor.is-hover{ width:56px; height:56px; background:rgba(79,70,229,.12); border-color:transparent; }
#spotlight{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(260px circle at var(--mx,-100px) var(--my,-100px), rgba(99,102,241,.10), transparent 60%);
  mix-blend-mode:multiply; transition:opacity .3s;
}
@media (hover:none){ .cursor,.cursor-dot,#spotlight{ display:none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress{ position:fixed; top:0; left:0; height:3px; width:0; background:var(--grad); z-index:9998; transition:width .1s linear; }

/* ---------- Cinematic preloader ---------- */
.preloader{
  position:fixed; inset:0; z-index:10000; display:grid; place-content:center;
  background:radial-gradient(80% 80% at 50% 30%, var(--night-2), var(--night));
  transition:opacity .7s var(--ease), visibility .7s;
}
.preloader.done{ opacity:0; visibility:hidden; }
.preloader__inner{ text-align:center; color:#fff; }
.preloader__logo{ font-family:"Sora"; font-weight:800; font-size:2rem; letter-spacing:-.02em; }
.preloader__logo span{ color:#818cf8; }
.preloader__count{ font-family:"Sora"; font-weight:700; font-size:3.4rem; margin:8px 0 18px; background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.preloader__bar{ width:220px; height:4px; border-radius:99px; background:rgba(255,255,255,.12); overflow:hidden; margin:0 auto; }
.preloader__bar span{ display:block; height:100%; width:0; background:var(--grad); border-radius:99px; transition:width .15s linear; }

/* ---------- Navbar ---------- */
.nav{ position:fixed; top:0; left:0; right:0; z-index:1000; padding:18px 0; transition:background .3s, box-shadow .3s, padding .3s; }
.nav.scrolled{ background:rgba(246,248,255,.8); backdrop-filter:blur(14px); box-shadow:var(--shadow-sm); border-bottom:1px solid var(--line); padding:10px 0; }
.nav__inner{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:inline-flex; align-items:center; gap:10px; font-family:"Sora"; font-weight:800; font-size:1.25rem; color:#fff; transition:color .3s; }
.nav.scrolled .brand{ color:var(--ink); }
.brand__mark{ width:34px; height:34px; display:grid; place-content:center; border-radius:10px; background:var(--grad); color:#fff; font-size:1.1rem; box-shadow:0 8px 20px rgba(79,70,229,.4); }
.brand__text strong{ color:#a5b4fc; }
.nav.scrolled .brand__text strong{ color:var(--indigo); }

.nav__right{ display:flex; align-items:center; gap:18px; }
.theme-toggle{
  width:40px; height:40px; display:grid; place-content:center; border-radius:11px;
  border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); color:#fff;
  cursor:none; transition:transform .25s var(--ease), background .25s, border-color .3s, color .3s;
}
@media (hover:none){ .theme-toggle{ cursor:pointer; } }
.nav.scrolled .theme-toggle{ border-color:var(--line); background:rgba(127,127,160,.08); color:var(--ink); }
.theme-toggle:hover{ transform:translateY(-2px) rotate(-12deg); }
.theme-toggle svg{ width:20px; height:20px; }
.theme-toggle .icon-sun,.theme-toggle .icon-moon{ display:none; }
[data-theme="light"] .theme-toggle .icon-moon{ display:block; }
[data-theme="dark"]  .theme-toggle .icon-sun{ display:block; }

.nav__links{ display:flex; align-items:center; gap:30px; }
.nav__links a{ font-weight:500; color:rgba(255,255,255,.85); position:relative; transition:color .25s; }
.nav.scrolled .nav__links a{ color:var(--ink-soft); }
.nav__links a.btn{ color:#fff; }
.nav__links a:not(.btn)::after{ content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:var(--grad); transition:width .3s var(--ease); }
.nav__links a:not(.btn):hover::after{ width:100%; }

.nav__toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.nav__toggle span{ width:26px; height:2.5px; background:#fff; border-radius:2px; transition:.3s var(--ease); }
.nav.scrolled .nav__toggle span{ background:var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* ===================================================================
   CINEMATIC HERO
   =================================================================== */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  padding:150px 0 90px; overflow:hidden; isolation:isolate; color:#fff;
  background:radial-gradient(120% 120% at 70% 0%, #181641 0%, var(--night-2) 45%, var(--night) 100%);
}
#hero-canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:-1; }
.hero__vignette{ position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(70% 60% at 50% 45%, transparent 35%, rgba(5,5,18,.7) 100%); }
.hero__grid{ position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.35;
  background-image:linear-gradient(rgba(129,140,248,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(129,140,248,.12) 1px,transparent 1px);
  background-size:60px 60px; mask-image:radial-gradient(70% 70% at 50% 40%,#000,transparent 75%);
  -webkit-mask-image:radial-gradient(70% 70% at 50% 40%,#000,transparent 75%); }
/* fade hero into the light page below */
.hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:160px; z-index:-1;
  background:linear-gradient(180deg, transparent, var(--bg)); }

.hero__inner{ max-width:920px; margin:0 auto; position:relative; text-align:center; }
.hero__eyebrow{ display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:.9rem; color:#c7d2fe;
  padding:8px 16px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.06); backdrop-filter:blur(8px); margin-bottom:26px; }
.pulse-dot{ width:9px; height:9px; border-radius:50%; background:#34d399; box-shadow:0 0 0 0 rgba(52,211,153,.6); animation:pulse 2s infinite; }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(52,211,153,.6)} 70%{box-shadow:0 0 0 12px rgba(52,211,153,0)} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0)} }

.hero__title{
  font-size:clamp(2.9rem,6.4vw,5.6rem); font-weight:800; margin-bottom:26px; letter-spacing:-.03em;
  color:#fff;
  text-shadow:0 10px 44px rgba(99,102,241,.28);
}
.hero__title .line{ display:block; overflow:hidden; padding-bottom:.1em; }
.hero__title .line__in{ display:inline-block; }
.hero__title .ch{ display:inline-block; transform:translateY(115%); opacity:0; animation:charUp .6s var(--ease) forwards; }
@keyframes charUp{ to{ transform:none; opacity:1; } }

.hero__sub{ font-size:clamp(1.05rem,2vw,1.28rem); color:rgba(226,232,240,.85); max-width:620px; margin:0 auto 38px; }
.hero__sub strong{ color:#fff; font-weight:600; }
.hero__cta{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:64px; }

.hero__stats{ display:flex; flex-wrap:wrap; gap:38px; }
.stat{ display:flex; flex-direction:column; }
.stat__num,.stat__plus{ font-family:"Sora"; font-weight:800; font-size:2.5rem; line-height:1; background:linear-gradient(120deg,#fff,#a5b4fc); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; display:inline; }
.stat p{ color:rgba(203,213,225,.75); font-size:.9rem; margin-top:6px; }

/* fade-up entrance (hero sub/cta/stats) */
.fade-up{ opacity:0; transform:translateY(28px); animation:fadeUp .9s var(--ease) forwards; animation-delay:var(--d,0s); }
@keyframes fadeUp{ to{ opacity:1; transform:none; } }

.hero__scroll{ position:absolute; bottom:28px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:8px; font-size:.8rem; color:rgba(226,232,240,.7); letter-spacing:.1em; text-transform:uppercase; }
.hero__scroll span{ width:22px; height:36px; border:2px solid rgba(226,232,240,.5); border-radius:14px; position:relative; }
.hero__scroll span::after{ content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:4px; height:7px; border-radius:3px; background:#c7d2fe; animation:scroll 1.6s infinite; }
@keyframes scroll{ 0%{opacity:0;top:6px} 40%{opacity:1} 80%{opacity:0;top:18px} 100%{opacity:0} }

/* ---------- Marquee ---------- */
.marquee{ overflow:hidden; padding:20px 0; border-block:1px solid var(--line); background:rgba(255,255,255,.6); backdrop-filter:blur(6px); position:relative; z-index:2; }
.marquee__track{ display:flex; gap:26px; width:max-content; animation:marquee 30s linear infinite; }
.marquee__track span{ font-family:"Sora"; font-weight:600; font-size:1.2rem; color:var(--ink-soft); }
.marquee__track span.dot{ color:var(--cyan); }
@keyframes marquee{ to{ transform:translateX(-50%); } }

/* ---------- Sections ---------- */
.section{ padding:110px 0; position:relative; z-index:2; }
.section__head{ max-width:680px; margin:0 auto 60px; text-align:center; }
.section__title{ font-size:clamp(2rem,4vw,3rem); font-weight:800; margin-bottom:16px; }
.section__lead{ color:var(--ink-soft); font-size:1.08rem; }
.grid{ display:grid; gap:24px; }

/* ---------- Service cards ---------- */
.services__grid{ grid-template-columns:repeat(3,1fr); perspective:1400px; }
.card{
  position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:34px 30px; box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  transform-style:preserve-3d; overflow:hidden;
}
.card::before{ content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:var(--grad); -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .35s; }
.card:hover{ box-shadow:var(--shadow-md); }
.card:hover::before{ opacity:1; }
/* spotlight glow that follows the pointer */
.spotlight{ position:relative; }
.card.spotlight::after,.testi.spotlight::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .3s;
  background:radial-gradient(280px circle at var(--sx,50%) var(--sy,50%), rgba(99,102,241,.16), transparent 60%);
}
.card.spotlight:hover::after,.testi.spotlight:hover::after{ opacity:1; }
.card__icon{ width:58px; height:58px; border-radius:16px; display:grid; place-content:center; background:linear-gradient(135deg,rgba(79,70,229,.12),rgba(6,182,212,.12)); color:var(--indigo); margin-bottom:22px; transform:translateZ(40px); }
.card__icon svg{ width:30px; height:30px; }
.card h3{ font-size:1.3rem; margin-bottom:10px; transform:translateZ(28px); }
.card p{ color:var(--ink-soft); font-size:.96rem; margin-bottom:18px; transform:translateZ(18px); }
.card__tags{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; transform:translateZ(14px); }
.card__tags li{ font-size:.78rem; font-weight:600; color:var(--indigo-600); background:rgba(79,70,229,.08); padding:5px 11px; border-radius:999px; }
.card--featured{ background:linear-gradient(160deg,#1e1b4b,#312e81); color:#fff; border-color:transparent; }
.card--featured p{ color:rgba(255,255,255,.8); }
.card--featured .card__icon{ background:rgba(255,255,255,.12); color:#fff; }
.card--featured .card__tags li{ color:#c7d2fe; background:rgba(255,255,255,.12); }
.card__badge{ position:absolute; top:18px; right:18px; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; background:var(--cyan); color:#04222a; padding:5px 10px; border-radius:999px; transform:translateZ(50px); }

/* modern service-card extras: index number, slick icon hover, 3D scroll entrance */
.card__no{
  position:absolute; top:20px; right:24px; font-family:"Sora"; font-weight:800; font-size:1.6rem;
  color:rgba(79,70,229,.16); transform:translateZ(20px);
  transition:color .4s, transform .4s var(--ease); pointer-events:none;
}
.card:hover .card__no{ color:rgba(79,70,229,.45); transform:translateZ(20px) scale(1.12); }
.card--featured .card__no{ color:rgba(255,255,255,.28); }
.card--featured:hover .card__no{ color:rgba(255,255,255,.55); }
.card__icon{ transition:transform .4s var(--ease), background .4s, color .4s; }
.card:hover .card__icon{ transform:translateZ(40px) translateY(-3px) rotate(-6deg) scale(1.06); background:var(--grad); color:#fff; }
.card--featured:hover .card__icon{ background:rgba(255,255,255,.2); }

/* cinematic 3D entrance — cards tilt up into place as the section scrolls in */
.services__grid .reveal{ transform:translateY(64px) scale(.92) rotateX(14deg); transform-origin:center bottom; }
.services__grid .reveal.in{ transform:none; }

/* ---------- Work / real-world product showcase cards ---------- */
.work__grid{ grid-template-columns:repeat(3,1fr); perspective:1600px; }
.project{ transform-style:preserve-3d; }
.project__inner{
  position:relative; border-radius:22px; overflow:hidden; isolation:isolate;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow-sm);
  transition:box-shadow .45s var(--ease);
}
.project:hover .project__inner{ box-shadow:var(--shadow-lg); }
/* gradient border glow on hover */
.project__inner::after{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1.4px; z-index:6; pointer-events:none;
  background:linear-gradient(140deg,var(--accent),var(--accent2));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .45s;
}
.project:hover .project__inner::after{ opacity:1; }

/* gradient stage that holds the device mockup */
.project__preview{
  position:relative; height:300px; overflow:hidden;
  background:
    radial-gradient(120% 100% at 100% 0%, var(--accent2), transparent 55%),
    linear-gradient(150deg, var(--accent) 0%, #0a0a22 140%);
}
.project__preview::before{
  content:""; position:absolute; inset:0; opacity:.5; z-index:0;
  background-image:radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.4px); background-size:22px 22px;
  -webkit-mask-image:linear-gradient(170deg,#000,transparent 72%); mask-image:linear-gradient(170deg,#000,transparent 72%);
}
.project__shine{
  position:absolute; top:0; left:-60%; width:55%; height:100%; z-index:5; pointer-events:none;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transform:skewX(-18deg); transition:left .9s var(--ease);
}
.project:hover .project__shine{ left:140%; }
.project__index{
  position:absolute; top:14px; right:18px; z-index:5; font-family:"Sora"; font-weight:800;
  font-size:1.7rem; color:rgba(255,255,255,.6); text-shadow:0 2px 12px rgba(0,0,0,.35);
}

/* ---- device frame ---- */
.mock{ position:absolute; z-index:2; box-shadow:0 34px 70px -12px rgba(0,0,0,.55); }
.mock--browser{ left:9%; right:9%; top:34px; border-radius:12px; overflow:hidden; background:#fff; }
.mock__chrome{ height:30px; background:#eef1f8; display:flex; align-items:center; padding:0 12px; border-bottom:1px solid #e2e6f3; }
.mock__dots{ width:9px; height:9px; border-radius:50%; background:#ff5f57; box-shadow:15px 0 0 #febc2e,30px 0 0 #28c840; }
.mock__url{ margin-left:46px; font-size:10px; color:#9aa3c0; background:#fff; border:1px solid #e2e6f3; border-radius:20px; padding:3px 14px; }
.mock__view{ height:340px; overflow:hidden; background:#fff; }
.mock__scroll{ padding:14px; display:flex; flex-direction:column; gap:12px; transition:transform 2.6s var(--ease); will-change:transform; }
.project:hover .mock__scroll{ transform:translateY(-42%); }

.ui-nav{ position:relative; height:26px; border-radius:6px; background:#f6f8fd; }
.ui-nav::before{ content:""; position:absolute; left:8px; top:7px; width:12px; height:12px; border-radius:4px; background:linear-gradient(135deg,var(--accent),var(--accent2)); }
.ui-nav::after{ content:""; position:absolute; right:8px; top:6px; width:40px; height:14px; border-radius:5px; background:var(--accent); }
.ui-links{ position:absolute; left:30px; top:10px; width:120px; height:6px; border-radius:3px; background:repeating-linear-gradient(90deg,#d6dcf0 0 22px,transparent 22px 34px); }
.ui-hero{ display:flex; gap:12px; align-items:center; }
.ui-copy{ flex:1; display:flex; flex-direction:column; }
.ui-h1{ height:13px; width:75%; background:#c7cfe8; border-radius:4px; }
.ui-h1.s{ width:50%; margin-top:7px; }
.ui-p{ height:7px; width:92%; background:#e6eaf6; border-radius:3px; margin-top:9px; }
.ui-p.s{ width:65%; }
.ui-btn{ height:18px; width:74px; background:linear-gradient(135deg,var(--accent),var(--accent2)); border-radius:6px; margin-top:12px; }
.ui-art{ width:96px; height:96px; flex:none; border-radius:14px; display:grid; place-content:center; font-size:2.5rem;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 22%,#fff),color-mix(in srgb,var(--accent2) 22%,#fff)); }
.ui-stats{ display:flex; gap:10px; }
.ui-stat{ flex:1; height:50px; border-radius:10px; background:#f4f6fc; position:relative; }
.ui-stat::before{ content:""; position:absolute; left:10px; top:10px; width:18px; height:18px; border-radius:6px; background:linear-gradient(135deg,var(--accent),var(--accent2)); }
.ui-stat::after{ content:""; position:absolute; left:10px; bottom:10px; width:60%; height:6px; border-radius:3px; background:#d9dff1; }
.ui-panel{ height:90px; border-radius:12px; background:#f4f6fc; display:flex; align-items:flex-end; padding:12px; }
.ui-bars{ display:flex; align-items:flex-end; gap:8px; width:100%; height:100%; }
.ui-bars b{ flex:1; border-radius:4px 4px 0 0; background:linear-gradient(180deg,var(--accent2),var(--accent)); }
.ui-bars b:nth-child(1){ height:50%; } .ui-bars b:nth-child(2){ height:80%; } .ui-bars b:nth-child(3){ height:40%; }
.ui-bars b:nth-child(4){ height:95%; } .ui-bars b:nth-child(5){ height:60%; } .ui-bars b:nth-child(6){ height:75%; }
.ui-list{ display:flex; flex-direction:column; gap:10px; }
.ui-li{ height:26px; border-radius:8px; background:#f4f6fc; position:relative; }
.ui-li::before{ content:""; position:absolute; left:9px; top:7px; width:12px; height:12px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); }
.ui-li::after{ content:""; position:absolute; left:30px; top:10px; width:55%; height:6px; border-radius:3px; background:#d9dff1; }

/* ---- realistic website screenshot (modern e-commerce storefront) ---- */
.mock__scroll.site{ padding:0; display:block; gap:0; background:#fbfcff; color:#1f2430; font-family:"Inter",sans-serif; }
.site__nav{ display:flex; align-items:center; gap:7px; padding:8px 10px; background:rgba(255,255,255,.9); backdrop-filter:blur(6px); border-bottom:1px solid #eef0f6; position:sticky; top:0; z-index:2; }
.site__logo{ display:flex; align-items:center; gap:4px; font-family:"Sora"; font-weight:800; font-size:10px; white-space:nowrap; }
.site__logo i{ width:15px; height:15px; display:grid; place-content:center; border-radius:5px; background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; font-size:8px; font-style:normal; }
.site__search{ flex:1; font-size:7px; color:#9aa1b6; background:#f2f4fa; border:1px solid #ebeef7; border-radius:20px; padding:4px 9px; }
.site__icons{ display:flex; align-items:center; gap:7px; font-size:9px; }
.site__icons i{ font-style:normal; position:relative; color:#5b6480; }
.site__icons .cart b{ position:absolute; top:-4px; right:-5px; font-size:5px; font-weight:700; background:var(--accent); color:#fff; border-radius:8px; padding:1px 3px; line-height:1; }
.site__icons .ava{ width:15px; height:15px; border-radius:50%; background:linear-gradient(135deg,var(--accent2),var(--accent)); }

.site__hero{ position:relative; overflow:hidden; margin:10px; border-radius:16px; padding:14px 13px; color:#fff; display:flex; align-items:center; gap:8px;
  background:linear-gradient(135deg, color-mix(in srgb,var(--accent) 92%,#000) 0%, var(--accent2) 100%); }
.site__hero-glow{ position:absolute; width:90px; height:90px; right:-22px; top:-26px; border-radius:50%; background:rgba(255,255,255,.28); filter:blur(12px); }
.site__hero-txt{ flex:1; position:relative; z-index:1; }
.site__tag{ display:inline-block; font-size:6px; font-weight:700; letter-spacing:.12em; background:rgba(255,255,255,.22); padding:2px 7px; border-radius:10px; }
.site__hero h4{ font-family:"Sora"; font-weight:800; font-size:14px; line-height:1.05; color:#fff; margin:6px 0 3px; }
.site__hero p{ font-size:6.5px; color:rgba(255,255,255,.9); margin-bottom:8px; }
.site__hero-btns{ display:flex; gap:5px; }
.site__btn{ font-size:7px; font-weight:800; background:#fff; color:var(--accent); padding:5px 10px; border-radius:7px; }
.site__btn.ghost{ background:rgba(255,255,255,.18); color:#fff; }
.site__hero-art{ position:relative; z-index:1; width:54px; height:54px; flex:none; border-radius:50%; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); display:grid; place-content:center; font-size:26px; }

.site__strip{ display:flex; justify-content:space-between; gap:6px; padding:0 13px 2px; }
.site__strip span{ font-size:6px; color:#6b7280; }
.site__sec{ display:flex; align-items:center; justify-content:space-between; padding:9px 13px 2px; }
.site__sec h5{ font-family:"Sora"; font-weight:700; font-size:10px; }
.site__see{ font-size:7px; color:var(--accent); font-weight:700; }

.site__grid{ display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:6px 13px 14px; }
.site__prod{ background:#fff; border:1px solid #eef0f6; border-radius:12px; padding:6px; box-shadow:0 6px 16px rgba(20,20,60,.05); }
.site__media{ position:relative; border-radius:9px; background:linear-gradient(135deg,#f5f7fc,#eef1f9); padding:11px 0; text-align:center; margin-bottom:5px; }
.site__pimg{ font-size:26px; }
.site__badge{ position:absolute; top:5px; left:5px; font-size:6px; font-weight:800; background:var(--accent); color:#fff; padding:2px 5px; border-radius:6px; }
.site__heart{ position:absolute; top:4px; right:6px; font-size:9px; color:#c2c8d8; }
.site__name{ display:block; font-size:8px; font-weight:600; color:#27304a; }
.site__meta{ display:flex; align-items:center; gap:3px; margin:2px 0 4px; }
.site__stars{ font-size:7px; color:#f5b50a; letter-spacing:.5px; }
.site__count{ font-size:6px; color:#9aa1b6; }
.site__buy{ display:flex; align-items:center; justify-content:space-between; }
.site__price{ font-family:"Sora"; font-size:10px; font-weight:800; color:#1f2430; }
.site__price small{ font-size:6.5px; font-weight:500; color:#aeb4c6; text-decoration:line-through; margin-left:3px; }
.site__add{ width:18px; height:18px; border-radius:7px; background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; font-size:12px; line-height:1; display:grid; place-content:center; font-weight:700; }

/* =======================================================
   Real UI screenshots for the remaining showcase cards
   (banking app · analytics dashboard · food delivery ·
    telemedicine · learning app) — all themed by --accent
   ======================================================= */

/* ---- Banking app (phone) ---- */
.mock__scroll--phone.app-bank{ background:#f6f7fc; }
.bank__top{ display:flex; align-items:center; gap:6px; padding:12px 12px 8px; }
.bank__ava{ width:22px; height:22px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); flex:none; }
.bank__hi{ flex:1; font-size:8px; font-weight:700; color:#1f2430; display:flex; flex-direction:column; line-height:1.2; }
.bank__hi small{ font-size:6px; font-weight:500; color:#9aa1b6; }
.bank__bell{ font-size:10px; }
.bank__card{ position:relative; overflow:hidden; margin:4px 12px 0; border-radius:14px; padding:12px; color:#fff;
  background:linear-gradient(135deg, color-mix(in srgb,var(--accent) 90%,#000), var(--accent2)); box-shadow:0 10px 22px rgba(20,20,60,.18); }
.bank__chip{ display:block; width:18px; height:13px; border-radius:3px; background:rgba(255,255,255,.55); margin-bottom:10px; }
.bank__label{ font-size:6px; color:rgba(255,255,255,.8); }
.bank__bal{ display:block; font-family:"Sora"; font-weight:800; font-size:16px; margin-top:2px; }
.bank__row{ display:flex; justify-content:space-between; align-items:center; margin-top:8px; font-size:7px; }
.bank__num{ letter-spacing:1px; color:rgba(255,255,255,.85); }
.bank__up{ background:rgba(255,255,255,.22); padding:2px 6px; border-radius:8px; font-weight:700; }
.bank__actions{ display:flex; justify-content:space-between; padding:12px; }
.bank__actions span{ display:flex; flex-direction:column; align-items:center; gap:3px; font-size:6.5px; color:#5b6480; font-weight:600; }
.bank__actions i{ width:26px; height:26px; border-radius:9px; display:grid; place-content:center; font-style:normal; font-size:12px; background:#fff; color:var(--accent); box-shadow:0 4px 10px rgba(20,20,60,.06); }
.bank__sec{ display:flex; justify-content:space-between; align-items:center; padding:2px 12px 6px; }
.bank__sec h5{ font-family:"Sora"; font-size:9px; font-weight:700; }
.bank__sec span{ font-size:6.5px; color:var(--accent); font-weight:700; }
.bank__list{ padding:0 12px 14px; display:flex; flex-direction:column; gap:7px; }
.bank__tx{ display:flex; align-items:center; gap:7px; background:#fff; border-radius:10px; padding:7px 8px; box-shadow:0 4px 12px rgba(20,20,60,.04); }
.bank__ic{ width:22px; height:22px; border-radius:7px; background:#f1f3fb; display:grid; place-content:center; font-size:11px; flex:none; }
.bank__tn{ flex:1; font-size:8px; font-weight:600; color:#27304a; display:flex; flex-direction:column; line-height:1.2; }
.bank__tn small{ font-size:6px; font-weight:500; color:#9aa1b6; }
.bank__amt{ font-family:"Sora"; font-size:9px; font-weight:800; }
.bank__amt.out{ color:#1f2430; }
.bank__amt.in{ color:#16a34a; }

/* ---- Analytics dashboard (browser) ---- */
.mock__scroll.dash{ padding:0; display:block; gap:0; background:#f6f7fc; }
.dash__top{ display:flex; align-items:center; justify-content:space-between; padding:11px 12px 6px; }
.dash__top h5{ font-family:"Sora"; font-size:11px; font-weight:800; }
.dash__sub{ font-size:6.5px; color:#9aa1b6; }
.dash__ava{ width:20px; height:20px; border-radius:50%; background:linear-gradient(135deg,var(--accent2),var(--accent)); }
.dash__kpis{ display:flex; gap:8px; padding:4px 12px; }
.dash__kpi{ flex:1; background:#fff; border:1px solid #eef0f6; border-radius:11px; padding:8px; box-shadow:0 5px 14px rgba(20,20,60,.04); }
.dash__kpi span{ font-size:6.5px; color:#9aa1b6; }
.dash__kpi b{ display:block; font-family:"Sora"; font-size:12px; font-weight:800; margin:2px 0; }
.dash__kpi i{ font-style:normal; font-size:6px; font-weight:700; padding:1px 5px; border-radius:7px; }
.dash__kpi i.up{ color:#16a34a; background:rgba(22,163,74,.1); }
.dash__kpi i.down{ color:#dc2626; background:rgba(220,38,38,.1); }
.dash__chart{ margin:8px 12px; background:#fff; border:1px solid #eef0f6; border-radius:12px; padding:10px; box-shadow:0 6px 16px rgba(20,20,60,.05); }
.dash__chart-h{ display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.dash__chart-h span:first-child{ font-size:8px; font-weight:700; color:#27304a; }
.dash__pill{ font-size:6.5px; font-weight:700; color:#16a34a; background:rgba(22,163,74,.1); padding:2px 6px; border-radius:8px; }
.dash__svg{ width:100%; height:60px; display:block; color:var(--accent); }
.dash__line{ vector-effect:non-scaling-stroke; }
.dash__table{ margin:0 12px 14px; background:#fff; border:1px solid #eef0f6; border-radius:12px; overflow:hidden; }
.dash__tr{ display:grid; grid-template-columns:1.4fr 1fr .8fr; align-items:center; gap:4px; padding:7px 9px; font-size:7px; border-top:1px solid #f1f3fb; }
.dash__tr.head{ border-top:0; background:#fafbff; color:#9aa1b6; font-weight:700; font-size:6.5px; }
.dash__tr b{ font-weight:700; color:#27304a; }
.dash__badge{ justify-self:start; font-size:6px; font-weight:700; padding:2px 6px; border-radius:7px; }
.dash__badge.ok{ color:#16a34a; background:rgba(22,163,74,.12); }
.dash__badge.pend{ color:#d97706; background:rgba(217,119,6,.12); }
.dash__tr .mrr{ font-family:"Sora"; font-weight:800; text-align:right; color:#27304a; }

/* ---- Food delivery (phone) ---- */
.mock__scroll--phone.app-food{ background:#f6f7fc; }
.food__top{ display:flex; align-items:center; justify-content:space-between; padding:12px 12px 6px; }
.food__loc{ font-size:6.5px; color:#9aa1b6; display:flex; flex-direction:column; line-height:1.3; }
.food__loc b{ font-size:8px; color:#1f2430; }
.food__ava{ width:20px; height:20px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); }
.food__search{ margin:4px 12px 8px; font-size:7px; color:#9aa1b6; background:#fff; border:1px solid #eef0f6; border-radius:20px; padding:6px 10px; }
.food__promo{ position:relative; overflow:hidden; margin:0 12px; border-radius:14px; padding:12px; color:#fff; display:flex; align-items:center; justify-content:space-between;
  background:linear-gradient(135deg, color-mix(in srgb,var(--accent) 90%,#000), var(--accent2)); }
.food__promo span{ font-family:"Sora"; font-weight:800; font-size:14px; }
.food__promo small{ display:block; font-size:6.5px; opacity:.9; font-weight:500; }
.food__pimg{ font-size:30px; }
.food__cats{ display:flex; justify-content:space-between; padding:12px; }
.food__cats span{ display:flex; flex-direction:column; align-items:center; gap:3px; font-size:6.5px; color:#5b6480; font-weight:600; }
.food__cats i{ width:28px; height:28px; border-radius:50%; background:#fff; display:grid; place-content:center; font-style:normal; font-size:13px; box-shadow:0 4px 10px rgba(20,20,60,.06); }
.food__sec{ padding:0 12px 6px; }
.food__sec h5{ font-family:"Sora"; font-size:9px; font-weight:700; }
.food__list{ padding:0 12px 14px; display:flex; flex-direction:column; gap:8px; }
.food__rest{ display:flex; gap:8px; background:#fff; border-radius:12px; padding:7px; box-shadow:0 5px 14px rgba(20,20,60,.05); }
.food__rimg{ width:36px; height:36px; border-radius:9px; background:linear-gradient(135deg,#f5f7fc,#eef1f9); display:grid; place-content:center; font-size:18px; flex:none; }
.food__info{ flex:1; display:flex; flex-direction:column; gap:1px; }
.food__info b{ font-size:8.5px; color:#27304a; }
.food__meta{ font-size:6.5px; color:#9aa1b6; }
.food__free{ font-size:6px; font-weight:700; color:var(--accent); background:color-mix(in srgb,var(--accent) 12%,#fff); padding:1px 5px; border-radius:6px; align-self:flex-start; margin-top:2px; }

/* ---- Telemedicine portal (browser) ---- */
.mock__scroll.med{ padding:0; display:block; gap:0; background:#f6f9fc; }
.med__top{ display:flex; align-items:center; gap:8px; padding:9px 12px; background:#fff; border-bottom:1px solid #eef0f6; position:sticky; top:0; z-index:2; }
.med__logo{ display:flex; align-items:center; gap:4px; font-family:"Sora"; font-weight:800; font-size:10px; }
.med__logo i{ width:14px; height:14px; border-radius:5px; background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; font-style:normal; display:grid; place-content:center; font-size:10px; }
.med__nav{ flex:1; height:6px; border-radius:3px; background:repeating-linear-gradient(90deg,#e3e8f2 0 20px,transparent 20px 32px); }
.med__ava{ width:16px; height:16px; border-radius:50%; background:linear-gradient(135deg,var(--accent2),var(--accent)); }
.med__hero{ position:relative; overflow:hidden; margin:10px 12px; border-radius:16px; padding:13px; color:#fff; display:flex; align-items:center; gap:8px;
  background:linear-gradient(135deg, color-mix(in srgb,var(--accent) 90%,#000), var(--accent2)); }
.med__hero-txt{ flex:1; position:relative; z-index:1; }
.med__tag{ display:inline-block; font-size:6px; font-weight:700; letter-spacing:.1em; background:rgba(255,255,255,.22); padding:2px 7px; border-radius:10px; }
.med__hero h5{ font-family:"Sora"; font-weight:800; font-size:12px; color:#fff; margin:5px 0 6px; line-height:1.1; }
.med__search{ font-size:6.5px; color:#5b6480; background:#fff; border-radius:8px; padding:5px 9px; }
.med__himg{ font-size:30px; }
.med__specs{ display:flex; gap:6px; padding:0 12px 4px; }
.med__specs span{ font-size:6.5px; background:#fff; border:1px solid #eef0f6; border-radius:20px; padding:4px 8px; color:#5b6480; white-space:nowrap; }
.med__specs span:first-child{ background:var(--accent); color:#fff; border-color:transparent; }
.med__sec{ display:flex; justify-content:space-between; align-items:center; padding:8px 12px 4px; }
.med__sec h6{ font-family:"Sora"; font-size:9px; font-weight:700; }
.med__sec span{ font-size:6.5px; color:var(--accent); font-weight:700; }
.med__docs{ padding:0 12px 14px; display:flex; flex-direction:column; gap:8px; }
.med__doc{ display:flex; align-items:center; gap:8px; background:#fff; border:1px solid #eef0f6; border-radius:12px; padding:8px; box-shadow:0 5px 14px rgba(20,20,60,.04); }
.med__davatar{ width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,#f5f7fc,#eef1f9); display:grid; place-content:center; font-size:16px; flex:none; }
.med__dinfo{ flex:1; display:flex; flex-direction:column; line-height:1.25; }
.med__dinfo b{ font-size:8.5px; color:#27304a; }
.med__spec{ font-size:6.5px; color:#9aa1b6; }
.med__rate{ font-size:6.5px; color:#f5b50a; }
.med__book{ font-size:7px; font-weight:800; color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent2)); padding:5px 10px; border-radius:8px; }

/* ---- Learning app (phone) ---- */
.mock__scroll--phone.app-edu{ background:#f6f7fc; }
.edu__top{ display:flex; align-items:center; justify-content:space-between; padding:12px 12px 8px; }
.edu__hi{ font-size:9px; font-weight:800; color:#1f2430; display:flex; flex-direction:column; line-height:1.2; font-family:"Sora"; }
.edu__hi small{ font-size:6px; font-weight:500; color:#9aa1b6; font-family:"Inter"; }
.edu__streak{ font-size:7px; font-weight:800; color:#f97316; background:rgba(249,115,22,.12); padding:3px 7px; border-radius:10px; }
.edu__continue{ position:relative; overflow:hidden; margin:0 12px; border-radius:14px; padding:12px; color:#fff; display:flex; align-items:center; gap:8px;
  background:linear-gradient(135deg, color-mix(in srgb,var(--accent) 90%,#000), var(--accent2)); }
.edu__cinfo{ flex:1; }
.edu__ctag{ font-size:6px; font-weight:700; letter-spacing:.1em; opacity:.9; }
.edu__cinfo b{ display:block; font-family:"Sora"; font-size:12px; margin:3px 0 6px; }
.edu__cprog{ display:block; height:5px; border-radius:3px; background:rgba(255,255,255,.3); overflow:hidden; }
.edu__cprog i{ display:block; height:100%; background:#fff; border-radius:3px; }
.edu__cinfo small{ display:block; font-size:6px; margin-top:4px; opacity:.9; }
.edu__cimg{ font-size:30px; }
.edu__cats{ display:flex; gap:6px; padding:12px; }
.edu__cats span{ font-size:6.5px; background:#fff; border:1px solid #eef0f6; border-radius:20px; padding:4px 9px; color:#5b6480; font-weight:600; }
.edu__cats span:first-child{ background:var(--accent); color:#fff; border-color:transparent; }
.edu__sec{ padding:0 12px 6px; }
.edu__sec h5{ font-family:"Sora"; font-size:9px; font-weight:700; }
.edu__list{ padding:0 12px 14px; display:flex; flex-direction:column; gap:8px; }
.edu__course{ display:flex; gap:8px; align-items:center; background:#fff; border-radius:12px; padding:7px; box-shadow:0 5px 14px rgba(20,20,60,.05); }
.edu__cthumb{ width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,#f5f7fc,#eef1f9); display:grid; place-content:center; font-size:17px; flex:none; }
.edu__cmeta{ flex:1; display:flex; flex-direction:column; gap:1px; }
.edu__cmeta b{ font-size:8.5px; color:#27304a; }
.edu__cmeta span{ font-size:6.5px; color:#9aa1b6; }
.edu__cprice{ font-family:"Sora"; font-weight:800; font-size:9px; color:var(--accent); }

/* ===================================================================
   Products section (flagship products + live demos)
   =================================================================== */
.products__grid{ grid-template-columns:repeat(2,1fr); }
.product__inner{
  position:relative; border-radius:22px; overflow:hidden; background:var(--surface);
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
  transition:box-shadow .45s var(--ease), transform .45s var(--ease);
}
.product:hover .product__inner{ box-shadow:var(--shadow-lg); transform:translateY(-6px); }
.product__preview{
  position:relative; height:320px; overflow:hidden; padding:18px; display:grid;
  background:radial-gradient(120% 100% at 100% 0%, var(--accent2), transparent 55%), linear-gradient(150deg, var(--accent) 0%, #0a0a22 150%);
}
.product__live{
  position:absolute; top:14px; left:14px; z-index:3; display:inline-flex; align-items:center; gap:6px;
  font-size:.68rem; font-weight:700; color:#fff; background:rgba(0,0,0,.28); backdrop-filter:blur(6px);
  padding:5px 11px; border-radius:999px;
}
.product__live i{ width:7px; height:7px; border-radius:50%; background:#34d399; animation:talkPulse 1.8s infinite; }
.product__screen{ background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 30px 60px -12px rgba(0,0,0,.5); transition:transform .5s var(--ease); }
.product:hover .product__screen{ transform:scale(1.02); }
.product__body{ padding:24px 26px 28px; }
.product__cat{ display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--indigo); background:rgba(79,70,229,.1); padding:5px 12px; border-radius:999px; margin-bottom:12px; }
.product__body h3{ font-size:1.5rem; color:var(--ink); margin-bottom:8px; }
.product__body p{ color:var(--ink-soft); font-size:.96rem; margin-bottom:18px; }
.product__feats{ list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:9px 16px; margin-bottom:22px; }
.product__feats li{ font-size:.88rem; color:var(--ink-soft); font-weight:500; }
.product__cta{ display:flex; gap:12px; flex-wrap:wrap; }
.btn--outline{ background:transparent; border-color:var(--line); color:var(--ink); }
.btn--outline:hover{ border-color:var(--indigo); color:var(--indigo); transform:translateY(-2px); box-shadow:var(--shadow-sm); }

/* ---- POS mock ---- */
.pos{ display:grid; grid-template-columns:1.5fr 1fr; height:100%; font-family:"Inter",sans-serif; color:#1f2430; }
.pos__main{ padding:12px; overflow:hidden; }
.pos__tabs{ display:flex; gap:6px; margin-bottom:10px; }
.pos__tabs span{ font-size:9px; font-weight:600; padding:5px 10px; border-radius:8px; background:#f2f4fa; color:#5b6480; }
.pos__tabs span:first-child{ background:var(--accent); color:#fff; }
.pos__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.pos__tile{ background:#fff; border:1px solid #eef0f6; border-radius:10px; padding:9px 6px; text-align:center; box-shadow:0 4px 10px rgba(20,20,60,.04); }
.pos__tile .e{ font-size:21px; display:block; }
.pos__tile .n{ font-size:8.5px; font-weight:600; color:#27304a; display:block; margin-top:3px; }
.pos__tile .p{ font-size:9px; font-weight:800; color:var(--accent); font-family:"Sora"; }
.pos__cart{ background:#fff; border-left:1px solid #eef0f6; padding:12px; display:flex; flex-direction:column; }
.pos__chead{ font-family:"Sora"; font-weight:700; font-size:10px; display:flex; justify-content:space-between; align-items:center; }
.pos__chead span{ font-size:8px; color:#9aa1b6; font-weight:500; }
.pos__items{ margin:10px 0; display:flex; flex-direction:column; gap:8px; flex:1; }
.pos__it{ display:flex; justify-content:space-between; align-items:center; font-size:9.5px; }
.pos__it .nm{ color:#27304a; font-weight:600; }
.pos__it i{ font-style:normal; font-family:"Sora"; font-weight:800; color:#1f2430; }
.pos__totals{ border-top:1px dashed #e2e6f3; padding-top:8px; font-size:9px; }
.pos__totals div{ display:flex; justify-content:space-between; margin-bottom:3px; color:#5b6480; }
.pos__totals .tot{ font-family:"Sora"; font-weight:800; font-size:11px; color:#1f2430; margin-top:2px; }
.pos__charge{ margin-top:10px; text-align:center; font-size:10px; font-weight:800; color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent2)); padding:9px; border-radius:10px; }

/* ---- Attendance mock ---- */
.att{ padding:12px; font-family:"Inter",sans-serif; color:#1f2430; background:#f6f7fc; height:100%; }
.att__top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; }
.att__top h5{ font-family:"Sora"; font-size:12px; font-weight:800; }
.att__top span{ font-size:8px; color:#9aa1b6; }
.att__stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:10px; }
.att__stat{ background:#fff; border-radius:10px; padding:8px; box-shadow:0 4px 10px rgba(20,20,60,.04); }
.att__stat b{ display:block; font-family:"Sora"; font-size:15px; }
.att__stat span{ font-size:7.5px; color:#9aa1b6; }
.att__stat.green b{ color:#16a34a; } .att__stat.red b{ color:#dc2626; } .att__stat.amber b{ color:#d97706; } .att__stat.blue b{ color:var(--accent); }
.att__table{ background:#fff; border-radius:12px; overflow:hidden; }
.att__tr{ display:grid; grid-template-columns:1.6fr 1fr .9fr; align-items:center; gap:6px; padding:8px 10px; font-size:8.5px; border-top:1px solid #f1f3fb; }
.att__tr.head{ border-top:0; background:#fafbff; color:#9aa1b6; font-weight:700; font-size:8px; }
.att__emp{ display:flex; align-items:center; gap:6px; }
.att__ava{ width:18px; height:18px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); flex:none; }
.att__emp b{ font-weight:600; color:#27304a; }
.att__badge{ justify-self:start; font-size:7.5px; font-weight:700; padding:2px 7px; border-radius:7px; }
.att__badge.in{ color:#16a34a; background:rgba(22,163,74,.12); }
.att__badge.late{ color:#d97706; background:rgba(217,119,6,.12); }
.att__badge.out{ color:#dc2626; background:rgba(220,38,38,.12); }

/* phone frame */
.mock--phone{ left:27%; right:27%; top:28px; border-radius:30px; background:#0b0b1a; padding:7px; }
.mock__screen{ position:relative; border-radius:24px; overflow:hidden; background:#fff; height:330px; }
.mock__screen::before{ content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width:38%; height:15px; background:#0b0b1a; border-radius:0 0 12px 12px; z-index:3; }
.mock__scroll--phone{ padding:0; display:block; transition:transform 2.6s var(--ease); will-change:transform; }
.project:hover .mock__scroll--phone{ transform:translateY(-30%); }
.ph-head{ background:linear-gradient(140deg,var(--accent),var(--accent2)); padding:32px 16px 18px; border-radius:0 0 22px 22px; }
.ph-emoji{ font-size:1.7rem; }
.ph-bal{ display:block; height:16px; width:62%; background:rgba(255,255,255,.92); border-radius:5px; margin-top:12px; }
.ph-bal.s{ height:8px; width:40%; background:rgba(255,255,255,.6); margin-top:8px; }
.ph-pills{ display:flex; gap:8px; margin-top:14px; }
.ph-pills i{ width:46px; height:22px; border-radius:11px; background:rgba(255,255,255,.25); }
.ph-card{ margin:14px; height:80px; border-radius:14px; background:#f4f6fc; padding:12px; }
.ph-bars{ display:flex; align-items:flex-end; gap:6px; width:100%; height:100%; }
.ph-bars b{ flex:1; border-radius:3px 3px 0 0; background:linear-gradient(180deg,var(--accent2),var(--accent)); }
.ph-bars b:nth-child(1){ height:55%; } .ph-bars b:nth-child(2){ height:85%; } .ph-bars b:nth-child(3){ height:45%; }
.ph-bars b:nth-child(4){ height:95%; } .ph-bars b:nth-child(5){ height:65%; }
.ph-list{ margin:0 14px; display:flex; flex-direction:column; gap:10px; }
.ph-li{ height:30px; border-radius:9px; background:#f4f6fc; position:relative; }
.ph-li::before{ content:""; position:absolute; left:9px; top:8px; width:14px; height:14px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent2)); }
.ph-li::after{ content:""; position:absolute; left:32px; top:11px; width:50%; height:7px; border-radius:3px; background:#d9dff1; }
.ph-nav{ margin:16px 14px 0; height:40px; border-radius:14px; background:#fff; box-shadow:0 -4px 14px rgba(0,0,0,.05); display:flex; justify-content:space-around; align-items:center; }
.ph-nav i{ width:16px; height:16px; border-radius:5px; background:#d9dff1; }
.ph-nav i:first-child{ background:linear-gradient(135deg,var(--accent),var(--accent2)); }

/* ---- card body ---- */
.project__body{ padding:24px 26px 28px; position:relative; z-index:2; }
.project__cat{ display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--indigo); background:rgba(79,70,229,.1); padding:5px 12px; border-radius:999px; margin-bottom:12px; }
.project__body h3{ font-size:1.4rem; color:var(--ink); margin-bottom:8px; }
.project__body p{ color:var(--ink-soft); font-size:.94rem; margin-bottom:16px; }
.project__tags{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.project__tags li{ font-size:.74rem; font-weight:600; color:var(--indigo-600); background:rgba(79,70,229,.08); padding:4px 11px; border-radius:999px; }
.project__cta{ display:inline-flex; align-items:center; gap:10px; font-family:"Sora"; font-weight:600; font-size:.92rem; color:var(--ink); transition:color .3s; }
.project:hover .project__cta{ color:var(--indigo); }
.project__cta i{ width:32px; height:32px; display:grid; place-content:center; border-radius:50%; font-style:normal; background:rgba(79,70,229,.1); color:var(--indigo); transition:transform .35s var(--ease), background .35s, color .35s; }
.project:hover .project__cta i{ transform:translateX(6px); background:var(--grad); color:#fff; }

/* ---------- Process ---------- */
.timeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
.timeline::before{ content:""; position:absolute; top:26px; left:8%; right:8%; height:2px; background:linear-gradient(90deg,var(--indigo),var(--cyan)); opacity:.3; }
.step{ text-align:center; padding:0 6px; }
.step__num{ width:54px; height:54px; margin:0 auto 20px; display:grid; place-content:center; font-family:"Sora"; font-weight:800; font-size:1.1rem; color:#fff; background:var(--grad); border-radius:50%; box-shadow:0 10px 24px rgba(79,70,229,.35); position:relative; z-index:1; }
.step h3{ font-size:1.2rem; margin-bottom:8px; }
.step p{ color:var(--ink-soft); font-size:.93rem; }

/* ---------- About ---------- */
.about__inner{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.about__text .section__title{ text-align:left; }
.about__text p{ color:var(--ink-soft); margin-bottom:16px; }
.checklist{ list-style:none; margin:24px 0 30px; display:grid; gap:12px; }
.checklist li{ position:relative; padding-left:32px; font-weight:500; }
.checklist li::before{ content:"✓"; position:absolute; left:0; top:0; width:22px; height:22px; display:grid; place-content:center; font-size:.8rem; font-weight:800; color:#fff; background:var(--grad); border-radius:50%; }
.about__visual{ position:relative; height:420px; display:grid; place-content:center; }
.orb{ width:280px; height:280px; border-radius:50%; background:var(--grad); filter:blur(8px); opacity:.9; box-shadow:0 40px 100px rgba(79,70,229,.45); animation:float 6s ease-in-out infinite; }
.orb::after{ content:""; position:absolute; inset:24px; border-radius:50%; background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.6),transparent 55%); }
@keyframes float{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-22px) } }
.glass-card{ position:absolute; padding:14px 18px; border-radius:14px; font-weight:600; font-size:.9rem; background:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.8); backdrop-filter:blur(12px); box-shadow:var(--shadow-md); animation:float 5s ease-in-out infinite; }
.glass-card--1{ top:10%; left:-6%; animation-delay:.2s; }
.glass-card--2{ bottom:14%; right:-4%; animation-delay:1s; }
.glass-card--3{ bottom:0; left:8%; animation-delay:1.8s; }

/* ---------- Testimonials ---------- */
.testi__grid{ grid-template-columns:repeat(3,1fr); }
.testi{ position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s; overflow:hidden; }
.testi:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.testi blockquote{ font-size:1.05rem; color:var(--ink); margin-bottom:20px; position:relative; }
.testi blockquote::before{ content:"“"; font-family:"Sora"; font-size:3.4rem; color:var(--indigo); opacity:.25; position:absolute; top:-26px; left:-6px; }
.testi figcaption strong{ display:block; font-family:"Sora"; }
.testi figcaption span{ color:var(--ink-mute); font-size:.88rem; }

/* ---------- Contact ---------- */
.contact{ padding-bottom:130px; }
.contact__inner{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:28px; padding:56px; box-shadow:var(--shadow-md); }
.contact__text .section__title{ text-align:left; }
.contact__text p{ color:var(--ink-soft); margin-bottom:24px; }
.contact__meta{ list-style:none; display:grid; gap:14px; }
.contact__meta li{ display:flex; align-items:center; gap:12px; font-weight:500; }
.contact__meta span{ width:38px; height:38px; display:grid; place-content:center; background:rgba(79,70,229,.08); border-radius:10px; }
.contact__form{ display:grid; gap:18px; }
.field{ position:relative; }
.field input,.field select,.field textarea{ width:100%; padding:16px; font:inherit; color:var(--ink); background:var(--bg); border:1.5px solid var(--line); border-radius:var(--radius-sm); transition:border-color .25s, box-shadow .25s; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--indigo); box-shadow:0 0 0 4px rgba(79,70,229,.12); }
.field label{ position:absolute; left:14px; top:16px; color:var(--ink-mute); pointer-events:none; transition:.2s var(--ease); padding:0 4px; background:var(--bg); }
.field input:focus+label,.field input:not(:placeholder-shown)+label,.field textarea:focus+label,.field textarea:not(:placeholder-shown)+label{ top:-9px; font-size:.76rem; color:var(--indigo); font-weight:600; }
.label--static{ position:static; display:block; margin-bottom:8px; font-size:.85rem; font-weight:600; color:var(--ink-soft); padding:0; background:none; }
.form-status{ font-size:.9rem; font-weight:600; min-height:1.2em; }
.form-status.ok{ color:#16a34a; }
.form-status.err{ color:#dc2626; }

/* ---------- Footer ---------- */
.footer{ border-top:1px solid var(--line); padding-top:60px; background:rgba(255,255,255,.6); backdrop-filter:blur(8px); position:relative; z-index:2; }
.footer__inner{ display:grid; grid-template-columns:1.2fr 2fr; gap:50px; padding-bottom:40px; }
.footer__brand .brand{ color:var(--ink); }
.footer__brand .brand__text strong{ color:var(--indigo); }
.footer__brand p{ color:var(--ink-soft); margin-top:14px; max-width:300px; }
.footer__cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.footer__cols h4{ font-size:.95rem; margin-bottom:14px; }
.footer__cols a{ display:block; color:var(--ink-soft); padding:5px 0; transition:color .2s; }
.footer__cols a:hover{ color:var(--indigo); }
.footer__bottom{ display:flex; justify-content:space-between; gap:16px; padding:22px 24px; border-top:1px solid var(--line); color:var(--ink-mute); font-size:.88rem; flex-wrap:wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal:nth-child(2){ transition-delay:.06s; }
.reveal:nth-child(3){ transition-delay:.12s; }
.reveal:nth-child(4){ transition-delay:.18s; }
.reveal:nth-child(5){ transition-delay:.24s; }
.reveal:nth-child(6){ transition-delay:.3s; }

/* ===================================================================
   Extra cinematics
   =================================================================== */
/* animated gradient text shimmer */
.grad-text{ background-size:220% 220%; animation:gradShift 9s ease infinite; }
@keyframes gradShift{ 0%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } 100%{ background-position:0% 50%; } }

/* hero rotating word (3D flip) */
.line--rot{ overflow:visible; perspective:800px; }
.rotator{ display:inline-block; transform-origin:bottom center; backface-visibility:hidden; }
@keyframes flipIn{ 0%{ transform:rotateX(-90deg); opacity:0; } 60%{ opacity:1; } 100%{ transform:rotateX(0); opacity:1; } }

/* directional scroll-reveal variants */
.reveal-left{ opacity:0; transform:translateX(-46px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right{ opacity:0; transform:translateX(46px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale{ opacity:0; transform:scale(.92); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.in,.reveal-right.in,.reveal-scale.in{ opacity:1; transform:none; }

/* auto-preview: card screens scroll themselves once on entering view */
@keyframes peekB{ 0%,12%{ transform:translateY(0); } 55%{ transform:translateY(-42%); } 92%,100%{ transform:translateY(0); } }
@keyframes peekP{ 0%,12%{ transform:translateY(0); } 55%{ transform:translateY(-30%); } 92%,100%{ transform:translateY(0); } }
.project.peek .mock__scroll{ animation:peekB 3.8s var(--ease); }
.project.peek .mock__scroll--phone{ animation:peekP 3.8s var(--ease); }

/* back-to-top button */
.to-top{
  position:fixed; right:24px; bottom:24px; width:48px; height:48px; border:0; border-radius:50%;
  background:var(--grad); color:#fff; font-size:1.25rem; cursor:none; z-index:900; line-height:1;
  box-shadow:0 12px 30px rgba(79,70,229,.45);
  opacity:0; transform:translateY(20px) scale(.8); pointer-events:none;
  transition:opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s;
}
.to-top.show{ opacity:1; transform:none; pointer-events:auto; }
.to-top:hover{ transform:translateY(-4px) scale(1.08); box-shadow:0 18px 42px rgba(79,70,229,.55); }
@media (hover:none){ .to-top{ cursor:pointer; } }

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  /* keep hero text readable where the phone may sit close behind it */
  .hero__title,.hero__sub,.hero__eyebrow,.stat__num,.stat__plus,.stat p{
    text-shadow:0 2px 18px rgba(5,5,22,.45);
  }
}
@media (max-width:940px){
  .services__grid,.work__grid,.testi__grid{ grid-template-columns:repeat(2,1fr); }
  .products__grid{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:repeat(2,1fr); gap:40px 24px; }
  .timeline::before{ display:none; }
  .about__inner{ grid-template-columns:1fr; gap:40px; }
  .about__visual{ height:340px; }
  .contact__inner{ grid-template-columns:1fr; padding:40px 30px; gap:36px; }
  .footer__inner{ grid-template-columns:1fr; gap:30px; }
}
@media (max-width:720px){
  .nav__toggle{ display:flex; }
  .nav__links{
    position:fixed; inset:0 0 0 auto; width:min(78vw,320px); flex-direction:column;
    align-items:flex-start; justify-content:center; gap:22px; padding:40px;
    background:var(--surface); box-shadow:-20px 0 60px rgba(0,0,0,.15);
    transform:translateX(100%); transition:transform .4s var(--ease);
  }
  .nav__links.open{ transform:translateX(0); }
  .nav__links a{ font-size:1.2rem; color:var(--ink-soft); }
  .nav__links .btn{ margin-top:10px; }
}
@media (max-width:560px){
  .section{ padding:80px 0; }
  .services__grid,.work__grid,.testi__grid{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:1fr; }
  .hero__stats{ gap:24px 30px; }
  .stat__num,.stat__plus{ font-size:2rem; }
  .contact__inner{ padding:30px 22px; }
}

/* ===================================================================
   DARK THEME
   Toggled via [data-theme="dark"] on <html>. The hero stays dark in
   both themes; everything else flips to a deep-night palette.
   =================================================================== */
[data-theme="dark"]{
  --bg:#070713;
  --bg-2:#0b0b1c;
  --surface:#12132e;
  --ink:#eaedff;
  --ink-soft:#a8b0d8;
  --ink-mute:#717aa3;
  --line:#262a52;
  --shadow-sm:0 4px 16px rgba(0,0,0,.4);
  --shadow-md:0 18px 50px rgba(0,0,0,.5);
  --shadow-lg:0 30px 80px rgba(0,0,0,.6);
}

/* light wash behind aurora → dark wash */
[data-theme="dark"] body::after{ background:linear-gradient(180deg, rgba(7,7,19,.45), rgba(11,11,28,.78)); }
[data-theme="dark"] .aurora__blob{ opacity:.42; }

/* translucent surfaces that were white */
[data-theme="dark"] .kicker{ background:rgba(255,255,255,.05); }
[data-theme="dark"] .marquee{ background:rgba(255,255,255,.03); }
[data-theme="dark"] .nav.scrolled{ background:rgba(10,10,26,.82); }
[data-theme="dark"] .glass-card{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.1); }
[data-theme="dark"] .footer{ background:rgba(255,255,255,.02); }

/* accents that need more contrast on dark */
[data-theme="dark"] .card__icon{ background:linear-gradient(135deg,rgba(99,102,241,.22),rgba(34,211,238,.16)); color:#a5b4fc; }
[data-theme="dark"] .card__tags li{ color:#c7d2fe; background:rgba(99,102,241,.16); }
[data-theme="dark"] .contact__meta span{ background:rgba(99,102,241,.16); }
[data-theme="dark"] .project__cat{ color:#a5b4fc; background:rgba(99,102,241,.16); }
[data-theme="dark"] .project__tags li{ color:#c7d2fe; background:rgba(99,102,241,.16); }
[data-theme="dark"] .project__cta i{ background:rgba(99,102,241,.18); color:#a5b4fc; }
[data-theme="dark"] .project:hover .project__cta{ color:#a5b4fc; }
[data-theme="dark"] .product__cat{ color:#a5b4fc; background:rgba(99,102,241,.16); }
[data-theme="dark"] .card__no{ color:rgba(165,180,252,.22); }
[data-theme="dark"] .card:hover .card__no{ color:rgba(165,180,252,.5); }

/* cursor spotlight: lighten instead of multiply on dark */
[data-theme="dark"] #spotlight{
  mix-blend-mode:screen;
  background:radial-gradient(260px circle at var(--mx,-100px) var(--my,-100px), rgba(99,102,241,.16), transparent 60%);
}
