/* SjajnoAplikeRazvoj — futuristic premium design system
   Deep space base · glass surfaces · spectrum gradient (orange → magenta → violet → cyan) */
:root {
  --bg: #070A14;
  --bg-2: #0B1020;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EEF1F8;
  --muted: #98A2B8;
  --dim: #6B7489;
  --orange: #FF5A1F;
  --magenta: #EC4899;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --lime: #A3E635;
  --spectrum: linear-gradient(100deg, #FF5A1F 0%, #EC4899 35%, #8B5CF6 68%, #22D3EE 100%);
  --display: "Sora", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gut: clamp(18px, 4vw, 56px);
  --max: 1240px;
  --r: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; color: var(--text); font: 400 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(139, 92, 246, .22), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(34, 211, 238, .12), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(236, 72, 153, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .55;
}
body > * { position: relative; z-index: 1; }
::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-decoration-color: rgba(139, 92, 246, .7); text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; color: var(--bg); padding: 8px 12px; z-index: 99; }
.kicker { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin: 0 0 14px; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.category-intro { max-width: 64ch; margin: 14px 0 0; color: var(--text); font-size: 1rem; line-height: 1.7; }
.muted { color: var(--muted); font-size: .92rem; }
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 40px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gut); background: rgba(7, 10, 20, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--spectrum); opacity: .55; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 18px rgba(139, 92, 246, .45)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 8px 24px rgba(236, 72, 153, .6)); }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 700 1.12rem/1 var(--display); letter-spacing: -0.03em; color: #fff; }
.logo-name b { font-weight: 800; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font: 500 9.5px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 10px); font: 600 14px var(--body); }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: var(--surface-2); }
.nav a[aria-current="page"] { color: #fff; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-cta { color: #fff !important; background: var(--spectrum) !important; box-shadow: 0 8px 24px -8px rgba(236, 72, 153, .6); white-space: nowrap; }
.nav-cta:hover { filter: brightness(1.1); }
@media (max-width: 900px) { .top { flex-wrap: wrap; gap: 16px; } .nav { width: 100%; flex-wrap: wrap; row-gap: 10px; justify-content: space-between; font-size: 13px; } .nav a { padding: 7px 10px; } }
@media (max-width: 420px) { .nav { gap: 2px; font-size: 12.5px; } .nav a { padding: 7px 8px; } .nav-cta { padding: 7px 11px !important; } }

.crumbs { font: 12px var(--mono); padding: 24px 0 0; color: var(--dim); }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; color: var(--dim); } .crumbs em { font-style: normal; color: var(--text); }

/* Hero */
main:has(.hero) { max-width: 1440px; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.3vw, 48px); align-items: stretch; padding: clamp(32px, 3.5vw, 52px) 0 48px; }
.hero-glow { position: absolute; inset: -10% -20%; pointer-events: none; z-index: -1; overflow: hidden; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow span:nth-child(1) { width: 420px; height: 420px; background: var(--violet); right: 8%; top: 4%; }
.hero-glow span:nth-child(2) { width: 320px; height: 320px; background: var(--magenta); right: 30%; bottom: 0; animation-delay: -6s; opacity: .32; }
.hero-glow span:nth-child(3) { width: 300px; height: 300px; background: var(--cyan); left: 0; top: 20%; animation-delay: -12s; opacity: .22; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.12); } }
.hero-copy { min-width: 0; align-self: center; }
.hero-copy h1 { max-width: none; font-size: clamp(2.65rem, 4vw, 3.65rem); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.hero-copy .lede { max-width: 55ch; font-size: clamp(1rem, 1.2vw, 1.125rem); margin: 20px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; font: 600 13px var(--body); color: var(--text); padding: 7px 14px 7px 12px; margin: 0 0 24px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163, 230, 53, .7); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(163, 230, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 26px 0 0; margin: 30px 0 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.trust b { color: #fff; font-family: var(--display); margin-right: 4px; }
.hero-art { margin: 0; min-width: 0; min-height: 420px; position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(140deg, rgba(255, 90, 31, .8), rgba(236, 72, 153, .5) 30%, rgba(139, 92, 246, .35) 60%, rgba(34, 211, 238, .8));
  box-shadow: 0 40px 120px -30px rgba(139, 92, 246, .55), 0 20px 60px -30px rgba(34, 211, 238, .4); }
.hero-art img { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); object-fit: cover; object-position: center; border-radius: 27px; background: var(--bg-2); }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--body); color: #fff; padding: 10px 14px; border-radius: 14px;
  background: rgba(11, 16, 32, .62); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8); animation: bob 6s ease-in-out infinite; }
