/* App2Niche — premium dark tech aesthetic */

:root {
  --hue: 290;
  --scale: 1;
  --font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Dark (default) */
  --bg: #08080c;
  --bg-2: #0c0c12;
  --bg-3: #111118;
  --fg: #f3f1ee;
  --fg-2: rgba(243, 241, 238, .72);
  --fg-3: rgba(243, 241, 238, .5);
  --fg-4: rgba(243, 241, 238, .28);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --card: rgba(255, 255, 255, .03);
  --card-hover: rgba(255, 255, 255, .055);
  --accent: oklch(.78 .19 var(--hue));
  --accent-2: oklch(.65 .22 calc(var(--hue) + 30));
  --accent-fg: #0a0a0e;
}

:root.light {
  --bg: #fafaf7;
  --bg-2: #f3f2ee;
  --bg-3: #ecebe6;
  --fg: #0d0d12;
  --fg-2: rgba(13, 13, 18, .7);
  --fg-3: rgba(13, 13, 18, .5);
  --fg-4: rgba(13, 13, 18, .25);
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);
  --card: rgba(255, 255, 255, .65);
  --card-hover: rgba(255, 255, 255, .85);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { font-size: calc(15px * var(--scale)); line-height: 1.5; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-fg); }

/* Global background gradient */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, oklch(.5 .2 var(--hue) / .12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, oklch(.5 .2 calc(var(--hue) + 60) / .08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.container-narrow { max-width: 880px; }

@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: backdrop-filter .3s, background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.logo-mark {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 0 30px oklch(.7 .25 var(--hue) / .4);
}
.logo-glow {
  position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, oklch(.9 .2 var(--hue)), transparent 30%);
  animation: spin 6s linear infinite;
  opacity: .5;
}
.logo-letter {
  position: relative; z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: #fff;
  letter-spacing: -0.04em;
}
@keyframes spin { to { transform: rotate(360deg); } }
.logo-text { font-size: 15px; }

.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a {
  color: var(--fg-2);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--fg); }
@media (max-width: 880px) { .nav-links { display: none; } }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-tog {
  display: flex; gap: 2px; padding: 3px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-tog button {
  background: transparent; border: 0; color: var(--fg-3);
  padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 500;
  letter-spacing: .04em;
  transition: all .2s;
}
.lang-tog button.on { background: var(--fg); color: var(--bg); }

.theme-tog {
  background: var(--card); border: 1px solid var(--line);
  color: var(--fg-2); width: 32px; height: 32px; border-radius: 999px;
  display: grid; place-items: center;
  transition: all .2s;
}
.theme-tog:hover { color: var(--fg); border-color: var(--line-2); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--fg); color: var(--bg);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-1px); }
@media (max-width: 560px) { .nav-cta span { display: none; } .nav-cta { padding: 8px; width: 32px; height: 32px; justify-content: center; } }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
  perspective: 1800px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; transform: translate(-50%, -50%); filter: blur(40px); border-radius: 999px; }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  opacity: .5;
}
.noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .05; mix-blend-mode: overlay;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  position: relative; z-index: 2;
  display: grid;
  gap: 60px;
  align-items: center;
}
.hero-split { grid-template-columns: 1.1fr .9fr; }
.hero-mockup { grid-template-columns: 1fr 1fr; }
.hero-centered { grid-template-columns: 1fr; text-align: center; }
.hero-centered .hero-text { max-width: 880px; margin: 0 auto; }
.hero-centered .hero-badge,
.hero-centered .hero-ctas,
.hero-centered .hero-metrics { justify-content: center; }
.hero-visual-center { margin: 60px auto 0; max-width: 360px; position: relative; z-index: 2; }

