/* IAVirtuals — landing page. Uses the tokens and components of base.css. */

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { display: flex; gap: 6px; }
.site-nav__link {
  position: relative; display: block; padding: 10px 16px; border-radius: 10px;
  color: #d5dcf5; text-decoration: none; font-weight: 500; transition: color 0.2s, background-color 0.2s;
}
.site-nav__link:hover { color: #fff; background: rgba(99, 132, 255, 0.08); }
.site-nav__link.is-current { color: #fff; }
.site-nav__link.is-current::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--gradient-text); box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__lang {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 600;
}
.site-header__lang:hover { color: #fff; background: rgba(99, 132, 255, 0.08); }
.site-menu { position: relative; display: none; }
.site-menu__toggle { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); cursor: pointer; }
.site-menu__toggle::-webkit-details-marker { display: none; }
.site-menu__list {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 8px;
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.6);
}
.site-menu__list a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.site-menu__list a:hover { background: var(--surface-hover); }

/* ---------- Hero ---------- */
.hero { padding: clamp(16px, 3vw, 40px) 0 clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(14, 22, 58, 0.6); color: #dbe3ff; font-size: 0.875rem; font-weight: 500;
}
.hero__pill .icon { color: var(--blue-bright); }
.hero__title { margin-top: 22px; font-size: var(--step-hero); line-height: 1.06; max-width: 10.5em; }
.hero__title-end { display: block; padding-bottom: 0.06em; }
.hero__lead { margin-top: 24px; max-width: 32em; color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__play { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; }

.hero__visual { position: relative; }
.hero-scene { position: relative; width: 100%; max-width: 700px; margin-left: auto; aspect-ratio: 1 / 0.9; container-type: inline-size; }
.hero-scene__halo {
  position: absolute; inset: 4% 2% 8% 14%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(59, 108, 246, 0.42), rgba(99, 102, 241, 0.14) 45%, transparent 70%);
  filter: blur(8px);
}
.hero-scene__globe { position: absolute; left: 14%; top: -2%; width: 84%; aspect-ratio: 1; }
.hero-scene__globe canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.hero-scene__globe.is-ready canvas { opacity: 1; }
/* Without WebGL (or before it loads): a glowing sphere drawn in CSS. */
.hero-scene__globe::before {
  content: ''; position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, rgba(96, 165, 250, 0.55), rgba(37, 56, 160, 0.45) 40%, rgba(10, 16, 52, 0.9) 72%);
  box-shadow: 0 0 80px rgba(59, 108, 246, 0.45), inset 0 0 40px rgba(147, 197, 253, 0.3);
  transition: opacity 1s ease;
}
.hero-scene__globe.is-ready::before { opacity: 0; }

