.hero.hero--cinematic {
  --commerce-blue: #32a4ff;
  --commerce-cyan: #00d5ff;
  --commerce-teal: #36e6cf;
  position: relative;
  display: block;
  height: auto;
  min-height: calc(100svh - var(--snap-header-height, 100px));
  padding: clamp(36px, 4.8vh, 64px) 0 clamp(140px, 18vh, 210px);
  overflow: clip;
  isolation: isolate;
  scroll-snap-align: none;
}
.hero.hero--cinematic::before {
  content: "";
  position: absolute;
  display: block;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  background: radial-gradient(ellipse at 14% 28%, rgba(0, 113, 255, .09), transparent 38%), radial-gradient(ellipse at 47% 70%, rgba(0, 202, 255, .06), transparent 45%);
  clip-path: none;
  pointer-events: none;
}
.hero--cinematic > .cinematic-layout {
  width: min(1760px, calc(100% - clamp(48px, 7vw, 120px)));
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  align-items: start;
  gap: clamp(30px, 3.5vw, 64px);
  transform: none;
}
.cinematic-copy { min-width: 0; padding-top: clamp(12px, 2vw, 32px); position: relative; z-index: 2; }
.hero--cinematic .hero-badge {
  display: inline-grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 9px 14px;
  margin: 0 0 22px;
  border: 1px solid rgba(21, 214, 200, .3);
  border-radius: 999px;
  color: #b1f6ef;
  background: rgba(3, 26, 38, .8);
  font-size: clamp(10px, .82vw, 13px);
  font-weight: 500;
  line-height: 1.8;
}
.hero--cinematic .hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #15e9b1; grid-column: 1; grid-row: 1; animation: commerce-live 3.2s ease-in-out infinite; }
.hero--cinematic .badge-message { grid-column: 2; grid-row: 1; animation: commerce-badge 6s ease-in-out infinite; }
.hero--cinematic .badge-message--channel { animation-delay: -3s; }
.hero--cinematic .cinematic-title {
  margin: 0;
  color: #f5f8ff;
  font-size: clamp(48px, 5.5vw, 94px);
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.cinematic-title > span { display: block; }
.cinematic-title em { font-style: normal; }
.cinematic-title__accent { position: relative; white-space: nowrap; }
.cinematic-title__accent::after { content: ""; position: absolute; z-index: -1; inset: 14% -4% -8%; background: radial-gradient(ellipse, rgba(0, 128, 255, .1), transparent 68%); pointer-events: none; }
.cinematic-title__instagram { background: linear-gradient(130deg, #ff8b6a 3%, #f638a7 48%, #9748f1 93%); }
.cinematic-title__channel { background: linear-gradient(140deg, #00eddf 5%, #00beff 52%, #2481ff 95%); }
.cinematic-title__instagram, .cinematic-title__channel { background-clip: text; -webkit-background-clip: text; color: transparent; }
.cinematic-lead { margin: 25px 0 0; color: #e4ebff; font-size: clamp(13px, 1.13vw, 18px); font-weight: 700; line-height: 2; text-wrap: pretty; }
.cinematic-description { margin: 16px 0 0; color: #a6b7d7; font-size: clamp(13px, 1.02vw, 16px); line-height: 2; text-wrap: pretty; }
.hero--cinematic .cinematic-actions { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero--cinematic .hero-button { min-height: 54px; padding: 0 24px; border-radius: 13px; border: 1px solid rgba(104, 169, 255, .4); font-size: 15px; font-weight: 700; }
body.ascend-background .hero--cinematic .button.primary { background: linear-gradient(160deg, #257cff, #0756f4); box-shadow: 0 10px 30px -12px rgba(14, 107, 255, .68), inset 0 1px 0 rgba(180, 224, 255, .32); }
body.ascend-background .hero--cinematic .button.primary:hover { background: linear-gradient(160deg, #3b89ff, #1263ff); }
body.ascend-background .hero--cinematic .button.secondary { background: rgba(5, 14, 35, .88); box-shadow: inset 0 1px 0 rgba(148, 183, 234, .07); }
body.ascend-background .hero--cinematic .button.secondary:hover { background: #101f3a; border-color: #5685c0; }
.hero--cinematic .hero-button svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .2s ease; }
.hero--cinematic .hero-button:hover svg:not(.whatsapp-icon) { transform: translateX(-3px) rotate(180deg); }
.hero--cinematic .hero-button .whatsapp-icon { width: 20px; height: 20px; color: #18e4a3; transform: none; }

.commerce-ecosystem {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto clamp(34px, 3.2vw, 56px) auto clamp(38px, 4vw, 70px) auto;
  column-gap: 12px;
  min-width: 0;
  direction: ltr;
  isolation: isolate;
  animation: commerce-float 7s ease-in-out 1.3s infinite;
}
.commerce-tabs { display: none; }
.commerce-card {
  --card-accent: #4eabff;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(12px, 1.2vw, 19px);
  border: 1px solid rgba(96, 173, 255, .42);
  border-radius: 17px;
  color: #f5f8ff;
  background: linear-gradient(145deg, rgba(29, 72, 124, .17), transparent 65%), rgba(5, 19, 45, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 35px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(168, 212, 255, .12);
  direction: rtl;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.commerce-card::before { content: ""; position: absolute; top: -1px; inset-inline: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--card-accent), transparent); opacity: .9; pointer-events: none; }
.commerce-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.commerce-card__identity { display: flex; align-items: center; gap: 8px; min-width: 0; }
.commerce-card__identity img { width: clamp(26px, 2.3vw, 34px); height: auto; aspect-ratio: 1; object-fit: contain; flex-shrink: 0; }
.commerce-card h3 { margin: 0; font-size: clamp(12px, 1.04vw, 16px); font-weight: 800; line-height: 1.7; }
.commerce-card__status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 999px; background: rgba(22, 94, 112, .24); color: #c9fff3; font-size: clamp(8px, .6vw, 10px); white-space: nowrap; }
.commerce-card__status i { width: 5px; height: 5px; border-radius: 50%; background: #15e6b0; flex-shrink: 0; }
.commerce-card__product { display: grid; grid-template-columns: clamp(54px, 5.2vw, 82px) minmax(0, 1fr); align-items: center; gap: 11px; margin-top: 14px; }
.commerce-card__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(160, 207, 247, .5); border-radius: 11px; }
.commerce-card__product p { margin: 0; color: #edf3ff; font-size: clamp(11px, .9vw, 14px); font-weight: 600; line-height: 1.85; }
.commerce-card__details { display: flex; flex-wrap: wrap; gap: 3px 0; list-style: none; margin: 9px 0 0; padding: 0; color: #bacbe6; font-size: clamp(9px, .7vw, 11px); line-height: 1.8; }
.commerce-card__details li + li { border-inline-start: 1px solid rgba(110, 165, 215, .27); padding-inline-start: 7px; margin-inline-start: 7px; }
.commerce-channel--instagram { --card-accent: #f66bdf; grid-column: 5 / 10; grid-row: 1; border-color: rgba(233, 113, 217, .62); background: radial-gradient(ellipse at 15% 0, rgba(133, 41, 180, .25), transparent 75%), rgba(17, 17, 57, .91); }
.commerce-channel--instagram::before { background: linear-gradient(90deg, #b855ff, #f76cc0 72%, #ffbc73); inset-inline: 10%; }
.commerce-channel--telegram { --card-accent: #28c7ff; grid-column: 1 / 6; grid-row: 3; border-color: rgba(55, 184, 255, .65); }
.commerce-channel--bale { --card-accent: #3ae7d5; grid-column: 8 / 13; grid-row: 3; border-color: rgba(61, 216, 202, .62); background: radial-gradient(ellipse at 100% 0, rgba(16, 124, 120, .17), transparent 85%), rgba(4, 28, 45, .9); }
.commerce-channel.is-active { box-shadow: 0 18px 42px -18px rgba(0, 0, 0, .8), 0 0 16px -10px var(--card-accent), inset 0 1px 0 rgba(207, 231, 255, .24); }
.commerce-hub { grid-column: 6 / 8; grid-row: 3; place-self: center; position: relative; z-index: 2; width: clamp(62px, 5.7vw, 90px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 19px; border: 1px solid #48c6ff; background: linear-gradient(145deg, rgba(23, 76, 153, .78), rgba(3, 20, 51, .95)); box-shadow: 0 8px 28px -12px rgba(0, 158, 255, .65), inset 0 0 20px rgba(0, 151, 255, .18); }
.commerce-hub img { width: 78%; height: 78%; object-fit: contain; }
.commerce-software { grid-column: 1 / 7; grid-row: 5; }
.commerce-software__brand { color: #a6c3e8; font-size: 11px; }
.commerce-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 0; margin: 15px 0 0; list-style: none; }
.commerce-capabilities li { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 7px 8px; border: 1px solid rgba(84, 143, 203, .24); border-radius: 8px; background: rgba(15, 48, 84, .42); font-size: clamp(10px, .76vw, 12px); line-height: 1.7; }
.commerce-capabilities svg, .commerce-store svg { width: 20px; height: 20px; color: var(--commerce-cyan); flex-shrink: 0; }
.commerce-store { --card-accent: #44e4d8; grid-column: 7 / 13; grid-row: 5; border-color: rgba(68, 202, 193, .48); background: linear-gradient(150deg, rgba(5, 62, 76, .7), rgba(3, 22, 44, .93)); }
.commerce-store__description { margin: 12px 0 0; color: #c1dedf; font-size: 12px; }
.commerce-store__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 17px 0 0; }
.commerce-store__features li { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #dbf6f4; font-size: clamp(10px, .74vw, 12px); text-align: center; line-height: 1.8; }
.commerce-store__features svg { width: 24px; height: 24px; color: #63ecdd; }
.commerce-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.commerce-network { animation: commerce-network-in .7s ease .8s backwards; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; fill: none; }
.commerce-network__link { --wire: #2bc7ff; }
.commerce-network__link--instagram { --wire: #9575ff; }
.commerce-network__link--bale, .commerce-network__link--store { --wire: #26dece; }
.commerce-network path { stroke: var(--wire); vector-effect: non-scaling-stroke; }
.commerce-network__glow { stroke-width: 8px; opacity: .065; }
.commerce-network__wire { stroke-width: 1.3px; opacity: .65; }
.commerce-network__signal { stroke-width: 3px; stroke-linecap: round; stroke-dasharray: 2 98; filter: drop-shadow(0 0 3px var(--wire)); animation: commerce-flow 4.4s linear infinite; }
.commerce-network__link:nth-child(2n) .commerce-network__signal { animation-delay: -2.2s; animation-duration: 3.8s; }
.commerce-network__anchor { fill: #8af5ff; stroke: var(--wire); stroke-width: 1.5; }
.commerce-satellite > circle { fill: #06234b; stroke: var(--wire); stroke-width: 1.2; }
.commerce-satellite > use { color: var(--wire); }
.cinematic-copy > *, .commerce-card, .commerce-hub { animation: commerce-enter .8s cubic-bezier(.16, 1, .3, 1) backwards; }
.cinematic-copy > :nth-child(1) { animation-delay: 80ms; }
.cinematic-copy > :nth-child(2) { animation-delay: 160ms; }
.cinematic-copy > :nth-child(3) { animation-delay: 240ms; }
.cinematic-copy > :nth-child(4) { animation-delay: 280ms; }
.cinematic-copy > :nth-child(5) { animation-delay: 320ms; }
.commerce-hub { animation-delay: 280ms; }
.commerce-channel--instagram { animation-delay: 380ms; }
.commerce-channel--telegram { animation-delay: 480ms; }
.commerce-channel--bale { animation-delay: 580ms; }
.commerce-software, .commerce-store { animation-delay: 680ms; }
/* Copy must appear even when the ecosystem starts below a short phone viewport. */
.hero--cinematic.is-idle .commerce-ecosystem, .hero--cinematic.is-idle .commerce-network,
.hero--cinematic.is-idle .commerce-network__signal, .hero--cinematic.is-idle .hero-badge::before { animation-play-state: paused; }
@keyframes commerce-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes commerce-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes commerce-network-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes commerce-flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes commerce-live { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes commerce-badge { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero--cinematic > .cinematic-layout { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 24px; }
  .commerce-card__heading { flex-wrap: wrap; gap: 5px; }
  .commerce-card__status { padding: 2px 6px; }
  .commerce-hub { width: 56px; border-radius: 15px; }
  .commerce-card__product { gap: 8px; }
  .commerce-capabilities li { padding: 5px; font-size: 10px; gap: 5px; }
  .commerce-capabilities svg { width: 16px; height: 16px; }
  .hero--cinematic .hero-button { padding: 0 18px; font-size: 14px; }
}
@media (max-width: 1023px) {
  .hero.hero--cinematic { min-height: 0; padding-top: 28px; padding-bottom: 100px; }
  .hero--cinematic > .cinematic-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; width: min(820px, calc(100% - 48px)); }
  .cinematic-copy { max-width: 680px; margin-inline: auto; padding-top: 0; text-align: center; }
  .hero--cinematic .cinematic-title { font-size: clamp(56px, 8vw, 76px); line-height: 1.3; }
  .cinematic-lead { font-size: 17px; }
  .cinematic-description { font-size: 15px; }
  .hero--cinematic .cinematic-actions { justify-content: center; }
  .hero--cinematic .hero-badge { font-size: 12px; }
  .commerce-card h3 { font-size: 14px; }
  .commerce-card__product p { font-size: 13px; }
  .commerce-card__details { font-size: 10px; }
  .commerce-card__status { font-size: 9px; }
  .commerce-card__identity img { width: 30px; }
  .commerce-card__product { grid-template-columns: 66px minmax(0, 1fr); }
  .commerce-capabilities li, .commerce-store__features li { font-size: 12px; }
}
@media (max-width: 780px) {
  .hero.hero--cinematic { padding-top: 122px; }
}
@media (max-width: 639px) {
  .hero.hero--cinematic { padding-bottom: 76px; }
  .hero--cinematic > .cinematic-layout { width: calc(100% - 32px); gap: 42px; }
  .hero--cinematic .cinematic-title { font-size: clamp(45px, 11.9vw, 62px); }
  .hero--cinematic .hero-badge { width: 100%; font-size: 10px; gap: 8px; padding: 9px 12px; }
  .cinematic-lead { margin-top: 22px; font-size: 15px; line-height: 1.95; }
  .cinematic-description { margin-top: 14px; font-size: 13px; line-height: 2; }
  .hero--cinematic .cinematic-actions { margin-top: 24px; gap: 11px; }
  .hero--cinematic .hero-button { width: 100%; min-height: 52px; }
  .commerce-ecosystem { display: flex; flex-direction: column; gap: 22px; animation: none; }
  .commerce-ecosystem.has-commerce-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 90px auto auto; row-gap: 22px; column-gap: 0; animation: none; }
  .has-commerce-controls .commerce-tabs { display: flex; grid-column: 1 / -1; grid-row: 1; gap: 8px; direction: rtl; }
  .commerce-tabs button { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 46px; padding: 6px; border: 1px solid rgba(79, 135, 193, .38); border-radius: 12px; background: rgba(7, 20, 43, .9); color: #c3d4ee; font: inherit; font-size: 12px; cursor: pointer; }
  .commerce-tabs img { width: 23px; height: 23px; object-fit: contain; }
  .commerce-tabs [aria-current="true"] { color: #fff; border-color: #47b9f4; background: rgba(20, 63, 109, .82); }
  .commerce-card { padding: 16px; backdrop-filter: none; background-color: rgba(5, 19, 45, .96); }
  .commerce-channel { grid-column: 1 / -1; grid-row: 2; min-height: 156px; }
  .has-commerce-controls .commerce-channel:not(.is-active) { display: none; }
  .commerce-card h3 { font-size: 15px; }
  .commerce-card__status { font-size: 10px; }
  .commerce-card__product { grid-template-columns: 70px minmax(0, 1fr); margin-top: 16px; }
  .commerce-card__product p { font-size: 14px; }
  .commerce-card__details { font-size: 11px; }
  .commerce-hub { align-self: center; grid-row: 3; grid-column: 1 / -1; width: 76px; }
  .commerce-software { grid-row: 4; grid-column: 1 / -1; }
  .commerce-store { grid-row: 5; grid-column: 1 / -1; }
  .commerce-capabilities { gap: 8px; }
  .commerce-capabilities li { padding: 8px; font-size: 12px; }
  .commerce-store__description { font-size: 13px; }
  .commerce-store__features li { font-size: 12px; }
  .commerce-satellite { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--cinematic *, .hero--cinematic *::before { animation: none !important; transition: none !important; }
  .hero--cinematic .badge-message--channel { display: none; }
  .commerce-network__signal { display: none; }
}