@media (max-width: 980px) {
  .hero-split, .hero-mockup { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; color: var(--fg-2);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  width: fit-content;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(.7 .2 145);
  box-shadow: 0 0 0 0 oklch(.7 .2 145 / .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(.7 .2 145 / .6); }
  70% { box-shadow: 0 0 0 8px oklch(.7 .2 145 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(.7 .2 145 / 0); }
}

.hero-h1 {
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 24px 0 22px;
  font-family: var(--font-sans);
}
.hero-h1 .line { display: block; }
.hero-h1 .line-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.accent-grad {
  background: linear-gradient(120deg, oklch(.85 .2 var(--hue)) 0%, oklch(.7 .25 calc(var(--hue) + 40)) 50%, oklch(.85 .15 calc(var(--hue) - 30)) 100%);
  background-clip: text; -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.55;
}
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: all .25s;
  border: 0; cursor: pointer;
}
.btn-primary {
  background: var(--fg); color: var(--bg);
  box-shadow: 0 0 0 0 oklch(.8 .22 var(--hue) / 0);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, var(--accent), transparent);
  transform: translateX(-100%); transition: transform .6s;
  opacity: .4;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px oklch(.7 .22 var(--hue) / .35); }
.btn-primary:hover::before { transform: translateX(100%); }
.btn-ghost {
  background: var(--card); color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--card-hover); border-color: var(--fg-3); }
.btn-ghost .play { color: var(--accent); }

.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 56px;
  padding-top: 36px; border-top: 1px solid var(--line);
  max-width: 600px;
}
.hero-centered .hero-metrics { margin-left: auto; margin-right: auto; }
.metric-k { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; font-family: var(--font-sans); }
.metric-v { font-size: 12px; color: var(--fg-3); margin-top: 2px; font-family: var(--font-mono); letter-spacing: -0.01em; }
@media (max-width: 600px) { .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ── PHONE MOCKUP ─────────────────────────────────────────────────── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
@media (max-width: 980px) { .hero-visual { min-height: 540px; } }

.phone-wrap {
  position: relative;
  --rx: 0deg; --ry: 0deg;
  width: 320px; max-width: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-2deg) rotateY(-12deg);
  transition: transform .15s ease-out;
}
.phone {
  position: relative;
  width: 320px; height: 640px;
  border-radius: 48px;
  background: linear-gradient(165deg, #1a1a22 0%, #0a0a10 100%);
  padding: 12px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.08),
    inset 0 -2px 4px rgba(255,255,255,.04),
    0 60px 120px -20px oklch(.5 .2 var(--hue) / .35),
    0 30px 60px rgba(0,0,0,.5);
  transform-style: preserve-3d;
}
.phone-glare {
  position: absolute; inset: 0; border-radius: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 35%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 95px; height: 26px;
  background: #000; border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #0c0c14 0%, #0e0e18 100%);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 28px 6px;
  font-size: 12px; font-weight: 600; color: #fff;
  font-family: var(--font-sans);
}
.phone-status-icons { display: flex; align-items: center; gap: 4px; }
.phone-status-icons .bar { width: 3px; background: #fff; border-radius: 1px; }
.bar.b1 { height: 4px; } .bar.b2 { height: 6px; } .bar.b3 { height: 8px; }
.batt { width: 22px; height: 10px; border: 1.2px solid #fff; border-radius: 3px; position: relative; margin-left: 4px; }
.batt::after { content: ""; position: absolute; inset: 1px; background: #fff; border-radius: 2px; width: 70%; }

.phone-app { padding: 14px 18px 18px; color: #fff; }
.phone-greet .muted { font-size: 11px; color: rgba(255,255,255,.5); font-family: var(--font-mono); }
.phone-greet h3 { margin: 4px 0 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }

.phone-card-hero {
  border-radius: 18px; padding: 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 30px -10px oklch(.5 .2 var(--hue) / .3);
}
.phone-card-label { font-size: 10px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.phone-card-val { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; margin-top: 4px; }
.phone-spark { margin-top: 10px; height: 40px; }
.phone-spark svg { width: 100%; height: 100%; }

.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.phone-tile {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 12px;
}
.t-num { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.t-lbl { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 2px; font-family: var(--font-mono); }

.phone-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.phone-list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.04);
}
.avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.phone-list-name { font-size: 12px; flex: 1; }
.phone-list-val { font-size: 11px; color: rgba(255,255,255,.6); font-family: var(--font-mono); }

.phone-tabs {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  background: rgba(0,0,0,.4); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.06);
}
.tab { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.25); }
.tab.on { background: var(--accent); width: 18px; border-radius: 4px; }

.phone-shadow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 120px;
  filter: blur(40px);
  z-index: -1;
}

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: color-mix(in oklch, var(--bg) 60%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  font-size: 12px;
  animation: float 6s ease-in-out infinite;
  transform: translateZ(40px);
}
.chip-a { top: 12%; left: -22%; animation-delay: 0s; }
.chip-b { bottom: 16%; right: -18%; animation-delay: -3s; }
@media (max-width: 600px) { .chip-a { left: -8%; } .chip-b { right: -8%; } }
@keyframes float {
  0%, 100% { transform: translateY(0) translateZ(40px); }
  50% { transform: translateY(-10px) translateZ(40px); }
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.chip-t { font-weight: 500; letter-spacing: -0.01em; }
.chip-s { color: var(--fg-3); font-size: 10px; font-family: var(--font-mono); }
.chip-bars { display: flex; align-items: end; gap: 2px; height: 18px; }
.chip-bars span { width: 3px; background: var(--accent); border-radius: 1px; }

/* Marquee */
.hero-marquee {
  position: relative; z-index: 2;
  margin-top: 80px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex; gap: 48px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 18px; font-weight: 400; letter-spacing: -0.02em;
  color: var(--fg-2);
  white-space: nowrap;
  font-family: var(--font-serif); font-style: italic;
}
.marquee-star { color: var(--accent); font-size: 12px; }

/* ── SECTIONS ─────────────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); }
@media (max-width: 720px) { .section { padding: 80px 0; } }

.sec-head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 64px; max-width: 720px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--fg-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  width: fit-content;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.sec-title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.sec-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--fg-2);
  margin: 0;
  line-height: 1.55;
  max-width: 600px;
  text-wrap: pretty;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all .35s;
  position: relative;
  overflow: hidden;
}
:root[data-card="glass"] .card {
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
:root[data-card="solid"] .card {
  background: var(--bg-3);
  border-color: var(--line-2);
}
:root[data-card="outline"] .card {
  background: transparent;
  border-color: var(--line-2);
}
.card:hover { border-color: var(--line-2); }

/* ── SERVICES ─────────────────────────────────────────────────────── */
.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { padding: 32px; min-height: 280px; display: flex; flex-direction: column; }
a.svc-card { display: flex; color: inherit; text-decoration: none; }
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), oklch(.7 .22 var(--hue) / .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.svc-card:hover::before { opacity: 1; }
.svc-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.svc-t { font-size: 28px; font-weight: 500; letter-spacing: -0.025em; margin: 12px 0 10px; }
.svc-d { color: var(--fg-2); margin: 0 0 24px; font-size: 15px; line-height: 1.55; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--card-hover); border: 1px solid var(--line);
  color: var(--fg-2); letter-spacing: -0.01em;
}
.svc-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--card-hover); border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--fg-2);
  transition: all .3s;
}
.svc-card:hover .svc-arrow { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); transform: rotate(-12deg); }

