/* =========================================================
   InOneGo — Our Subbrands
   Foundation: InOneGo identity (navy #040021, green #32a756,
   yellow #ffc400, blue, red; Roboto). Brand zones use each
   subbrand's own palette.
   ========================================================= */

:root {
  /* InOneGo */
  --ink: #040021;
  --ink-2: #211f33;
  --muted: #5b6275;
  --soft: #8f98a8;
  --bg: #f7f7fb;
  --surface: #ffffff;
  --line: rgba(4, 0, 33, 0.08);
  --line-2: rgba(4, 0, 33, 0.14);
  --green: #32a756;
  --green-deep: #238a3f;
  --yellow: #ffc400;
  --blue: #2f4ea2;
  --red: #d91c23;

  /* Digiencer */
  --digi: #f5141e;
  --digi-deep: #d80d16;
  --digi-pink: #fe2c55;
  --digi-ink: #161616;

  /* AdsTube */
  --ads: #e31b23;
  --ads-deep: #cf141c;
  --ads-hot: #ff0763;
  --ads-night: #09090d;

  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(4, 0, 33, 0.06);
  --shadow-md: 0 18px 40px -12px rgba(4, 0, 33, 0.16);
  --shadow-lg: 0 40px 80px -24px rgba(4, 0, 33, 0.28);
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 36px);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-deep);
  --btn-fg: #fff;
  --btn-bg-hover: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn > span[aria-hidden="true"],
.btn__icon { transition: transform 0.35s var(--ease); }
.btn:hover > span[aria-hidden="true"],
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:hover .btn__icon--down { transform: translateY(3px); }

