:root {
  --apps-night: #171330;
  --apps-night-soft: #26204b;
  --apps-violet: #6d4aff;
  --apps-purple: #9b51e0;
  --apps-gold: #ffbf47;
  --apps-coral: #ff6f61;
  --apps-mint: #36d6ad;
  --apps-cream: #fffaf0;
  --apps-ink: #211d3f;
  --apps-muted: #625d7f;
  --apps-line: rgba(55, 45, 105, .14);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: clip; color: var(--apps-ink); background: #fbfaff; font-family: var(--sbx-font, system-ui, sans-serif); line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.apps-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.apps-skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--apps-night); transform: translateY(-150%); }
.apps-skip:focus { transform: translateY(0); }

.apps-header { position: sticky; inset-block-start: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(23,19,48,.91); color: #fff; backdrop-filter: blur(18px); }
.apps-nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.apps-logo { text-decoration: none; font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.apps-logo span { color: var(--apps-gold); }
.apps-nav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.apps-nav a { text-decoration: none; font-size: .94rem; font-weight: 760; }
.apps-nav li > a:not(.apps-nav-cta) { color: #d9d5f3; }
.apps-nav li > a:not(.apps-nav-cta):hover { color: #fff; }
.apps-nav-cta { padding: 9px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--apps-gold), #ff8f52); color: #211632; box-shadow: 0 8px 24px rgba(255,191,71,.22); }

.apps-hero { overflow: hidden; position: relative; padding: 92px 0 82px; background:
  radial-gradient(circle at 12% 18%, rgba(155,81,224,.36), transparent 28%),
  radial-gradient(circle at 84% 74%, rgba(54,214,173,.2), transparent 28%),
  linear-gradient(145deg, #171330 0%, #221748 52%, #101a3b 100%); color: #fff; }
.apps-hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.apps-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: 62px; }
.apps-eyebrow { margin: 0 0 14px; color: #d8c9ff; font-size: .84rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.apps-hero h1 { max-width: 710px; margin: 0; color: #fff; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .96; letter-spacing: -.055em; }
.apps-gradient { color: transparent; background: linear-gradient(100deg, #fff 5%, #ffe29b 48%, #aef9e4 90%); background-clip: text; -webkit-background-clip: text; }
.apps-hero-copy { max-width: 650px; margin: 24px 0 0; color: #d7d2eb; font-size: clamp(1.04rem, 2vw, 1.23rem); }
.apps-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.apps-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.apps-button:hover { transform: translateY(-2px); }
.apps-button--light { background: #fff; color: var(--apps-night); box-shadow: 0 15px 35px rgba(0,0,0,.22); }
.apps-button--glass { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
.apps-button--dark { background: var(--apps-night); color: #fff; box-shadow: 0 12px 30px rgba(23,19,48,.2); }
.apps-button--store { min-width: 184px; border-color: rgba(255,255,255,.16); background: #0f0f12; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.apps-button-icon { font-size: 1.25rem; }

.apps-stage { position: relative; min-height: 510px; perspective: 1200px; }
.apps-phone { position: absolute; width: 226px; padding: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 34px; background: #090a12; box-shadow: 0 35px 65px rgba(2,2,12,.5); }
.apps-phone img { width: 100%; border-radius: 26px; }
.apps-phone--snap { inset-block-start: 0; inset-inline-start: 0; transform: rotate(-7deg); }
.apps-phone--chat { inset-block-end: 0; inset-inline-end: 12px; transform: rotate(7deg); }
.apps-icon-float { position: absolute; width: 96px; padding: 7px; border-radius: 25px; background: rgba(255,255,255,.95); box-shadow: 0 20px 45px rgba(0,0,0,.28); }
.apps-icon-float img { border-radius: 19px; }
.apps-icon-float--snap { inset-block-start: 48px; inset-inline-end: 20px; transform: rotate(8deg); }
.apps-icon-float--chat { inset-block-end: 26px; inset-inline-start: 105px; transform: rotate(-8deg); }
.apps-number-card { position: absolute; z-index: 3; inset-block-start: 174px; inset-inline-start: 147px; width: 210px; padding: 12px; border-radius: 18px; background: rgba(255,250,240,.97); color: var(--apps-night); box-shadow: 0 22px 45px rgba(4,4,20,.34); transform: rotate(3deg); }
.apps-number-card strong { display: block; margin-bottom: 7px; text-align: center; color: var(--apps-violet); letter-spacing: .28em; }
.apps-number-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.apps-number-grid span { display: grid; aspect-ratio: 1; place-items: center; border-radius: 6px; background: #ebe7ff; font-size: .68rem; font-weight: 900; }
.apps-number-grid .is-marked { background: linear-gradient(145deg, var(--apps-violet), var(--apps-purple)); color: #fff; }
.apps-number-grid .is-free { background: var(--apps-gold); }

.apps-choice { position: relative; z-index: 5; margin-top: -28px; }
.apps-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.apps-choice-card { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 154px; padding: 24px; border: 1px solid var(--apps-line); border-radius: 28px; background: rgba(255,255,255,.97); box-shadow: 0 20px 50px rgba(31,25,76,.12); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.apps-choice-card:hover { transform: translateY(-4px); box-shadow: 0 26px 58px rgba(31,25,76,.17); }
.apps-choice-card img { width: 74px; border-radius: 20px; box-shadow: 0 10px 25px rgba(26,20,64,.2); }
.apps-choice-card small { display: block; color: var(--apps-violet); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.apps-choice-card strong { display: block; margin-top: 3px; font-size: 1.27rem; line-height: 1.25; }
.apps-choice-card p { margin: 6px 0 0; color: var(--apps-muted); font-size: .92rem; }
.apps-choice-arrow { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #f0edff; color: var(--apps-violet); font-size: 1.35rem; }

.apps-section { padding: 96px 0; }
.apps-section--tint { background: #f2efff; }
.apps-product-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 880px; }
.apps-product-head img { width: 120px; border-radius: 30px; box-shadow: 0 18px 38px rgba(27,20,70,.2); }
.apps-product-head > div, .apps-product-head > * { min-width: 0; }
.apps-kicker { margin: 0 0 7px; overflow-wrap: anywhere; color: var(--apps-violet); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.apps-section h2 { margin: 0; min-width: 0; font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; hyphens: auto; }
.apps-section-intro { max-width: 790px; margin: 18px 0 0; color: var(--apps-muted); font-size: 1.08rem; }
.apps-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.apps-feature { padding: 22px; border: 1px solid var(--apps-line); border-radius: 22px; background: #fff; box-shadow: 0 12px 32px rgba(29,23,69,.07); }
.apps-feature-badge { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: #eeeaff; font-size: 1.25rem; }
.apps-feature h3 { margin: 15px 0 5px; font-size: 1.05rem; }
.apps-feature p { margin: 0; color: var(--apps-muted); font-size: .93rem; }

.apps-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 18px; margin-top: 38px; padding: 5px 4px 22px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-color: var(--apps-violet) #e7e3f4; }
.apps-screen { scroll-snap-align: center; margin: 0; padding: 10px; border-radius: 28px; background: var(--apps-night); box-shadow: 0 18px 38px rgba(23,19,48,.18); }
.apps-screen img { width: 100%; height: auto; border-radius: 20px; }
.apps-gallery-caption { margin: 10px 0 0; color: var(--apps-muted); font-size: .82rem; text-align: center; }
.apps-store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.apps-chat-panel { position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(145deg, #241346, #27105d 55%, #162757); color: #fff; }
.apps-chat-panel::before { content: ""; position: absolute; width: 360px; height: 360px; inset-block-start: -150px; inset-inline-end: -70px; border-radius: 50%; background: rgba(255,111,97,.22); filter: blur(2px); }
.apps-chat-panel .apps-section-intro { color: #d8d2ed; }
.apps-chat-panel .apps-kicker { color: #ffd275; }
.apps-chat-panel h2 { color: #fff; }
.apps-chat-panel .apps-product-head,
.apps-chat-panel .apps-feature-grid,
.apps-chat-panel .apps-gallery,
.apps-chat-panel .apps-store-row,
.apps-chat-panel .apps-gallery-caption { position: relative; z-index: 1; }
.apps-chat-panel .apps-feature { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.08); box-shadow: none; }
.apps-chat-panel .apps-feature p { color: #d8d2ed; }
.apps-chat-panel .apps-feature-badge { background: rgba(255,255,255,.13); }
.apps-chat-panel .apps-gallery-caption { color: #c9c3e4; }

.apps-compare { padding: 96px 0; background: var(--apps-cream); }
.apps-center { text-align: center; }
.apps-center .apps-section-intro { margin-inline: auto; }
.apps-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 930px; margin: 40px auto 0; }
.apps-compare-card { padding: 32px; border: 1px solid var(--apps-line); border-radius: 28px; background: #fff; box-shadow: 0 14px 40px rgba(36,27,77,.08); }
.apps-compare-card img { width: 74px; margin-inline: auto; border-radius: 20px; }
.apps-compare-card h3 { margin: 18px 0 7px; font-size: 1.25rem; }
.apps-compare-card p { margin: 0; color: var(--apps-muted); }

.apps-faq { padding: 96px 0; }
.apps-faq-list { max-width: 830px; margin: 38px auto 0; }
.apps-faq details { border-bottom: 1px solid var(--apps-line); }
.apps-faq summary { cursor: pointer; padding: 21px 44px 21px 0; font-size: 1.06rem; font-weight: 850; list-style: none; }
.apps-faq summary::-webkit-details-marker { display: none; }
.apps-faq details p { margin: -5px 0 22px; color: var(--apps-muted); }

.apps-final { padding: 82px 0; background: linear-gradient(135deg, var(--apps-violet), #4725a8); color: #fff; text-align: center; }
.apps-final h2 { margin: 0; color: #fff; font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -.04em; }
.apps-final p { max-width: 720px; margin: 15px auto 0; color: #e8e2ff; font-size: 1.08rem; }
.apps-final .apps-hero-actions { justify-content: center; }

.apps-footer { padding: 50px 0 28px; background: var(--apps-night); color: #cbc6e8; }
.apps-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
.apps-footer h2, .apps-footer h3 { margin: 0 0 12px; color: #fff; font-size: 1rem; }
.apps-footer p { max-width: 330px; margin: 0; font-size: .92rem; }
.apps-footer a { display: block; margin: 8px 0; color: #cbc6e8; text-decoration: none; font-size: .92rem; }
.apps-footer a:hover { color: #fff; }
.apps-fine { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .84rem; color: #958fb9; }

[dir="rtl"] .apps-number-card { transform: rotate(-3deg); }
[dir="rtl"] .apps-phone--snap { transform: rotate(7deg); }
[dir="rtl"] .apps-phone--chat { transform: rotate(-7deg); }
[dir="rtl"] .apps-faq summary { padding: 21px 0 21px 44px; }

@media (max-width: 940px) {
  .apps-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .apps-hero-copy { max-width: 760px; }
  .apps-stage { width: min(540px, 100%); margin-inline: auto; }
  .apps-choice { margin-top: 0; padding-top: 22px; }
  .apps-choice-grid { grid-template-columns: minmax(0, 1fr); }
  .apps-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .apps-wrap { width: min(100% - 28px, 1160px); }
  .apps-nav ul li:not(:last-child):not(.sbx-language-picker-item) { display: none; }
  .apps-hero { padding: 68px 0 60px; }
  .apps-stage { min-height: 420px; transform: scale(.87); transform-origin: top center; margin-bottom: -50px; }
  .apps-choice-card { grid-template-columns: 62px minmax(0, 1fr); padding: 19px; }
  .apps-choice-card img { width: 62px; }
  .apps-choice-arrow { display: none; }
  .apps-section, .apps-compare, .apps-faq { padding: 72px 0; }
  .apps-product-head { grid-template-columns: 86px minmax(0, 1fr); gap: 18px; }
  .apps-product-head img { width: 86px; border-radius: 24px; }
  .apps-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .apps-gallery { grid-auto-columns: minmax(185px, 72%); }
  .apps-compare-grid { grid-template-columns: minmax(0, 1fr); }
  .apps-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 500px) {
  .apps-nav { gap: 10px; }
  .apps-nav ul { gap: 8px; }
  .apps-nav ul > li:not(.sbx-language-picker-item) { display: none; }
  .apps-stage { width: 100%; min-height: 390px; margin: 0; transform: none; }
  .apps-phone { width: 166px; padding: 7px; border-radius: 27px; }
  .apps-phone img { border-radius: 21px; }
  .apps-phone--snap { inset-block-start: 8px; inset-inline-start: 0; }
  .apps-phone--chat { inset-block-end: 0; inset-inline-end: 0; }
  .apps-number-card { inset-block-start: 139px; inset-inline-start: 98px; width: 158px; padding: 9px; border-radius: 14px; }
  .apps-number-card strong { margin-bottom: 5px; font-size: .8rem; }
  .apps-number-grid { gap: 3px; }
  .apps-number-grid span { border-radius: 5px; font-size: .58rem; }
  .apps-icon-float { display: none; }
  .apps-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apps-button, .apps-choice-card { transition: none; }
}
