/* Vetrosoft v2 - the C4 banner look across every public page.
   Loaded after each page's own <style>: the pages already share one token set, so most of the
   redesign is re-pointing those tokens at the dark palette; the rest are targeted overrides.
   Mobile first: base rules are the phone layout, @media (min-width) adds the desktop. */

:root {
  --cream: #070a14;            /* page ground (was cream) */
  --cream-2: #0c1222;          /* raised band */
  --espresso: #eef3ff;         /* strongest text (was near-black) */
  --espresso-2: #c9d3ec;
  --text: #d7dff2;
  --text-soft: #95a2c2;
  --border: rgba(255, 255, 255, .1);
  --gold-ink: #7cc8ff;         /* accent text on the dark ground */
  --champagne: #8fb8ff;
  --champagne-2: #2b8cff;
  --c: #63f0ff; --b: #2b8cff; --v: #7d6cff;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: #0f1629;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --rail: 84px;
  color-scheme: dark;
}
html { background: #070a14; }
body { background: transparent; color: var(--text); }
/* the banner's ground: glow pools + a faint grid, fixed behind everything */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  background:
    radial-gradient(900px 620px at 82% 8%, rgba(43, 140, 255, .22), transparent 62%),
    radial-gradient(760px 600px at 100% 100%, rgba(125, 108, 255, .22), transparent 60%),
    radial-gradient(700px 520px at 0% 100%, rgba(99, 240, 255, .09), transparent 60%),
    #070a14;
}
body::after {
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 25%, transparent 75%);
}
h1, h2, h3, h4 { color: var(--espresso); }
h1 em, h2 em, .grad {
  font-style: normal; background: linear-gradient(90deg, var(--c), var(--b) 45%, var(--v));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { color: var(--c); }
a { color: inherit; }
::selection { background: rgba(43, 140, 255, .45); color: #fff; }

/* buttons: primary is the logo gradient, ghost is glass */
.btn {
  background: linear-gradient(135deg, #2b8cff, #7d6cff); color: #fff; border-color: transparent;
  box-shadow: 0 14px 34px -14px rgba(43, 140, 255, .7); position: relative; overflow: hidden;
}
.btn:hover { background: linear-gradient(135deg, #3d99ff, #8d7eff); color: #fff; border-color: transparent; }
.btn::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .8s var(--ease); pointer-events: none; }
.btn:hover::after { left: 130%; }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--espresso); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* cards & panels that hard-coded white */
.price-card, .work-card, .step, .card, .faq details, .rv-card {
  background: var(--panel); border: 1px solid var(--border); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.price-card.featured, .enterprise {
  background: linear-gradient(160deg, rgba(43, 140, 255, .16), rgba(125, 108, 255, .14)) , #0d1426;
  color: var(--text); border: 1px solid rgba(124, 200, 255, .35);
  box-shadow: 0 0 0 1px rgba(125, 108, 255, .2), 0 40px 90px -40px rgba(43, 140, 255, .55);
}
.price-card.featured *, .enterprise * { border-color: rgba(255, 255, 255, .14); }
.work-bar { background: #10172a; }
.work-bar .u { background: #070a14; }
.work-nav { background: rgba(15, 22, 41, .92); color: #fff; }
section[style*="cream-2"] { background: transparent !important; }
.results { background: transparent; }
.results .num { background: linear-gradient(90deg, var(--c), var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact { background: linear-gradient(180deg, transparent, rgba(43, 140, 255, .07)); }
input, textarea, select { background: rgba(255, 255, 255, .05); color: var(--espresso); border-color: rgba(255, 255, 255, .14); }
input::placeholder, textarea::placeholder { color: #6f7c9c; }
footer { background: #050710; border-top: 1px solid var(--border); }
.rv-av { background: var(--panel-2); color: var(--c); }

/* ---------------- navigation ----------------
   Phone/tablet: a slim glass top bar; the burger opens a drawer that slides in from the left
   with its links following one after another. Desktop: the same links become a left rail
   (built by v2.js) that opens on the first visit and then settles to icons. */
.nav { background: rgba(7, 10, 20, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--border); }
.nav .logo { color: #fff; }
.nav-burger { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.nav-burger span { background: #fff; }
@media (max-width: 1099px) {
  .nav-burger { display: flex; }
  .nav-inner { position: relative; }
  .nav-links {
    display: flex !important; position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 88px 20px 28px; overflow-y: auto;
    background: rgba(9, 13, 26, .97); border-right: 1px solid var(--border); box-shadow: 30px 0 80px -20px rgba(0, 0, 0, .8);
    transform: translateX(-104%); transition: transform .55s var(--ease); visibility: hidden;
  }
  .nav-inner.open .nav-links { transform: none; visibility: visible; }
  .nav-inner.open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(3, 5, 12, .55); }
  .nav-inner .nav-burger { position: relative; z-index: 61; }
  .nav-links > * { opacity: 0; transform: translateX(-18px); transition: opacity .4s, transform .5s var(--ease); }
  .nav-inner.open .nav-links > * { opacity: 1; transform: none; }
  .nav-inner.open .nav-links > *:nth-child(2) { transition-delay: .04s; } .nav-inner.open .nav-links > *:nth-child(3) { transition-delay: .08s; }
  .nav-inner.open .nav-links > *:nth-child(4) { transition-delay: .12s; } .nav-inner.open .nav-links > *:nth-child(5) { transition-delay: .16s; }
  .nav-inner.open .nav-links > *:nth-child(6) { transition-delay: .2s; } .nav-inner.open .nav-links > *:nth-child(7) { transition-delay: .24s; }
  .nav-inner.open .nav-links > *:nth-child(n+8) { transition-delay: .28s; }
  .nav-links a:not(.btn) { display: flex; align-items: center; gap: 14px; padding: 13px 12px; font-size: 1.08rem; border-radius: 12px; color: var(--espresso); }
  .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .06); }
  .nav-links .ri { width: 34px; height: 34px; }
}
.lang-toggle { border-color: rgba(255, 255, 255, .16); }
.lang-toggle button { color: var(--text-soft); }
.lang-toggle button.active { background: linear-gradient(135deg, #2b8cff, #7d6cff); color: #fff; }

/* rail icon chips (added by v2.js, also used inside the phone drawer) */
.ri { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, rgba(99, 240, 255, .16), rgba(125, 108, 255, .22)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ri svg { width: 19px; height: 19px; fill: none; stroke: #cfe9ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 1100px) {
  /* desktop: one top bar - logo left, pages in the middle, language / currency / contact top right */
  .nav { position: sticky; top: 0; z-index: 50; }
  .nav-inner { max-width: 1320px; gap: 24px; }
  .nav-links { flex: 1; gap: 4px; }
  .nav-links > a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--text); transition: background .25s, color .25s; }
  .nav-links > a:not(.btn):first-of-type { margin-left: auto; }
  .nav-links > a:not(.btn):hover, .nav-links > a[aria-current="page"] { background: rgba(255, 255, 255, .07); color: #fff; }
  .nav-links .lang-toggle { margin-left: auto; }
  .nav-links .ri { display: none; }
  .nav-links .btn { margin-left: 6px; }
}

/* ---------------- home hero: the banner, live ---------------- */
.hero.hero-v2 { padding: 34px 0 0; overflow: hidden; }
.hero.hero-v2::before { display: none; }
.hero-v2 .hero-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.hero-v2 h1 { font-size: clamp(2.35rem, 9.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 18px; }
.hero-v2 h1 em { display: inline; padding: 0; margin: 0; font-style: normal; }
/* phones: the scene sits between the intro and the capability chips */
.hero-v2 .hero-grid { gap: 0; }
.hero-v2 .hero-copy { display: contents; }
.hero-v2 .eyebrow { order: 0; margin-bottom: 10px; } .hero-v2 h1 { order: 1; } .hero-v2 p.lede { order: 2; }
.hero-v2 .hero-visual { order: 3; display: block; margin: 0 0 26px; }
.hero-v2 .caps { order: 4; } .hero-v2 .hero-cta { order: 5; } .hero-v2 .hero-stats { order: 6; }
.hero-v2 p.lede { font-size: 1.08rem; color: #b9c4de; margin-bottom: 22px; }
.caps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.caps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; font-weight: 600; color: #e6ecfb; }
.caps svg { width: 24px; height: 24px; padding: 4px; border-radius: 8px; background: linear-gradient(135deg, rgba(99, 240, 255, .22), rgba(125, 108, 255, .28)); stroke: #bfe9ff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-v2 .hero-stats { gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-v2 .hero-stats .stat .num { background: linear-gradient(90deg, var(--c), var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* the 3D scene is authored at a fixed size and scaled to fit (v2.js sets --k) */
.hero-v2 .hero-visual { position: relative; height: calc(560px * var(--k, .42)); aspect-ratio: auto; border-radius: 0; box-shadow: none; overflow: visible; background: none; }
.scene { position: absolute; left: 0; top: 0; width: 900px; height: 560px; transform: scale(var(--k, .42)); transform-origin: 0 0; perspective: 2400px; perspective-origin: 62% 30%; }
.win3 { position: absolute; left: 430px; top: 0; width: 460px; border-radius: 12px; overflow: hidden; background: #0d1120; opacity: .85; transform: rotate(4deg); box-shadow: 0 50px 100px -25px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
.win3 .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #161b2c; }
.win3 .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .win3 .bar i:nth-child(2) { background: #febc2e; } .win3 .bar i:nth-child(3) { background: #28c840; }
.win3 .bar u { margin-left: 12px; height: 18px; border-radius: 6px; background: #0d1120; text-decoration: none; font: 500 10px/18px Manrope, sans-serif; color: #8792b3; padding: 0 10px; white-space: nowrap; }
.win3 img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: top; }
.sl { position: absolute; inset: 0; border-radius: inherit; }
.lap3 { position: absolute; left: 90px; top: 450px; width: 720px; transform-style: preserve-3d; transform: rotateX(-11deg) rotateY(-28deg) rotateZ(.5deg); }
.lap3 .lid, .lap3 .base { position: absolute; left: 0; width: 720px; transform-style: preserve-3d; }
.lap3 .lid { bottom: 0; height: 460px; transform-origin: 50% 100%; transform: rotateX(-14deg); border-radius: 18px 18px 4px 4px; }
.lap3 .lid .sl { background: linear-gradient(160deg, #3d424f, #14161e); }
.lap3 .lid .fr { position: absolute; inset: 0; border-radius: 18px 18px 4px 4px; background: #07080d; padding: 13px 13px 20px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.lap3 .lid .fr img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 5px; display: block; }
.lap3 .lid .fr::after { content: ""; position: absolute; inset: 13px 13px 20px; border-radius: 5px; background: linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 40%); pointer-events: none; }
.lap3 .base { top: 0; height: 430px; transform-origin: 50% 0; transform: rotateX(90deg); border-radius: 4px 4px 22px 22px; }
.lap3 .base .sl { background: linear-gradient(#2e323d, #171a22); }
.lap3 .base .top { position: absolute; inset: 0; border-radius: 4px 4px 22px 22px; background: linear-gradient(180deg, #5a6070, #3b404c 60%, #30343f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.lap3 .kb { position: absolute; left: 9%; right: 9%; top: 9%; height: 52%; border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 30px, #1d2028 30px 34px), repeating-linear-gradient(180deg, #2b2f39 0 26px, #1d2028 26px 30px); }
.lap3 .tp { position: absolute; left: 36%; right: 36%; top: 68%; height: 24%; border-radius: 10px; background: linear-gradient(#4c5262, #40454f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* app phones peeking up from the hero's bottom edge (a scrolling strip on phones) */
.peek { position: relative; margin-top: 18px; height: 250px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.peek-track { display: flex; gap: 22px; width: max-content; padding: 0 16px; animation: peek-run 40s linear infinite; }
.peek:hover .peek-track { animation-play-state: paused; }
@keyframes peek-run { to { transform: translateX(-50%); } }
.pk { flex: none; width: 150px; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #eef3ff; perspective: 900px; }
.pk .tag { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 600 .95rem 'Space Grotesk', sans-serif; white-space: nowrap; }
.pk .tag img { width: 28px; height: 28px; border-radius: 8px; background: #fff; padding: 3px; }
.p3 { position: relative; width: 150px; height: 309px; border-radius: 24px; transform-style: preserve-3d; transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg)); transition: transform .7s var(--ease); }
.p3 .sl { background: linear-gradient(135deg, #4a505f, #1c1f29 45%, #353a47); }
.p3 .fr { position: absolute; inset: 0; border-radius: 24px; background: #07080d; padding: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.p3 .scr { width: 100%; height: 100%; border-radius: 19px; overflow: hidden; position: relative; background: #000; }
.p3 .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.p3 .scr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 38%); }
.pk:hover .p3 { transform: translateY(-34px) rotateX(0) rotateY(0) rotateZ(0); }
.pk:focus-visible { outline: 2px solid var(--c); outline-offset: 6px; border-radius: 12px; }

@media (min-width: 1100px) {
  .hero.hero-v2 { padding: 48px 0 0; min-height: 100vh; display: flex; flex-direction: column; }
  .hero-v2 .container { max-width: 1320px; }
  .hero-v2 .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
  .hero-v2 .hero-copy { display: block; }
  .hero-v2 .hero-visual { margin: 0; }
  .hero-v2 h1 { font-size: clamp(3rem, 4.6vw, 4.2rem); }
  .hero-v2 .hero-stats { margin-top: 26px; }
  .hero-v2 .hero-visual { height: calc(560px * var(--k, .7)); }
  .caps { flex-direction: column; align-items: flex-start; gap: 10px; }
  .caps li:nth-child(2) { margin-left: 44px; } .caps li:nth-child(3) { margin-left: 14px; } .caps li:nth-child(4) { margin-left: 62px; }
  .peek { margin-top: auto; padding-top: 44px; height: 344px; -webkit-mask-image: none; mask-image: none; }
  .peek-track { width: 100%; justify-content: space-between; animation: none; padding: 0 5vw 0 3vw; transform: none !important; }
  .pk .tag { font-size: .9rem; }
  .peek-track .dup { display: none; }
  .peek-track { gap: 0; }
  .pk { width: min(170px, 11vw); }
  .pk .tag { font-size: clamp(.78rem, .95vw, .92rem); }
  .p3 { width: 100%; height: auto; aspect-ratio: 150 / 309; margin-bottom: -120px; }
}

/* entrance: the lid opens, the window drifts in, the phones rise one by one */
.js-v2 .lap3 .lid { animation: lid-open 1.6s .2s var(--ease) both; }
@keyframes lid-open { from { transform: rotateX(-96deg); } to { transform: rotateX(-14deg); } }
.js-v2 .win3 { animation: win-in 1.4s .5s var(--ease) both; }
@keyframes win-in { from { opacity: 0; transform: translate(40px, -20px) rotate(9deg); } to { opacity: .85; transform: rotate(4deg); } }
.js-v2 .pk { animation: pk-up 1s var(--ease) both; animation-delay: calc(.9s + var(--i, 0) * .09s); }
@keyframes pk-up { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
.js-v2 .hero-v2 .hero-copy > * { animation: copy-in .9s var(--ease) both; }
.js-v2 .hero-v2 .hero-copy > *:nth-child(2) { animation-delay: .08s; } .js-v2 .hero-v2 .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js-v2 .hero-v2 .hero-copy > *:nth-child(4) { animation-delay: .24s; } .js-v2 .hero-v2 .hero-copy > *:nth-child(n+5) { animation-delay: .32s; }
@keyframes copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* reveal on scroll (v2.js marks section content) */
.js-v2 .v2rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-v2 .v2rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-v2 .v2rv { opacity: 1; transform: none; }
}

/* Panels that were dark in the old light theme: inside them, "cream" is the text and "espresso"
   the ink, exactly as before. Re-pointing the two tokens locally keeps every child rule right. */
.contact, .enterprise, .price-card.featured, .problem, .tier-frame, footer {
  --cream: #eef3ff; --cream-2: rgba(255, 255, 255, .06); --espresso: #070a14; --text: #d7dff2; --text-soft: #a3aecb;
}
.problem { background: linear-gradient(180deg, rgba(125, 108, 255, .08), transparent); }
.contact-form { background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.contact .btn, .enterprise .btn, .price-card.featured .btn { background: linear-gradient(135deg, #2b8cff, #7d6cff); color: #fff; border-color: transparent; }
.form-field option { background: #0d1426; color: #eef3ff; }

/* subpage panels that hard-coded white */
.plan, .split-col, .cmp-wrap, .pf-card, .pf-pg, form:not(.contact-form) {
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
}
.plan.featured { border-color: rgba(124, 200, 255, .45); background: linear-gradient(160deg, rgba(43, 140, 255, .14), rgba(125, 108, 255, .12)), #0d1426; box-shadow: 0 30px 70px -36px rgba(43, 140, 255, .55); }
.pf-bar .u { background: #070a14; color: var(--text-soft); }
.cmp th, .cmp td { border-color: var(--border); }
/* a blurred parent turns position:fixed into "fixed to the bar": drop the blur while the drawer is open */
.nav:has(.nav-inner.open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #070a14; z-index: 90; }

/* app pop-up: a phone tapped in the hero opens here instead of a new tab */
.pk { cursor: pointer; }
.appm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.appm[hidden] { display: none; }
.appm-bg { position: absolute; inset: 0; background: rgba(3, 5, 12, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.appm.on .appm-bg { opacity: 1; }
.appm-card { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: 26px; border-radius: 26px; background: linear-gradient(160deg, rgba(43, 140, 255, .12), rgba(125, 108, 255, .1)), #0b1122; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .4s, transform .5s var(--ease); }
.appm.on .appm-card { opacity: 1; transform: none; }
.appm-phone { justify-self: center; width: min(230px, 56vw); aspect-ratio: 380 / 760; padding: 8px; border-radius: 34px; background: linear-gradient(135deg, #4a505f, #1c1f29 45%, #353a47); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.appm-phone .scr { width: 100%; height: 100%; border-radius: 27px; overflow: hidden; clip-path: inset(0 round 27px); background: #000; }
.appm-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.appm-txt h3 { display: flex; align-items: center; gap: 12px; font-size: 1.7rem; margin: 0 0 10px; }
.appm-txt h3 img { width: 40px; height: 40px; border-radius: 11px; background: #fff; padding: 4px; }
.appm-txt p { color: #b9c4de; margin: 0 0 22px; }
.appm-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.appm-x:hover { background: rgba(255, 255, 255, .14); }
@media (min-width: 700px) { .appm-card { grid-template-columns: auto 1fr; padding: 36px; gap: 36px; } }
.appm-txt .btn[hidden] { display: none; }
.lang-toggle a { color: var(--text-soft); }
.lang-toggle a.active { background: linear-gradient(135deg, #2b8cff, #7d6cff); color: #fff; }
/* rounded corners on the screenshot itself: overflow clipping is unreliable inside 3D transforms */
.p3 .scr { background: transparent; }
.p3 .scr img { border-radius: 19px; }
.p3 .scr::after { border-radius: 19px; }

/* currency dropdown: currency.js injects light-theme styles at runtime, after this file,
   so these carry an extra class of specificity */
html .cur-pick .cur-menu { background: #0d1426; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(125, 108, 255, .12); }
html .cur-pick .cur-opt { color: #e6ecfb; }
html .cur-pick .cur-opt .cur-sym { color: var(--c); }
html .cur-pick .cur-opt .cur-name { color: #95a2c2; }
html .cur-pick .cur-opt:hover, html .cur-pick .cur-opt:focus-visible { background: rgba(255, 255, 255, .07); }
html .cur-pick .cur-opt.on { background: linear-gradient(135deg, rgba(43, 140, 255, .22), rgba(125, 108, 255, .2)); }
html .cur-pick .cur-opt .cur-tick { color: var(--c); }
html .cur-pick .cur-trigger { color: #e6ecfb; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
html .cur-pick .cur-trigger:hover, html .cur-pick.open .cur-trigger { color: #fff; border-color: rgba(124, 200, 255, .6); }

/* themed dropdown over form <select>s (v2.js) */
.vsel { position: relative; }
.vsel .vsel-native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.vsel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 1rem; color: #eef3ff; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s, box-shadow .2s, background .2s; }
.vsel-btn:hover { border-color: rgba(124, 200, 255, .45); }
.vsel-btn:focus-visible, .vsel.open .vsel-btn { outline: 0; border-color: var(--c); box-shadow: 0 0 0 3px rgba(99, 240, 255, .18); }
.vsel-btn.placeholder .vsel-val { color: #7d8aa8; }
.vsel-btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.vsel.open .vsel-btn svg { transform: rotate(180deg); }
.vsel.invalid .vsel-btn { border-color: #f87171; }
.vsel-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; max-height: 280px; overflow: auto;
  background: #0d1426; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; outline: 0;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(125, 108, 255, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .18s, transform .25s var(--ease), visibility .18s; }
.vsel.up .vsel-list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom; }
.vsel.open .vsel-list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .25s var(--ease), visibility 0s; }
.vsel-list li { position: relative; padding: 11px 38px 11px 14px; border-radius: 10px; color: #dfe6fa; cursor: pointer; font-size: .97rem; line-height: 1.35; }
.vsel-list li.ph { color: #7d8aa8; }
.vsel-list li.on { background: rgba(255, 255, 255, .07); color: #fff; }
.vsel-list li[aria-selected="true"] { background: linear-gradient(135deg, rgba(43, 140, 255, .24), rgba(125, 108, 255, .22)); color: #fff; }
.vsel-list li[aria-selected="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 11px; margin-top: -7px; border: solid var(--c); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .vsel-list { transition: none; } }