.btn__icon {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--digi { --btn-bg: var(--digi-deep); --btn-bg-hover: var(--digi-ink); }
.btn--ads { --btn-bg: var(--ads-deep); --btn-bg-hover: #fff; }
.btn--ads:hover { color: var(--ads-night); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bg-hover: var(--yellow); }

/* ---------- Eyebrow & section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--center { display: flex; width: max-content; margin-inline: auto; padding-left: 14px; }
.eyebrow__dots { display: inline-flex; gap: 4px; }
.eyebrow__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.eyebrow__dots i:nth-child(2) { background: var(--yellow); }
.eyebrow__dots i:nth-child(3) { background: var(--blue); }
.eyebrow__dots i:nth-child(4) { background: var(--red); }

.section-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}
.section-lead {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  text-align: center;
  text-wrap: pretty;
}

.text-gradient {
  background: linear-gradient(92deg, var(--green) 0%, var(--blue) 55%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.topbar__info span { color: rgba(255, 255, 255, 0.5); margin-right: 2px; }
.topbar a { transition: color 0.25s; }
.topbar a:hover { color: var(--yellow); }

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background-color 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}
.social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social--top { gap: 4px; }
.social--top a { width: 30px; height: 30px; border: 0; color: rgba(255, 255, 255, 0.72); }
.social--top a:hover { background: transparent; color: var(--yellow); transform: none; }
.social--top svg { width: 15px; height: 15px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s;
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(4, 0, 33, 0.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
}
.nav__logo img { width: auto; height: 50px; }
.nav__menu { margin-left: auto; }
.nav__links { display: flex; gap: clamp(22px, 2.6vw, 38px); }
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 30px 0;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green) 0 25%, var(--yellow) 25% 50%, var(--blue) 50% 75%, var(--red) 75%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--green-deep); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--green-deep); }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 29px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 50px -20px rgba(4, 0, 33, 0.3);
  padding: 8px clamp(16px, 4vw, 36px) 24px;
  animation: menuDrop 0.35s var(--ease);
}
.mobile-menu li a {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-menu li a.is-active { color: var(--green-deep); }
.mobile-menu .btn { margin-top: 20px; }

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 84px) clamp(64px, 8vw, 110px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--green { background: var(--green); top: -140px; left: -120px; }
.blob--yellow { background: var(--yellow); top: -60px; right: 18%; opacity: 0.22; animation-delay: -4s; }
.blob--blue { background: var(--blue); bottom: -180px; right: -80px; opacity: 0.22; animation-delay: -8s; }
.blob--red { background: var(--red); bottom: -120px; left: 36%; opacity: 0.14; animation-delay: -12s; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(4, 0, 33, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 0, 33, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 45%, #000 20%, transparent 75%);
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero__lead {
  max-width: 540px;
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 36px;
}
.hero__brands { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__brands a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.hero__brands img { width: 26px; height: 26px; object-fit: contain; }
.hero__brands a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

/* Ecosystem diagram */
.eco { width: 100%; max-width: 540px; justify-self: center; }
.eco__stage {
  position: relative;
  aspect-ratio: 520 / 460;
  container-type: inline-size;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 0.6s var(--ease);
}
.eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco__orbit { fill: none; stroke: rgba(4, 0, 33, 0.12); stroke-width: 1.2; stroke-dasharray: 2 7; }
.eco__orbit--2 { stroke: rgba(4, 0, 33, 0.07); stroke-dasharray: none; }
.eco__path { fill: none; stroke-width: 3; stroke-linecap: round; }
.eco__path--dash {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.6;
  stroke-dasharray: 3 11;
  animation: flow 1.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -28; } }
.eco__pulse--digi { fill: var(--digi); filter: drop-shadow(0 0 6px rgba(245, 20, 30, 0.8)); }
.eco__pulse--ads { fill: var(--ads); filter: drop-shadow(0 0 6px rgba(227, 27, 35, 0.8)); }
.eco__sats {
  transform-box: view-box;
  transform-origin: 260px 118px;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eco__node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
}
.eco__node--parent {
  left: 50%; top: 25.65%;
  width: 31cqw;
  padding: 3.2cqw 3.4cqw 2.8cqw;
  border-radius: 5cqw;
  box-shadow: 0 30px 60px -20px rgba(4, 0, 33, 0.3), 0 0 0 1.4cqw rgba(255, 255, 255, 0.6);
  animation: bob 6s ease-in-out infinite;
}
.eco__node--parent img { width: 100%; }
.eco__tag {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -55%);
  padding: 0.5cqw 1.8cqw;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(9px, 2cqw, 11px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eco__node--child {
  top: 71.7%;
  width: 30cqw;
  padding: 2.6cqw 2cqw 2.4cqw;
  border-radius: 4.6cqw;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.eco__node--digi { left: 24.6%; border-top: 3px solid var(--digi); }
.eco__node--ads { left: 75.4%; border-top: 3px solid var(--ads); }
.eco__node--child img { height: 9cqw; width: auto; margin-bottom: 1.4cqw; }
.eco__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12px, 3.6cqw, 18px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.eco__meta {
  margin-top: 0.4cqw;
  font-size: clamp(9.5px, 2.4cqw, 12.5px);
  color: var(--muted);
  line-height: 1.3;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 6px)); }
}

/* ---------- Intro ---------- */
.intro { padding-block: clamp(72px, 9vw, 120px) clamp(24px, 3vw, 40px); }
.intro__inner { display: flex; flex-direction: column; align-items: center; }

.tree { position: relative; width: min(52%, 560px); height: 64px; margin-top: 40px; }
.tree__stem {
  position: absolute;
  left: 50%; top: 0;
  width: 2px; height: 30px;
  transform: translateX(-50%);
  background: linear-gradient(var(--green), var(--blue));
}
.tree__branch {
  position: absolute;
  left: 0; right: 0; top: 30px; bottom: 0;
  border: 2px solid transparent;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, var(--digi), var(--blue) 50%, var(--ads)) border-box;
}

