/* ==========================================================================
   Adžić Solutions — site styles
   ========================================================================== */

:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --paper: #f5f5f7;
  --white: #fff;
  --muted: #86868b;
  --muted-dark: #a1a1a6;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(0, 0, 0, .1);

  --brand: #1a93cd;
  --brand-2: #5ac8fa;
  --brand-deep: #0b5f8c;
  --pink: #f0508c;
  --pink-2: #ff8fb8;
  --warm: #ff8a5b;
  --warm-2: #ffc98a;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 52px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 20px;
  --vh: 1vh;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  color: var(--paper);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html.i18n-pending body { opacity: 0; }
body { transition: opacity .25s ease; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: rgba(26, 147, 205, .35); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 8px 14px; border-radius: 10px;
  background: var(--white); color: var(--ink);
  transform: translateY(-150%); transition: transform .2s;
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  color: var(--brand-2); margin-bottom: 14px;
}
.eyebrow--warm { color: var(--warm-2); }
[data-theme="light"] .eyebrow { color: var(--brand); }

.display {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
}
.mega {
  font-size: clamp(48px, 9vw, 116px);
  line-height: 1; letter-spacing: -.045em; font-weight: 800;
}
.lead {
  font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38;
  color: var(--muted-dark); margin-top: 20px; max-width: 680px;
  letter-spacing: -.015em; font-weight: 500;
}
[data-theme="light"] .lead { color: var(--muted); }

.grad {
  background: linear-gradient(95deg, #7fd8ff 0%, var(--brand) 45%, #8a7dff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--warm { background-image: linear-gradient(95deg, var(--warm-2) 0%, var(--warm) 45%, #e0508a 100%); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: #fff; font-size: 17px; font-weight: 500;
  letter-spacing: -.01em; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s, opacity .3s;
  box-shadow: 0 8px 30px -10px rgba(26, 147, 205, .8);
}
.btn:hover { transform: translateY(-1px) scale(1.02); background: #1fa3e0; }
.btn:active { transform: scale(.98); }
.btn--ghost {
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--sm { min-height: 32px; padding: 0 14px; font-size: 13px; box-shadow: none; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-2); font-weight: 500; background: none; border: 0; padding: 0;
  font-size: inherit;
}
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }
[data-theme="light"] .link { color: var(--brand); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(40px) scale(.985);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Sticky scenes ---------- */
.sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  color: var(--paper);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  opacity: 0; transition: opacity .4s, background-color .4s;
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line-dark); }
.nav--light { color: var(--ink); }
.nav--light::before { background: rgba(251, 251, 253, .72); }
.nav--light.scrolled { box-shadow: 0 1px 0 var(--line-light); }

.nav__inner {
  height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; flex: none; }
.nav__logo { width: 30px; height: 30px; object-fit: contain; }
.nav__logo--dark, .nav--light .nav__logo--light { display: none; }
.nav--light .nav__logo--dark { display: block; }

.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 13px; }
.nav__links a { opacity: .8; transition: opacity .2s; position: relative; padding: 6px 0; }
.nav__links a:hover, .nav__links a.active { opacity: 1; }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .7;
}
.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }

.lang {
  display: inline-flex; padding: 2px; border-radius: 999px;
  background: rgba(127, 127, 127, .16);
}
.lang button {
  border: 0; background: none; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; opacity: .7;
  transition: background-color .25s, opacity .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); opacity: 1; }
