:root {
  --bg-0: #02070f;
  --bg-1: #081425;
  --bg-2: #0e2036;
  --surface: rgba(8, 16, 31, 0.78);
  --surface-strong: rgba(9, 19, 35, 0.92);
  --line: rgba(168, 209, 255, 0.22);
  --line-soft: rgba(168, 209, 255, 0.12);
  --text: rgba(242, 248, 255, 0.98);
  --text-soft: rgba(210, 228, 248, 0.8);
  --text-muted: rgba(190, 211, 236, 0.58);
  --accent: #67b0ff;
  --accent-2: #2e8fff;
  --accent-soft: rgba(103, 176, 255, 0.18);
  --good: #58dcb1;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  --max-page: 1120px;
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

html {
  color-scheme: dark;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(54vw 54vw at 88% 8%, rgba(135, 115, 255, 0.2), transparent 70%),
    radial-gradient(34vw 34vw at 10% 84%, rgba(66, 211, 146, 0.15), transparent 74%),
    linear-gradient(128deg, var(--bg-0), var(--bg-1) 48%, var(--bg-2));
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.04;
  z-index: -1;
}

.skip-link {
  position: fixed;
  top: -50px;
  left: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #ffffff;
  color: #001534;
  text-decoration: none;
  font-weight: 700;
  z-index: 1200;
}

.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-wrap {
  width: min(var(--max-page), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 900;
  width: min(var(--max-page), calc(100% - 32px));
  margin: max(env(safe-area-inset-top), 0px) auto 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(9, 18, 34, 0.78));
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  min-height: 40px;
  padding: 3px 0;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.86);
  position: relative;
  flex-shrink: 0;
}

.logo-badge::before,
.logo-badge::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.logo-badge::before {
  left: 8px;
}

.logo-badge::after {
  right: 8px;
}

.logo-mouth {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 10px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.brand-text {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  overscroll-behavior: contain;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(120, 192, 255, 0.35));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: rgba(103, 176, 255, 0.09);
}

.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(103, 176, 255, 0.14);
}

.nav-link[aria-current="page"]::after,
.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(8, 17, 32, 0.68);
  justify-self: end;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.73rem;
  min-width: 44px;
  min-height: 40px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.lang-btn[aria-pressed="true"] {
  background: linear-gradient(140deg, rgba(103, 176, 255, 0.35), rgba(73, 139, 238, 0.18));
  color: #e9f4ff;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(8, 18, 36, 0.82);
  color: #deefff;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(4px);
}

body.menu-open .nav-toggle-bars {
  transform: rotate(45deg);
}

body.menu-open .nav-toggle-bars::before {
  opacity: 0;
}

body.menu-open .nav-toggle-bars::after {
  transform: translateY(-2px) rotate(-90deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 6, 14, 0.58);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 700;
}

body.menu-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

main {
  width: min(var(--max-page), calc(100% - 32px));
  margin: 24px auto 24px;
  padding-bottom: calc(env(safe-area-inset-bottom) + 26px);
}

.panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), var(--surface));
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.2vw, 36px);
  overflow: clip;
}

.panel+.panel {
  margin-top: 18px;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 34%);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
}

.hero.hero-single {
  grid-template-columns: 1fr;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  color: var(--accent);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2,
h3 {
  scroll-margin-top: 96px;
}

#main-content {
  scroll-margin-top: 112px;
}

h1 {
  margin-top: 12px;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.024em;
  font-size: clamp(2.06rem, 6.4vw, 4.2rem);
  text-wrap: balance;
}