/* The phone: plain HTML in CSS 3D, with an example verification screen. */
.phone-stage { position: absolute; left: 24%; top: 1%; width: 38%; height: 98%; }
.phone {
  position: absolute; left: 50%; top: 0; width: 33cqi; aspect-ratio: 9 / 18.6;
  margin-left: -16.5cqi; padding: 0.9cqi; border-radius: 5.4cqi;
  background: linear-gradient(150deg, #8aa6ff 0%, #2f43b8 20%, #121a52 48%, #3448c9 78%, #a487ff 100%);
  box-shadow:
    0 0 0 1px rgba(170, 190, 255, 0.45),
    2.2cqi 2.6cqi 0 -0.5cqi #0e1856,
    0 6cqi 12cqi rgba(16, 32, 140, 0.6),
    0 0 9cqi rgba(80, 110, 255, 0.4);
  transform: perspective(1400px) rotateY(calc(-17deg + var(--tilt-x, 0deg))) rotateX(calc(7deg + var(--tilt-y, 0deg))) rotateZ(3deg);
  transition: transform 0.6s var(--ease-out);
  z-index: 3;
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 4.6cqi;
  padding: 7cqi 2.6cqi 2.6cqi; text-align: center;
  background: radial-gradient(130% 60% at 50% 0%, #1b2766 0%, #0a1033 55%, #060a24 100%);
}
.phone__island { position: absolute; top: 1.6cqi; left: 50%; width: 9cqi; height: 2.4cqi; margin-left: -4.5cqi; border-radius: 99px; background: #02040f; }
.phone__example { position: absolute; top: 1.7cqi; right: 2.6cqi; font-size: 1.5cqi; color: var(--faint); }
.phone__bolt { display: grid; place-items: center; width: 7cqi; height: 7cqi; margin: 1cqi auto 0; color: #a5b8ff; filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.9)); }
.phone__bolt .icon { width: 5cqi; height: 5cqi; }
.phone__title { margin-top: 2cqi; font: 600 2.7cqi / 1.2 var(--font-display); }
.phone__sub { margin-top: 1cqi; font-size: 1.8cqi; color: var(--muted); }
.phone__digits { display: flex; justify-content: center; gap: 1cqi; margin-top: 2.6cqi; }
.phone__digits span {
  display: grid; place-items: center; width: 3.9cqi; height: 5.4cqi; border-radius: 1.2cqi;
  background: rgba(99, 132, 255, 0.12); border: 1px solid rgba(126, 156, 255, 0.35);
  font: 600 2.8cqi / 1 var(--font-text); color: #fff;
}
.phone__expires { margin-top: 2.4cqi; font-size: 1.7cqi; color: var(--faint); }
.phone__sms {
  margin-top: 4cqi; padding: 2cqi; border-radius: 2.4cqi; text-align: left;
  background: rgba(20, 30, 80, 0.85); border: 1px solid var(--border); font-size: 1.75cqi; line-height: 1.4; color: #dbe3ff;
}
.phone__from { display: flex; align-items: center; gap: 0.8cqi; color: var(--muted); margin-bottom: 0.8cqi; }
.phone__from .icon { width: 1.9cqi; height: 1.9cqi; }
.phone__time { margin-top: 0.8cqi; color: var(--faint); }

.pedestal { position: absolute; left: 50%; bottom: 3%; width: 56cqi; height: 13cqi; margin-left: -28cqi; z-index: 2; }
.pedestal::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(96, 140, 255, 0.55), rgba(30, 50, 160, 0.5) 45%, rgba(8, 12, 40, 0.95) 72%);
  box-shadow: 0 0 6cqi rgba(70, 110, 255, 0.55), inset 0 -1cqi 2cqi rgba(0, 0, 0, 0.5);
}
.pedestal__ring { position: absolute; inset: 12% 8% 22%; border-radius: 50%; border: 2px solid rgba(150, 180, 255, 0.75); box-shadow: 0 0 18px rgba(99, 140, 255, 0.9), inset 0 0 12px rgba(99, 140, 255, 0.7); }

/* Floating flags, app tiles and a glass cube: decoration only. */
.float-flag, .float-tile, .cube { position: absolute; z-index: 4; translate: var(--px, 0) var(--py, 0); transition: translate 0.8s var(--ease-out); }
.float-flag {
  width: 7.2cqi; aspect-ratio: 1; padding: 0.5cqi; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 3cqi rgba(99, 132, 255, 0.55);
}
.float-flag img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.float-flag--1 { left: 22%; top: 4%; }
.float-flag--2 { left: 62%; top: 1%; }
.float-flag--3 { left: 26%; top: 84%; }
.float-flag--4 { left: 17%; top: 67%; }
.float-flag--5 { left: 9%; top: 47%; }
.float-flag--6 { left: 61%; top: 84%; }
.float-tile {
  display: grid; place-items: center; width: 10cqi; aspect-ratio: 1; border-radius: 2.6cqi; color: #fff;
  box-shadow: 0 1.6cqi 4cqi rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.float-tile .icon { width: 5cqi; height: 5cqi; }
.float-tile--chat { left: 3%; top: 14%; background: linear-gradient(145deg, #34d399, #0e9f6e); }
.float-tile--send { left: 0%; top: 34%; background: linear-gradient(145deg, #60a5fa, #2563eb); }
.cube { right: 3%; bottom: 3%; width: 8cqi; height: 8cqi; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(38deg); }
.cube__face { position: absolute; inset: 0; border: 1px solid rgba(165, 190, 255, 0.75); background: rgba(80, 120, 255, 0.16); box-shadow: inset 0 0 2cqi rgba(120, 160, 255, 0.35); }
.cube__face--front { transform: translateZ(4cqi); }
.cube__face--back { transform: rotateY(180deg) translateZ(4cqi); }
.cube__face--left { transform: rotateY(-90deg) translateZ(4cqi); }
.cube__face--right { transform: rotateY(90deg) translateZ(4cqi); }
.cube__face--top { transform: rotateX(90deg) translateZ(4cqi); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(4cqi); }

.hero-card { position: absolute; right: -2%; top: 20%; width: min(270px, 42%); padding: 8px 18px; z-index: 5; }
.hero-card__row { display: flex; gap: 14px; align-items: center; padding: 16px 0; }
.hero-card__row + .hero-card__row { border-top: 1px solid var(--border); }
.hero-card__title { font-weight: 600; }
.hero-card__text { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }

.hero__features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.feature { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; color: var(--muted); }
.feature strong { display: block; color: var(--text); font-size: 0.9375rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 48px); }
.section__head h2, .about h2, .faq__title { font-size: var(--step-h2); }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 1.125rem; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.3s, transform 0.3s var(--ease-out); }
.product:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.product__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.product h3 { font-size: var(--step-h3); }
.product p { color: var(--muted); }
.product__list { display: grid; gap: 10px; margin: 8px 0 12px; }
.product__list li { display: flex; gap: 10px; align-items: flex-start; }
.product__list .icon { color: var(--cyan); margin-top: 3px; }

.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; padding: clamp(24px, 4vw, 48px); align-items: center; }
.steps__label { color: var(--blue-bright); font-weight: 600; font-size: 0.9375rem; }
.steps__clause { margin-top: 10px; font-size: var(--step-h2); min-height: 2.25em; transition: opacity 0.2s ease; }
.steps__control { margin-top: 32px; }
.steps__rail { position: relative; }
.steps__track { position: absolute; left: 0; right: 0; top: 16px; height: 8px; border-radius: 999px; background: rgba(99, 132, 255, 0.15); }
.steps__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(16px + (100% - 32px) * var(--fill, 0)); border-radius: 999px; background: var(--gradient); transition: width 0.3s var(--ease-out); }
.steps__range { position: relative; display: block; width: 100%; height: 40px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.steps__range::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.steps__range::-moz-range-track { height: 8px; background: transparent; }
.steps__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.45), 0 0 18px rgba(129, 140, 248, 0.9); }
.steps__range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.45), 0 0 18px rgba(129, 140, 248, 0.9); }
.steps__names { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; color: var(--faint); font-size: 0.9375rem; cursor: pointer; }
.steps__names li:nth-child(2), .steps__names li:nth-child(3) { text-align: center; }
.steps__names li:last-child { text-align: right; }
.steps__names [aria-current] { color: var(--text); }
.steps__ui {
  display: grid; gap: 20px; justify-items: center; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 30%, rgba(59, 108, 246, 0.22), transparent 70%), rgba(5, 8, 22, 0.55);
  border: 1px solid var(--border);
}
.steps__fragment { width: min(400px, 100%); transition: opacity 0.25s ease, transform 0.35s var(--ease-out); }
.ui-ready .steps__ui { gap: 0; }
.ui-ready .steps__fragment { grid-area: 1 / 1; }
.ui-ready .steps__fragment:not(.is-current) { opacity: 0; transform: translateY(12px); visibility: hidden; }

