/* ---------- Tokens ---------- */
:root {
  --bg: #05040f;
  --bg-2: #0b0a20;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f1fa;
  --muted: #a49cb8;
  --brand: #3b2bd9;
  --brand-2: #8f86ff;
  --accent: #88bed2;
  --warm: #ffcd57;
  --grad: linear-gradient(100deg, #b4adff 0%, #3b2bd9 45%, #88bed2 100%);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 22s var(--ease) infinite alternate; }
.b1 { width: 620px; height: 620px; background: #2410b0; top: -220px; left: -160px; }
.b2 { width: 520px; height: 520px; background: #2c4f6b; top: 30%; right: -200px; animation-delay: -7s; opacity: 0.45; }
.b3 { width: 460px; height: 460px; background: #140062; bottom: -260px; left: 30%; animation-delay: -14s; opacity: 0.35; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before { /* subtle grid */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.5;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1120px, calc(100% - 32px));
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(12, 9, 20, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(12, 9, 20, 0.82); border-color: var(--border-strong); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.mark { width: 30px; height: 30px; border-radius: 50%; background: #140062; box-shadow: 0 0 0 1px rgba(143, 134, 255, 0.35), 0 4px 14px -4px rgba(59, 43, 217, 0.8); }
.mark circle { fill: none; stroke: #fff; stroke-width: 5.2; }
.mark path { fill: #fff; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.links a:hover, .links a.active { color: var(--text); background: var(--surface-2); }
.burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body); color: #fff;
  background: linear-gradient(135deg, #5a4bf0, var(--brand) 60%, #2410b0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 40px -10px rgba(59, 43, 217, 0.75);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.35s var(--ease), box-shadow 0.3s;
}
.btn:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 16px 50px -8px rgba(59, 43, 217, 0.95); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-ghost { background: var(--surface); box-shadow: 0 0 0 1px var(--border-strong) inset; }
.btn-ghost:hover { background: var(--surface-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* ---------- Layout ---------- */
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 120px 0 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 600; }
.sec-head .lead { margin-top: 20px; }
.eyebrow { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-2); }
.lead { color: var(--muted); font-size: 18.5px; max-width: 560px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: 130px 0 60px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 28px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  font-size: 14px; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
.hero h1 { font-size: clamp(46px, 7.2vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.hero .lead { margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 44px 0 0; color: var(--muted); font-size: 15px; }
.hero-meta li { display: flex; align-items: center; gap: 6px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brand-2); margin-right: 4px; }
.hero-meta strong { color: var(--text); font-weight: 600; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; perspective: 1200px; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit span { position: absolute; border: 1px solid var(--border); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit span:nth-child(1) { width: 380px; height: 380px; }
.orbit span:nth-child(2) { width: 520px; height: 520px; animation-duration: 60s; animation-direction: reverse; border-style: dashed; }
.orbit span:nth-child(3) { width: 660px; height: 660px; animation-duration: 90s; }
.orbit span::after { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 16px var(--brand-2); }
.orbit span:nth-child(2)::after { background: var(--accent); box-shadow: 0 0 16px var(--accent); left: auto; right: -5px; }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  --rx: 6deg; --ry: -14deg;
  position: relative; width: 290px; height: 590px; padding: 12px; border-radius: 48px;
  background: linear-gradient(160deg, #2a2338, #0d0a14 40%, #1b1626);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset, 0 60px 120px -30px rgba(36, 16, 176, 0.65), 0 30px 60px -20px #000;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -14px; } }
.notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.screen {
  height: 100%; border-radius: 38px; overflow: hidden; padding: 60px 18px 18px;
  background: radial-gradient(120% 70% at 20% 0%, #2b1450, #0b0814 60%);
  display: flex; flex-direction: column; gap: 14px;
}
.s-head { display: flex; align-items: center; gap: 10px; }
.s-av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); }
.s-line { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.s-line.light { background: rgba(255, 255, 255, 0.35); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.s-card { position: relative; padding: 18px; border-radius: 22px; background: linear-gradient(140deg, #3b2bd9, #140062); display: grid; gap: 8px; overflow: hidden; }
.s-card.glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.s-big { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.spark { width: 100%; height: 46px; }
.spark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2.6s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.s-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-chip { height: 64px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.s-chip:nth-child(2) { background: rgba(136, 190, 210, 0.18); }
.s-list { display: grid; gap: 10px; }
.s-list div { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface); }
.s-ic { width: 28px; height: 28px; border-radius: 9px; background: rgba(143, 134, 255, 0.35); flex: none; }
.s-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); }
.s-tab span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.18); }
.s-tab .on { background: var(--brand-2); box-shadow: 0 0 14px var(--brand-2); }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(20, 15, 32, 0.7); border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  animation: bob 6s ease-in-out infinite;
}
.f1 { top: 16%; left: -4%; animation-delay: -2s; }
.f2 { bottom: 14%; right: -2%; animation-delay: -4s; }
.f-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(62, 224, 143, 0.18); color: #3ee08f; font-size: 13px; }
.f-ic.purple { background: rgba(143, 134, 255, 0.2); color: var(--brand-2); }

/* ---------- Marquee ---------- */
.marquee {
  margin: 20px 0 0; padding: 22px 0; overflow: hidden; border-block: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.track span { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.track span::after { content: "✦"; font-size: 12px; color: var(--brand-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.card {
  --x: 50%; --y: 50%;
  position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.card::before { /* spotlight */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(59, 43, 217, 0.22), transparent 45%);
}
.card:hover { border-color: rgba(143, 134, 255, 0.4); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { font-size: 23px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card.big { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(120% 90% at 100% 0%, rgba(59, 43, 217, 0.35), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.card.big h3 { font-size: 32px; }
.card.wide { grid-column: span 2; display: flex; align-items: center; gap: 28px; }
.card-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 26px; flex: none;
  background: linear-gradient(140deg, rgba(143, 134, 255, 0.25), rgba(59, 43, 217, 0.08));
  border: 1px solid rgba(143, 134, 255, 0.3);
}
.card.wide .card-ic { margin-bottom: 0; }
.card.big .card-ic { margin-bottom: auto; }
.card-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-2); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.mini-steps { display: flex; align-items: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.mini-steps span { padding: 7px 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.mini-steps span:last-child { background: var(--brand); border-color: transparent; }
.mini-steps i { flex: 1; min-width: 12px; height: 1px; background: linear-gradient(90deg, var(--border-strong), var(--brand-2)); }

/* ---------- Work ---------- */
.lead.center { margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -16px 0 36px; }
.stat { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.stat strong { display: block; font-family: var(--display); font-size: 38px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font: 500 14px var(--body); cursor: pointer; transition: all 0.2s; }
.filter:hover { color: var(--text); }
.filter.on { background: var(--text); color: var(--bg); border-color: var(--text); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.wc {
  --c: var(--brand-2);
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.wc[hidden] { display: none; }
.wc:hover, .wc:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--c) 60%, transparent); outline: none; }
.wc-media {
  position: relative; height: 250px; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 110%, color-mix(in srgb, var(--c) 45%, transparent), transparent 65%), linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-bottom: 1px solid var(--border);
}
.wc-phones { position: absolute; inset: 22px 0 0; display: flex; justify-content: center; align-items: flex-start; }
.wc-phones img { width: 128px; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7); transition: transform 0.6s var(--ease); }
.wc-phones img:nth-child(1) { transform: translate(34px, 26px) rotate(-8deg); opacity: 0.85; }
.wc-phones img:nth-child(2) { position: relative; z-index: 1; }
.wc-phones img:nth-child(3) { transform: translate(-34px, 26px) rotate(8deg); opacity: 0.85; }
.wc:hover .wc-phones img:nth-child(1) { transform: translate(14px, 14px) rotate(-11deg); }
.wc:hover .wc-phones img:nth-child(2) { transform: translateY(-8px); }
.wc:hover .wc-phones img:nth-child(3) { transform: translate(-14px, 14px) rotate(11deg); }
.wc-phones.three img:nth-child(1) { transform: translate(30px, 26px) rotate(-8deg); opacity: 1; }
.wc-phones.three img:nth-child(3) { transform: translate(-30px, 26px) rotate(8deg); opacity: 1; }
.wc-desktop { position: absolute; left: 50%; top: 30px; width: 88%; transform: translateX(-50%); transition: transform 0.6s var(--ease); }
.wc-desktop img { width: 100%; border-radius: 10px; border: 1px solid var(--border-strong); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.8); }
.wc:hover .wc-desktop { transform: translateX(-50%) translateY(-8px) scale(1.02); }
.wc-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; flex: 1; }
.wc-top { display: flex; align-items: center; gap: 14px; }
.wc-icon { width: 52px; height: 52px; border-radius: 14px; flex: none; box-shadow: 0 0 0 1px var(--border-strong); background: #fff; }
.wc-title { flex: 1; min-width: 0; }
.wc-title h3 { font-size: 21px; font-weight: 600; }
.wc-title span { font-size: 13.5px; color: var(--muted); }
.wc-body > p { color: var(--muted); font-size: 15.5px; flex: 1; }
.wc-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.wc-end { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.wc-site { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong); white-space: nowrap; transition: border-color 0.2s, background 0.2s; }
.wc-site:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.plats { display: flex; gap: 6px; flex-wrap: wrap; }
.plat { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--text); }
.plat svg { width: 16px; height: 16px; fill: currentColor; }
.plat.aux { opacity: 0.4; }
.flutter-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #9fdcfb; background: rgba(84, 197, 248, 0.1); border: 1px solid rgba(84, 197, 248, 0.25); white-space: nowrap; }
.flutter-tag svg { width: 14px; height: 14px; }
.status { flex: none; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.status.live { color: #4ff0a0; border-color: rgba(62, 224, 143, 0.35); background: rgba(62, 224, 143, 0.1); }
.status.live::before { content: "● "; }
.status.coming_soon { color: #ffd77a; border-color: rgba(255, 205, 87, 0.3); background: rgba(255, 205, 87, 0.08); }
.status.on_request { color: #d7b4ff; border-color: rgba(143, 134, 255, 0.4); background: rgba(143, 134, 255, 0.12); }
.status.prototype { color: var(--accent); border-color: rgba(136, 190, 210, 0.35); background: rgba(136, 190, 210, 0.08); }

/* ---------- Flutter ---------- */
.flutter { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.flutter-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--muted); }
.flutter-points li { position: relative; padding-left: 22px; }
.flutter-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: #54c5f8; }
.flutter-points strong { color: var(--text); font-weight: 600; }
.flutter-visual { container-type: inline-size; position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto; }
.flutter-visual::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1px dashed var(--border-strong); }
.fl-core {
  position: absolute; inset: 36%; display: grid; place-items: center; border-radius: 30px;
  background: radial-gradient(circle, rgba(84, 197, 248, 0.25), rgba(1, 87, 155, 0.15) 70%); border: 1px solid rgba(84, 197, 248, 0.3);
  box-shadow: 0 0 80px rgba(84, 197, 248, 0.3);
}
.flutter-logo { width: 55%; height: 55%; filter: drop-shadow(0 6px 18px rgba(84, 197, 248, 0.5)); }
.fl-ring { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.fl-node {
  --r: 41cqw;
  position: absolute; left: 50%; top: 50%; width: 92px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)) translate(-50%, -50%);
  transform-origin: 0 0; text-align: center;
}
/* The whole node counter-rotates as one block, so the icon and its two labels stay stacked upright
   while the ring turns (rotating each child on its own centre made them slide over each other). */
.fl-in { display: grid; justify-items: center; gap: 2px; transform-origin: 50% 50%; animation: spin 80s linear infinite reverse; }
.fl-node .plat { width: 46px; height: 46px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border-strong); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7); }
.fl-node .plat svg { width: 22px; height: 22px; }
.fl-node b { font-size: 13px; font-weight: 600; }
.fl-node small { font-size: 11.5px; color: var(--muted); }

.matrix-wrap { margin-top: 48px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.matrix { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.matrix caption { text-align: left; padding: 18px 22px 6px; font-family: var(--display); font-weight: 600; font-size: 17px; }
.matrix th, .matrix td { padding: 11px 12px; border-top: 1px solid var(--border); text-align: center; }
.matrix thead th { border-top: 0; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.matrix thead th .plat { display: grid; margin: 0 auto 4px; width: 28px; height: 28px; }
.matrix thead th:first-child, .matrix tbody th { text-align: left; padding-left: 22px; }
.matrix tbody th { font-weight: 600; white-space: nowrap; }
.matrix tbody th img { display: inline-block; vertical-align: middle; width: 28px; height: 28px; border-radius: 8px; margin-right: 10px; background: #fff; }
.matrix tbody tr:hover { background: var(--surface); }
.dot-on { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 70%, transparent); }
.dot-on.note { background: transparent; border: 2px solid var(--c); }
.dot-off { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }

/* ---------- Project modal ---------- */
body.locked { overflow: hidden; }
.modal {
  width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border-strong); border-radius: 28px;
  background: var(--bg-2); color: var(--text); overflow: hidden;
}
.modal::backdrop { background: rgba(4, 3, 8, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[open] { animation: pop 0.45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal-inner {
  --c: var(--brand-2);
  position: relative; max-height: calc(100dvh - 34px); overflow-y: auto; padding: 36px 40px 40px; overscroll-behavior: contain;
  background: radial-gradient(80% 50% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
}
.close { position: sticky; top: 0; float: right; margin: -14px -18px 0 0; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(20, 15, 32, 0.85); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.close:hover { background: var(--surface-2); }
.pm-head { display: flex; align-items: center; gap: 20px; }
.pm-head img { width: 72px; height: 72px; border-radius: 20px; flex: none; background: #fff; box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--c) 70%, transparent); }
.pm-head > div { flex: 1; min-width: 0; }
.pm-head .eyebrow { margin-bottom: 6px; color: var(--c); }
.pm-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 600; }
.pm-tag { color: var(--muted); margin-top: 4px; }
.pm-desc { margin: 24px 0 26px; font-size: 17px; color: #d9d3e6; max-width: 760px; }
.pm-sub { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 28px 0 14px; font-family: var(--body); }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 -40px; padding-inline: 40px; scrollbar-width: thin; }
.shot { flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; border-radius: 16px; overflow: hidden; transition: transform 0.3s var(--ease); }
.shot:hover { transform: translateY(-4px); }
.shot img { width: 200px; height: auto; border-radius: 16px; border: 1px solid var(--border); }
.strip.wide .shot img { width: 460px; border-radius: 12px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font: 600 14px var(--body); cursor: pointer; }
.tab img { border-radius: 7px; background: #fff; }
.tab.on { color: var(--text); border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.variant-desc { color: var(--muted); margin-bottom: 16px; max-width: 760px; }
.variant-desc strong { color: var(--text); margin-right: 4px; }
.pm-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px 40px; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feat li { position: relative; padding-left: 26px; color: #d9d3e6; }
.feat li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-weight: 700; }
.plat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plat-list li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; }
.plat-list small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; line-height: 1.2; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-row > span:not(.flutter-tag) { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pm-note { margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); color: #e6dcf5; font-size: 15px; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--border); }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.1; transition: transform 0.3s var(--ease), border-color 0.3s; }
.store:hover { transform: translateY(-2px); border-color: #fff; }
.store svg { width: 24px; height: 24px; fill: #fff; }
.store small { display: block; font-family: var(--body); font-weight: 500; font-size: 10.5px; letter-spacing: 0.02em; opacity: 0.8; }
.store.soon { opacity: 0.5; cursor: default; }
.store.soon:hover { transform: none; border-color: rgba(255, 255, 255, 0.28); }
.lightbox { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: rgba(4, 3, 8, 0.92); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 1px; background: linear-gradient(90deg, var(--brand-2), var(--accent), transparent); opacity: 0.5; }
.step { position: relative; padding: 0 6px; }
.num {
  display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 26px; border-radius: 50%;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 6px var(--bg);
}
.step:hover .num { background: var(--brand); border-color: transparent; box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(59, 43, 217, 0.7); }
.num { transition: background 0.3s, box-shadow 0.3s; }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.values { display: grid; gap: 14px; }
.value {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease);
}
.value:hover { border-color: rgba(143, 134, 255, 0.4); background: var(--surface-2); transform: translateX(6px); }
.v-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-size: 18px; }
.value h3 { font-size: 20px; margin-bottom: 4px; }
.value p { color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.cta-panel {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(90% 120% at 0% 0%, rgba(59, 43, 217, 0.4), transparent 55%), radial-gradient(70% 90% at 100% 100%, rgba(136, 190, 210, 0.16), transparent 60%), var(--bg-2);
  border: 1px solid var(--border-strong);
}
.cta-copy h2 { font-size: clamp(32px, 3.8vw, 44px); font-weight: 600; }
.cta-copy .lead { margin-top: 20px; }
.mail { display: inline-block; margin-top: 30px; font-family: var(--display); font-size: 22px; font-weight: 500; border-bottom: 1px solid var(--brand-2); padding-bottom: 2px; transition: color 0.2s; }
.mail:hover { color: var(--brand-2); }
.form { display: grid; gap: 16px; align-content: start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; }
.form label > span, .chips legend { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.3); color: var(--text); font: 16px var(--body); resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus, .form textarea:focus { border-color: var(--brand-2); background: rgba(0, 0, 0, 0.45); outline: none; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; padding: 0; }
.chips label { display: block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span { display: block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; color: var(--text); font-weight: 500; transition: all 0.2s; }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 20px -4px var(--brand); }
.chips input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer {
  width: min(1120px, calc(100% - 32px)); margin: 120px auto 0; padding: 32px 0 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 14.5px;
}
.to-top:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 120px; }
  .hero-visual { min-height: 560px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.big { grid-row: span 1; grid-column: span 2; min-height: 320px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .why, .cta-panel { grid-template-columns: 1fr; }
  .cta-panel { padding: 40px 28px; }
  .flutter { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding-left: 16px; flex-wrap: wrap; border-radius: 26px; }
  .nav .btn-sm { margin-left: auto; }
  .burger { display: grid; gap: 5px; place-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; }
  .burger span { width: 16px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
  .nav.open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .links { order: 5; width: 100%; flex-direction: column; margin: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
  .nav.open .links { max-height: 260px; padding: 6px 0 4px; }
  .links a { padding: 12px 14px; font-size: 16px; }
  .section { padding-top: 90px; }
  .bento, .steps, .form .row { grid-template-columns: 1fr; }
  .card.big, .card.wide { grid-column: span 1; }
  .card.wide { flex-direction: column; align-items: flex-start; }
  .card { padding: 26px; }
  .hero-visual { min-height: 520px; transform: scale(0.88); overflow: clip; overflow-clip-margin: 40px; }
  .blob { opacity: 0.3; width: 380px; height: 380px; }
  .cta-copy h2 br { display: none; }
  .orbit span:nth-child(3) { display: none; }
  .f1 { left: 0; } .f2 { right: 0; }
  .footer { flex-direction: column; text-align: center; }
  .work-grid { grid-template-columns: 1fr; }
  .modal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; max-width: none; }
  .modal-inner { max-height: 100dvh; padding: 26px 18px 30px; }
  .close { margin: -8px -4px 0 0; }
  .strip { margin: 0 -18px; padding-inline: 18px; }
  .shot img { width: 160px; }
  .strip.wide .shot img { width: 300px; }
  .pm-head { flex-wrap: wrap; gap: 14px; }
  .pm-head img { width: 60px; height: 60px; }
  .stat strong { font-size: 30px; }
  .fl-node { width: 72px; }
  .fl-node .plat { width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .nav .btn-sm { display: none; }
  .burger { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .spark path { stroke-dashoffset: 0; }
}
.wc-end .flutter-tag { margin-left: auto; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  flex: none; height: 34px; min-width: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: 600 12.5px var(--body); letter-spacing: 0.06em; transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: var(--surface-2); border-color: var(--brand-2); }
@media (max-width: 760px) { .lang-toggle { margin-left: auto; } .nav .btn-sm { margin-left: 0; } }
@media (max-width: 420px) { .burger { margin-left: 0; } }
