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

:root {
  --bg:           #09090F;
  --bg-surface:   #0D0D14;
  --bg-card:      #13131C;
  --bg-card-h:    #1A1A26;
  --accent:       #7B5CF6;
  --accent-h:     #9575F8;
  --accent-2:     #C4B5FD;
  --text:         #EDEAF8;
  --text-sub:     #9893B8;
  --text-muted:   #524F6E;
  --border:       rgba(196,181,253,0.08);
  --border-h:     rgba(196,181,253,0.18);
  --r:            12px;
  --rl:           20px;
  --fd:           'Syne', sans-serif;
  --fb:           'Manrope', sans-serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* noise grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
}

/* ── CURSOR ── */
#cur-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--text); border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 10000;
  mix-blend-mode: difference;
  transition: width .2s, height .2s;
}
#cur-ring {
  position: fixed; top: 0; left: 0; width: 44px; height: 44px;
  border: 1.5px solid rgba(237,232,223,0.45); border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 9999;
  transition: width .35s var(--ease), height .35s var(--ease),
              border-color .35s, background .35s;
  mix-blend-mode: difference;
}
#cur-ring.hov {
  width: 68px; height: 68px;
  background: rgba(123,92,246,.1);
  border-color: var(--accent);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── TYPE ── */
h1,h2,h3,h4 { font-family: var(--fd); line-height: 1.05; letter-spacing: -.02em; }

/* ── CONTAINER ── */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 36px; }

/* ── REVEAL ── */
.rev {
  opacity: 0; transform: translateY(44px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  animation: revFallback 0s 2.5s forwards;
}
@keyframes revFallback { to { opacity: 1; transform: translateY(0); } }
.rev.in { opacity: 1; transform: translateY(0); animation: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
nav.scrolled {
  background: rgba(9,9,15,.92);
  backdrop-filter: blur(22px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--fd); font-weight: 800; font-size: 20px;
  color: var(--text); text-decoration: none; letter-spacing: -.03em;
  display: inline-flex; align-items: center; position: relative; z-index: 1001;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-sub);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: none; padding: 6px; background: none; border: none;
  position: relative; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 999; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 4px;
  padding: 100px 32px 48px;
  opacity: 0; visibility: hidden;
  transition: opacity .38s var(--ease), visibility .38s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mm-link {
  font-family: var(--fd); font-size: clamp(34px, 10vw, 56px);
  font-weight: 800; color: var(--text); text-decoration: none;
  letter-spacing: -.03em; padding: 8px 0; cursor: none;
  opacity: 0; transform: translateY(18px);
  transition: color .2s, opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mm-link:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open .mm-link:nth-child(2) { transition-delay: .1s; }
.mobile-menu.open .mm-link:nth-child(3) { transition-delay: .15s; }
.mobile-menu.open .mm-link:nth-child(4) { transition-delay: .2s; }
.mm-link:hover { color: var(--accent); }
.mm-divider { width: 40px; height: 1px; background: var(--border); margin: 20px 0; }
.mm-cta {
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s .25s var(--ease), transform .35s .25s var(--ease);
}
.mobile-menu.open .mm-cta { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px;
  font-family: var(--fb); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; text-decoration: none; cursor: none;
  transition: all .4s var(--ease); border: 1px solid transparent;
}
.btn-p { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-p:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(123,92,246,.38); }
.btn-o { background: transparent; color: var(--text); border-color: var(--border-h); }
.btn-o:hover { background: var(--bg-card); border-color: var(--text-sub); transform: translateY(-2px); }
.btn-lg { padding: 15px 36px; font-size: 15px; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37,211,102,.28); }

/* ━━━━━━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━━━━━━ */
#hero {
  padding-top: 88px; position: relative;
  min-height: 100vh; display: flex; flex-direction: column;
  overflow: hidden; background: var(--bg);
}

/* Grid background */
.h-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(196,181,253,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,181,253,.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 72% 48%, black 8%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 72% 48%, black 8%, transparent 65%);
}
.h-glow-orb {
  position: absolute; z-index: 0;
  width: 780px; height: 780px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,246,.16) 0%, transparent 65%);
  top: -140px; right: -120px; pointer-events: none;
}
.h-glow-orb2 {
  position: absolute; z-index: 0;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(80,40,220,.07) 0%, transparent 68%);
  bottom: 10px; left: -100px; pointer-events: none;
}

