/* =========================================================
   Shebin Shaz — Portfolio
   ========================================================= */
:root {
  --bg: #07070d;
  --bg-2: #0d0d15;
  --card: #131318;
  --card-2: #18181f;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4f4f8;
  --muted: #a3a3b5;
  --muted-2: #74748a;

  --violet: #6c63ff;
  --violet-2: #5a51f0;
  --violet-3: #8b85ff;
  --lilac: #b3afff;
  --indigo-deep: #1d1a5c;

  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-head: "General Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, .logo, .footer-name { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.035em; }

.grad-text {
  background: linear-gradient(180deg, #d4d1ff 0%, #9d97ff 55%, #7d76ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  margin-bottom: 14px;
}
.section-title.left { text-align: left; margin-bottom: 0; }
.section-sub { color: #c9c8e6; font-size: 14px; max-width: 520px; margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 36px; flex-wrap: wrap;
}

.eyebrow-text {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: #e3e1ff; margin-bottom: 14px; letter-spacing: -0.01em;
}

.tag-pill {
  display: inline-flex; align-items: center;
  font-size: 11.5px; color: #d8d8e6;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  margin-bottom: 16px;
}

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(255,255,255,.03),
    0 10px 30px -10px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.glass-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.025) 45%, rgba(255,255,255,.015) 100%);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 40px -24px rgba(0,0,0,.6);
  isolation: isolate;
}
/* gradient hairline border */
.glass-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 40%, rgba(255,255,255,.02) 60%, rgba(255,255,255,.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none; z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12.5px; }

.btn-white {
  background: linear-gradient(180deg, #ffffff 0%, #f1f0ff 100%);
  color: #0b0b14;
  box-shadow:
    inset 0 -2px 0 rgba(108, 99, 255, .18),
    0 0 0 1px rgba(255,255,255,.6),
    0 8px 22px -4px rgba(108, 99, 255, .75),
    0 2px 6px rgba(0,0,0,.25);
}
.btn-white:hover {
  box-shadow:
    inset 0 -2px 0 rgba(108, 99, 255, .25),
    0 0 0 1px rgba(255,255,255,.8),
    0 14px 30px -6px rgba(108, 99, 255, .95),
    0 2px 6px rgba(0,0,0,.25);
}

.btn-primary {
  background: linear-gradient(180deg, #7d75ff 0%, #5d54f2 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 6px rgba(30, 20, 140, .35),
    0 0 0 1px rgba(124, 116, 255, .7),
    0 10px 28px -6px rgba(108, 99, 255, .85);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1px rgba(150,143,255,.9), 0 16px 36px -8px rgba(108,99,255,1); }

.btn-glass {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 24px -10px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); }

.btn-dark-ghost {
  color: #15151f;
  border: 1px solid rgba(20, 20, 40, .18);
  background: rgba(255,255,255,.35);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-bottom: 150px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* layered gradient: bright violet crown → indigo → near-black */
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 75% at 0% 10%, rgba(118, 110, 255, .55) 0%, rgba(90, 82, 234, .2) 50%, transparent 75%),
    radial-gradient(45% 75% at 100% 10%, rgba(118, 110, 255, .5) 0%, rgba(90, 82, 234, .18) 50%, transparent 75%),
    radial-gradient(100% 85% at 50% -12%, #5a52ea 0%, #3f38c8 22%, #2a248f 42%, #16134d 62%, #0a0920 80%, var(--bg) 92%),
    var(--bg);
}
/* dark lens behind headline (as in the reference) */
.hero-glow::after {
  content: ""; position: absolute;
  left: 50%; top: 52%; width: 900px; height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(7, 7, 20, .55), rgba(7, 7, 20, .2) 60%, transparent);
  filter: blur(10px);
}

.hero-rings {
  position: absolute; left: 50%; top: 50%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -52%);
  color: rgba(170, 165, 255, .4);
  stroke-width: 1;
  animation: ringsBreath 12s ease-in-out infinite;
}
.hero-rings circle { vector-effect: non-scaling-stroke; }
@keyframes ringsBreath {
  0%, 100% { transform: translate(-50%, -52%) scale(1); opacity: .95; }
  50%      { transform: translate(-50%, -52%) scale(1.025); opacity: 1; }
}

.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(7,7,13,.85) 82%, var(--bg) 100%);
}