/* ── PROCESS ──────────────────────────────────────────────────────── */
.proc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative;
}
@media (max-width: 880px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .proc-grid { grid-template-columns: 1fr; } }
.proc-card { padding: 24px; position: relative; }
.proc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.proc-n {
  font-family: var(--font-mono); font-size: 11px;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center; font-weight: 600;
  box-shadow: 0 0 30px oklch(.7 .22 var(--hue) / .4);
}
.proc-time { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
.proc-t { font-size: 20px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.02em; }
.proc-d { font-size: 14px; color: var(--fg-2); margin: 0; line-height: 1.55; }

/* ── WORK ─────────────────────────────────────────────────────────── */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { cursor: pointer; }
.work-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover .work-thumb { transform: translateY(-6px); }
.work-screenshot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover .work-screenshot { transform: scale(1.04); }
.work-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  overflow: hidden;
}
.work-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.04) 12px 13px);
}
.work-glow { position: absolute; inset: -20%; }
.work-mono { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; }
.work-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 10px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
}
.work-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 4px 0;
}
.work-t { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.work-c { font-size: 13px; color: var(--fg-3); margin-top: 2px; font-family: var(--font-mono); }
.work-y { font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); }

/* ── PRICING ──────────────────────────────────────────────────────── */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: stretch;
}
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .price-grid { grid-template-columns: 1fr; } }
.price-card { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.price-feat {
  border-color: var(--accent);
  background: linear-gradient(180deg, oklch(.6 .2 var(--hue) / .08) 0%, var(--card) 60%);
  box-shadow: 0 0 60px -20px oklch(.7 .22 var(--hue) / .3);
}
.price-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px;
  padding: 4px 10px;
  background: var(--accent); color: var(--accent-fg);
  border-radius: 999px; font-weight: 600;
  letter-spacing: 0.02em;
}
.price-t { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.04em; }
.price-p { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.price-d { color: var(--fg-2); font-size: 13px; line-height: 1.5; }
.price-divider { height: 1px; background: var(--line); margin: 4px 0; }
.price-feats { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.price-feats li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); }
.price-feats svg { color: var(--accent); flex-shrink: 0; }