.lead {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.48;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  max-width: 52ch;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(170, 214, 255, 0.38);
  text-decoration: none;
  font-weight: 730;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.btn-primary {
  color: #e9f3ff;
  background: linear-gradient(136deg, rgba(99, 174, 255, 0.42), rgba(76, 141, 239, 0.22));
}

.btn-secondary {
  color: var(--text-soft);
  background: rgba(8, 15, 29, 0.48);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(54, 126, 221, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  border-color: rgba(210, 235, 255, 0.75);
}

/* Extra emphasis for the direct download CTA on monetization-critical screens. */
.btn-download {
  isolation: isolate;
  color: #f4faff;
  border-color: rgba(201, 233, 255, 0.82);
  background:
    radial-gradient(120% 130% at 16% 12%, rgba(188, 227, 255, 0.28), transparent 44%),
    linear-gradient(136deg, rgba(112, 188, 255, 0.48), rgba(54, 114, 206, 0.32));
  box-shadow:
    inset 0 0 0 1px rgba(214, 238, 255, 0.26),
    0 16px 34px rgba(43, 112, 200, 0.36);
}

.btn-download::after {
  content: "";
  position: absolute;
  top: -56%;
  left: -42%;
  width: 34%;
  height: 220%;
  background: linear-gradient(104deg,
      transparent 0%,
      rgba(255, 255, 255, 0.84) 47%,
      transparent 100%);
  transform: translate3d(-220%, 0, 0) rotate(16deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease;
}

.btn-download:hover,
.btn-download:focus-visible {
  border-color: rgba(220, 242, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(229, 246, 255, 0.34),
    0 20px 40px rgba(49, 121, 216, 0.45);
}

.btn-download:hover::after,
.btn-download:focus-visible::after {
  opacity: 1;
  transform: translate3d(500%, 0, 0) rotate(16deg);
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 1.86rem);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.section-subtitle {
  margin-top: 10px;
  max-width: 66ch;
  color: var(--text-soft);
  line-height: 1.45;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(8, 15, 28, 0.72));
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(172, 214, 255, 0.6);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(12, 22, 40, 0.8));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(103, 176, 255, 0.15);
}

.icon-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #ecf6ff;
  background: rgba(103, 176, 255, 0.2);
  border: 1px solid rgba(172, 214, 255, 0.28);
}

.icon-line svg {
  width: 18px;
  height: 18px;
}

.card h3 {
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: -0.008em;
}

.card p {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.card svg.scene {
  width: 100%;
  height: 96px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, rgba(8, 14, 26, 0.6), rgba(4, 8, 15, 0.4));
  border: 1px solid rgba(138, 199, 255, 0.12);
  display: block;
  overflow: visible;
}

.scene-card {
  --scene-delay: 0s;
}

.scene-card .scene [class^="anim-"],
.scene-card .scene [class*=" anim-"],
.scene-card .scene .scroll-thumb {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.price-card h3 {
  margin-top: 0;
}

.price-value {
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.34rem, 3.8vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #f0f7ff;
}

.price-card-featured {
  border-color: rgba(172, 214, 255, 0.52);
  background: linear-gradient(160deg, rgba(102, 177, 255, 0.18), rgba(9, 18, 33, 0.82));
}

.price-badge {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 8px;
  min-height: 26px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(182, 224, 255, 0.5);
  color: #e9f5ff;
  background: rgba(103, 176, 255, 0.2);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.offer-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 12px;
  align-items: stretch;
}

.offer-card {
  display: grid;
  gap: 12px;
  align-content: start;
  height: 100%;
}

.offer-card-license {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(8, 15, 28, 0.8));
}

.offer-card-trial {
  background: linear-gradient(160deg, rgba(100, 170, 255, 0.16), rgba(9, 18, 33, 0.82));
  border-color: rgba(172, 214, 255, 0.38);
  gap: 14px;
}

.offer-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  letter-spacing: -0.018em;
  line-height: 1.12;
}

.offer-body {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.52;
  max-width: 44ch;
}

.offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-point {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(152, 207, 255, 0.24);
  background: rgba(103, 176, 255, 0.08);
  color: #d9ecff;
  font-size: 0.76rem;
  font-weight: 690;
}

.offer-card .pills {
  margin-top: 0;
}

.offer-card .helper {
  margin-top: 0;
}

.offer-actions {
  margin-top: auto;
}

.offer-card-trial .offer-actions,
.offer-card-trial .offer-actions .btn {
  width: 100%;
}

.trial-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.trial-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 18px;
  border: 1px solid rgba(152, 207, 255, 0.32);
  background: linear-gradient(145deg, rgba(103, 176, 255, 0.12), rgba(46, 92, 156, 0.08));
  color: #e6f3ff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.trial-feature-strong {
  border-color: rgba(182, 224, 255, 0.44);
  background: linear-gradient(145deg, rgba(103, 176, 255, 0.2), rgba(60, 115, 186, 0.12));
  box-shadow: inset 0 0 0 1px rgba(209, 236, 255, 0.05);
}

.trial-note {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(152, 207, 255, 0.18);
  background: rgba(8, 17, 32, 0.34);
}

#license-plans {
  scroll-margin-top: 170px;
}

#support-form-section {
  scroll-margin-top: 138px;
}

.plan-button {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at top left, rgba(119, 191, 255, 0.14), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(8, 15, 28, 0.84));
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 134px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.plan-button:hover,
.plan-button:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(172, 214, 255, 0.6);
  background:
    radial-gradient(circle at top left, rgba(132, 201, 255, 0.2), transparent 45%),
    linear-gradient(160deg, rgba(100, 170, 255, 0.18), rgba(9, 18, 33, 0.88));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(103, 176, 255, 0.18);
}