.index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 960px;
}
.index__item {
  --accent: var(--digi);
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.index__item--ads { --accent: var(--ads); }
.index__item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 24px 40px -20px color-mix(in srgb, var(--accent) 45%, transparent);
}
.index__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--soft); }
.index__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}
.index__logo img { width: 30px; height: 30px; object-fit: contain; }
.index__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.index__text strong { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; }
.index__text small { font-size: 14px; color: var(--muted); }
.index__arrow {
  flex: none;
  margin-left: auto;
  width: 22px; height: 22px;
  fill: none; stroke: var(--accent);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.index__item:hover .index__arrow { transform: translateY(4px); }

/* ---------- Brand showcases (shared) ---------- */
.brand { position: relative; padding-block: clamp(72px, 9vw, 128px); overflow: hidden; }

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.showcase--reverse .showcase__visual { order: -1; }

.brand__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text, var(--digi-deep));
}
.brand__kicker span {
  display: grid;
  place-items: center;
  min-width: 34px; height: 26px;
  padding-inline: 8px;
  border-radius: 999px;
  background: var(--accent-bg, rgba(245, 20, 30, 0.1));
  letter-spacing: 0.02em;
}

.brand__head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: 26px;
}
.logo-plate {
  flex: none;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.logo-plate--digi { width: 104px; height: 104px; padding: 14px; }
.logo-plate--digi img { max-height: 76px; width: auto; }
.logo-plate--ads { width: 172px; height: 88px; padding: 10px 14px; }
.logo-plate--ads img { width: 100%; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.brand__tagline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--digi-deep);
}
.brand__desc {
  margin-top: 26px;
  max-width: 560px;
  font-size: clamp(16px, 1.5vw, 17.5px);
  color: var(--muted);
  text-wrap: pretty;
}

.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--check, var(--digi)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.focus { margin-top: 30px; }
.focus__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s, background-color 0.3s;
}
.chips li:hover { transform: translateY(-2px); }

.showcase__content > .btn { margin-top: 34px; }

.showcase__visual { position: relative; }

/* Shared floating card */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  padding: 2.2cqw 2.6cqw;
  border-radius: 3.6cqw;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(4, 0, 33, 0.06);
  box-shadow: 0 24px 50px -18px rgba(4, 0, 33, 0.3);
  font-size: clamp(10px, 2.5cqw, 13.5px);
  animation: floaty 7s ease-in-out infinite;
}
.fc-label {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.fc-label svg {
  width: 1.3em; height: 1.3em;
  flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

[data-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
}

/* ---------- Digiencer ---------- */
.brand--digi {
  background:
    radial-gradient(60% 50% at 100% 30%, rgba(254, 44, 85, 0.1), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(245, 20, 30, 0.06), transparent 70%),
    var(--surface);
}
.brand--digi .chips li:hover { border-color: var(--digi); color: var(--digi-deep); background: rgba(245, 20, 30, 0.04); }

.digi-art {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  aspect-ratio: 1 / 1.04;
  container-type: inline-size;
}
.digi-art::before {
  content: "";
  position: absolute;
  inset: 13% 12%;
  border-radius: 12cqw;
  background: linear-gradient(145deg, #ff3a42 0%, var(--digi) 45%, #9d0008 100%);
  transform: rotate(-8deg);
  box-shadow: 0 40px 80px -30px rgba(245, 20, 30, 0.6);
}
.digi-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 22, 22, 0.16) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  z-index: -1;
}
.digi-art__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 92cqw; height: 92cqw;
  border-radius: 50%;
  border: 1.5px dashed rgba(22, 22, 22, 0.14);
  transform: translate(-50%, -50%);
  animation: spinCenter 60s linear infinite;
}
.digi-art__ring--2 { width: 70cqw; height: 70cqw; border-style: solid; border-color: rgba(255, 255, 255, 0.28); animation-direction: reverse; animation-duration: 40s; z-index: 1; }
@keyframes spinCenter { to { transform: translate(-50%, -50%) rotate(360deg); } }