/* ── TESTIMONIALS ─────────────────────────────────────────────────── */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.testi-quote { color: var(--accent); opacity: .5; }
.testi-t {
  font-family: var(--font-serif);
  font-size: 22px; line-height: 1.35;
  margin: 0; flex: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.testi-foot { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-av { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.testi-a { font-size: 14px; font-weight: 500; }
.testi-r { font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); }

/* ── BLOG ─────────────────────────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; }
.blog-row {
  display: grid; grid-template-columns: 140px 1fr 80px 30px;
  align-items: center; gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .3s;
}
a.blog-row { display: grid; color: inherit; text-decoration: none; }
.blog-row:hover { padding-left: 12px; padding-right: 12px; background: var(--card); border-radius: 12px; }
.blog-d { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.03em; }
.blog-t { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.blog-r { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); text-align: right; }
.blog-arr { color: var(--fg-3); transition: all .3s; }
.blog-row:hover .blog-arr { color: var(--accent); transform: translateX(4px); }
@media (max-width: 720px) {
  .blog-row { grid-template-columns: 1fr 30px; }
  .blog-d, .blog-r { display: none; }
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0;
  background: transparent; border: 0;
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-align: left;
  font-family: var(--font-sans);
}
.faq-plus {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--fg-2); font-size: 18px;
  flex-shrink: 0;
  transition: all .3s;
}
.faq-open .faq-plus { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  color: var(--fg-2);
  font-size: 15px; line-height: 1.6;
  padding-right: 48px;
}
.faq-open .faq-a { padding-bottom: 24px; }

/* ── CONTACT ──────────────────────────────────────────────────────── */
.section-contact {
  position: relative; overflow: hidden;
  padding-top: 140px; padding-bottom: 140px;
}
.contact-glow { position: absolute; inset: 0; pointer-events: none; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-left .sec-title { margin: 18px 0 18px; }
.contact-info { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-row { padding: 14px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.contact-l { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-v { font-size: 15px; }

.contact-form { padding: 32px; }
.contact-form form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label > span {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  color: var(--fg-3); letter-spacing: 0.04em;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--fg); font-family: inherit; font-size: 14px;
  outline: none;
  transition: all .25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(.7 .2 var(--hue) / .15);
}
.contact-form textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.budget-row { display: flex; flex-wrap: wrap; gap: 6px; }
.budget-chip {
  padding: 8px 12px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-2); font-size: 12px; font-family: var(--font-mono);
  transition: all .2s;
}
.budget-chip:hover { border-color: var(--line-2); }
.budget-chip.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.form-submit { width: 100%; justify-content: center; padding: 14px; margin-top: 6px; }
.form-submit.sent { background: oklch(.7 .2 145); color: #fff; }

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: var(--bg-2);
}
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding-bottom: 40px;
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-h { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--fg-3); letter-spacing: 0.04em; margin-bottom: 6px; }
.footer-cols a { color: var(--fg-2); font-size: 14px; transition: color .2s; }
.footer-cols a:hover { color: var(--fg); }
.footer-bot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--fg-3); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--fg-1); }