.plan-name {
  display: block;
  font-weight: 720;
  line-height: 1.08;
  max-width: 8.8ch;
  text-wrap: balance;
}

.plan-header {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}

.plan-price {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.36rem, 3vw, 1.88rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: auto;
  color: #f7fbff;
  text-shadow: 0 0 20px rgba(111, 182, 255, 0.18);
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(214, 238, 255, 0.4);
  color: #f4fbff;
  background: linear-gradient(135deg, rgba(103, 176, 255, 0.26), rgba(71, 135, 235, 0.16));
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(22, 58, 112, 0.26);
  white-space: nowrap;
  align-self: start;
  justify-self: start;
}

.plan-button:not(.plan-button-featured) .plan-badge {
  display: none;
}

.plan-button-featured {
  border-color: rgba(176, 220, 255, 0.44);
  background:
    radial-gradient(circle at top left, rgba(154, 216, 255, 0.2), transparent 44%),
    linear-gradient(160deg, rgba(112, 182, 255, 0.16), rgba(8, 15, 28, 0.88));
  box-shadow: inset 0 0 0 1px rgba(189, 228, 255, 0.08), 0 14px 30px rgba(4, 13, 28, 0.32);
}

.pills {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(152, 207, 255, 0.32);
  background: rgba(103, 176, 255, 0.12);
  color: #e4f2ff;
  font-size: 0.8rem;
  font-weight: 670;
}

.checklist {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
}

.check-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(88, 220, 177, 0.22);
  border: 1px solid rgba(88, 220, 177, 0.44);
  color: #b6f4de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-bullet svg {
  width: 12px;
  height: 12px;
}

.helper {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.helper-strong {
  color: #dfeefe;
}

.support-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.84rem;
  color: var(--text-soft);
  font-weight: 660;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(166, 213, 255, 0.28);
  background: rgba(8, 16, 31, 0.76);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(190, 214, 239, 0.5);
}

.lang-btn:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible,
.site-foot a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(103, 176, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(103, 176, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  background: rgba(12, 22, 40, 0.9);
}

.field input:invalid,
.field select:invalid,
.field textarea:invalid {
  border-color: rgba(255, 143, 167, 0.58);
}

.form-status {
  min-height: 1.2em;
  color: rgba(255, 192, 210, 0.95);
}

.site-foot {
  width: min(var(--max-page), calc(100% - 32px));
  margin: 4px auto calc(env(safe-area-inset-bottom) + 16px);
  padding: 8px 8px 4px;
  color: var(--text-muted);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.site-foot a {
  color: #c7e5ff;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

#support-direct-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.btn,
.nav-link,
.lang-btn,
.nav-toggle {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(103, 176, 255, 0.22);
}

body.motion-init[data-ready="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

body.motion-init[data-ready="true"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-download {
    animation: download-pulse 3.4s ease-in-out infinite;
  }

  .btn-download:hover,
  .btn-download:focus-visible {
    animation-play-state: paused;
  }

  body.motion-init [data-reveal] {
    opacity: 0;
    transform: translateY(10px) scale(0.992);
  }

  body.motion-init[data-ready="true"] .hero [data-reveal] {
    animation: rise 700ms cubic-bezier(0.2, 0.8, 0.15, 1) both;
    animation-delay: calc(var(--reveal, 0) * 120ms);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes download-pulse {

  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(214, 238, 255, 0.26),
      0 14px 28px rgba(43, 112, 200, 0.28);
  }

  50% {
    box-shadow:
      inset 0 0 0 1px rgba(235, 249, 255, 0.3),
      0 20px 40px rgba(66, 142, 242, 0.4);
  }
}

/* --- Global SVG Animations --- */
@keyframes svg-pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(103, 176, 255, 0.3));
    stroke: rgba(255, 255, 255, 0.7);
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(103, 176, 255, 0.8));
    stroke: rgba(255, 255, 255, 1);
  }
}

@keyframes svg-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes svg-dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Animations that trigger on card hover */
.card:hover .anim-float {
  animation: svg-float 2.5s ease-in-out infinite;
}

.card:hover .anim-pulse {
  animation: svg-pulse-glow 2s ease-in-out infinite;
}

.card:hover .anim-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: svg-dash 1.2s ease-out forwards;
}