.phone {
  position: absolute;
  z-index: 2;
  left: 50%; top: 50%;
  width: 42cqw;
  aspect-ratio: 9 / 18;
  padding: 1.5cqw;
  border-radius: 7.5cqw;
  background: #111;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%) rotate(4deg);
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 6cqw;
  background: linear-gradient(170deg, #ff4d55 0%, #e0000b 42%, #420006 80%, #150002 100%);
}
.phone__stories {
  position: absolute;
  z-index: 2;
  top: 3cqw; left: 3cqw; right: 3cqw;
  display: flex;
  gap: 1cqw;
}
.phone__stories i {
  position: relative;
  flex: 1;
  height: 0.7cqw;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.phone__stories i.done { background: #fff; }
.phone__stories i.live::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: story 5s linear infinite;
}
@keyframes story { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.phone__scene { position: absolute; inset: 0; }
.scene-shape { position: absolute; border-radius: 50%; }
.scene-shape--a {
  width: 34cqw; height: 34cqw;
  left: -8cqw; top: 10cqw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  animation: floaty 6s ease-in-out infinite;
}
.scene-shape--b {
  width: 22cqw; height: 22cqw;
  right: -6cqw; top: 28cqw;
  border: 1.2cqw solid rgba(255, 255, 255, 0.22);
  animation: floaty 8s ease-in-out infinite reverse;
}
.scene-shape--c {
  width: 12cqw; height: 12cqw;
  left: 5cqw; bottom: 22cqw;
  border-radius: 3cqw;
  background: rgba(22, 22, 22, 0.35);
  transform: rotate(18deg);
}
.phone__mark {
  position: absolute;
  left: 50%; top: 42%;
  width: 15cqw;
  padding: 2cqw 2.4cqw;
  border-radius: 4cqw;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.phone__rail {
  position: absolute;
  z-index: 2;
  right: 2.4cqw; bottom: 13cqw;
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
}
.rail-btn {
  display: grid;
  place-items: center;
  width: 6.6cqw; height: 6.6cqw;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.rail-btn svg {
  width: 3.6cqw; height: 3.6cqw;
  fill: none; stroke: #fff;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.rail-btn--heart svg { fill: #fff; stroke: none; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat {
  0%, 60%, 100% { transform: scale(1); }
  20% { transform: scale(1.25); }
  40% { transform: scale(0.95); }
}
.phone__creator {
  position: absolute;
  z-index: 2;
  left: 3cqw; right: 12cqw; bottom: 4cqw;
  display: flex;
  align-items: center;
  gap: 1.8cqw;
}
.avatar {
  flex: none;
  width: 6.6cqw; height: 6.6cqw;
  border-radius: 50%;
  border: 0.5cqw solid #fff;
  background: linear-gradient(135deg, #ffd1d4, #fe2c55);
}
.lines { flex: 1; display: grid; gap: 1cqw; }
.lines i { height: 1cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.85); }
.lines i:last-child { width: 60%; background: rgba(255, 255, 255, 0.45); }

.float-heart {
  position: absolute;
  z-index: 2;
  right: 3.6cqw; bottom: 34cqw;
  width: 4cqw; height: 4cqw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.8 4.5c2.1 0 3.6 1.2 4.4 2.5.8-1.3 2.3-2.5 4.4-2.5 3.8 0 5.9 3.9 4.4 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  animation: heartRise 3.2s ease-out infinite;
}
.float-heart--2 { right: 6cqw; animation-delay: 1.4s; width: 3cqw; height: 3cqw; }
@keyframes heartRise {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-3cqw, -22cqw) scale(1.1); }
}

.fc-calendar { top: 6%; left: 0; width: 36cqw; color: var(--digi-ink); }
.fc-calendar .fc-label svg { color: var(--digi); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.9cqw; }
.cal i { aspect-ratio: 1; border-radius: 0.9cqw; background: #f1f1f3; }
.cal i.on { background: var(--digi); animation: calPulse 3s ease-in-out infinite; }
.cal i.on:nth-child(3n) { background: var(--digi-ink); animation-delay: 0.8s; }
.cal i.on:nth-child(4n) { animation-delay: 1.6s; }
@keyframes calPulse { 50% { opacity: 0.45; } }

.fc-match {
  top: 17%; right: 0;
  flex-direction: row;
  align-items: center;
  gap: 1.8cqw;
  animation-delay: -2s;
}
.stack { display: flex; }
.stack i {
  width: 6cqw; height: 6cqw;
  border-radius: 50%;
  border: 0.5cqw solid #fff;
  background: linear-gradient(135deg, #ffb3b8, var(--digi));
}
.stack i + i { margin-left: -2.2cqw; }
.stack i:nth-child(2) { background: linear-gradient(135deg, #444, var(--digi-ink)); }
.stack i:nth-child(3) { background: linear-gradient(135deg, #ffd6e0, var(--digi-pink)); }

.fc-track { bottom: 8%; right: 0; width: 40cqw; animation-delay: -4s; }
.fc-track .fc-label svg { color: var(--digi); }
.spark { width: 100%; height: 11cqw; overflow: visible; }
.spark__area { fill: rgba(245, 20, 30, 0.12); }
.spark__line {
  fill: none;
  stroke: var(--digi);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  vector-effect: non-scaling-stroke;
  animation: draw 4s var(--ease) infinite;
}
@keyframes draw {
  0% { stroke-dashoffset: 220; }
  45%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.fc-shoot {
  bottom: 22%; left: 1%;
  flex-direction: row;
  align-items: center;
  gap: 1.6cqw;
  background: var(--digi-ink);
  color: #fff;
  animation-delay: -1s;
}
.rec {
  width: 2.4cqw; height: 2.4cqw;
  min-width: 8px; min-height: 8px;
  border-radius: 50%;
  background: var(--digi);
  box-shadow: 0 0 0 0 rgba(245, 20, 30, 0.7);
  animation: rec 1.6s ease-out infinite;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(245, 20, 30, 0.7); }
  100% { box-shadow: 0 0 0 2.4cqw rgba(245, 20, 30, 0); }
}

/* ---------- AdsTube ---------- */
.brand--ads {
  --accent-text: #ff5a60;
  --accent-bg: rgba(227, 27, 35, 0.18);
  --check: var(--ads);
  background: var(--ads-night);
  color: #fff;
}
.brand--ads__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 15% 40%, rgba(227, 27, 35, 0.28), transparent 70%),
    radial-gradient(35% 40% at 95% 90%, rgba(255, 7, 99, 0.14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 64px;
}
.brand--ads .logo-plate { border-color: transparent; box-shadow: 0 20px 50px -20px rgba(227, 27, 35, 0.6); }
.brand--ads .brand__tagline { color: #fff; }
.brand--ads .brand__tagline em { font-style: normal; color: #ff4b52; }
.brand--ads .brand__desc { color: rgba(255, 255, 255, 0.7); }
.brand--ads .checks li { color: rgba(255, 255, 255, 0.9); }
.brand--ads .focus__title { color: rgba(255, 255, 255, 0.5); }
.brand--ads .chips li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
}
.brand--ads .chips li:hover { border-color: var(--ads); background: rgba(227, 27, 35, 0.14); color: #fff; }
.brand--ads :focus-visible { outline-color: #fff; }

.ads-art {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 1 / 0.96;
  container-type: inline-size;
}
.player {
  position: absolute;
  z-index: 2;
  top: 10cqw; left: 4cqw; right: 4cqw;
  overflow: hidden;
  border-radius: 3.2cqw;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 90px -30px rgba(227, 27, 35, 0.45), 0 0 0 1.6cqw rgba(255, 255, 255, 0.03);
}
.player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, #ff4148 0, #a50b14 26%, #2b050a 58%, #0a0306 85%);
}
.beam {
  position: absolute;
  top: -40%;
  width: 18cqw; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(24deg);
  animation: beam 7s ease-in-out infinite;
}
.beam--1 { left: 20%; }
.beam--2 { left: 58%; width: 9cqw; animation-delay: -3.5s; }
@keyframes beam {
  0%, 100% { transform: translateX(-10cqw) rotate(24deg); opacity: 0.5; }
  50% { transform: translateX(10cqw) rotate(24deg); opacity: 1; }
}
.player__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.6));
}
.player__badge {
  position: absolute;
  top: 3cqw; left: 3cqw;
  padding: 0.3cqw 1.4cqw;
  border-radius: 0.8cqw;
  background: #ffc107;
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(9px, 2.2cqw, 12px);
  font-weight: 700;
}
.player__skip {
  position: absolute;
  right: 3cqw; bottom: 3cqw;
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 1cqw 2cqw;
  border-radius: 0.8cqw;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: clamp(9px, 2.3cqw, 12.5px);
  font-weight: 600;
  animation: skip 8s ease-in-out infinite;
}
.player__skip svg { width: 1.2em; height: 1.2em; fill: #fff; stroke: #fff; stroke-width: 1.5; }
@keyframes skip {
  0%, 30% { opacity: 0; transform: translateY(6px); }
  38%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
.player__play {
  position: absolute;
  left: 50%; top: 50%;
  display: grid;
  place-items: center;
  width: 16cqw; height: 16cqw;
  border-radius: 50%;
  background: var(--ads);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.6);
  animation: playPulse 2.4s ease-out infinite;
}
.player__play svg { width: 45%; height: 45%; margin-left: 8%; fill: #fff; }
@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.6), 0 20px 40px -10px rgba(0, 0, 0, 0.6); }
  100% { box-shadow: 0 0 0 5cqw rgba(227, 27, 35, 0), 0 20px 40px -10px rgba(0, 0, 0, 0.6); }
}
.player__bar { padding: 1.8cqw 2.6cqw 2cqw; background: #0f0f14; }
.player__track {
  position: relative;
  display: block;
  height: 0.8cqw;
  min-height: 3px;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.16);
}
.player__buffer { position: absolute; inset: 0 30% 0 0; border-radius: inherit; background: rgba(255, 255, 255, 0.24); }
.player__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--ads);
  animation: progress 8s linear infinite;
}
.player__fill::after {
  content: "";
  position: absolute;
  right: -1.2cqw; top: 50%;
  width: 2.4cqw; height: 2.4cqw;
  min-width: 9px; min-height: 9px;
  border-radius: 50%;
  background: var(--ads);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0.6cqw rgba(227, 27, 35, 0.3);
}
@keyframes progress { from { width: 0; } to { width: 100%; } }
.player__ctrls { display: flex; align-items: center; gap: 2.4cqw; margin-top: 1.6cqw; }
.player__ctrls svg {
  width: 3.6cqw; height: 3.6cqw;
  min-width: 12px; min-height: 12px;
  fill: #fff; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.player__ctrls svg:last-child { fill: none; }
.player__spacer { flex: 1; }
.eq { display: flex; align-items: flex-end; gap: 0.6cqw; height: 3.4cqw; min-height: 12px; }
.eq i {
  width: 0.8cqw; min-width: 3px;
  height: 100%;
  border-radius: 1cqw;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: bottom;
  animation: eq 1s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-delay: -0.6s; background: var(--ads); }
.eq i:nth-child(4) { animation-delay: -0.15s; }
.eq i:nth-child(5) { animation-delay: -0.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

.filmstrip {
  position: absolute;
  z-index: 1;
  left: 0; right: 0;
  top: 75cqw;
  height: 13cqw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.filmstrip__track {
  display: flex;
  gap: 2cqw;
  width: max-content;
  height: 100%;
  animation: strip 22s linear infinite;
}
.filmstrip__track i {
  width: 24cqw;
  height: 100%;
  border-radius: 1.8cqw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #2a0a0e, #0e0e14);
  position: relative;
}
.filmstrip__track i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 4cqw; height: 4cqw;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.55;
}
.filmstrip__track i:nth-child(3n + 1) { background: linear-gradient(135deg, #7b0a12, #1a0508); }
.filmstrip__track i:nth-child(3n + 2) { background: radial-gradient(circle at 30% 30%, #e31b23, #300409 70%); }
@keyframes strip { to { transform: translateX(-50%); } }

.float-card--dark {
  background: rgba(22, 22, 30, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7);
}
.fc-target {
  top: 0; right: 0;
  flex-direction: row;
  align-items: center;
  gap: 1.8cqw;
}
.target { position: relative; display: block; width: 7cqw; height: 7cqw; min-width: 22px; min-height: 22px; }
.target i { position: absolute; inset: 0; border-radius: 50%; border: 0.5cqw solid var(--ads); }
.target i:nth-child(2) { inset: 25%; border-color: #fff; }
.target i:nth-child(3) { inset: 42%; background: var(--ads); border: 0; animation: calPulse 1.6s ease-in-out infinite; }

.fc-seo { top: 43cqw; left: -2cqw; width: 38cqw; animation-delay: -3s; }
.fc-seo .fc-label svg { color: #ff5a60; }
.search {
  position: relative;
  display: block;
  height: 5cqw;
  min-height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.search i {
  position: absolute;
  left: 2cqw; top: 50%;
  height: 1cqw; min-height: 4px;
  border-radius: 1cqw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35));
  transform: translateY(-50%);
  animation: typing 4s steps(12) infinite;
}
.search i::after {
  content: "";
  position: absolute;
  right: -1.2cqw; top: 50%;
  width: 2px; height: 3cqw; min-height: 12px;
  background: var(--ads);
  transform: translateY(-50%);
  animation: caret 0.8s steps(1) infinite;
}
@keyframes typing { 0% { width: 0; } 60%, 100% { width: 28cqw; } }
@keyframes caret { 50% { opacity: 0; } }

.fc-yt {
  bottom: 0; right: 6cqw;
  flex-direction: row;
  align-items: center;
  gap: 1.6cqw;
  animation-delay: -5s;
}
.fc-yt img {
  width: 6.4cqw; height: 6.4cqw;
  min-width: 22px; min-height: 22px;
  padding: 0.8cqw;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

/* ---------- Side by side ---------- */
.compare { padding-block: clamp(72px, 9vw, 128px); }

.compare__root {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto 28px;
  max-width: 1080px;
  height: 64px;
}
.compare__lines {
  position: absolute;
  left: 25%; right: 25%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--digi), var(--green) 35%, var(--blue) 65%, var(--ads));
  border-radius: 2px;
}
.compare__lines::before,
.compare__lines::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px; height: 34px;
  background: var(--digi);
}
.compare__lines::before { left: 0; }
.compare__lines::after { right: 0; background: var(--ads); }
.compare__badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md), 0 0 0 8px var(--bg);
}
.compare__badge img { width: 38px; height: 38px; object-fit: contain; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1080px;
  margin-inline: auto;
}
.cards > .reveal { display: flex; }

.card {
  --accent: var(--digi);
  --accent-deep: var(--digi-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card--ads { --accent: var(--ads); --accent-deep: var(--ads-deep); }
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--accent) 50%, transparent);
}

.card__visual { position: relative; height: 190px; overflow: hidden; }
.card--digi .card__visual { background: linear-gradient(135deg, #ff4a52 0%, var(--digi) 45%, #8f0007 100%); }
.card__pattern {
  position: absolute;
  inset: -20px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.4px, transparent 1.5px);
  background-size: 20px 20px;
  transition: transform 0.8s var(--ease);
}
.card:hover .card__pattern { transform: scale(1.08) rotate(-2deg); }
.card__bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: bubble 9s ease-in infinite;
}
.card__bubble--1 { left: 12%; width: 56px; height: 56px; }
.card__bubble--2 { left: 55%; width: 34px; height: 34px; animation-delay: -3s; }
.card__bubble--3 { right: 8%; width: 80px; height: 80px; animation-delay: -6s; }
@keyframes bubble {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-260px); opacity: 0; }
}

.card--ads .card__visual {
  background:
    radial-gradient(circle at 70% 40%, rgba(227, 27, 35, 0.7), transparent 55%),
    var(--ads-night);
}
.card__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px);
}
.card__playmark {
  position: absolute;
  left: 50%; top: 42%;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ads);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(227, 27, 35, 0.2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card__playmark svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.card:hover .card__playmark { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 18px rgba(227, 27, 35, 0.18); }
.card__timeline {
  position: absolute;
  left: 28px; right: 28px; bottom: 58px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.card__timeline i { position: absolute; inset: 0 auto 0 0; background: var(--ads); animation: progress 6s linear infinite; }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 clamp(22px, 3vw, 36px) clamp(26px, 3vw, 36px);
}
.card__logo {
  position: relative;
  display: grid;
  place-items: center;
  align-self: flex-start;
  height: 96px;
  min-width: 96px;
  margin-top: -48px;
  padding: 12px 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease);
}
.card__logo img { height: 70px; width: auto; }
.card--ads .card__logo img { height: 62px; }
.card:hover .card__logo { transform: translateY(-6px); }

.card__kicker {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.card__name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.card__desc { margin-top: 12px; color: var(--muted); }

.card__identity {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.card__identity div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card__identity dt {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}
.card__identity dd { margin: 0; font-weight: 500; font-size: 15px; text-align: right; }
.swatches { display: flex; gap: 6px; }
.swatches i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid var(--line-2);
}
.card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(72px, 9vw, 120px); }
.cta__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  border-radius: clamp(24px, 3vw, 40px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(50, 167, 86, 0.35), transparent 60%),
    radial-gradient(50% 80% at 100% 100%, rgba(47, 78, 162, 0.45), transparent 60%),
    radial-gradient(30% 50% at 100% 0%, rgba(217, 28, 35, 0.22), transparent 60%),
    var(--ink);
}
.cta__ring {
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), var(--yellow), var(--blue), var(--red), var(--green));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity: 0.45;
  transform: translate(-50%, -50%);
  animation: spinCenter 30s linear infinite;
}
.cta__ring--2 { width: 440px; height: 440px; opacity: 0.25; animation-direction: reverse; animation-duration: 22s; }
.cta__mark {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.cta__mark img { width: 48px; height: 48px; object-fit: contain; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cta__text {
  max-width: 520px;
  margin: 16px auto 34px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, 0.68); font-size: 15px; }
.footer__accent { display: flex; height: 4px; }
.footer__accent i { flex: 1; background: var(--green); }
.footer__accent i:nth-child(2) { background: var(--yellow); }
.footer__accent i:nth-child(3) { background: var(--blue); }
.footer__accent i:nth-child(4) { background: var(--red); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.4fr;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 84px) clamp(40px, 5vw, 56px);
}
.footer__logo img { width: 170px; }
.footer__brand p { max-width: 360px; margin: 20px 0 24px; }
.footer__title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.footer__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  border-radius: 3px;
  background: var(--yellow);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color 0.25s, padding 0.3s var(--ease); }