/* Split layout */
.h-split {
  flex: 1; position: relative; z-index: 1;
  display: flex; align-items: center; gap: 48px;
  padding: 68px 0 80px;
}
.h-left  { flex: 1; min-width: 0; }
.h-right {
  width: 520px; flex-shrink: 0;
  position: relative; height: 560px;
}

/* Studio label */
.h-studio-label {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 32px; max-width: 100%;
}
.hsl-line { width: 22px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hsl-live {
  margin-left: 6px; display: inline-flex; align-items: center; gap: 5px;
  color: #4ADE80; font-size: 10px;
}
.hsl-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 7px #4ADE80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.6)} }

/* Headline */
.h-headline {
  font-family: var(--fd); font-weight: 800;
  letter-spacing: -.04em; line-height: .92;
  margin-bottom: 26px;
}
.h-hl-1 {
  display: block;
  font-size: clamp(50px, 6.2vw, 98px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(237,234,248,.28);
}
.h-hl-2 {
  display: block;
  font-size: clamp(50px, 6.2vw, 98px);
  color: var(--text);
}
.h-hl-3 {
  display: block;
  font-size: clamp(22px, 2.8vw, 44px);
  color: var(--accent-2);
  font-style: italic; font-weight: 600;
  margin-top: 14px; line-height: 1.2;
}

.h-sub {
  font-size: 16px; color: var(--text-sub); line-height: 1.78;
  max-width: 470px; margin-bottom: 36px;
}
.h-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Primary CTA — stronger visual weight than secondary */
.h-actions .btn-p {
  box-shadow: 0 0 0 1px rgba(123,92,246,.35),
              0 10px 36px rgba(123,92,246,.28);
  padding: 16px 38px; font-size: 15px;
}
.h-actions .btn-p:hover {
  box-shadow: 0 0 0 1px rgba(123,92,246,.5),
              0 16px 44px rgba(123,92,246,.38);
}
.h-actions .btn-o { padding: 16px 32px; font-size: 15px; }

/* Inline stats */
.h-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.h-stat-n {
  font-family: var(--fd); font-size: 26px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
}
.h-stat-n em { color: var(--accent); font-style: normal; }
.h-stat-l {
  font-size: 11px; color: var(--text-muted); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-top: 4px;
}
.h-sdiv { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }

/* Entrance animations */
.h-studio-label { opacity:0; animation: hIn .7s var(--ease) .08s forwards; }
.h-hl-1         { opacity:0; animation: hIn .8s var(--ease) .18s forwards; }
.h-hl-2         { opacity:0; animation: hIn .8s var(--ease) .28s forwards; }
.h-hl-3         { opacity:0; animation: hIn .8s var(--ease) .38s forwards; }
.h-sub          { opacity:0; animation: hIn .8s var(--ease) .48s forwards; }
.h-actions      { opacity:0; animation: hIn .8s var(--ease) .58s forwards; }
.h-stats        { opacity:0; animation: hIn .8s var(--ease) .70s forwards; }
@keyframes hIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FLOATING DESIGN CARDS ── */
.d-card {
  position: absolute;
  background: rgba(13,12,24,.93);
  border: 1px solid rgba(196,181,253,.14);
  border-radius: 20px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 32px 80px rgba(0,0,0,.62),
    0 0 0 .5px rgba(196,181,253,.06) inset;
  opacity: 0; animation: dcIn .75s var(--ease) forwards;
}
.d-card:hover {
  border-color: rgba(196,181,253,.3);
  box-shadow: 0 36px 88px rgba(0,0,0,.68), 0 0 40px rgba(123,92,246,.1);
  transform: var(--card-hover) !important;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
@keyframes dcIn {
  from { opacity: 0; transform: var(--dc-from, translateY(36px) scale(.95)); }
  to   { opacity: 1; transform: var(--dc-to, translateY(0) scale(1)); }
}
@keyframes floatA { 0%,100%{transform:rotate(4deg) translateY(0)} 50%{transform:rotate(4deg) translateY(-18px)} }
@keyframes floatB { 0%,100%{transform:rotate(-5deg) translateY(0)} 50%{transform:rotate(-5deg) translateY(-13px)} }

/* Card 1 — UI/Dashboard Preview */
.dc-ui {
  top: 22px; left: 18px; width: 284px; padding: 20px 22px 22px;
  animation-delay: .44s;
  --dc-from: translateY(36px) rotate(4deg) scale(.95);
  --dc-to:   translateY(0)    rotate(4deg) scale(1);
  --card-hover: rotate(4deg) translateY(-8px) scale(1.02);
}
.dc-ui.float { animation: floatA 5.6s ease-in-out 0s infinite; opacity: 1; }

.dcu-top { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.dcu-avi {
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  background: linear-gradient(135deg,#7B5CF6,#C4B5FD);
}
.dcu-name { font-size:13px; font-weight:700; font-family:var(--fd); }
.dcu-role { font-size:9px; color:var(--text-muted); margin-top:2px; letter-spacing:.04em; }
.dcu-badge {
  margin-left:auto; font-size:9px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; background:rgba(123,92,246,.14);
  color:var(--accent-2); padding:3px 9px; border-radius:100px;
  border:1px solid rgba(123,92,246,.22); flex-shrink:0;
}
.dcu-mock {
  background:rgba(9,9,15,.72); border-radius:10px; padding:12px;
  border:1px solid rgba(196,181,253,.07); margin-bottom:14px;
}
.dcu-mock-nav { height:6px; background:rgba(255,255,255,.08); border-radius:2px; margin-bottom:10px; }
.dcu-mock-row { display:flex; gap:6px; margin-bottom:6px; }
.dcu-mock-row:last-child { margin-bottom:0; }
.dcu-mock-box { flex:1; height:34px; background:rgba(255,255,255,.05); border-radius:5px; border:1px solid rgba(255,255,255,.04); }
.dcu-mock-box.accent-box { background:rgba(123,92,246,.16); border-color:rgba(123,92,246,.22); }
.dcu-metric {
  background:rgba(74,222,128,.06); border-radius:10px;
  padding:10px 14px; display:flex; justify-content:space-between; align-items:center;
  border:1px solid rgba(74,222,128,.12);
}
.dcu-ml { font-size:9px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.06em; }
.dcu-mv { font-size:22px; font-weight:800; font-family:var(--fd); color:#4ADE80; }
.dcu-bar { height:3px; background:rgba(196,181,253,.08); border-radius:2px; margin-top:12px; overflow:hidden; }
.dcu-fill {
  height:100%; width:78%; background:linear-gradient(90deg,#7B5CF6,#C4B5FD); border-radius:2px;
  animation: fillGrow 1.8s var(--ease) .9s both;
}
@keyframes fillGrow { from{width:0} to{width:78%} }

/* Card 2 — Conversion Metric */
.dc-conv {
  bottom: 48px; right: 12px; width: 210px; padding: 20px 20px 18px;
  animation-delay: .62s;
  --dc-from: translateY(36px) rotate(-5deg) scale(.95);
  --dc-to:   translateY(0)    rotate(-5deg) scale(1);
  --card-hover: rotate(-5deg) translateY(-8px) scale(1.02);
}
.dc-conv.float { animation: floatB 6.2s ease-in-out .5s infinite; opacity: 1; }
.dcc-tag {
  font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  color:#4ADE80; display:flex; align-items:center; gap:6px; margin-bottom:12px;
}
.dcc-dot {
  width:6px; height:6px; border-radius:50%; background:#4ADE80;
  box-shadow:0 0 8px #4ADE80; flex-shrink:0;
  animation: pulse 2s ease-in-out infinite;
}
.dcc-num { font-family:var(--fd); font-size:44px; font-weight:800; letter-spacing:-.05em; line-height:1; }
.dcc-num em { color:#4ADE80; font-style:normal; }
.dcc-sub { font-size:11px; color:var(--text-sub); margin-top:5px; line-height:1.45; }
.dcc-divider { height:1px; background:rgba(196,181,253,.08); margin:14px 0 12px; }
.dcc-bars { display:flex; align-items:flex-end; gap:4px; height:36px; }
.dcc-b { flex:1; border-radius:3px 3px 0 0; background:rgba(123,92,246,.18); }
.dcc-b.hi  { background:var(--accent); }
.dcc-b.hi2 { background:rgba(123,92,246,.48); }

/* stat-num still used in mobile strip */
.stat-num { font-family:var(--fd); font-size:22px; font-weight:800; letter-spacing:-.04em; line-height:1; }
.stat-num em { color:var(--accent); font-style:normal; }
.stat-lbl { font-size:10px; color:var(--text-muted); font-weight:600; letter-spacing:.08em; text-transform:uppercase; margin-top:4px; }

/* ── HERO RESPONSIVE ── */
@media (max-width: 1140px) {
  .h-right { width: 440px; height: 520px; }
  .dc-ui   { width: 255px; left: 12px; }
  .dc-conv { width: 188px; }
}
@media (max-width: 960px) {
  .h-split { gap: 28px; }
  .h-right { width: 340px; height: 480px; }
  .dc-ui   { width: 225px; left: 8px; }
  .dc-conv { width: 168px; right: 6px; }
}
@media (max-width: 900px) {
  .h-split { flex-direction: column; align-items: flex-start; padding: 44px 0 60px; gap: 44px; }
  .h-right { display: none; }
  .h-left  { width: 100%; }
  .h-sub   { max-width: 100%; }
  .h-stats { gap: 24px 28px; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .h-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 520px) {
  .h-hl-1, .h-hl-2 { font-size: clamp(44px, 12.5vw, 68px); }
  .h-hl-3 { font-size: clamp(20px, 5.5vw, 32px); }
  .h-sub  { font-size: 15px; }
  .h-actions { flex-direction: column; align-items: stretch; }
  .h-actions .btn { justify-content: center; }
  .h-stats { gap: 16px; }
}

/* mobile stats strip */
.h-stats-strip {
  display: none; border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.h-stats-strip .hsb-item {
  flex: 1; padding: 22px 0; text-align: center;
  border-right: 1px solid var(--border);
}
.h-stats-strip .hsb-item:last-child { border-right: none; }


/* ━━━━━━━━━━━━━━ MARQUEE ━━━━━━━━━━━━━━ */
.marquee-bar {
  padding: 26px 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.marquee-track {
  display: flex; gap: 52px; white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.mi {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
  font-family: var(--fd); font-size: 17px; font-weight: 700;
  color: var(--text-muted); letter-spacing: -.01em;
}
.mi span { color: var(--accent); font-size: 11px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ━━━━━━━━━━━━━━ SECTIONS ━━━━━━━━━━━━━━ */
section { padding: 128px 0; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.sec-tag::before { content: ''; display: block; width: 22px; height: 1px; background: var(--accent); }
.sec-h {
  font-size: clamp(38px, 5vw, 72px); font-weight: 800;
  letter-spacing: -.03em;
}
.sec-h .dim { color: var(--text-muted); }

/* ━━━━━━━━━━━━━━ WORK ━━━━━━━━━━━━━━ */
#work { padding-bottom: 0; }
.work-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px;
}
.work-scroll {
  overflow-x: auto; overflow-y: visible;
  cursor: grab; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 64px;
}
.work-scroll::-webkit-scrollbar { display: none; }
.work-scroll.drag { cursor: grabbing; }
.work-row { display: flex; gap: 20px; width: max-content; padding: 0 36px; align-items: flex-start; }

/* Base card */
.wc {
  width: 400px; flex-shrink: 0; border-radius: 20px;
  overflow: hidden; background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
  position: relative;
}
.wc:hover {
  transform: translateY(-10px); border-color: var(--border-h);
  box-shadow: 0 36px 72px rgba(0,0,0,.55);
}

/* Featured card */
.wc.featured {
  width: 560px;
  border-color: rgba(123,92,246,.2);
  background: linear-gradient(160deg, #14122A 0%, #13131C 55%);
  box-shadow: 0 0 0 1px rgba(123,92,246,.1), 0 24px 60px rgba(0,0,0,.4);
}
.wc.featured:hover {
  transform: translateY(-12px);
  border-color: rgba(123,92,246,.38);
  box-shadow: 0 0 0 1px rgba(123,92,246,.18),
              0 44px 80px rgba(0,0,0,.56),
              0 0 64px rgba(123,92,246,.08);
}

/* Featured badge */
.wc-featured-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  padding: 4px 12px 4px 10px; border-radius: 100px;
  display: flex; align-items: center; gap: 6px;
}
.wc-featured-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.8); flex-shrink: 0;
}

/* Visual area */
.wc-vis { height: 256px; overflow: hidden; position: relative; }
.wc.featured .wc-vis { height: 316px; }

.wc-mock {
  width: 100%; height: 100%; position: relative;
  transition: transform .7s var(--ease);
}
.wc:hover .wc-mock { transform: scale(1.05); }

/* Hover overlay — "View Case Study" */
.wc-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(6,5,14,.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .38s var(--ease);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.wc:hover .wc-overlay { opacity: 1; }
.wc-overlay-btn {
  font-family: var(--fd); font-size: 14px; font-weight: 700;
  color: #fff; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 100px;
  background: var(--accent); cursor: none;
  transform: translateY(10px);
  transition: transform .38s var(--ease), background .2s;
}
.wc:hover .wc-overlay-btn { transform: translateY(0); }
.wc-overlay-btn:hover { background: var(--accent-h); }

/* Mockup gradients */
.m1 { background: linear-gradient(140deg,#0B1A2C,#1A3A5C,#0D2137); }
.m2 { background: linear-gradient(140deg,#1A0A00,#3D1500,#2A0D00); }
.m3 { background: linear-gradient(140deg,#0A1F0A,#0D3D1A,#071A0A); }
.m4 { background: linear-gradient(140deg,#12091F,#2A1050,#1A0B33); }
.m5 { background: linear-gradient(140deg,#1F1209,#3D2210,#2A1708); }
.m6 { background: linear-gradient(140deg,#091A1F,#0D3040,#07161F); }

.m1::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 60% 40%, rgba(64,156,255,.22) 0%, transparent 60%); }
.m2::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 70% 40%, rgba(255,120,0,.22) 0%, transparent 60%); }
.m3::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 60%, rgba(52,211,100,.2) 0%, transparent 55%); }
.m4::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 60% 30%, rgba(139,92,246,.24) 0%, transparent 60%); }
.m5::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 50%, rgba(251,191,36,.2) 0%, transparent 60%); }
.m6::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 40% 40%, rgba(6,182,212,.2) 0%, transparent 60%); }

.mock-ui {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; gap: 10px; z-index: 1;
}
.mu-nav   { height: 9px; background: rgba(255,255,255,.09); border-radius: 3px; }
.mu-h     { height: 16px; width: 72%; background: rgba(255,255,255,.16); border-radius: 3px; margin-top: 8px; }
.mu-sub   { height: 9px; width: 50%; background: rgba(255,255,255,.08); border-radius: 3px; }
.mu-btn   { height: 19px; width: 30%; background: #7B5CF6; border-radius: 20px; opacity: .75; margin-top: 4px; }
.mu-row   { display: flex; gap: 8px; margin-top: 6px; }
.mu-box   { flex: 1; height: 50px; background: rgba(255,255,255,.05); border-radius: 6px; border: 1px solid rgba(255,255,255,.04); }

/* Card info */
.wc-info { padding: 22px 24px 60px; }
.wc.featured .wc-info { padding: 24px 28px 64px; }

.wc-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.wc-cat  { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.wc-yr   { font-size: 12px; color: var(--text-muted); }

/* Result headline — the hero of each card */
.wc-result {
  font-family: var(--fd); font-size: 19px; font-weight: 800;
  letter-spacing: -.025em; line-height: 1.18;
  color: var(--text); margin-bottom: 8px;
}
.wc.featured .wc-result { font-size: 24px; margin-bottom: 10px; }
.wc-result em { color: var(--accent-2); font-style: normal; }

/* Project name — demoted to label */
.wc-ttl {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.wc-dsc  { font-size: 13px; color: var(--text-sub); line-height: 1.68; }
.wc.featured .wc-dsc { font-size: 14px; }

/* Result metric pill */
.wc-metric {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px; padding: 6px 14px; border-radius: 100px;
  background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.14);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #4ADE80; font-family: var(--fb);
  white-space: nowrap;
}
.wc-metric::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #4ADE80; box-shadow: 0 0 6px #4ADE80; flex-shrink: 0;
}
.wc.featured .wc-metric { font-size: 12px; padding: 7px 16px; margin-top: 20px; }

/* Arrow */
.wc-arr  {
  position: absolute; bottom: 22px; right: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-card-h); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--text-sub);
  transition: all .35s var(--ease);
}
.wc:hover .wc-arr { background: var(--accent); border-color: var(--accent); color: #fff; transform: translate(2px,-2px); }

/* ━━━━━━━━━━━━━━ SERVICES ━━━━━━━━━━━━━━ */
#services { background: var(--bg-surface); }
.svc-intro {
  font-size: 15px; color: var(--text-sub); line-height: 1.7;
  max-width: 480px; margin-top: 14px;
}
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); margin-top: 72px; }
.svc {
  background: var(--bg-surface); padding: 52px 48px; position: relative;
  overflow: hidden; cursor: none;
  transition: background .4s var(--ease);
}
.svc::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,92,246,.07) 0%, transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.svc:hover::before { opacity: 1; }
.svc:hover { background: var(--bg-card-h); }
.svc-num  { font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: 28px; }
.svc-ico  {
  position: absolute; top: 48px; right: 48px;
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(123,92,246,.1); display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent);
  transition: transform .4s var(--ease), background .4s;
}
.svc:hover .svc-ico { background: var(--accent); color: #fff; transform: rotate(6deg) scale(1.1); }
.svc-ttl  { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.svc-dsc  { font-size: 14px; color: var(--text-sub); line-height: 1.75; max-width: 340px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stag {
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(237,232,223,.05); color: var(--text-sub);
  border: 1px solid var(--border);
  transition: all .2s;
}
.svc:hover .stag { background: rgba(123,92,246,.12); color: var(--accent-2); border-color: rgba(123,92,246,.28); }

/* ━━━━━━━━━━━━━━ TEMPLATES ━━━━━━━━━━━━━━ */
#templates { overflow: hidden; }
.tmpl-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px;
}
.tmpl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.tc {
  border-radius: var(--rl); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all .45s var(--ease); cursor: none;
}
.tc:hover { transform: translateY(-7px); border-color: var(--border-h); box-shadow: 0 28px 56px rgba(0,0,0,.42); }

.tc-vis { height: 208px; position: relative; overflow: hidden; }
.tv1 { background: linear-gradient(140deg,#0F1923,#1E3A5F); }
.tv2 { background: linear-gradient(140deg,#1A0F23,#3D1E5F); }
.tv3 { background: linear-gradient(140deg,#0F2318,#1E5F3A); }
.tc-vis-in {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .55s var(--ease);
}
.tc:hover .tc-vis-in { transform: scale(1.04); }
.tl  { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; }
.tw  { width: 78%; } .tm { width: 58%; } .ts { width: 38%; }
.ta  { background: rgba(123,92,246,.55); width: 26%; }
.tb-row { display: flex; gap: 7px; margin-top: 6px; }
.tb  { flex: 1; height: 58px; background: rgba(255,255,255,.06); border-radius: 6px; }

.tc-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 100px;
  background: var(--accent); color: #fff;
}

.tc-info { padding: 20px 24px 26px; }
.tc-cat  { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.tc-ttl  { font-family: var(--fd); font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.tc-dsc  { font-size: 13px; color: var(--text-sub); line-height: 1.65; margin-bottom: 18px; }
.tc-foot { display: flex; align-items: center; justify-content: space-between; }
.tc-price { font-family: var(--fd); font-size: 23px; font-weight: 800; }
.tc-orig  { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-left: 6px; }
.tc-btn {
  font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 100px;
  background: rgba(123,92,246,.1); color: var(--accent);
  border: 1px solid rgba(123,92,246,.22); cursor: none;
  transition: all .2s; text-decoration: none;
}
.tc:hover .tc-btn { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }

/* ━━━━━━━━━━━━━━ PROCESS ━━━━━━━━━━━━━━ */
#process { background: var(--bg-surface); }
.proc-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative; margin-top: 72px; gap: 0;
}
.proc-grid::before {
  content: ''; position: absolute; top: 23px;
  left: 11%; right: 11%; height: 1px;
  background: linear-gradient(to right, var(--accent), var(--accent-2)); z-index: 0;
}
.proc-step { padding: 0 28px; position: relative; z-index: 1; }
.ps-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-surface); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 15px; font-weight: 800; color: var(--accent);
  margin-bottom: 28px;
  transition: background .35s, color .35s, transform .35s;
}
.proc-step:hover .ps-num { background: var(--accent); color: #fff; transform: scale(1.12); }
.ps-ttl { font-family: var(--fd); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.ps-dsc { font-size: 14px; color: var(--text-sub); line-height: 1.75; }
.ps-dur { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--accent-2); margin-top: 16px; text-transform: uppercase; }

/* ━━━━━━━━━━━━━━ TESTIMONIALS ━━━━━━━━━━━━━━ */
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 64px; }
.tcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 36px;
  transition: all .4s var(--ease);
}
.tcard:hover { border-color: var(--border-h); transform: translateY(-5px); }
.tcard.featured { background: var(--accent); border-color: var(--accent); }
.t-stars { font-size: 14px; color: var(--accent-2); letter-spacing: 2px; margin-bottom: 22px; }
.tcard.featured .t-stars { color: rgba(255,255,255,.8); }
.t-q {
  font-size: 15px; line-height: 1.75; font-style: italic;
  color: var(--text); margin-bottom: 28px;
}
.tcard.featured .t-q { color: #fff; }
.t-auth { display: flex; align-items: center; gap: 14px; }
.t-av {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-card-h); display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 16px; font-weight: 700; color: var(--accent);
}
.tcard.featured .t-av { background: rgba(255,255,255,.22); color: #fff; }
.t-name { font-family: var(--fd); font-weight: 700; font-size: 15px; }
.t-role { font-size: 12px; color: var(--text-sub); }
.tcard.featured .t-name { color: #fff; }
.tcard.featured .t-role { color: rgba(255,255,255,.7); }
.t-flag { margin-left: auto; font-size: 22px; }

/* ━━━━━━━━━━━━━━ CONTACT ━━━━━━━━━━━━━━ */
#contact { text-align: center; position: relative; overflow: hidden; }
#contact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(123,92,246,.16) 0%, transparent 58%);
}
.contact-c { position: relative; z-index: 1; }
.ctitle {
  font-size: clamp(52px, 8vw, 124px); font-weight: 800;
  letter-spacing: -.04em; line-height: .92; margin-bottom: 30px;
}
.ctitle .acc { color: var(--accent); }
.csub {
  font-size: 18px; color: var(--text-sub); max-width: 460px;
  margin: 0 auto 52px; line-height: 1.75;
}
.c-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.c-note { font-size: 13px; color: var(--text-muted); }

/* ━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━ */
footer { border-top: 1px solid var(--border); padding: 44px 0; }
.ft-in { display: flex; align-items: center; justify-content: space-between; }
.ft-logo { font-family: var(--fd); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.ft-logo span { color: var(--accent); }
.ft-copy { font-size: 13px; color: var(--text-muted); }
.ft-links { display: flex; align-items: center; gap: 28px; }
.ft-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.ft-links a:hover { color: var(--text); }

/* ━━━━━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━━━━━ */

/* ── Laptop (1200px) ── */
@media (max-width: 1200px) {
  .h-right { width: 460px; height: 520px; }
}

/* ── Tablet landscape / nav collapse (1080px) ── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-desk { display: none; }
  /* hero */
  .h-right { width: 370px; height: 500px; }
  .dc-ui   { width: 218px; left: 10px; }
  .dc-conv { width: 178px; right: 8px; }
  /* services */
  .svc-grid { grid-template-columns: 1fr; }
  /* process */
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .proc-grid::before { display: none; }
  /* templates */
  .tmpl-grid { grid-template-columns: 1fr 1fr; }
  /* testimonials */
  .t-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet portrait (900px) ── */
@media (max-width: 900px) {
  .h-split { flex-direction: column; align-items: flex-start; padding: 44px 0 60px; gap: 44px; }
  .h-right { display: none; }
  .h-left  { width: 100%; }
  .h-sub   { max-width: 100%; }
  .h-stats { gap: 24px 28px; flex-wrap: wrap; }
}

/* ── Tablet portrait / large phone (768px) ── */
@media (max-width: 768px) {
  /* cursor */
  body { cursor: auto; }
  #cur-dot, #cur-ring { display: none; }
  /* layout */
  .wrap { padding: 0 20px; }
  section { padding: 80px 0; }
  /* hero */
  .h-studio-label { font-size: 10px; letter-spacing: .07em; flex-wrap: wrap; row-gap: 6px; }
  .hsl-live { margin-left: 0; }
  .h-stats { flex-wrap: wrap; gap: 16px 24px; }
  .h-sdiv { display: none; }
  /* work */
  .wc, .wc.featured { width: min(82vw, 300px); }
  .wc-vis, .wc.featured .wc-vis { height: 220px; }
  .wc.featured { background: var(--bg-card); box-shadow: none; border-color: var(--border); }
  .wc-result { font-size: 16px; }
  .wc.featured .wc-result { font-size: 16px; }
  .wc-info, .wc.featured .wc-info { padding: 18px 20px 54px; }
  .work-row { padding: 0 20px; }
  .work-top { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  /* services */
  .svc { padding: 36px 28px; }
  .svc-ico { top: 36px; right: 28px; width: 44px; height: 44px; }
  .svc-ttl { font-size: 26px; }
  /* process */
  .proc-grid { grid-template-columns: 1fr; }
  .proc-step { padding: 0 0 36px; border-bottom: 1px solid var(--border); }
  .proc-step:last-child { border-bottom: none; padding-bottom: 0; }
  /* templates */
  .tmpl-grid { grid-template-columns: 1fr; }
  .tmpl-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .tmpl-top > div:last-child { display: none; }
  /* testimonials */
  .t-grid { grid-template-columns: 1fr; }
  .tcard { padding: 28px 24px; }
  /* contact */
  .ctitle { font-size: clamp(38px, 11vw, 72px); line-height: .92; }
  .csub { font-size: 15px; }
  .c-ctas { gap: 12px; }
  /* footer */
  .ft-in { flex-direction: column; gap: 20px; text-align: center; }
  .ft-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
}

/* ── Phone (520px) ── */
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  /* hero */
  .h-split { padding: 30px 0 44px; }
  .h-studio-label { font-size: 9px; gap: 7px; margin-bottom: 24px; }
  .hsl-live { display: none; }
  .h-hl-1, .h-hl-2 { font-size: clamp(42px, 12vw, 66px); }
  .h-hl-3 { font-size: clamp(20px, 5.8vw, 32px); }
  .h-headline { margin-bottom: 20px; }
  .h-sub { font-size: 15px; margin-bottom: 28px; }
  .h-actions { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .h-actions .btn { justify-content: center; }
  .h-stat-n { font-size: 20px; }
  .h-stat-l { font-size: 9px; }
  .h-stats { padding-top: 24px; gap: 14px 20px; }
  /* marquee */
  .mi { font-size: 14px; gap: 12px; }
  /* sections */
  .sec-h { font-size: clamp(26px, 8vw, 42px); }
  /* work */
  .wc, .wc.featured { width: min(78vw, 270px); }
  .wc-vis, .wc.featured .wc-vis { height: 200px; }
  .wc-result, .wc.featured .wc-result { font-size: 15px; }
  .wc-dsc, .wc.featured .wc-dsc { font-size: 12px; }
  .wc-metric { font-size: 10px; padding: 5px 11px; }
  /* services */
  .svc { padding: 28px 20px; }
  .svc-ico { display: none; }
  .svc-ttl { font-size: 22px; }
  .svc-dsc { font-size: 13px; }
  /* process */
  .proc-step { padding: 0 0 30px; }
  .ps-num { width: 42px; height: 42px; font-size: 13px; margin-bottom: 20px; }
  .ps-ttl { font-size: 18px; }
  .ps-dsc { font-size: 13px; }
  /* templates */
  .tc-vis { height: 175px; }
  .tc-ttl { font-size: 17px; }
  .tc-dsc { font-size: 12px; }
  .tc-price { font-size: 20px; }
  /* testimonials */
  .tcard { padding: 22px 18px; }
  .t-q { font-size: 14px; line-height: 1.7; }
  .t-stars { font-size: 12px; margin-bottom: 16px; }
  /* contact */
  .ctitle { font-size: clamp(32px, 11vw, 54px); }
  .c-ctas { flex-direction: column; align-items: center; }
  .c-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .csub { font-size: 14px; margin-bottom: 36px; }
  /* footer */
  .ft-copy { font-size: 12px; }
  .ft-links { gap: 12px; }
  .ft-links a { font-size: 12px; }
}

/* ── Small phone (380px) ── */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  section { padding: 52px 0; }
  .h-hl-1, .h-hl-2 { font-size: clamp(36px, 13vw, 52px); }
  .h-hl-3 { font-size: clamp(17px, 5.5vw, 26px); }
  .h-sub { font-size: 14px; }
  .btn-lg { padding: 13px 26px; font-size: 14px; }
  .sec-h { font-size: clamp(24px, 8.5vw, 38px); }
  .svc-ttl { font-size: 20px; }
  .tcard { padding: 18px 16px; }
  .ctitle { font-size: clamp(30px, 12vw, 48px); }
  .ft-links { gap: 10px; }
}