/* Product screens shown on the page (examples, marked as such). */
.ui-card { background: #0a1030; border: 1px solid var(--border-strong); border-radius: 20px; padding: 20px 22px; font-size: 0.9375rem; box-shadow: 0 20px 50px rgba(2, 6, 23, 0.5); }
.ui-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ui-card__title { font-weight: 600; }
.ui-meta { color: var(--faint); font-size: 0.8125rem; }
.ui-sub { display: block; color: var(--faint); font-size: 0.8125rem; font-weight: 400; }
.ui-positive { color: var(--success); }
.order__service { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.order__number { margin-top: 8px; font: 600 1.75rem / 1.1 var(--font-text); letter-spacing: -0.01em; }
.order__status { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.order__sms { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--border); }
.order__text { color: var(--muted); font-size: 0.875rem; }
.order__code { margin-top: 6px; font: 700 1.75rem / 1 var(--font-text); letter-spacing: 0.08em; }
.order[data-state='waiting'] [data-when='received'], .order[data-state='received'] [data-when='waiting'] { display: none; }
.wallet__balance { font: 700 1.75rem / 1.1 var(--font-text); margin: 2px 0 12px; }
.wallet__unit { font-size: 0.55em; color: var(--muted); }
.picker__app { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.picker__row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; }
.picker__row.is-selected { background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--border-strong); }
.picker__country { flex: 1; }

.rules { margin-top: clamp(48px, 6vw, 72px); }
.rules__title { font-size: var(--step-h3); margin-bottom: 20px; }
.rules__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rule { padding: 22px; }
.rule h4 { margin-top: 16px; font: 600 1.0625rem / 1.3 var(--font-display); }
.rule p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Pricing ---------- */
.prices__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.prices__names { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.prices__name {
  position: relative; padding: 6px 0 6px 28px; border: 0; background: none; text-align: left;
  font: 700 clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem) / 1.15 var(--font-display); letter-spacing: -0.02em;
  color: rgba(163, 174, 211, 0.55); transition: color 0.25s ease;
}
.prices__name::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--gradient); box-shadow: 0 0 14px rgba(129, 140, 248, 0.9); opacity: 0; transform: scale(0.5);
  transition: opacity 0.25s, transform 0.3s var(--ease-out);
}
.prices__name:hover { color: var(--text); }
.prices__name[aria-pressed='true'] { color: var(--text); }
.prices__name[aria-pressed='true']::before { opacity: 1; transform: scale(1); }
.prices__stage { padding: clamp(20px, 3vw, 32px); position: sticky; top: 24px; transition: opacity 0.2s ease; }
.prices__stage.is-swapping { opacity: 0.35; }
.prices__figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prices__from, .prices__unit { color: var(--muted); font-weight: 500; }
.prices__amount { font: 700 clamp(3rem, 2rem + 4vw, 5rem) / 1 var(--font-display); letter-spacing: -0.03em; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prices__per { color: var(--faint); font-size: 0.9375rem; }
.prices__line { margin-top: 18px; }
.prices__table { margin-top: 18px; overflow-x: auto; }
.country-cell { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.prices__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.js .prices__table[data-collapsed] tr[data-extra] { display: none; }

/* ---------- Apps band ---------- */
.apps { padding: 8px 0 clamp(48px, 6vw, 80px); }
.apps__band {
  display: flex; overflow: hidden; padding: 22px 0;
  background: linear-gradient(90deg, rgba(59, 108, 246, 0.16), rgba(168, 85, 247, 0.16));
  border-block: 1px solid var(--border);
}
.apps__track { flex: none; display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 700 clamp(1.75rem, 1.2rem + 2vw, 3rem) / 1 var(--font-display); color: rgba(226, 232, 255, 0.85); animation: marquee 50s linear infinite; }
.apps__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 12px rgba(129, 140, 248, 0.9); flex: none; }
.apps__note { margin-top: 20px; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__lead { margin-top: 20px; font-size: 1.25rem; color: #dbe3ff; }
.about__text p + p { margin-top: 16px; color: var(--muted); }
.about__photos { position: relative; aspect-ratio: 790 / 700; }
.disc-photo { position: absolute; }
.disc-photo figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--faint); }
.disc-photo__frame { border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 2px rgba(126, 156, 255, 0.45), 0 0 40px rgba(59, 108, 246, 0.35); }
.disc-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.05); transition: filter 0.5s ease, transform 0.8s var(--ease-out); }
.disc-photo:hover img { filter: none; transform: scale(1.04); }
.disc-photo--large { left: 0; top: 0; width: 62%; }
.disc-photo--large img { object-position: 72% 50%; }
.disc-photo--medium { right: 0; bottom: 0; width: 38%; }
.disc-photo--medium img { object-position: 55% 60%; }
.disc-photo--small { right: 5%; top: 2%; width: 24%; }
.disc-photo--small img { object-position: 74% 50%; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq__title { position: sticky; top: 32px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.25s, background-color 0.25s; }
.faq__item[open] { border-color: var(--border-strong); background: linear-gradient(180deg, rgba(37, 56, 140, 0.45), rgba(17, 26, 62, 0.6)); }
.faq__question { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; font-weight: 600; }
.faq__question::-webkit-details-marker { display: none; }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; color: var(--blue-bright); }
.faq__sign::before, .faq__sign::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); max-width: 60ch; }