/* Specific interactive scene elements */
@keyframes window-scroll {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes scroll-thumb-travel {

  0%,
  100% {
    transform: translateY(0);
    fill: #4B5563;
  }

  50% {
    transform: translateY(11px);
    fill: #7cbcff;
  }
}

@keyframes mouse-move {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(14px, -10px);
  }

  50% {
    transform: translate(20px, 4px);
  }

  75% {
    transform: translate(6px, 12px);
  }
}

@keyframes stick-tilt {

  0%,
  100% {
    transform: rotate(0deg) translate(0, 0);
  }

  25% {
    transform: rotate(15deg) translate(4px, -3px);
  }

  50% {
    transform: rotate(20deg) translate(6px, 1px);
  }

  75% {
    transform: rotate(5deg) translate(1px, 4px);
  }
}

@keyframes stick-wave {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }

  20% {
    opacity: 0.42;
  }

  100% {
    transform: scale(1.34);
    opacity: 0;
  }
}

@keyframes stick-tilt-v {

  0%,
  100% {
    transform: rotate(0deg) translate(0, 0);
  }

  50% {
    transform: rotate(-20deg) translate(-2px, -6px);
  }
}

@keyframes mouse-left-click {

  0%,
  100% {
    transform: translateY(0);
    fill: #1C2130;
    stroke: #2A3143;
    filter: none;
  }

  18%,
  34% {
    transform: translateY(2px);
    fill: #8fc8ff;
    stroke: #eaf6ff;
    filter: drop-shadow(0 0 6px rgba(143, 200, 255, 0.55));
  }

  50% {
    transform: translateY(0);
    fill: #1C2130;
    stroke: #2A3143;
    filter: none;
  }
}

@keyframes mouse-right-click {

  0%,
  100% {
    transform: translateY(0);
    fill: #1C2130;
    stroke: #2A3143;
    filter: none;
  }

  50% {
    transform: translateY(0);
    fill: #1C2130;
    stroke: #2A3143;
    filter: none;
  }

  62%,
  78% {
    transform: translateY(2px);
    fill: #8fc8ff;
    stroke: #eaf6ff;
    filter: drop-shadow(0 0 6px rgba(143, 200, 255, 0.55));
  }
}

@keyframes wheel-nudge {

  0%,
  100% {
    transform: none;
    fill: #4B5563;
  }

  60% {
    transform: none;
    fill: #4B5563;
  }
}

@keyframes trigger-press-l {

  0%,
  100% {
    transform: translateY(0);
    fill: #151A25;
  }

  25% {
    transform: translateY(2px);
    fill: rgba(103, 176, 255, 0.4);
  }

  50% {
    transform: translateY(0);
    fill: #151A25;
  }
}

@keyframes trigger-press-r {

  0%,
  100% {
    transform: translateY(0);
    fill: #151A25;
  }

  50% {
    transform: translateY(0);
    fill: #151A25;
  }

  75% {
    transform: translateY(2px);
    fill: rgba(103, 176, 255, 0.4);
  }
}

@keyframes bumper-press {

  0%,
  14%,
  32%,
  66%,
  84%,
  100% {
    opacity: 0;
  }

  20%,
  72% {
    opacity: 0.88;
    fill: var(--accent);
  }
}

@keyframes click-ripple {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  20% {
    transform: scale(1.5);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes launchpad-shell {

  0%,
  22%,
  100% {
    transform: scaleX(0.16) scaleY(0.22);
    opacity: 0.38;
  }

  30%,
  74% {
    transform: scaleX(1) scaleY(1);
    opacity: 1;
  }

  88% {
    transform: scaleX(0.2) scaleY(0.26);
    opacity: 0.44;
  }
}

@keyframes launchpad-grid {

  0%,
  22%,
  100% {
    transform: scale(0.4);
    opacity: 0;
  }

  31%,
  75% {
    transform: scale(1);
    opacity: 1;
  }

  89% {
    transform: scale(0.56);
    opacity: 0;
  }
}

@keyframes app-pop {

  0%,
  24%,
  100% {
    transform: translateY(4px) scale(0.48);
    opacity: 0;
  }

  34%,
  74% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  88% {
    transform: translateY(2px) scale(0.7);
    opacity: 0;
  }
}

@keyframes dock-slide {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }

  20% {
    transform: translateY(-2px);
    opacity: 1;
  }

  50% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

.scene-card:hover .anim-window-scroll,
.scene-card:focus-within .anim-window-scroll,
.scene-card.is-animated .anim-window-scroll {
  animation: window-scroll 3s ease-in-out infinite;
  animation-delay: var(--scene-delay, 0s);
}

.scene-card:hover .anim-scroll-thumb,
.scene-card:focus-within .anim-scroll-thumb,
.scene-card.is-animated .anim-scroll-thumb {
  animation: scroll-thumb-travel 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 120ms);
}

.scene-card:hover .anim-mouse-move,
.scene-card:focus-within .anim-mouse-move,
.scene-card.is-animated .anim-mouse-move {
  animation: mouse-move 3s ease-in-out infinite;
  animation-delay: var(--scene-delay, 0s);
}

.scene-card:hover .anim-stick-tilt,
.scene-card:focus-within .anim-stick-tilt,
.scene-card.is-animated .anim-stick-tilt {
  animation: stick-tilt 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 80ms);
}