.footer__col ul a:hover { color: var(--yellow); padding-left: 4px; }
.footer__contact a:hover { color: var(--yellow); }
.contact-row { display: flex; gap: 12px; margin-bottom: 14px; }
.contact-row svg {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  fill: none; stroke: var(--green);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-row a { word-break: break-word; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  position: relative;
  padding-block: 22px;
  font-size: 13.5px;
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 4vw, 36px);
  right: clamp(16px, 4vw, 36px);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; transition: color 0.25s; }
.to-top svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.to-top:hover { color: var(--yellow); }
.to-top:hover svg { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__inner { gap: 24px; }
  .nav__links { gap: 22px; }
  .nav__links a { font-size: 13.5px; }
}

@media (max-width: 991px) {
  :root { --nav-h: 72px; }
  .topbar__info li:nth-child(3) { display: none; }
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__logo img { height: 42px; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .eco { max-width: 500px; }

  .showcase { grid-template-columns: 1fr; }
  .showcase--reverse .showcase__visual { order: 0; }
  .showcase__visual { max-width: 540px; width: 100%; margin-inline: auto; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .topbar { display: none; }

  .tree { display: none; }
  .index { grid-template-columns: 1fr; margin-top: 36px; }

  .compare__lines { display: none; }
  .compare__root { margin-block: 28px 20px; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .brand__head { flex-direction: column; align-items: flex-start; }
  .logo-plate--digi { width: 92px; height: 92px; }
  .showcase__content > .btn { width: 100%; }

  .index__num { display: none; }

  .card__identity div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .card__identity dd { text-align: left; }
  .card .btn { align-self: stretch; }

  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .spark__line { stroke-dashoffset: 0; }
  .player__fill { width: 62%; }
  .card__timeline i { width: 62%; }
  .search i { width: 24cqw; }
  .float-heart, .card__bubble { display: none; }
}