/* ---------- Call to action ---------- */
.start { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.start::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 65%); pointer-events: none; }
.start__title { font-size: var(--step-h2); position: relative; }
.start__body { margin: 16px 0 28px; color: var(--muted); max-width: 32em; position: relative; }
.start__form { position: relative; padding: 24px; border-radius: var(--radius-lg); background: rgba(5, 8, 22, 0.65); border: 1px solid var(--border-strong); }
.start__form-title { font-size: 1.125rem; margin-bottom: 18px; }
.segmented { border: 0; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.segmented legend { grid-column: 1 / -1; margin-bottom: 8px; padding: 0; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 0.9375rem; cursor: pointer; text-align: center; transition: background-color 0.2s, border-color 0.2s; }
.segmented input:checked + label { background: var(--gradient-soft); border-color: var(--blue-bright); color: #fff; }
.segmented input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }
.start__form .alert { margin-top: 14px; }
.start__form .btn { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(5, 8, 22, 0.6); padding: 56px 0 28px; margin-top: 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.6fr; gap: 32px; }
.site-footer__brand p { margin-top: 14px; color: var(--muted); max-width: 26em; }
.site-footer__heading { font: 600 0.9375rem / 1.4 var(--font-text); color: var(--text); margin-bottom: 14px; }
.site-footer__list { display: grid; gap: 8px; font-size: 0.9375rem; color: var(--muted); }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { color: #fff; }
.site-footer__credits .site-footer__list { font-size: 0.8125rem; }
.site-footer__credits a { text-decoration: underline; text-decoration-color: rgba(126, 156, 255, 0.4); }
.site-footer__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--faint); font-size: 0.875rem; }
.icon--up { transform: rotate(-90deg); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: rise 0.9s var(--ease-out) both; }
  .hero__title[data-enter] { animation-delay: 0.06s; }
  .hero__lead[data-enter] { animation-delay: 0.12s; }
  .hero__actions[data-enter] { animation-delay: 0.18s; }
  .float-flag, .float-tile { animation: float-y 6s ease-in-out infinite; }
  .float-flag--2, .float-tile--send { animation-delay: -1.5s; }
  .float-flag--3 { animation-delay: -3s; }
  .float-flag--4 { animation-delay: -4.5s; }
  .float-flag--5 { animation-delay: -2.2s; }
  .float-flag--6 { animation-delay: -3.7s; }
  .cube { animation: cube-turn 16s linear infinite; }
  .phone { animation: phone-float 7s ease-in-out infinite; }
  .pedestal__ring { animation: ring-glow 3.5s ease-in-out infinite; }
}
@keyframes cube-turn { to { transform: rotateX(-24deg) rotateY(398deg); } }
@keyframes phone-float { 50% { translate: 0 -1.4cqi; } }
@keyframes ring-glow { 50% { box-shadow: 0 0 30px rgba(129, 160, 255, 1), inset 0 0 18px rgba(129, 160, 255, 0.9); } }
@media (prefers-reduced-motion: reduce) { .apps__track { animation: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { text-align: left; }
  .hero-scene { margin: 8px auto 0; max-width: 640px; }
  .hero-card { position: relative; right: auto; top: auto; width: 100%; max-width: 640px; margin: 12px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; padding: 4px 18px; }
  .hero-card__row + .hero-card__row { border-top: 0; }
  .hero__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-menu { display: block; }
  .site-header__actions { margin-left: auto; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  .site-header__bar { min-height: 72px; gap: 12px; }
  .site-header__actions { gap: 8px; }
  .site-header__login { display: none; }
  .logo__tag { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card__row + .hero-card__row { border-top: 1px solid var(--border); }
  .hero__features { grid-template-columns: 1fr; gap: 14px; }
  .products, .rules__grid { grid-template-columns: 1fr; }
  .steps__names { grid-template-columns: 1fr 1fr; gap: 6px; }
  .steps__names li:nth-child(n) { text-align: left; }
  .prices__layout { grid-template-columns: 1fr; }
  .prices__names { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .prices__name { padding: 8px 14px; font-size: 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
  .prices__name::before { display: none; }
  .prices__name[aria-pressed='true'] { background: var(--gradient); color: #fff; border-color: transparent; }
  .prices__stage { position: static; }
  .about, .faq, .start { grid-template-columns: 1fr; }
  .faq__title { position: static; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__last { flex-direction: column; align-items: flex-start; }
}
/* Small phones: the header keeps the logo, the language and the menu (which holds the account links). */
@media (max-width: 480px) {
  .site-header__actions > .btn { display: none; }
}
