/* ============================================================
   Openzer — main stylesheet
   ------------------------------------------------------------
   NOTE: Fonts are loaded from <head> via <link rel="preload" as="style"> +
   <link rel="stylesheet" media="print" onload="this.media='all'"> so they
   don't block first paint. Don't add @import statements back here.
   ============================================================ */

:root {
  --bg: #0f0508;
  --bg-2: #140609;
  --surface: #1a080e;
  --line: rgba(139,26,74,0.18);
  --line-2: rgba(139,26,74,0.30);
  --text: #f8f0f3;
  --muted: #b08090;
  --dim: #7a5060;
  --accent: #8B1A4A;
  --accent-2: #b03068;
  --accent-glow: rgba(139,26,74,0.55);
  --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --sans: 'Satoshi', 'Inter', system-ui, sans-serif;
  --mono: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body {
  background-image:
    radial-gradient(1000px 600px at 80% -10%, rgba(139,26,74,0.12), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(139,26,74,0.07), transparent 60%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: #8B1A4A; color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
  font-weight: 500; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; border-radius: 999px; transition: transform .15s ease, opacity .2s; }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px;
  display: grid; place-items: center;
  font: 500 9px/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s, width .25s, height .25s, border-color .25s;
}
.cursor-ring.hover { width: 64px; height: 64px; border-color: rgba(255,160,200,0.95); }
.cursor-ring.text { width: 4px; height: 28px; border-radius: 2px; border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.85); }
.cursor-ring.drag { width: 72px; height: 72px; border-color: rgba(255,160,200,0.95); }
.cursor-ring.drag::after { content: 'drag'; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ---------- Layout primitives ---------- */
.container { width: min(1240px, 92vw); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--line);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: #8B1A4A; box-shadow: 0 0 12px rgba(139,26,74,0.7); }
.h-display {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.02em;
}
.h-section { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.p-lead { color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; max-width: 62ch; }
.shimmer-text {
  background: linear-gradient(90deg, #ffffff 0%, #f0d0da 30%, #c04070 50%, #f0d0da 70%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 14.5px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
  will-change: transform;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(180deg, #a82058 0%, #6B1238 100%); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 14px 40px -10px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 18px 60px -10px var(--accent-glow); }
.btn-ghost {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.25); }

/* ---------- Section frame ---------- */
section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }

/* ---------- Card ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---------- Reveal animations (staggered, upgraded) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity .9s cubic-bezier(0.22, 1, 0.36, 1), transform .9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .22s; }
.reveal[data-delay="4"] { transition-delay: .30s; }
.reveal[data-delay="5"] { transition-delay: .38s; }
.reveal[data-delay="6"] { transition-delay: .46s; }
/* JS-driven stagger via data-stagger inline transition-delay overrides above */

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex; gap: 64px; width: max-content;
  animation: marquee var(--marquee-dur, 38s) linear infinite;
}
.marquee:hover .marquee-track { --marquee-dur: 18s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1240px, 92vw); padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: rgba(10,12,18,0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, border-color .3s, transform .3s;
}
.nav-inner.scrolled { background: rgba(10,12,18,0.78); border-color: var(--line-2); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: 13.5px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
  color: var(--text);
}
.nav-toggle .bars { display: grid; gap: 5px; }
.nav-toggle .bars span {
  width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease-out, opacity .2s ease-out;
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 5, 8, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease-out;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-inner {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: linear-gradient(180deg, #160710 0%, #0a0408 100%);
  border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 8px;
  padding: 100px 32px 32px;
  transform: translateX(100%); opacity: 0;
  transition: transform .28s ease-out, opacity .28s ease-out;
}
.mobile-drawer.open .mobile-drawer-inner { transform: translateX(0); opacity: 1; }
.mobile-drawer a.drawer-link {
  font-family: var(--display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-drawer a.drawer-link:hover { color: var(--accent-2); }
.mobile-drawer a.drawer-link svg { color: var(--muted); }
.mobile-drawer .drawer-cta { margin-top: 24px; }
.mobile-drawer .drawer-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: 0; min-height: 100vh; display: grid; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.65;
  animation: float 14s ease-in-out infinite;
  will-change: transform;
}
.hero-blob.a { width: 520px; height: 520px; background: radial-gradient(circle, #8B1A4A 0%, transparent 70%); top: -8%; left: -8%; }
.hero-blob.b { width: 620px; height: 620px; background: radial-gradient(circle, #5e0f30 0%, transparent 70%); bottom: -20%; right: -10%; animation-delay: -6s; }
.hero-blob.c { width: 360px; height: 360px; background: radial-gradient(circle, #b03068 0%, transparent 70%); top: 40%; left: 55%; opacity: 0.35; animation-delay: -10s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.06); }
}

.hero-content { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 80px; }
.hero h1 { margin: 24px 0 24px; max-width: 18ch; }
.hero h1 .ital { font-style: italic; font-weight: 400; color: var(--muted); }
.hero h1 .accent { background: linear-gradient(180deg, #fff 0%, #f0c0d0 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 58ch; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-top: 48px; color: var(--muted); font-size: 13px;
}
.hero-meta .avatars { display: flex; }
.hero-meta .avatars span {
  width: 30px; height: 30px; border-radius: 999px; border: 2px solid var(--bg);
  margin-left: -10px; background-size: cover; background-position: center;
}
.hero-meta .avatars span:first-child { margin-left: 0; }
.hero-meta .stars { color: #ffd166; letter-spacing: 2px; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 80px;
}
.hero-stats .stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .num { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-stats .label { color: var(--muted); font-size: 12.5px; margin-top: 6px; letter-spacing: 0.04em; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(1), .hero-stats .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Floating mini cards */
.hero-floats { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-card {
  position: absolute; padding: 12px 14px; border-radius: 14px;
  background: rgba(15,18,24,0.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--text);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  will-change: transform;
}
.float-card .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(139,26,74,0.20); color: var(--accent-2); }
.float-card.f1 { top: 22%; right: 6%; animation: floatY 6s ease-in-out infinite; }
.float-card.f2 { bottom: 26%; left: 4%; animation: floatY 7s ease-in-out infinite -2s; }
.float-card.f3 { top: 60%; right: 12%; animation: floatY 8s ease-in-out infinite -4s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 880px) { .float-card { display: none; } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .bar { width: 1px; height: 36px; background: linear-gradient(180deg, transparent, #8B1A4A, transparent); animation: scrollBar 2.4s ease-in-out infinite; }
@keyframes scrollBar { 0%,100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ---------- Logos ---------- */
.logos { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-head { text-align: center; color: var(--muted); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 36px; }
.logo-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 500; font-size: 22px;
  color: var(--muted); opacity: 0.7; transition: opacity .3s, color .3s;
  letter-spacing: -0.01em; white-space: nowrap;
}
.logo-item:hover { opacity: 1; color: var(--text); }
.logo-item svg { width: 22px; height: 22px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc-card {
  position: relative; padding: 32px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, background .4s;
  min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
  transform-style: preserve-3d;
}
.svc-card:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(139,26,74,0.08), rgba(255,255,255,0.01)); }
.svc-card .glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,26,74,0.40), transparent 60%);
  filter: blur(40px); opacity: 0; transition: opacity .4s; pointer-events: none;
  top: -100px; right: -100px;
}
.svc-card:hover .glow { opacity: 1; }
.svc-card .spotlight {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(255,200,220,0.10), transparent 50%);
  transition: opacity .35s;
}
.svc-card:hover .spotlight { opacity: 1; }
.svc-card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(139,26,74,0.12); color: var(--accent-2);
  border: 1px solid rgba(139,26,74,0.22);
  box-shadow: inset 0 0 20px rgba(139,26,74,0.12);
}
.svc-card h3 { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; margin-top: 18px; }
.svc-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 8px; }
.svc-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.svc-card .chip { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--muted); }
.svc-card.span-6 { grid-column: span 6; }
.svc-card.span-4 { grid-column: span 4; }
.svc-card.span-8 { grid-column: span 8; }
@media (max-width: 880px) { .svc-card.span-6, .svc-card.span-4, .svc-card.span-8 { grid-column: span 12; } }

.svc-card.feature { min-height: 380px; }
.svc-card.feature .demo {
  flex: 1; margin-top: 24px; border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(76,143,255,0.10), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 60px);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.svc-card.feature .demo .bar { position: absolute; bottom: 16px; left: 16px; right: 16px; height: 6px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.svc-card.feature .demo .bar > i { display: block; width: 64%; height: 100%; background: linear-gradient(90deg, #8B1A4A, #c04070); border-radius: 999px; }
.svc-card.feature .demo .pill {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; padding: 4px 8px; border-radius: 6px;
  background: rgba(0,0,0,0.5); border: 1px solid var(--line-2); color: var(--text);
}
.svc-card.feature .demo .roi {
  position: absolute; top: 16px; right: 16px; text-align: right;
  font-family: var(--display); font-size: 22px; letter-spacing: -0.01em;
}
.svc-card.feature .demo .roi span { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.pf {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  min-height: 320px;
  cursor: pointer;
  transition: border-color .4s;
  transform-style: preserve-3d;
}
.pf:hover { border-color: var(--line-2); }
.pf .thumb { position: absolute; inset: 0; }
.pf .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
}
.pf .spotlight {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 1;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(255,200,220,0.14), transparent 50%);
  transition: opacity .35s;
}
.pf:hover .spotlight { opacity: 1; }
.pf .meta { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.pf .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; backdrop-filter: blur(8px); letter-spacing: 0.04em;
}
.pf h4 { font-family: var(--display); font-weight: 500; font-size: 22px; margin-top: 10px; letter-spacing: -0.01em; }
.pf .sub { color: rgba(255,255,255,0.65); font-size: 13px; margin-top: 4px; }
.pf .play {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.18); color: #fff;
  backdrop-filter: blur(8px);
  transition: transform .3s, background .3s;
}
.pf:hover .play { transform: scale(1.08); background: rgba(139,26,74,0.85); }
.pf .stat-pill {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.14);
  color: #fff; backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
}
.pf .stat-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: #38e29b; box-shadow: 0 0 8px #38e29b; }
.pf.span-8 { grid-column: span 8; min-height: 460px; }
.pf.span-4 { grid-column: span 4; min-height: 460px; }
.pf.span-6 { grid-column: span 6; }
.pf.span-12 { grid-column: span 12; min-height: 420px; }
@media (max-width: 880px) { .pf.span-8, .pf.span-4, .pf.span-6, .pf.span-12 { grid-column: span 12; min-height: 320px; } }

.thumb.t1 { background:
  radial-gradient(circle at 20% 30%, rgba(76,143,255,0.7), transparent 50%),
  radial-gradient(circle at 80% 70%, rgba(255,118,193,0.5), transparent 50%),
  linear-gradient(135deg, #0e1117, #1a2030);
}
.thumb.t2 { background:
  radial-gradient(circle at 70% 30%, rgba(106,169,255,0.5), transparent 60%),
  linear-gradient(180deg, #11161e, #060810);
}
.thumb.t3 { background:
  radial-gradient(circle at 30% 80%, rgba(56,226,155,0.4), transparent 55%),
  linear-gradient(135deg, #0a1418, #0a0c14);
}
.thumb.t4 { background:
  radial-gradient(circle at 50% 50%, rgba(255,184,108,0.35), transparent 60%),
  linear-gradient(180deg, #14110c, #060708);
}
.thumb.t5 { background:
  radial-gradient(circle at 20% 50%, rgba(178,108,255,0.5), transparent 60%),
  linear-gradient(135deg, #0d0e1a, #060710);
}
.thumb.t6 { background:
  radial-gradient(circle at 80% 30%, rgba(76,143,255,0.6), transparent 50%),
  radial-gradient(circle at 30% 70%, rgba(56,226,155,0.3), transparent 50%),
  linear-gradient(135deg, #0a0d14, #06080e);
}
.thumb .device {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64%; aspect-ratio: 9/16; max-height: 78%;
  border-radius: 22px; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}
.thumb .device::before {
  content: ''; position: absolute; left: 50%; top: 10px; width: 80px; height: 18px; transform: translateX(-50%);
  background: #000; border-radius: 999px;
}
.thumb .device .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; color:#fff; backdrop-filter: blur(8px); }
.thumb .bigtxt {
  position: absolute; left: 28px; top: 28px; font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.02em; line-height: 1; color: rgba(255,255,255,0.9);
  max-width: 60%;
}
.thumb .bigtxt em { font-style: italic; color: rgba(255,255,255,0.55); font-weight: 400; }

/* ---------- Results (NEW Section 05) ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.result-card {
  position: relative; overflow: hidden;
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .4s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.result-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.result-card .r-num {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(44px, 5vw, 68px); line-height: 1;
  letter-spacing: -0.03em; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.result-card .r-num .accent { color: var(--accent-2); }
.result-card .r-label {
  margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5;
}
.result-card .r-tag {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(139,26,74,0.10); border: 1px solid rgba(139,26,74,0.30);
  color: var(--accent-2); letter-spacing: 0.06em; text-transform: uppercase;
  width: max-content; margin-bottom: 18px;
}
.result-card .r-arc {
  position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px;
  border: 1px solid var(--line-2); border-radius: 50%;
  opacity: 0.5;
}
.result-card .r-arc::after {
  content: ''; position: absolute; inset: 18px; border-radius: 50%;
  border: 1px dashed var(--line);
}
.result-card.span-4 { grid-column: span 4; }
.result-card.span-3 { grid-column: span 3; }
.result-card.span-6 { grid-column: span 6; }
@media (max-width: 880px) {
  .result-card.span-4, .result-card.span-3, .result-card.span-6 { grid-column: span 12; }
}

/* ---------- Process ---------- */
.process { position: relative; }
.process-rail {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.process-rail::before {
  content: ''; position: absolute; top: 26px; left: 6%; right: 6%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}
.process-rail::after {
  content: ''; position: absolute; top: 26px; left: 6%; height: 1px; width: 0;
  background: linear-gradient(90deg, #8B1A4A, #c04070);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.process-rail.in::after { width: 88%; }
.step { text-align: left; position: relative; }
.step .node {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--display); font-weight: 500;
  position: relative; z-index: 2;
  transition: border-color .3s, background .3s, transform .3s;
}
.step.active .node { background: rgba(139,26,74,0.14); border-color: rgba(139,26,74,0.55); color: var(--accent-2); box-shadow: 0 0 24px var(--accent-glow); }
.step h4 { margin-top: 16px; font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.55; }
@media (max-width: 880px) { .process-rail { grid-template-columns: 1fr; gap: 12px; } .process-rail::before, .process-rail::after { display: none; } }

/* ---------- Why Openzer ---------- */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.why {
  grid-column: span 4; padding: 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  min-height: 220px; display: flex; flex-direction: column; gap: 12px;
}
.why.big { grid-column: span 8; min-height: 280px; }
@media (max-width: 880px) { .why, .why.big { grid-column: span 12; } }
.why .num { font-family: var(--display); font-weight: 500; font-size: 14px; color: #c04070; letter-spacing: 0.18em; }
.why h4 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.why p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.why .viz { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(360px, 420px);
  gap: 18px; overflow-x: auto; padding: 8px 4px 24px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab;
}
.testi-track.grabbing { cursor: grabbing; }
.testi-track::-webkit-scrollbar { display: none; }
.testi {
  scroll-snap-align: start;
  padding: 28px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 22px;
}
.testi .quote { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.5; letter-spacing: -0.005em; color: #e6eaf2; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .who .av { width: 42px; height: 42px; border-radius: 999px; background-size: cover; background-position: center; }
.testi .who .n { font-family: var(--display); font-weight: 500; font-size: 15px; }
.testi .who .r { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.testi .stars { color: #ffd166; letter-spacing: 2px; font-size: 14px; }

.testi-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.testi-controls .arrows { display: flex; gap: 8px; }
.testi-controls .arrows button {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--text);
  display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s;
}
.testi-controls .arrows button:hover { background: rgba(255,255,255,0.07); transform: translateY(-1px); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.01em;
  text-align: left; width: 100%;
}
.faq-q .icon {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2);
  display: grid; place-items: center; flex-shrink: 0; transition: transform .35s, background .25s, border-color .25s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: #8B1A4A; border-color: #8B1A4A; color: #fff; }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1);
  color: var(--muted);
}
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 26px; font-size: 15px; line-height: 1.65; max-width: 70ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Footer ---------- */
footer { padding: 80px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 60px; }
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-top .col-brand { max-width: 360px; }
.foot-top .col-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 16px 0 24px; }
.foot-top .col-brand .socials { display: flex; gap: 10px; }
.foot-top .col-brand .socials a {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, background .2s;
}
.foot-top .col-brand .socials a:hover { color: #fff; border-color: var(--accent); background: rgba(139,26,74,0.16); }
.foot-top h5 { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.foot-top ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-top a { color: var(--muted); font-size: 14px; transition: color .2s, transform .2s; display: inline-block; }
.foot-top a:hover { color: var(--text); transform: translateX(3px); }
.foot-bottom { padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.foot-mega {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.85; letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(139,26,74,0.20), rgba(139,26,74,0.03) 60%, transparent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center; padding: 40px 0 0;
}

/* ---------- YouTube thumbnails on portfolio cards ---------- */
.yt-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0c0608;
}
.yt-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.88));
}
.yt-thumb-vertical {
  background: linear-gradient(135deg, #14070d, #07040a);
}
.yt-thumb-vertical::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.85));
}
.thumb .device .device-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pf-video { cursor: pointer; }
.pf-video:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed; inset: 0;
  z-index: 9998;
  background: rgba(4, 2, 4, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease-out;
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal .video-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: scale(0.96);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.video-modal.open .video-stage { transform: scale(1); }

.video-frame-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.video-frame-wrap.aspect-16-9 {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.video-frame-wrap.aspect-9-16 {
  aspect-ratio: 9 / 16;
  width: auto;
  max-height: 82vh;
  align-self: center;
}
.video-frame-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-close {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid; place-items: center;
  backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s;
}
.video-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}
.video-caption {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  max-width: 60ch;
  letter-spacing: 0.01em;
}
.video-caption .v-title {
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
body.modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .video-modal { padding: 16px; }
  .video-close { top: 12px; right: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-blob, .float-card { animation: none !important; }
}