.scene-card:hover .anim-stick-tilt-v,
.scene-card:focus-within .anim-stick-tilt-v,
.scene-card.is-animated .anim-stick-tilt-v {
  animation: stick-tilt-v 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 120ms);
}

.scene-card:hover .anim-stick-wave,
.scene-card:focus-within .anim-stick-wave,
.scene-card.is-animated .anim-stick-wave {
  animation: stick-wave 2.4s ease-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 180ms);
}

.scene-card:hover .anim-left-click,
.scene-card:focus-within .anim-left-click,
.scene-card.is-animated .anim-left-click {
  animation: mouse-left-click 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 120ms);
}

.scene-card:hover .anim-right-click,
.scene-card:focus-within .anim-right-click,
.scene-card.is-animated .anim-right-click {
  animation: mouse-right-click 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 420ms);
}

.scene-card:hover .anim-wheel,
.scene-card:focus-within .anim-wheel,
.scene-card.is-animated .anim-wheel {
  animation: wheel-nudge 2.6s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 240ms);
}

.scene-card:hover .anim-left-trigger,
.scene-card:focus-within .anim-left-trigger,
.scene-card.is-animated .anim-left-trigger {
  animation: trigger-press-l 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 100ms);
}

.scene-card:hover .anim-right-trigger,
.scene-card:focus-within .anim-right-trigger,
.scene-card.is-animated .anim-right-trigger {
  animation: trigger-press-r 3s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 340ms);
}

.scene-card:hover .anim-bumper,
.scene-card:focus-within .anim-bumper,
.scene-card.is-animated .anim-bumper {
  animation: bumper-press 4.6s ease-in-out infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 260ms);
}

.scene-card:hover .anim-ripple,
.scene-card:focus-within .anim-ripple,
.scene-card.is-animated .anim-ripple {
  animation: none;
}

.scene-card:hover .anim-launchpad-shell,
.scene-card:focus-within .anim-launchpad-shell,
.scene-card.is-animated .anim-launchpad-shell {
  animation: launchpad-shell 4.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  transform-origin: center;
  animation-delay: calc(var(--scene-delay, 0s) + 180ms);
}

.scene-card:hover .anim-launchpad-grid,
.scene-card:focus-within .anim-launchpad-grid,
.scene-card.is-animated .anim-launchpad-grid {
  animation: launchpad-grid 4.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  transform-origin: center;
  animation-delay: calc(var(--scene-delay, 0s) + 180ms);
}

.scene-card:hover .anim-app-tile,
.scene-card:focus-within .anim-app-tile,
.scene-card.is-animated .anim-app-tile {
  animation: app-pop 4.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 180ms + var(--tile-delay, 0s));
}

.scene-card:hover .anim-dock,
.scene-card:focus-within .anim-dock,
.scene-card.is-animated .anim-dock {
  animation: dock-slide 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: calc(var(--scene-delay, 0s) + 240ms);
}


@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 24px);
    margin-top: max(env(safe-area-inset-top), 0px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding-inline: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 950;
  }

  .site-nav {
    position: fixed;
    right: 12px;
    left: 12px;
    top: calc(env(safe-area-inset-top) + 68px);
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    z-index: 850;
  }

  body.menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 10px;
  }

  .nav-link {
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .lang-switch {
    justify-self: center;
  }

  main {
    width: calc(100% - 24px);
    margin-top: 16px;
  }

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

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

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

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

  .trial-feature-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand-text {
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(1.86rem, 10.6vw, 2.8rem);
  }

  .panel {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .site-foot {
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .header-inner {
    min-height: 58px;
  }

  .brand-text {
    max-width: 145px;
    white-space: normal;
    line-height: 1.1;
  }

  .lang-btn {
    min-width: 40px;
    min-height: 40px;
  }

}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