/* ---------- Nav ---------- */
.nav {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 26px; gap: 16px;
}
.logo { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; color: #fff; }
.nav-pill {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(10, 10, 30, .55), rgba(10, 10, 30, .35));
}
.nav-pill a {
  display: block; padding: 7px 12px; border-radius: 999px;
  font-size: 13px; color: #e9e9f5;
  transition: background .25s, color .25s;
}
.nav-pill a:hover, .nav-pill a.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 16px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero content ---------- */
.hero-content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding-top: 70px; padding-bottom: 40px;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px; border-radius: 999px;
  font-size: 12.5px; color: #ececf8;
  margin-bottom: 26px;
}
.badge-faces { display: inline-flex; }
.badge-faces i {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; font-size: 10px; font-weight: 600; color: #fff;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
  border: 2px solid #2a2670;
  margin-left: -8px;
}
.badge-faces i:first-child { margin-left: 0; }

.hero-title {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
  color: #fff;
  text-shadow: 0 10px 40px rgba(20, 15, 80, .45);
}
.hero-sub { max-width: 470px; color: #cfcfe2; font-size: 15px; font-weight: 300; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.hero-note {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .28em; color: #d8d8ea;
}

/* ---------- Marquee (tilted white band) ---------- */
.marquee-wrap {
  position: absolute; left: -2%; right: -2%; bottom: 52px; z-index: 3;
  transform: rotate(-1.8deg);
}
.marquee {
  position: relative; overflow: hidden;
  background: #fff;
  padding: 18px 0;
  box-shadow: 0 20px 60px -20px rgba(108, 99, 255, .7);
}
/* violet glows bleeding in from both edges */
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, rgba(108,99,255,.85), rgba(150,143,255,.35) 45%, transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, rgba(108,99,255,.85), rgba(150,143,255,.35) 45%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mlogo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 22px;
  color: #1c1c2c; letter-spacing: -0.03em; white-space: nowrap;
}
.mlogo em { font-style: normal; color: var(--violet); }
.app {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--bg);
  box-shadow: 0 6px 14px -6px rgba(28, 28, 44, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.app img { width: 22px; height: 22px; display: block; }
.app img.wide { width: 32px; height: 32px; }

/* =========================================================
   ABOUT + STATS
   ========================================================= */
.about { padding-top: 90px; padding-bottom: 80px; }
.about-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 56px;
}
.about-hi { font-size: clamp(30px, 3.3vw, 40px); margin-bottom: 18px; }
.about-lead { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 500; color: #f0f0f6; }
.about-side p { color: #d4d4e2; font-size: 14px; margin-bottom: 20px; max-width: 330px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  min-height: 190px; padding: 22px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #16161c 0%, #111116 100%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease), border-color .4s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(139,133,255,.35); }
.stat-num { font-family: var(--font-head); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.stat-num i { font-style: normal; background: linear-gradient(180deg, #c9c5ff, #7d76ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { font-size: 16px; line-height: 1.3; color: #e5e5ee; max-width: 200px; }

/* =========================================================
   PROBLEMS
   ========================================================= */
.problems { padding-top: 60px; padding-bottom: 110px; }
.problems .section-title { margin-bottom: 48px; }
.problems-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: stretch; }
.problem-list { display: flex; flex-direction: column; gap: 16px; }
.problem {
  display: flex; gap: 18px; padding: 20px 22px;
  background: linear-gradient(180deg, #16161c, #111116);
  transition: transform .4s var(--ease);
}
.problem:hover { transform: translateX(4px); }
.problem h3 { font-size: 19px; letter-spacing: -0.025em; margin-bottom: 6px; line-height: 1.3; }
.problem p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.p-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.p-icon svg { width: 22px; height: 22px; }
.p-icon-user { background: radial-gradient(circle at 35% 30%, #e9f1ff, #8fb4ff 70%); color: #fff; box-shadow: 0 6px 20px -6px rgba(143,180,255,.8); }
.p-icon-user svg { color: #5e8ff0; }
.p-icon-screen { border-radius: 10px; background: linear-gradient(160deg, #3c4a8c, #232a55); color: #b9c4ff; }
.p-icon-spark { background: radial-gradient(circle, rgba(255,214,90,.25), transparent 70%); color: #ffd65a; }

.traffic {
  min-height: 320px; overflow: hidden;
  background:
    radial-gradient(80% 80% at 100% 100%, rgba(108,99,255,.35), transparent 60%),
    radial-gradient(60% 60% at 0% 0%, rgba(108,99,255,.18), transparent 60%),
    linear-gradient(160deg, #181826, #0f0f17);
  padding: 22px;
}
.traffic-grid {
  position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask: radial-gradient(90% 90% at 60% 60%, #000, transparent);
  mask: radial-gradient(90% 90% at 60% 60%, #000, transparent);
}
.traffic-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); position: relative; z-index: 2; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62,224,143,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(62,224,143,0); } }
.traffic-pill { margin-left: auto; font-size: 12px; font-weight: 600; color: #fff; padding: 4px 10px; border-radius: 999px; background: linear-gradient(180deg, #7d75ff, #5d54f2); box-shadow: 0 6px 18px -6px rgba(108,99,255,.9); }
.traffic-word {
  position: relative; z-index: 2;
  margin-top: 24px;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(44px, 6vw, 76px); line-height: .9; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.traffic-chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.tc-line { stroke-dasharray: 700; stroke-dashoffset: 700; filter: drop-shadow(0 6px 14px rgba(124,116,255,.8)); }
.traffic.in .tc-line { animation: draw 2.2s var(--ease) .2s forwards; }
.tc-area { opacity: 0; }
.traffic.in .tc-area { animation: fadeIn 1.2s ease 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================================
   PROCESS
   ========================================================= */
.process { position: relative; padding: 110px 0 140px; overflow: hidden; }
.process-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 40% at 50% 62%, rgba(108,99,255,.35), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #2a2580 9%, #4741bd 22%, #3a34a6 42%, #2a2580 64%, #15133f 84%, var(--bg) 100%);
}
/* faint grid texture */
.process-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(60% 50% at 50% 55%, #000, transparent);
  mask: radial-gradient(60% 50% at 50% 55%, #000, transparent);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 260px; row-gap: 90px;
}
.step {
  padding: 26px 24px 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.03) 100%);
  min-height: 190px;
  transition: transform .4s var(--ease), background .4s;
}
.step:hover { transform: translateY(-4px); background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); }
.step h3 { font-size: 18px; line-height: 1.3; margin-bottom: 14px; padding-right: 30px; }
.step p { font-size: 12.5px; color: #d6d5ee; line-height: 1.55; }
.step-n {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.45);
}

.process-photo {
  position: absolute; left: 50%; top: 50%;
  width: 230px; height: 230px;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.pp-rings { position: absolute; inset: 0; pointer-events: none; }
.pp-rings i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(180, 175, 255, .14);
  background: radial-gradient(circle, transparent 60%, rgba(108,99,255,.08));
}
.pp-rings i:nth-child(1) { width: 300px; height: 300px; }
.pp-rings i:nth-child(2) { width: 400px; height: 400px; border-color: rgba(180,175,255,.09); }
.pp-rings i:nth-child(3) { width: 520px; height: 520px; border-color: rgba(180,175,255,.06); animation: ringPulse 6s ease-in-out infinite; }
@keyframes ringPulse { 50% { transform: translate(-50%, -50%) scale(1.04); opacity: .6; } }

.pp-circle {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, #5b54e6 0%, #3a33b4 40%, #1a1660 75%, #0c0a33 100%);
  box-shadow:
    0 0 0 1px rgba(200,196,255,.25),
    0 0 0 10px rgba(108,99,255,.12),
    0 0 80px 10px rgba(108,99,255,.55),
    inset 0 -30px 60px rgba(5,4,25,.6);
}
.pp-circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pp-initials {
  display: none; position: absolute; inset: 0; place-items: center;
  font-family: var(--font-head); font-size: 64px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: -0.04em;
}
.pp-circle.no-photo .pp-initials { display: grid; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding-top: 40px; padding-bottom: 100px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 26px 24px; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-4px); }
.service:hover .svc-ico { box-shadow: 0 10px 30px -6px rgba(108,99,255,.9), inset 0 1px 0 rgba(255,255,255,.4); }
.svc-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #7d75ff, #4f46e0);
  box-shadow: 0 8px 22px -8px rgba(108,99,255,.8), inset 0 1px 0 rgba(255,255,255,.35);
  margin-bottom: 20px; transition: box-shadow .4s;
}
.svc-ico svg { width: 20px; height: 20px; color: #fff; }
.service h3 { font-size: 19px; margin-bottom: 6px; }
.service p { font-size: 13.5px; color: var(--muted); }

/* =========================================================
   PROJECTS — sticky stacked cards
   ========================================================= */
.projects { padding-bottom: 110px; }
.stack { position: relative; }
.pcard {
  position: sticky;
  top: calc(90px + var(--i) * 62px);
  border-radius: 20px;
  min-height: 420px;
  margin-bottom: 26px;
  padding: 22px 22px 26px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start;
  overflow: hidden;
  background: var(--pc-bg);
  color: var(--pc-fg);
  box-shadow: 0 -10px 40px -10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5);
  transform-origin: center top;
  transition: transform .2s linear, filter .2s linear;
}
.pcard::after { /* soft sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, rgba(255,255,255,.35), transparent 60%);
}
.pcard-info { display: flex; flex-direction: column; height: 100%; position: relative; z-index: 1; }
.pcard .ptag {
  align-self: flex-start;
  font-size: 11.5px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--pc-tag); color: var(--pc-tag);
  background: rgba(255,255,255,.18);
}
.pcard h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: auto 0 12px; padding-top: 120px; }
.pcard p { font-size: 13.5px; opacity: .78; max-width: 420px; margin-bottom: 20px; }
.pcard .pmeta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.pcard .pmeta span { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.08); }
.pcard.dark .pmeta span { background: rgba(255,255,255,.14); }
.pcard.dark p { opacity: .92; }
.pcard .pvisit { align-self: flex-start; height: 40px; font-size: 13px; }
.pcard.dark .pvisit { background: #fff; color: #111; }

.pshot {
  position: relative; z-index: 1;
  border-radius: 12px; overflow: hidden;
  background: #0f0f18;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.12);
  aspect-ratio: 16 / 10.5;
}
.pshot-bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #1b1b26; }
.pshot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a4a; }
.pshot-bar i:nth-child(1) { background: #ff5f57; } .pshot-bar i:nth-child(2) { background: #febc2e; } .pshot-bar i:nth-child(3) { background: #28c840; }
.pshot-bar span { margin-left: 10px; font-size: 10.5px; color: #8a8aa0; font-family: var(--font-mono); }
.pshot-img { position: absolute; inset: 26px 0 0; background: linear-gradient(135deg, #2a2580, #6c63ff); }
.pshot-img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s; }
.pshot-img img.loaded { opacity: 1; }
.pshot-img .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 28px; color: rgba(255,255,255,.8);
}

/* All projects list */
.all-projects { margin-top: 30px; }
.all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ap {
  display: flex; flex-direction: column; gap: 8px; padding: 18px;
  transition: transform .35s var(--ease);
}
.ap:hover { transform: translateY(-3px); }
.ap-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ap h4 { font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: -0.02em; }
.ap p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ap .chip { font-size: 10.5px; color: var(--lilac); border: 1px solid rgba(179,175,255,.3); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.ap .go { font-size: 12px; color: #fff; opacity: .7; margin-top: auto; }
.ap:hover .go { opacity: 1; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.clients {
  padding: 110px 0;
  background:
    radial-gradient(50% 35% at 50% 30%, rgba(108,99,255,.1), transparent 70%),
    var(--bg);
}
.clients .section-head { margin-bottom: 26px; }
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; }
.tab {
  height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12px;
  border: 1px solid var(--line-2); color: #d6d6e4;
  background: rgba(255,255,255,.02);
  transition: all .3s var(--ease);
}
.tab:hover { border-color: rgba(255,255,255,.3); }
.tab.active {
  background: linear-gradient(180deg, #fff, #f0efff); color: #0b0b14; border-color: transparent;
  box-shadow: 0 6px 18px -6px rgba(108,99,255,.9);
}
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.review {
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(180deg, #19191f, #131318);
  animation: fadeUp .5s var(--ease) both;
}
.stars { color: #fff; letter-spacing: 4px; font-size: 12px; }
.review blockquote { font-size: 13px; color: #c9c9d6; line-height: 1.6; }
.reviewer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--a1, #8b85ff), var(--a2, #4b43d9));
  border: 1px solid rgba(255,255,255,.2);
}
.reviewer b { display: block; font-size: 13.5px; font-weight: 500; }
.reviewer small { font-size: 11px; color: var(--muted-2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding-top: 40px; padding-bottom: 110px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 900px; margin: 0 auto;
  border-radius: 22px;
  padding: 70px 24px 74px;
  text-align: center; color: #121220;
  background:
    radial-gradient(70% 90% at 50% 40%, #e7eadf 0%, #dfe3d6 50%, #cfd4c4 100%);
  box-shadow: 0 40px 100px -30px rgba(108,99,255,.45), inset 0 1px 0 rgba(255,255,255,.7);
}
.cta-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(40,50,30,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,50,30,.09) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center;
  -webkit-mask: radial-gradient(75% 85% at 50% 50%, #000 40%, transparent 100%);
  mask: radial-gradient(75% 85% at 50% 50%, #000 40%, transparent 100%);
}
.badge-light {
  background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.08);
  color: #2a2a3a; box-shadow: inset 0 1px 0 #fff; margin-bottom: 22px;
}
.badge-light .badge-faces i { border-color: #e6e8dd; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin-bottom: 14px; color: #0f0f1a; }
.cta p { font-size: 14px; color: #4a4c55; max-width: 420px; margin: 0 auto 30px; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn.glow { box-shadow: inset 0 -2px 0 rgba(108,99,255,.2), 0 0 0 1px rgba(255,255,255,.9), 0 10px 26px -4px rgba(108,99,255,.85); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; overflow: hidden; padding: 60px 0 30px; isolation: isolate; }
.footer-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 115%, #6c63ff 0%, #3c35c0 30%, #1d1a6b 55%, transparent 80%),
    linear-gradient(180deg, var(--bg) 0%, #0b0a1e 60%, #15124a 100%);
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-top .tag-pill { margin-bottom: 12px; }
.footer-mail { display: block; font-size: 15px; color: #e3e3f0; transition: color .3s; }
.footer-mail:hover { color: var(--lilac); }
.footer-social { text-align: right; }
.footer-social p { font-size: 13px; margin-top: 12px; color: #e3e3f0; }
.socials { display: flex; gap: 8px; justify-content: flex-end; }
.soc {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  transition: transform .3s var(--ease), background .3s;
}
.soc svg { width: 15px; height: 15px; }
.soc:hover { transform: translateY(-3px); background: var(--violet); }

.footer-name {
  text-align: center;
  font-size: clamp(64px, 15vw, 190px); font-weight: 600; line-height: .95; letter-spacing: -0.055em;
  background: linear-gradient(180deg, #9f9aff 0%, #8079ff 35%, #e9e8ff 75%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(108,99,255,.35));
}
.footer-tag { text-align: center; color: #d8d7f0; font-size: 14px; margin-top: 18px; margin-bottom: 50px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: #b9b8d6;
}
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.problem.reveal.in:hover { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tc-line { stroke-dashoffset: 0; } .tc-area { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .process-grid { column-gap: 200px; }
  .process-photo { width: 190px; height: 190px; }
}

@media (max-width: 960px) {
  .nav-pill {
    position: fixed; top: 84px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: 18px;
    background: rgba(14, 13, 40, .85);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-pill.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-pill a { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .problems-grid { grid-template-columns: 1fr; }
  .traffic { min-height: 280px; }

  .process-grid { grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 18px; padding-top: 290px; }
  .process-photo { top: 0; transform: translateX(-50%); width: 220px; height: 220px; }

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

  .pcard { grid-template-columns: 1fr; min-height: 0; top: calc(80px + var(--i) * 18px); }
  .pcard h3 { padding-top: 26px; margin-top: 0; }
  .pshot { order: 2; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .logo { font-size: 22px; }
  .nav .btn-white { display: none; }
  .hero { padding-bottom: 120px; }
  .hero-content { padding-top: 50px; }
  .hero-rings { width: 1000px; height: 1000px; }
  .hero-note { letter-spacing: .18em; font-size: 10px; }
  .marquee-wrap { bottom: 40px; }
  .marquee { padding: 14px 0; }
  .mlogo { font-size: 18px; gap: 10px; } .app { width: 34px; height: 34px; border-radius: 9px; } .app img { width: 19px; height: 19px; } .app img.wide { width: 28px; height: 28px; }
  .marquee-track { gap: 40px; }

  .about { padding-top: 64px; padding-bottom: 50px; }
  .stat { min-height: 150px; padding: 18px 16px; }
  .stat-num { font-size: 36px; }
  .stat p { font-size: 14px; }

  .problem { padding: 18px; gap: 14px; }
  .problem h3 { font-size: 17px; }

  .process { padding: 80px 0 100px; }
  .process-grid { grid-template-columns: 1fr; padding-top: 260px; }
  .process-photo { width: 200px; height: 200px; }
  .pp-rings i:nth-child(3) { display: none; }
  .hide-sm { display: none; }

  .services-grid, .reviews, .all-grid { grid-template-columns: 1fr; }
  .section-head-row { align-items: flex-start; }

  .pcard { padding: 16px 16px 20px; border-radius: 16px; }

  .cta { padding: 54px 18px 58px; }
  .footer-social { text-align: left; }
  .socials { justify-content: flex-start; }
}
