/* Homepage hero artwork and glass treatment. The interface remains live HTML. */
.studio-hero { --container: min(1280px, calc(100% - 64px)); }

html:not([data-theme="light"]) body[data-page="home"] .studio-hero {
  background: #061021;
  isolation: isolate;
}
html:not([data-theme="light"]) body[data-page="home"] .studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, transparent 67%, #07111fb5 100%),
    linear-gradient(90deg, #061021f2 0%, #061021bc 29%, #06102120 57%, #06102112 100%),
    url("/assets/hero-nebula-wordmark-v2.webp") calc(50% - 20vw) 43% / cover no-repeat;
}
html:not([data-theme="light"]) body[data-page="home"] .studio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 67%, #07111fb5 100%), url("/assets/hero-nebula-wordmark-v2.webp") center 43% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 78%, #000 88%);
  mask-image: linear-gradient(90deg, transparent 78%, #000 88%);
}
html[data-theme="light"] body[data-page="home"] .studio-hero {
  background: #f7faff;
  isolation: isolate;
}
html[data-theme="light"] body[data-page="home"] .studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, transparent 67%, #f7faffc9 100%),
    linear-gradient(90deg, #f7fafff7 0%, #f7faffc9 29%, #f7faff29 57%, #f7faff08 100%),
    url("/assets/hero-nebula-light-v1.webp") calc(50% - 20vw) 43% / cover no-repeat;
}
html[data-theme="light"] body[data-page="home"] .studio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 67%, #f7faffc9 100%), url("/assets/hero-nebula-light-v1.webp") center 43% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 78%, #000 88%);
  mask-image: linear-gradient(90deg, transparent 78%, #000 88%);
}
html[data-theme="light"] .studio-hero-grid { position: relative; z-index: 1; }
html[data-theme="light"] .studio-hero .product-demo {
  background: #fffffff2;
  border-color: #b8cde8;
  box-shadow: 0 28px 75px #4772aa30, 0 0 54px #9cbefe2b;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html:not([data-theme="light"]) .studio-hero-grid { position: relative; z-index: 1; }
html:not([data-theme="light"]) .studio-hero .studio-eyebrow { color: #a5b7c9; }
html:not([data-theme="light"]) .studio-hero .availability-dot { background: #49e4d0; box-shadow: 0 0 14px #49e4d0b5; }
html:not([data-theme="light"]) .studio-hero h1,
html:not([data-theme="light"]) .studio-hero .hero-emphasis { color: #f0f3fb; text-shadow: 0 2px 25px #06102180; }
html:not([data-theme="light"]) .studio-hero .studio-lead { color: #b4c2d4; text-shadow: 0 2px 18px #061021d9; }
html:not([data-theme="light"]) .studio-hero .studio-actions .button:not(.button-secondary) {
  color: #0d1830;
  background: linear-gradient(120deg, #eaf8ff 0%, #cfddf2 58%, #e2ceee 100%);
  border: 1px solid #aaf5ff;
  box-shadow: 0 0 0 3px #4cdeff27, 0 0 23px #53ddff99, 10px 0 28px #e56ae76b, inset 0 1px 0 #fff;
}
html:not([data-theme="light"]) .studio-hero .studio-actions .button:not(.button-secondary):hover { background: #fff; box-shadow: 0 0 0 4px #4cdeff38, 0 0 31px #53ddffbe, 10px 0 32px #e56ae785; }
html:not([data-theme="light"]) .studio-hero .studio-actions .button-secondary {
  background: linear-gradient(145deg, #9aa9c244, #43537655);
  border-color: #d3e6ff45;
  color: #f3f7ff;
  box-shadow: inset 0 1px 0 #ffffff30, 0 8px 23px #0005;
  backdrop-filter: blur(13px);
}
html:not([data-theme="light"]) .studio-hero .studio-actions .button-secondary:hover { border-color: #aee4ff; background: #9aa9c266; }
html:not([data-theme="light"]) .studio-hero .hero-proof { color: #b3c4d6; }
html:not([data-theme="light"]) .studio-hero .hero-proof li::before { color: #77e1be; }
html:not([data-theme="light"]) .studio-hero .hero-quick-contact { color: #b8d4e3; }

html:not([data-theme="light"]) .studio-hero .product-demo {
  background: linear-gradient(145deg, #243853ef, #101c32f2 68%, #172039f2);
  border: 1px solid #a9c9e770;
  box-shadow: 0 34px 80px #030812a8, inset 0 1px 0 #ffffff3d;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html:not([data-theme="light"]) .studio-hero .demo-topbar {
  background: #b8d2e60e;
  border-bottom-color: #e8f0ff24;
  color: #c8d7e7;
}
html:not([data-theme="light"]) .studio-hero .demo-brand .dn-icon { color: #79e5ed; }
html:not([data-theme="light"]) .studio-hero .demo-body { position: relative; }
html:not([data-theme="light"]) .studio-hero .demo-heading h2 { color: #fff; }
html:not([data-theme="light"]) .studio-hero .demo-heading p { color: #c0cfdf; }
html:not([data-theme="light"]) .studio-hero .demo-orbit {
  color: #8ee9ff;
  border: 1px solid #c0e9ff38;
  background: #9bbce112;
}
html:not([data-theme="light"]) .studio-hero .demo-tabs { border-bottom: 0; gap: 8px; margin-bottom: 17px; }
html:not([data-theme="light"]) .studio-hero .demo-tabs button {
  border: 1px solid #d8e7ff2e;
  border-radius: 11px;
  background: #d1ddf312;
  color: #d4deef;
  box-shadow: none;
}
html:not([data-theme="light"]) .studio-hero .demo-tabs button[aria-selected="true"] {
  color: #c3f7ff;
  border-color: #77dceba0;
  background: #3998ae38;
  box-shadow: inset 0 1px 0 #d1ffff36;
}
html:not([data-theme="light"]) .studio-hero .demo-tabs button:hover { color: #fff; border-color: #b5efff; }
html:not([data-theme="light"]) .studio-hero .demo-order-head {
  background: #7489a92e;
  border-color: #c2d9f859;
  box-shadow: inset 0 1px 0 #ffffff27;
}
html:not([data-theme="light"]) .studio-hero .demo-tile { color: #82e9f2; background: #9cefff2a; border-color: #b0f7ff55; }
html:not([data-theme="light"]) .studio-hero .demo-order-head strong,
html:not([data-theme="light"]) .studio-hero .demo-flow strong { color: #f7faff; }
html:not([data-theme="light"]) .studio-hero .demo-order-head small,
html:not([data-theme="light"]) .studio-hero .demo-flow small { color: #c1cfdd; }
html:not([data-theme="light"]) .studio-hero .demo-tag { color: #a8f9dc; background: #2b976644; border: 1px solid #8ce6b061; }
html:not([data-theme="light"]) .studio-hero .demo-flow li:not(:last-child)::after { background: #b4d8e653; }
html:not([data-theme="light"]) .studio-hero .flow-marker { background: #55c6b533; color: #94f0da; border-color: #86f3d080; }
html:not([data-theme="light"]) .studio-hero .flow-last { color: #8de3fa; background: #5eaeef38; border-color: #9bdfff80; }
html:not([data-theme="light"]) .studio-hero .flow-app { color: #b5e8f0; background: #35768261; border-color: #8ae1f386; box-shadow: 0 0 12px #7bc8f04d; }
html:not([data-theme="light"]) .studio-hero .demo-bottom { color: #b9c8d8; background: #2a375a49; border-top-color: #d7e6ff31; }
html:not([data-theme="light"]) .studio-hero .demo-bottom > span:last-child { color: #8be8f7; }
html:not([data-theme="light"]) .studio-hero .expertise-strip { position: relative; z-index: 1; border-top-color: #cad9ea4b; }
html:not([data-theme="light"]) .studio-hero .expertise-strip > p,
html:not([data-theme="light"]) .studio-hero .expertise-strip span { color: #bac4d2; }
.studio-hero .expertise-strip .ecosystem-logo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.studio-hero .ecosystem-logo svg { width: 21px; height: 21px; flex: none; }
.studio-hero .ecosystem-telegram svg { fill: #fff; background: #2a9bcc; border-radius: 50%; padding: 3px; }
.studio-hero .ecosystem-whatsapp svg { fill: none; stroke: #fff; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; background: #39b879; border-radius: 50%; padding: 2px; }
.studio-hero .ecosystem-wallet-mark,
.studio-hero .ecosystem-google-mark { display: inline-block; flex: none; width: 22px; height: 17px; border-radius: 4px; border: 1px solid #ffffff80; box-shadow: 0 2px 8px #0005; }
.studio-hero .ecosystem-wallet-mark { background: linear-gradient(180deg, #8eccb5 0 24%, #f0d076 24% 49%, #d48798 49% 72%, #747fa8 72%); }
.studio-hero .ecosystem-google-mark { background: linear-gradient(135deg, #2aaceb 0 24%, #54c381 24% 47%, #f6ca4f 47% 71%, #e77573 71%); transform: rotate(-12deg); }

/* A single readable journey replaces the abstract network illustration in every tab. */
.studio-hero .demo-journey-panel { min-height: 0; }
.studio-hero .demo-scenario-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 2px 2px 13px; }
.studio-hero .demo-scenario-kicker { display: block; margin-bottom: 5px; color: var(--dn-blue); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.studio-hero .demo-scenario-head h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; }
.studio-hero .demo-scenario-count { flex: none; color: var(--muted); font-size: 10px; white-space: nowrap; }
.studio-hero .demo-journey { position: relative; display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.studio-hero .demo-journey::before { content: ""; position: absolute; z-index: 0; top: 34px; bottom: 34px; left: 27px; width: 1px; background: #91b9d460; }
.studio-hero .demo-journey li { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; min-height: 71px; padding: 10px 12px 10px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--dn-subtle); }
.studio-hero .demo-step-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; color: #2674a4; background: #73cae529; border: 1px solid #8ad5ee72; }
.studio-hero .demo-step-icon .dn-icon { width: 19px; height: 19px; }
.studio-hero .demo-step-iiko { color: #725bb2; background: #aa92ea29; border-color: #aa92ea72; }
.studio-hero .demo-step-bot { color: #217e69; background: #76d3b329; border-color: #76d3b372; }
.studio-hero .demo-step-copy { min-width: 0; flex: 1; }
.studio-hero .demo-step-copy strong { display: block; color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.3; }
.studio-hero .demo-step-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.studio-hero .demo-step-app { flex: none; min-width: 40px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; font-weight: 600; text-align: center; }
.studio-hero .demo-outcome { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 11px 12px; border: 1px solid #62c6ae45; border-radius: 10px; background: #62c6ae11; color: var(--text); font-size: 12px; line-height: 1.35; }
.studio-hero .demo-outcome .dn-icon { width: 15px; height: 15px; color: #1b947c; }
html:not([data-theme="light"]) .studio-hero .demo-scenario-head h3,
html:not([data-theme="light"]) .studio-hero .demo-step-copy strong,
html:not([data-theme="light"]) .studio-hero .demo-outcome { color: #f4f8ff; }
html:not([data-theme="light"]) .studio-hero .demo-scenario-kicker { color: #8de9ef; }
html:not([data-theme="light"]) .studio-hero .demo-scenario-count,
html:not([data-theme="light"]) .studio-hero .demo-step-copy small { color: #b7c9da; }
html:not([data-theme="light"]) .studio-hero .demo-journey li { background: #c3d8ef0d; border-color: #bcd4ed33; }
html:not([data-theme="light"]) .studio-hero .demo-step-web { color: #84e8f2; background: #4ac4e12b; border-color: #71dcf07a; }
html:not([data-theme="light"]) .studio-hero .demo-step-iiko { color: #d5bbff; background: #a986e32b; border-color: #c5a4fb7a; }
html:not([data-theme="light"]) .studio-hero .demo-step-bot { color: #9aebcf; background: #59c9a82b; border-color: #84e4c67a; }
html:not([data-theme="light"]) .studio-hero .demo-step-app { color: #cbd9e8; border-color: #bcd4ed33; background: #ffffff0c; }
html:not([data-theme="light"]) .studio-hero .demo-outcome { border-color: #81d4ba55; background: #3fa48621; }
html:not([data-theme="light"]) .studio-hero .demo-outcome .dn-icon { color: #91efd0; }
@media (min-width: 1601px) {
  .studio-hero .product-demo { width: calc(100% - 28px); justify-self: end; }
}
@media (min-width: 1201px) and (max-width: 1600px) {
  .studio-hero .product-demo { width: calc(100% - 80px); justify-self: end; }
}
@media (max-width: 1200px) {
  html:not([data-theme="light"]) body[data-page="home"] .studio-hero::before {
    background: linear-gradient(180deg, transparent 67%, #07111fb5 100%), linear-gradient(90deg, #061021f2 0%, #061021bc 29%, #06102120 57%, #06102112 100%), url("/assets/hero-nebula-v1.webp") center 43% / cover no-repeat;
  }
  html:not([data-theme="light"]) body[data-page="home"] .studio-hero::after { display: none; }
  html[data-theme="light"] body[data-page="home"] .studio-hero::before {
    background: linear-gradient(180deg, transparent 67%, #f7faffc9 100%), linear-gradient(90deg, #f7fafff7 0%, #f7faffc9 29%, #f7faff29 57%, #f7faff08 100%), url("/assets/hero-nebula-light-plain-v1.webp") center 43% / cover no-repeat;
  }
  html[data-theme="light"] body[data-page="home"] .studio-hero::after { display: none; }
}
@media (max-width: 860px) {
  html:not([data-theme="light"]) body[data-page="home"] .studio-hero::before {
    background: linear-gradient(180deg, #061021c7, #06102173 46%, #061021db 100%), url("/assets/hero-nebula-v1.webp") 57% top / auto 690px no-repeat;
  }
  html[data-theme="light"] body[data-page="home"] .studio-hero::before {
    background: linear-gradient(180deg, #f7faffd9, #f7faffae 46%, #f7fafff5 78%), url("/assets/hero-nebula-light-plain-v1.webp") 57% top / auto 690px no-repeat;
  }
}
@media (max-width: 560px) {
  .studio-hero { --container: calc(100% - 36px); }
  html:not([data-theme="light"]) body[data-page="home"] .studio-hero::before {
    background: linear-gradient(180deg, #061021dd, #061021a8 42%, #061021e6 100%), url("/assets/hero-nebula-v1.webp") 55% 10px / auto 530px no-repeat;
  }
  html[data-theme="light"] body[data-page="home"] .studio-hero::before {
    background: linear-gradient(180deg, #f7faffdf, #f7faffaa 42%, #f7fafffa 72%), url("/assets/hero-nebula-light-plain-v1.webp") 55% 10px / auto 530px no-repeat;
  }
  html:not([data-theme="light"]) .studio-hero .product-demo { backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
  .studio-hero .demo-scenario-head h3 { font-size: 13px; }
  .studio-hero .demo-scenario-count { font-size: 9px; }
  .studio-hero .demo-journey::before { left: 23px; }
  .studio-hero .demo-journey li { gap: 9px; padding: 8px; }
  .studio-hero .demo-step-icon { width: 32px; height: 32px; }
  .studio-hero .demo-step-icon .dn-icon { width: 17px; height: 17px; }
  .studio-hero .demo-step-copy strong { font-size: 11px; }
  .studio-hero .demo-step-copy small { font-size: 10px; }
  .studio-hero .demo-step-app { min-width: 35px; font-size: 9px; }
}