.nav--light .lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.nav__toggle { display: none; width: 36px; height: 36px; border: 0; background: none; position: relative; }
.nav__toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 21px; }
.nav.open .nav__toggle span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav.open .nav__toggle span:last-child { top: 17.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
    flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter);
    background: rgba(0, 0, 0, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    font-size: 28px; font-weight: 600; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .nav--light .nav__links { background: rgba(251, 251, 253, .95); }
  .nav__links a { opacity: 1; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav--light .nav__links a { border-color: var(--line-light); }
  .nav__links a.active::after { display: none; }
  .nav.open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav.open::before { opacity: 1; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { height: 210vh; position: relative; background: var(--black); }
.hero .sticky { display: grid; place-items: center; }

.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: float 18s ease-in-out infinite alternate;
}
.orb--1 { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; background: radial-gradient(circle, #0b5f8c, transparent 65%); }
.orb--2 { width: 40vmax; height: 40vmax; right: -14vmax; top: 10vh; background: radial-gradient(circle, #3f2d9c, transparent 65%); animation-duration: 22s; }
.orb--3 { width: 36vmax; height: 36vmax; left: 20vw; bottom: -20vmax; background: radial-gradient(circle, #1a93cd, transparent 65%); opacity: .35; animation-duration: 26s; }
@keyframes float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 65%);
  opacity: .5;
}

.hero__stage {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--nav-h) + 12px) var(--gutter) 40px;
}
.hero__logo {
  position: relative; width: clamp(150px, 24vh, 250px); aspect-ratio: 1;
  margin-bottom: clamp(20px, 4vh, 40px); will-change: transform, opacity;
}
.hero__logo img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(26, 147, 205, .45));
}
.hero__ring {
  position: absolute; inset: -14%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(90, 200, 250, .9) 75%, transparent 90%);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%, #000 68.5%, transparent 69.5%);
  mask: radial-gradient(circle, transparent 66%, #000 67%, #000 68.5%, transparent 69.5%);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }

.hero__copy { will-change: transform, opacity; }
.hero__eyebrow { color: var(--muted-dark); font-weight: 500; }
.hero__title {
  font-size: clamp(52px, 10vw, 128px); line-height: .98; letter-spacing: -.05em; font-weight: 800;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .04em .08em; }
.hero__title .line > span { display: inline-block; }
.hero__sub {
  max-width: 640px; margin: 22px auto 0; font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4; color: var(--muted-dark); font-weight: 500;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

@media (max-height: 700px), (max-width: 680px) { .scroll-cue { display: none; } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px;
  border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .35);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Intro choreography on first load */
.js .hero__logo { opacity: 0; transform: scale(.86); filter: blur(12px); }
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__eyebrow, .js .hero__sub, .js .hero__cta, .js .scroll-cue { opacity: 0; transform: translateY(16px); }
.loaded .hero__logo { animation: introLogo 1.6s var(--ease) forwards; }
.loaded .hero__title .line > span { transition: transform 1.2s var(--ease); transform: none; }
.loaded .hero__title .line:nth-child(1) > span { transition-delay: .35s; }
.loaded .hero__title .line:nth-child(2) > span { transition-delay: .5s; }
.loaded .hero__eyebrow, .loaded .hero__sub, .loaded .hero__cta, .loaded .scroll-cue {
  transition: opacity 1s var(--ease), transform 1s var(--ease); opacity: 1; transform: none;
}
.loaded .hero__eyebrow { transition-delay: .25s; }
.loaded .hero__sub { transition-delay: .7s; }
.loaded .hero__cta { transition-delay: .85s; }
.loaded .scroll-cue { transition-delay: 1.3s; }
@keyframes introLogo { to { opacity: 1; transform: none; filter: none; } }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { height: 260vh; position: relative; background: var(--black); }
.manifesto .sticky { display: flex; align-items: center; }
.manifesto__text {
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700;
  max-width: 1000px;
}
.manifesto__text .w { opacity: .16; transition: opacity .35s linear; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w.hl { color: var(--brand-2); }

.pillars { background: var(--black); padding: 0 0 clamp(96px, 14vw, 180px); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillar { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.pillar__num { font-family: var(--mono); font-size: 13px; color: var(--brand-2); }
.pillar h3 { font-size: 24px; letter-spacing: -.02em; margin: 10px 0 8px; font-weight: 600; }
.pillar p { color: var(--muted-dark); }

/* ==========================================================================
   SERVICES (light)
   ========================================================================== */
.services { background: var(--paper); color: var(--ink); padding: clamp(96px, 13vw, 160px) 0; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--white); padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .18); }
.card h3 { font-size: 24px; line-height: 1.16; letter-spacing: -.025em; font-weight: 700; margin: 18px 0 10px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card--wide { grid-column: span 2; }
.icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(145deg, #e8f5fc, #d4ebf8);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card--code { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; }
.code {
  background: #0d1117; color: #c9d1d9; border-radius: 16px; padding: 14px 18px 18px;
  font-family: var(--mono); font-size: 13px; line-height: 1.65; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.code pre { margin: 0; white-space: pre; overflow: hidden; }
.code__bar { display: flex; gap: 6px; margin-bottom: 10px; }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.code__bar i:nth-child(2) { background: #febc2e; }
.code__bar i:nth-child(3) { background: #28c840; }
.code .k { color: #ff7b72; } .code .v { color: #79c0ff; } .code .s { color: #a5d6ff; }
.code .f { color: #d2a8ff; } .code .p { color: #7ee787; } .code .c { color: #8b949e; }
.caret { display: inline-block; width: 7px; height: 15px; background: #58a6ff; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.card--code .code pre code > span, .card--code .code pre { opacity: 1; }
.js .card--code .code { clip-path: inset(0 100% 0 0 round 16px); transition: clip-path 1.6s var(--ease-io) .3s; }
.js .card--code.in .code { clip-path: inset(0 0 0 0 round 16px); }

.card--game {
  grid-column: 1 / -1; padding-top: clamp(30px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 48px);
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, #2b1a3f 0%, #7a3522 55%, #e08a4f 100%); color: #fff;
}
.card--game p { color: rgba(255, 255, 255, .82); }
.card--game .icon { background: rgba(255, 255, 255, .14); }
.card--game .icon svg { stroke: #fff; }
.card--game .link { color: var(--warm-2); margin-top: 16px; }
.card--game .card__body { flex: 1; }
.card__art {
  width: 36%; max-width: 230px; height: auto; aspect-ratio: 1; border-radius: 22%; flex: none;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: rotate(6deg);
  transition: transform .8s var(--ease);
}
.card--game:hover .card__art { transform: rotate(0) scale(1.04); }

/* ==========================================================================
   PRODUCTS HEAD
   ========================================================================== */
.products-head { background: var(--black); padding: clamp(110px, 16vw, 200px) 0 clamp(40px, 6vw, 80px); }

/* ==========================================================================
   FASHIONBUVLJAK
   ========================================================================== */
.fb {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(240, 80, 140, .22), transparent 70%),
    var(--black);
  padding-top: clamp(60px, 8vw, 100px);
}
.fb .eyebrow { color: var(--pink-2); }
.fb__intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
.app-icon { width: 108px; height: 108px; border-radius: 24px; box-shadow: 0 20px 50px -12px rgba(240, 80, 140, .55); }
.fb__title {
  font-size: clamp(48px, 8vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 28px;
}
.fb__title span { color: var(--pink); }
.fb__lead { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; margin-top: 18px; }
.fb__desc { max-width: 640px; color: var(--muted-dark); margin-top: 16px; font-size: 19px; }

.store-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 14px; background: #fff; color: #000; text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(255, 255, 255, .45); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.store small { font-size: 10.5px; font-weight: 500; letter-spacing: 0; opacity: .75; }
.store--web { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.store--web svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.store--soon { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); cursor: default; }
.store--soon:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

.track-scene { position: relative; height: 300vh; margin-top: clamp(40px, 6vw, 80px); }
.track-scene .sticky { display: flex; flex-direction: column; justify-content: center; }
.track {
  display: flex; gap: clamp(18px, 3vw, 40px); padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  will-change: transform; width: max-content;
}
.shot { margin: 0; width: clamp(220px, 26vw, 330px); flex: none; }
.shot img {
  width: 100%; height: auto; aspect-ratio: 473 / 1024; object-fit: cover;
  max-height: 70vh; max-height: 70svh; width: auto; margin: 0 auto;
  border-radius: 30px; box-shadow: 0 40px 80px -30px rgba(240, 80, 140, .45);
  transition: transform .6s var(--ease);
}
.shot figcaption { margin-top: 18px; font-size: 15px; color: var(--muted-dark); text-align: center; line-height: 1.35; padding: 0 6px; }
.track__bar {
  width: min(240px, 50vw); height: 3px; margin: 32px auto 0; border-radius: 3px;
  background: rgba(255, 255, 255, .14); overflow: hidden;
}
.track__bar span { display: block; height: 100%; width: 100%; background: var(--pink); transform-origin: left; transform: scaleX(0); }

.fb__free {
  text-align: center; font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
  padding: clamp(70px, 10vw, 120px) 0 clamp(40px, 6vw, 70px);
}
.fb__free em { font-style: normal; color: var(--pink); }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: clamp(100px, 14vw, 180px);
}
.feature { background: #0b0b0d; padding: 34px 30px; }
.feature__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(240, 80, 140, .14); color: var(--pink-2); font-size: 18px; }
.feature h4 { font-size: 20px; letter-spacing: -.02em; margin: 16px 0 6px; font-weight: 600; }
.feature p { color: var(--muted-dark); font-size: 15.5px; }

/* ==========================================================================
   GAMING
   ========================================================================== */
.gaming-head {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(255, 138, 91, .22), transparent 70%),
    var(--black);
  padding: clamp(110px, 16vw, 200px) 0 clamp(80px, 10vw, 140px);
  text-align: center;
}
.gaming-head .lead { margin-left: auto; margin-right: auto; }

.cg-scene { height: 420vh; position: relative; background: #1b1d4a; }
.cg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cg-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 30%, transparent 62%, rgba(0, 0, 0, .55) 100%);
}
.cg-cap {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 6vh);
  padding: 0 var(--gutter); text-align: center; color: #fff;
  opacity: 0; will-change: opacity, transform; pointer-events: none;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.cg-cap h2 { font-size: clamp(52px, 9vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.cg-cap h3 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cg-cap p { font-size: clamp(18px, 2vw, 24px); font-weight: 500; margin: 18px auto 0; max-width: 620px; color: rgba(255, 255, 255, .9); }
.cg-cap--title img { width: clamp(76px, 10vh, 108px); height: auto; border-radius: 24%; margin: 0 auto 22px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); }
.pill {
  display: inline-block; margin-top: 22px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-shadow: none;
}

.tod {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px;
  border-radius: 999px; background: rgba(0, 0, 0, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tod li {
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: rgba(255, 255, 255, .6);
  transition: background-color .4s, color .4s;
}
.tod li.on { background: rgba(255, 255, 255, .92); color: #111; }

.play { background: #07070b; padding: clamp(100px, 13vw, 160px) 0 clamp(60px, 8vw, 100px); }
.play__frame {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden; background: #1b1d4a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -40px rgba(255, 138, 91, .45);
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.play__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; outline: none; }
.play__hud {
  position: absolute; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between;
  pointer-events: none; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.play__hud span { display: flex; flex-direction: column; line-height: 1.1; }
.play__hud span:last-child { text-align: right; }
.play__hud small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .75; font-weight: 600; }
.play__hud b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.play__overlay {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.play__overlay.hide { opacity: 0; }
.play__msg {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 18px 28px; border-radius: 22px; color: #fff;
  background: rgba(0, 0, 0, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.play__msg strong { font-size: clamp(22px, 3vw, 32px); letter-spacing: -.03em; }
.play__msg span { font-size: 15px; opacity: .85; }
.play__note { text-align: center; color: var(--muted-dark); margin-top: 26px; font-size: 16px; }

.cg-features { background: #07070b; padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px); }
.bento--dark .card { background: #151518; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.bento--dark .card:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(255, 138, 91, .35); }
.bento--dark .card p { color: var(--muted-dark); }
.bento--dark .card h3 { margin-top: 8px; }
.card__kicker { font-size: 14px; font-weight: 600; color: var(--warm-2) !important; }
.card--hazards { background: linear-gradient(160deg, #2e1330 0%, #571b26 60%, #a83a33 130%) !important; }
.card--hazards p:not(.card__kicker) { color: rgba(255, 255, 255, .78) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 500;
}
.chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.card .big-num {
  font-size: clamp(80px, 10vw, 120px); font-weight: 800; letter-spacing: -.06em; line-height: .9; margin-top: 10px;
  background: linear-gradient(180deg, #fff, var(--warm)); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.card--stat h3 { margin-top: 4px; }
.card--physics { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; justify-content: space-between; }
.hz-meter {
  flex: none; width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  position: relative;
  background: conic-gradient(var(--warm) 0 var(--sweep, 0%), rgba(255, 255, 255, .08) 0);
  transition: --sweep 1.6s var(--ease);
}
.hz-meter::before {
  content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #151518;
}
@property --sweep { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.card--physics.in .hz-meter, html:not(.js) .hz-meter { --sweep: 100%; }
.hz-meter span, .hz-meter small { position: relative; z-index: 1; }
.hz-meter span { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hz-meter small { font-size: 13px; color: var(--muted-dark); font-weight: 600; }

.hangar { background: #07070b; padding: clamp(60px, 8vw, 100px) 0 clamp(120px, 16vw, 200px); overflow: hidden; }
.hangar__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.store-row--soon { justify-content: flex-start; }
.hangar__shots { position: relative; height: clamp(460px, 60vw, 640px); }
.hshot {
  position: absolute; width: 46%; border-radius: 26px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  will-change: transform;
}
.hshot--1 { left: 0; top: 4%; z-index: 2; }
.hshot--2 { left: 30%; top: 14%; z-index: 3; }
.hshot--3 { right: 0; top: 0; z-index: 1; opacity: .85; }

/* ==========================================================================
   CONTACT (light)
   ========================================================================== */
.contact { background: #fbfbfd; color: var(--ink); padding: clamp(100px, 13vw, 160px) 0; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.contact__info li { display: flex; flex-direction: column; gap: 2px; font-size: 19px; font-weight: 500; }
.contact__info small { font-size: 13px; color: var(--muted); font-weight: 500; }
.contact__info a { color: var(--brand); }

.form {
  position: relative; background: var(--white); border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .04);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); letter-spacing: -.01em;
  background: var(--paper); border: 1px solid transparent; border-radius: 14px;
  padding: 26px 16px 10px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.45; }
.field select { cursor: pointer; padding-right: 40px; }
.field--select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.field > span {
  position: absolute; left: 17px; top: 18px; font-size: 17px; color: var(--muted);
  pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 147, 205, .15);
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--select > span { transform: translateY(-10px) scale(.72); }
.field input:focus + span, .field textarea:focus + span { color: var(--brand); }
.field.invalid input, .field.invalid textarea { border-color: #e0245e; background: #fff5f7; }
.field.invalid > span { color: #e0245e; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__captcha { min-height: 65px; margin: 6px 0 12px; }
.form__legal { font-size: 13px; color: var(--muted); line-height: 1.45; }
.form__foot { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.btn--submit { min-width: 180px; position: relative; }
.btn__spin {
  position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; opacity: 0;
  animation: spin .8s linear infinite;
}
.btn--submit.loading .btn__label { opacity: 0; }
.btn--submit.loading .btn__spin { opacity: 1; }
.btn--submit:disabled { opacity: .7; cursor: default; transform: none; }
.form__status { font-size: 15px; color: #d70015; flex: 1; min-width: 200px; }

.form__done {
  position: absolute; inset: 0; border-radius: inherit; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
  animation: fadeIn .6s var(--ease);
}
.form__done[hidden] { display: none; }
.form__done svg { width: 76px; height: 76px; fill: none; stroke: #28c840; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form__done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.form__done path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s var(--ease) .6s forwards; }
.form__done h3 { font-size: 30px; letter-spacing: -.03em; margin: 20px 0 6px; }
.form__done p { color: var(--muted); margin-bottom: 18px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--paper); color: var(--ink-2); font-size: 14px; padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line-light); }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand img { width: 44px; height: 44px; object-fit: contain; }
.footer__brand strong { color: var(--ink); font-size: 17px; }
.footer__brand p { color: var(--muted); margin-top: 2px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col h4 { color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.footer__col a:hover { color: var(--brand); }
.lang--footer button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--brand); }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--code { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hangar__grid, .contact__grid { grid-template-columns: 1fr; }
  .hangar__shots { max-width: 560px; width: 100%; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card--wide { grid-column: auto; }
  .card--game { flex-direction: column; align-items: flex-start; }
  .card__art { width: 45%; }
  .card--physics { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .play__frame { aspect-ratio: 4 / 5; max-height: 75svh; }
  .shot { width: 62vw; }
  .tod li { padding: 5px 8px; font-size: 11px; }
  .cg-cap { top: calc(var(--nav-h) + 4vh); }
  .hero__cta .btn { flex: 1 1 auto; }
  .code { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   EV CHARGER AUTOMATE
   ========================================================================== */
.eva {
  --eva: #1c9ad6;
  --eva-2: #62d2ff;
  --eva-green: #34c759;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(28, 154, 214, .3), transparent 70%),
    #02070d;
  padding-top: clamp(110px, 14vw, 180px);
  overflow-x: clip; /* not hidden: that would break the sticky stage */
}
.eyebrow--eva { color: var(--eva-2); }
.eva__intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
.app-icon--eva { box-shadow: 0 20px 50px -12px rgba(28, 154, 214, .75); }
.eva__title { font-size: clamp(44px, 7.6vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 28px; }
.eva__title span {
  background: linear-gradient(95deg, var(--eva-2), var(--eva) 60%, var(--eva-green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eva__lead { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; margin-top: 18px; }
.eva__desc { max-width: 680px; color: var(--muted-dark); margin-top: 16px; font-size: 19px; }
.eva__pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.eva__pills .pill { margin-top: 0; }
.pill--eva { background: var(--eva); }
.pill--ghost { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* Stage: two phones that slide apart as you scroll */
.eva-stage { position: relative; height: 230vh; }
.eva-stage .sticky { display: grid; place-items: center; }
.eva-stage__halo {
  position: absolute; width: 80vmin; height: 80vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 199, 89, .22), rgba(28, 154, 214, .16) 42%, transparent 70%);
  filter: blur(30px);
}
.eva-stage__ring { position: absolute; width: min(84vmin, 680px); height: auto; transform: rotate(-90deg); overflow: visible; }
.eva-stage__ring circle { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 2.5; }
.eva-stage__ring .arc {
  stroke: var(--eva-green); stroke-linecap: round; stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--arc, 0)); filter: drop-shadow(0 0 5px rgba(52, 199, 89, .9));
}
.eva-phones { position: relative; width: min(290px, 60vw, 33svh); aspect-ratio: 9 / 19; }
.eva-phone {
  position: absolute; inset: 0; margin: 0; padding: 3.4%; border-radius: 15% / 7%;
  background: #0d1216; will-change: transform;
  box-shadow: 0 0 0 1.5px #3b434b, inset 0 0 0 1px #000, 0 50px 100px -30px rgba(0, 0, 0, .9), 0 30px 90px -40px rgba(28, 154, 214, .7);
}
.eva-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12.5% / 5.8%; }
.eva-phone--light { z-index: 2; }
.eva-chip {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px;
  padding: 11px 16px; border-radius: 16px; white-space: nowrap; opacity: 0; will-change: transform, opacity;
  background: rgba(16, 26, 36, .62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.eva-chip b { font-size: 22px; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.eva-chip b svg { width: 22px; height: 22px; color: var(--eva-2); vertical-align: -3px; }
.eva-chip small { font-size: 12px; color: var(--muted-dark); }
.eva-chip--1 { left: calc(50% - min(46vw, 520px)); top: 14%; }
.eva-chip--1 b { color: var(--eva-green); }
.eva-chip--2 { right: calc(50% - min(46vw, 520px)); top: 30%; }
.eva-chip--3 { left: calc(50% - min(44vw, 470px)); bottom: 20%; }
.eva-chip--4 { right: calc(50% - min(44vw, 480px)); bottom: 10%; }
.eva-stage__cap {
  position: absolute; left: 0; right: 0; bottom: 4.5vh; padding: 0 var(--gutter);
  text-align: center; color: var(--muted-dark); font-size: 17px; opacity: 0;
}

/* Widgets & controls */
.eva-widgets { padding-top: clamp(80px, 10vw, 140px); }
.eva-boards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.eva-board {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px;
  min-height: 400px; display: flex; flex-direction: column; gap: 14px;
}
.eva-board__label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .72); }
.eva-board--home { background: linear-gradient(160deg, #1b80c1 0%, #0c3e69 58%, #06182b 100%); }
.eva-board__widgets { display: flex; flex-direction: column; gap: 16px; }
.eva-board--lock { background: linear-gradient(180deg, #08131f 0%, #183048 58%, #2b5878 100%); align-items: center; text-align: center; }
.eva-board--lock .eva-board__label { align-self: flex-start; }
.eva-board--cc { background: #0b141d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

.wg { position: relative; background: rgba(255, 255, 255, .97); color: #111; border-radius: 22px; padding: 14px 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.wg svg { width: 16px; height: 16px; }
.wg--small { width: 164px; height: 164px; }
.wg__top { display: flex; justify-content: space-between; align-items: center; }
.wg__name { font-size: 13px; font-weight: 600; color: #6b7280; }
.wg__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--eva-green); animation: evaPulse 2s infinite; }
@keyframes evaPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(52, 199, 89, 0); } }
.wg__big { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; }
.wg__state { color: #1f9d48; font-weight: 600; font-size: 14px; }
.wg__sub { color: #6b7280; font-size: 13px; font-variant-numeric: tabular-nums; }
.wg__btn { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--eva); color: #fff; display: grid; place-items: center; }
.wg--medium { display: flex; gap: 14px; max-width: 350px; }
.wg__col { flex: 1; min-width: 0; }
.wg__grid { display: grid; grid-template-columns: repeat(3, 40px); gap: 8px; align-content: center; }
.wg__key { height: 40px; border-radius: 12px; background: #edf4f9; color: #1878b2; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.wg__key--on { background: var(--eva); color: #fff; }
.wg__key--eco { color: #1f9d48; }
.wg__amps { display: grid; place-items: center; font-weight: 800; font-size: 14px; }

.ls__date { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); margin-top: 4px; }
.ls__time { font-size: clamp(64px, 6vw, 82px); font-weight: 700; letter-spacing: -.03em; line-height: .95; color: #fff; }
.ls__inline { font-size: 14px; color: rgba(255, 255, 255, .88); display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.ls__inline svg { width: 14px; height: 14px; }
.ls__row { display: flex; gap: 10px; margin-top: auto; }
.ls__gauge {
  position: relative; width: 74px; height: 74px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff;
}
.ls__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.ls__ring circle { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 6; }
.ls__ring .arc { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.eva-board--lock.in .ls__ring .arc { stroke-dashoffset: 23; }
.ls__gauge > span { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ls__gauge b { font-size: 18px; font-variant-numeric: tabular-nums; }
.ls__gauge small { font-size: 10px; opacity: .8; }
.ls__rect {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 14px; min-width: 150px; text-align: left;
  border-radius: 18px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff;
}
.ls__rect span { font-size: 13px; opacity: .9; display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.ls__rect svg { width: 13px; height: 13px; }

.cc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 6px; }
.cc__tile {
  aspect-ratio: 1; border: 0; border-radius: 30px; padding: 16px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 14px; font-weight: 600;
  transition: background-color .3s, color .3s, transform .2s var(--ease);
}
.cc__tile:active { transform: scale(.95); }
.cc__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); transition: background-color .3s; }
.cc__ico svg { width: 22px; height: 22px; }
.cc__tile[aria-pressed="true"] { background: #fff; color: #111; }
.cc__tile[aria-pressed="true"] .cc__ico { background: var(--eva); color: #fff; }
.cc__note { color: var(--muted-dark); font-size: 14px; margin-top: auto; }

/* Widget state driven by the Control Center tiles */
.eva .st-off, .eva .lk-on { display: none; }
.eva.is-paused .st-on, .eva.is-locked .lk-off { display: none; }
.eva.is-paused .st-off, .eva.is-locked .lk-on { display: inline; }
.eva.is-paused .wg__state { color: #8a8f98; }
.eva.is-paused .wg__dot { background: #b6bcc5; animation: none; }
.eva.is-paused .wg__key--on, .eva.is-paused .wg__btn { background: #1f9d48; }
.eva.is-paused .ls__ring .arc { stroke-dashoffset: 100; }
.eva.is-paused .eva-stage__ring .arc { stroke: #8a8f98; }

/* Tariffs */
.eva-tariff {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  padding-top: clamp(100px, 12vw, 160px);
}
.eva-tariff .display { font-size: clamp(36px, 4.8vw, 60px); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--eva) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.eva-tariff__viz { background: #0b141d; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.viz__title { font-size: 14px; font-weight: 600; color: var(--muted-dark); margin-bottom: 12px; }
.viz__title--zones { margin: 34px 0 30px; }
.day { position: relative; height: 46px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.day__seg, .day__session { position: absolute; left: calc(var(--from) / 24 * 100%); width: calc((var(--to) - var(--from)) / 24 * 100%); }
.day__seg { top: 0; bottom: 0; }
.day__seg--low { background: linear-gradient(180deg, #23a35f, #17713f); }
.day__seg--high { background: linear-gradient(180deg, #2b3c4d, #1e2a37); }
.day__session {
  top: 13px; bottom: 13px; border-radius: 6px; background: var(--eva-2); box-shadow: 0 0 14px rgba(98, 210, 255, .8);
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) .4s;
}
.day__session + .day__session { transition-delay: 1.3s; }
.eva-tariff__viz.in .day__session { transform: scaleX(1); }
.day__ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.day__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--muted-dark); }
.day__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.lg--low { background: #23a35f; } .lg--high { background: #2b3c4d; } .lg--car { background: var(--eva-2); }
.zones { position: relative; display: flex; gap: 4px; height: 58px; }
.zone { flex: var(--w) 1 0; min-width: 0; border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; line-height: 1.15; color: #fff; overflow: hidden; white-space: nowrap; }
.zone b { font-size: 14px; } .zone small { font-size: 11.5px; opacity: .85; }
.zone--g { background: #2f9e5b; } .zone--b { background: #2f6fcf; } .zone--r { background: #cf4238; }
.zones__mark {
  position: absolute; top: -8px; bottom: -8px; left: calc(var(--at) * 1%); width: 2px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 10px #fff;
}
.zones__mark small { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: #fff; }
.viz__note { font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* Bento */
.bento--eva { margin-top: clamp(70px, 9vw, 120px); }
.bento--eva .card__kicker { color: var(--eva-2) !important; }
.bento--eva .card:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(28, 154, 214, .5); }
.card--eva-sessions { display: flex; gap: 28px; align-items: center; height: 340px; padding-bottom: 0; }
.card--eva-sessions > div { flex: 1; }
.card--eva-sessions img {
  width: 36%; max-width: 210px; height: auto; align-self: flex-start; margin-top: 34px; border-radius: 26px;
  box-shadow: 0 -10px 40px -14px rgba(28, 154, 214, .6); transition: transform .8s var(--ease);
}
.card--eva-sessions:hover img { transform: translateY(-12px); }

/* Screens */
.eva-screens {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px);
  max-width: calc(var(--max) + var(--gutter) * 2); margin: clamp(80px, 10vw, 130px) auto 0; padding: 0 var(--gutter);
}
.eva-shot { margin: 0; }
.eva-shot img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(28, 154, 214, .6); }
.eva-shot figcaption { margin-top: 14px; text-align: center; color: var(--muted-dark); font-size: 15px; }

/* Privacy */
.eva-privacy {
  display: flex; align-items: center; gap: 22px; margin: clamp(80px, 10vw, 130px) 0 clamp(110px, 14vw, 180px);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(28, 154, 214, .2), rgba(52, 199, 89, .1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.eva-privacy__ico { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.eva-privacy__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--eva-2); stroke-width: 1.8; stroke-linecap: round; }
.eva-privacy h3 { font-size: clamp(19px, 2vw, 24px); letter-spacing: -.02em; }
.eva-privacy p { color: var(--muted-dark); margin-top: 4px; }
.eva-privacy .link { margin-left: auto; flex: none; color: var(--eva-2); }

@media (max-width: 980px) {
  .eva-boards { grid-template-columns: 1fr 1fr; }
  .eva-board--home { grid-column: 1 / -1; min-height: 0; }
  .eva-board--home .eva-board__widgets { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .eva-tariff { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .eva-boards { grid-template-columns: 1fr; }
  .eva-board { min-height: 0; }
  .eva-board--lock .ls__row { margin-top: 10px; }
  .wg--medium { max-width: none; }
  .eva-phones { width: min(54vw, 33svh); }
  .eva-chip--3, .eva-chip--4 { display: none; }
  .eva-chip { padding: 8px 12px; border-radius: 13px; }
  .eva-chip b { font-size: 17px; }
  .eva-chip small { font-size: 11px; }
  .card--eva-sessions { flex-direction: column; align-items: flex-start; height: 500px; }
  .card--eva-sessions img { width: 64%; align-self: center; margin-top: 4px; }
  .eva-screens {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62vw;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none;
  }
  .eva-screens::-webkit-scrollbar { display: none; }
  .eva-shot { scroll-snap-align: center; }
  .eva-privacy { flex-direction: column; align-items: flex-start; }
  .eva-privacy .link { margin-left: 0; }
}