.float b { font-family: var(--display); background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-a { left: 18px; top: 18px; }
.float-b { right: 18px; bottom: 18px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; }
  .hero-copy h1 { max-width: 22ch; font-size: clamp(2.25rem, 6vw, 3.4rem); }
  .hero-copy .lede { max-width: 64ch; }
  .hero-art { min-height: 0; aspect-ratio: 4/3; }
  .float-a { left: 12px; top: 12px; }
  .float-b { right: 12px; bottom: 12px; }
}
@media (max-width: 480px) {
  .hero { padding-top: 28px; gap: 24px; }
  .hero-copy h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .hero-actions { margin-top: 22px; gap: 12px; }
  .trust { margin-top: 24px; padding-top: 20px; gap: 10px 18px; font-size: .84rem; }
  .hero-art { border-radius: 22px; }
  .hero-art img { border-radius: 21px; }
  .float { font-size: 11px; gap: 6px; padding: 8px 10px; border-radius: 10px; }
}

/* Buttons */
.play-btn { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; padding: 11px 22px 11px 16px; border-radius: 14px;
  background: #000; border: 1px solid var(--line-2); position: relative; isolation: isolate; transition: transform .2s, box-shadow .3s; }
.play-btn::before { content: ""; position: absolute; inset: -1px; border-radius: 15px; padding: 1px; background: var(--spectrum); z-index: -1;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.play-btn svg { width: 26px; height: 26px; }
.play-btn span { display: flex; flex-direction: column; font: 700 1.15rem/1.05 var(--display); letter-spacing: -0.01em; }
.play-btn small { font: 500 9.5px var(--mono); letter-spacing: .14em; opacity: .75; margin-bottom: 2px; }
.play-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(236, 72, 153, .6); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--body); text-decoration: none; padding: 15px 22px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--line-2); transition: background .2s, transform .2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-ghost span { transition: transform .2s; } .btn-ghost:hover span { transform: translateX(4px); }
.link-arrow { font: 600 14px var(--body); text-decoration: none; color: var(--cyan); white-space: nowrap; }
.link-arrow:hover { color: #fff; }
.btn { font: 700 1rem var(--display); background: var(--spectrum); color: #fff; border: 0; padding: 15px 26px; border-radius: 14px; cursor: pointer;
  box-shadow: 0 14px 40px -12px rgba(236, 72, 153, .65); transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* Icon marquee */
.marquee { position: relative; overflow: hidden; margin: 0 calc(var(--gut) * -1); padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); background: rgba(255, 255, 255, .015); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll 60s linear infinite; }
.marquee-track img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .9); border: 1px solid var(--line-2); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 56px 0 10px; }
.stats div { padding: 26px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stats div::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--spectrum); opacity: .7; }
.stats b { display: block; font: 800 clamp(2rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #b9c0d4); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stats div:first-child b { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; }
.stats span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .stats div { padding: 22px 16px; } .stats b { font-size: 1.85rem; } }

/* Blocks */
.block { padding: clamp(56px, 7vw, 96px) 0 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.block-head .kicker { width: 100%; margin-bottom: 0; }
.block-head h2 { margin: 0; }
.page-head { padding: clamp(40px, 6vw, 84px) 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 160px; height: 2px; background: var(--spectrum); }
.page-head h1 { max-width: 20ch; }

/* App rows */
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.app-row { display: grid; grid-template-columns: 40px 64px minmax(0, 1fr) minmax(0, 340px) 40px; gap: 20px; align-items: center; padding: 16px 18px; position: relative;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .25s, box-shadow .25s; }
.app-row:hover { background: var(--surface-2); border-color: rgba(139, 92, 246, .45); transform: translateY(-2px); box-shadow: 0 20px 50px -24px rgba(139, 92, 246, .55); }
.app-idx { font: 500 13px var(--mono); color: var(--dim); }
.app-icon { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9); }
.app-title { margin: 0 0 4px; font-size: 1.12rem; }
.app-title a { text-decoration: none; }
.app-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.app-sum { margin: 0; color: var(--muted); font-size: .93rem; }
.app-spec { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.15fr) minmax(0, .7fr); gap: 10px; margin: 0; }
.app-spec dt { font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.app-spec dd { margin: 3px 0 0; font-weight: 700; color: #fff; font-size: .95rem; overflow-wrap: anywhere; }
.app-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; transition: background .25s, transform .25s; }
.app-row:hover .app-go { background: var(--spectrum); border-color: transparent; transform: translateX(3px); }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating-dot { width: 8px; height: 8px; border-radius: 50%; background: #FBBF24; box-shadow: 0 0 10px #FBBF24; }
.rating-new { font: 600 11px var(--mono); padding: 2px 8px; border-radius: 999px; background: rgba(34, 211, 238, .12); color: var(--cyan); border: 1px solid rgba(34, 211, 238, .35); }
@media (max-width: 880px) {
  .app-row { grid-template-columns: 56px minmax(0, 1fr) 36px; gap: 14px; padding: 14px; }
  .app-idx { display: none; } .app-icon { width: 56px; height: 56px; }
  .app-spec { grid-column: 1 / 4; grid-row: 2; padding-top: 10px; border-top: 1px solid var(--line); }
}

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.chip { font: 600 13.5px var(--body); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; cursor: pointer; color: var(--muted); transition: all .2s; scroll-margin-top: 120px; }
.chip span { font-family: var(--mono); font-size: 12px; opacity: .7; margin-left: 6px; }
.chip:hover { color: #fff; background: var(--surface-2); }
.chip.is-on { color: #fff; background: var(--spectrum); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(236, 72, 153, .7); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pillars article { --c: var(--cyan); padding: 28px 26px 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; scroll-margin-top: 100px; transition: transform .3s, border-color .3s; }
.pillars article::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: var(--c); opacity: .14; filter: blur(30px); transition: opacity .3s; }
.pillars article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.pillars article:hover::before { opacity: .3; }
.pillars .c1, .pillars article:nth-child(6n+1) { --c: var(--cyan); }
.pillars .c2, .pillars article:nth-child(6n+2) { --c: var(--magenta); }
.pillars .c3, .pillars article:nth-child(6n+3) { --c: var(--orange); }
.pillars .c4, .pillars article:nth-child(6n+4) { --c: var(--violet); }
.pillars article:nth-child(6n+5) { --c: var(--lime); }
.pillars article:nth-child(6n+6) { --c: #FBBF24; }
.pillar-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); margin-bottom: 18px; }
.pillars h3::before { content: none; }
.pillars article:not(:has(.pillar-ico)) h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--c); margin-bottom: 16px; box-shadow: 0 0 14px var(--c); }
.pillars p { color: var(--muted); margin: 0; position: relative; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: all .3s; }
.tile img { width: 72px; height: 72px; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9); transition: transform .4s cubic-bezier(.2, .8, .2, 1); margin-bottom: 6px; }
.tile:hover { background: var(--surface-2); border-color: rgba(34, 211, 238, .4); transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(34, 211, 238, .5); }
.tile:hover img { transform: scale(1.08) rotate(-4deg); }
.tile-cat { font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.tile-title { font: 600 1rem/1.25 var(--display); color: #fff; }

/* Developer CTA */
.dev-cta { margin: clamp(64px, 8vw, 110px) 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(30px, 5vw, 60px);
  border-radius: 28px; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 300px at 90% 0%, rgba(34, 211, 238, .35), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255, 90, 31, .35), transparent 60%), linear-gradient(120deg, #2a0f4a, #3b0f3a 45%, #0d1d3f);
  border: 1px solid var(--line-2); }
.dev-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); }
.dev-cta .kicker { color: #fff; opacity: .8; } .dev-cta p { color: #d6d9ea; max-width: 52ch; } .dev-cta h2 { margin-bottom: .3em; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }

/* App detail */
.app-hero { display: grid; grid-template-columns: 140px 1fr; gap: clamp(20px, 4vw, 48px); padding: clamp(32px, 5vw, 64px) 0 40px; border-bottom: 1px solid var(--line); position: relative; }
.app-hero-icon { width: 140px; height: 140px; border-radius: 34px; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(139, 92, 246, .7), 0 0 0 6px rgba(255, 255, 255, .03); }
.app-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.app-spec-lg { max-width: 620px; grid-template-columns: repeat(4, 1fr); margin-top: 22px; padding: 16px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.app-spec-lg small { font-weight: 500; color: var(--muted); }
@media (max-width: 640px) { .app-hero { grid-template-columns: 1fr; } .app-hero-icon { width: 104px; height: 104px; border-radius: 26px; } .app-spec-lg { grid-template-columns: 1fr 1fr; } }
.shots { padding: 34px 0; border-bottom: 1px solid var(--line); }
.shots-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-color: var(--violet) transparent; }
.shots-rail img { height: 440px; width: auto; min-width: 190px; flex: none; border: 1px solid var(--line-2); border-radius: 18px; scroll-snap-align: start; background: var(--bg-2); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
@media (max-width: 640px) { .shots-rail img { height: 340px; } }
.app-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); padding-top: 44px; }
.app-body h2 { font-size: 1.45rem; }
@media (max-width: 880px) { .app-body { grid-template-columns: 1fr; } }
.feat { align-self: start; position: sticky; top: 96px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 880px) { .feat { position: static; } }
.feat-list { counter-reset: f; list-style: none; padding: 0; margin: 0 0 28px; }
.feat-list li { counter-increment: f; position: relative; padding: 12px 0 12px 46px; border-top: 1px solid var(--line); color: var(--text); }
.feat-list li:first-child { border-top: 0; }
.feat-list li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 600 11px/22px var(--mono); width: 32px; text-align: center; border-radius: 8px; color: #fff; background: var(--spectrum); }
.plain-links { list-style: none; padding: 0; margin: 0; font: 600 14px var(--body); }
.plain-links li { padding: 6px 0; } .plain-links a { color: var(--cyan); text-decoration: none; } .plain-links a:hover { color: #fff; }
.note { border-radius: 14px; background: rgba(255, 90, 31, .08); border: 1px solid rgba(255, 90, 31, .35); padding: 14px 16px; margin: 0 0 28px; font-size: .93rem; color: var(--text); }
.note b { color: var(--orange); }
.desc { max-width: 74ch; color: #cdd3e1; }
.desc h2 { color: #fff; }
.desc p { margin: 0 0 1em; }
.desc-h { margin: 1.7em 0 .7em; font-size: 1.15rem; color: #fff; }
.desc-list { padding-left: 1.1em; margin: 0 0 1.2em; }
.desc-list li { margin: .4em 0; } .desc-list li::marker { color: var(--magenta); }

/* Docs */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); }
.toc { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 4px; font: 500 13.5px var(--body); padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; transition: all .2s; }
.toc a:hover { color: #fff; background: var(--surface-2); }
.prose { max-width: 76ch; color: #cdd3e1; }
.prose section { padding-bottom: 20px; scroll-margin-top: 96px; }
.prose h2 { font-size: 1.55rem; padding-top: 18px; }
.prose b { color: #fff; }
.prose li { margin: .45em 0; } .prose li::marker { color: var(--violet); }
.prose .cols { columns: 2 240px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; margin: 12px 0 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); background: rgba(255, 255, 255, .03); }
td a { color: var(--cyan); }
@media (max-width: 880px) { .doc { grid-template-columns: 1fr; } .toc { position: static; flex-direction: row; flex-wrap: wrap; } .toc .kicker { width: 100%; } }

/* FAQ */
.faq { display: grid; gap: 44px; max-width: 920px; }
.faq-group h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.faq-group h2 .kicker { margin: 0; font-size: 11px; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--spectrum); }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .25s, background .25s; }
.faq-item[open] { border-color: rgba(139, 92, 246, .5); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.05rem; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 500 1.2rem/1 var(--mono); color: #fff; border: 1px solid var(--line-2); transition: transform .3s, background .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--spectrum); border-color: transparent; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); max-width: 72ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); min-width: 0; }
.contact-card { min-width: 0; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); align-self: start; position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--spectrum); }
.contact-card .kicker { margin-top: 22px; margin-bottom: 6px; } .contact-card .kicker:first-child { margin-top: 0; }
.contact-card a { color: var(--cyan); overflow-wrap: anywhere; }
.contact-mail { font: 700 1.15rem var(--display); word-break: break-all; color: #fff !important; }
.form { min-width: 0; padding: clamp(22px, 3vw, 38px); border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--spectrum) border-box; border: 1px solid transparent; box-shadow: 0 40px 100px -40px rgba(139, 92, 246, .6); }
.form h2 { margin: 0; }
.form label { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.form input, .form select, .form textarea { font: 500 1rem var(--body); text-transform: none; letter-spacing: 0; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; transition: border-color .2s, box-shadow .2s; }
.form input, .form select, .form textarea { min-width: 0; width: 100%; max-width: 100%; }
.form textarea { resize: vertical; }
.form select option { background: var(--bg-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .25); }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .9rem; color: var(--lime); }
@media (max-width: 880px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* Support */
.table-wrap { overflow-x: auto; border-radius: 14px; }
.support-table { margin: 0; }
.support-table tr { scroll-margin-top: 110px; transition: background .2s; }
.support-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.support-table tr:target { background: rgba(139, 92, 246, .14); box-shadow: inset 3px 0 0 var(--violet); }
.support-table td { color: var(--muted); }
.support-app { display: flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; min-width: 220px; color: #fff !important; }
.support-app img { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); }
.support-links { white-space: nowrap; font: 500 13px var(--mono); }
.support-links a { margin-right: 12px; text-decoration: none; }
.bug-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.bug-grid > * { min-width: 0; }
.bug-grid .feat-list { padding: 22px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.template { font: 13px/1.8 var(--mono); color: #d6e4ff; padding: 26px; border-radius: var(--r); white-space: pre-wrap; margin: 0;
  background: radial-gradient(400px 200px at 100% 0, rgba(34, 211, 238, .18), transparent), #050812; border: 1px solid var(--line-2); overflow-wrap: anywhere; }
@media (max-width: 880px) { .bug-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.foot { margin-top: 80px; padding: 64px var(--gut) 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .06)); position: relative; }
.foot::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(600px, 80%); height: 1px; background: var(--spectrum); }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; }
.foot-grid a:not(.logo) { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .2s; }
.foot-grid a:not(.logo):hover { color: #fff; }
.foot-h { font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 6px; color: #fff; }
.foot-note { color: var(--muted); font-size: .92rem; max-width: 40ch; }
.foot-base { max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font: 12px var(--mono); color: var(--dim); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Motion */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Fix: [hidden] must beat display:grid on rows */
[hidden] { display: none !important; }
/* Apps dropdown */
.has-sub { position: relative; }
.has-sub > a i { font-style: normal; font-size: 10px; opacity: .7; margin-left: 2px; }
.sub { position: absolute; left: 0; top: 100%; min-width: 200px; padding: 8px; margin-top: 4px; display: none; flex-direction: column; gap: 2px; z-index: 60;
  background: rgba(11, 16, 32, .96); border: 1px solid var(--line-2); border-radius: 16px; backdrop-filter: blur(16px); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .85); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.sub a { border-radius: 10px !important; white-space: nowrap; }
@media (max-width: 760px) { .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; } .has-sub > a i { display: none; } }
a.chip { text-decoration: none; display: inline-block; }
.chip.is-on { color: #fff; background: var(--spectrum); border-color: transparent; }
