:root {
  --bg: #050915;
  --bg2: #071126;
  --text: #f5efe8;
  --muted: #b9b1aa;
  --accent: #efb15e;
  --accent-soft: #f3c98f;
  --stroke: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.05);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--bg);
  overscroll-behavior-y: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 177, 94, 0.11), transparent 18%),
    radial-gradient(circle at 84% 12%, rgba(135, 206, 235, 0.14), transparent 17%),
    radial-gradient(circle at 74% 78%, rgba(72, 118, 255, 0.12), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 44%, var(--bg) 100%);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body[data-status-page="login"] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body[data-status-page="login"] input,
body[data-status-page="login"] textarea,
body[data-status-page="login"] select,
body[data-status-page="login"] [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow-x: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(5px);
  opacity: 0.62;
  z-index: 0;
  animation: float-orb 14s ease-in-out infinite;
}

.orb.one {
  width: 260px;
  height: 260px;
  top: 70px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.34), rgba(255, 184, 77, 0));
}

.orb.two {
  width: 220px;
  height: 220px;
  top: 20px;
  right: 120px;
  background: radial-gradient(circle, rgba(111, 181, 255, 0.3), rgba(111, 181, 255, 0));
  animation-delay: -4s;
}

.orb.three {
  width: 180px;
  height: 180px;
  bottom: 50px;
  right: -42px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  animation-delay: -8s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -12px, 0) scale(1.04);
  }
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.top-logo {
  width: clamp(40px, 4vw, 60px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(233, 146, 0, 0.24));
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.nav-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.nav-pill,
.lang-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #06080d;
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-pill:hover,
.lang-select:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 177, 94, 0.35);
  box-shadow: 0 8px 22px rgba(239, 177, 94, 0.14);
}

.lang-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.lang-select {
  width: 100%;
  appearance: none;
  padding-right: 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(245, 239, 232, 0.82) 50%),
    linear-gradient(135deg, rgba(245, 239, 232, 0.82) 50%, transparent 50%);
  background-position: calc(100% - 14px) 17px, calc(100% - 9px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 8, 13, 0.9);
  cursor: pointer;
  z-index: 200;
  transition: border-color 0.12s ease;
  flex-shrink: 0;
}

.burger:hover {
  border-color: rgba(239, 177, 94, 0.45);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 100;
  border-radius: 20px;
  padding: 10px;
  background: rgba(6, 8, 14, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  flex-direction: column;
  gap: 4px;
}

.nav-drawer.open {
  display: flex;
}

.drawer-pill {
  display: block;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 15px;
  color: var(--text);
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.drawer-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(239, 177, 94, 0.25);
}

.pricing-back-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 8px 0 14px;
}

.pricing-back-link {
  padding: 10px 16px;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(36px, 7vh, 86px);
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

#heroTitle {
  margin: 0 0 10px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-sub {
  margin: 0 0 10px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.5;
}

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

.feature-card {
  position: relative;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(239, 177, 94, 0.18);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 14px;
  min-height: 78px;
  box-shadow: var(--shadow);
}

.feature-card strong {
  display: block;
  font-size: 16px;
  color: var(--accent-soft);
  margin-bottom: 5px;
}

.feature-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.feature-link {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.feature-link::after {
  content: "->";
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(243, 201, 143, 0.78);
  font-size: 14px;
  line-height: 1;
}

.feature-card .feature-beta-badge {
  position: absolute;
  top: 10px;
  right: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(239, 177, 94, 0.62);
  background: linear-gradient(180deg, rgba(255, 226, 179, 0.98), rgba(239, 177, 94, 0.92));
  color: #261c0e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.feature-link:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 177, 94, 0.32);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.feature-link:focus-visible {
  outline: 2px solid rgba(239, 177, 94, 0.54);
  outline-offset: 2px;
}

.feature-grid.is-spotlight .feature-card {
  z-index: 2;
  border-color: rgba(239, 177, 94, 0.58);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(239, 177, 94, 0.36),
    0 0 24px rgba(239, 177, 94, 0.22);
  animation: featureSpotlightPulse 1.25s ease;
}

.feature-grid.is-spotlight .feature-card::after {
  color: rgba(255, 225, 178, 0.94);
}

@keyframes featureSpotlightPulse {
  0% {
    transform: translateY(2px) scale(0.992);
    filter: brightness(0.95);
  }
  45% {
    transform: translateY(-3px) scale(1.012);
    filter: brightness(1.07);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

.hero-visual {
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(circle, rgba(239, 177, 94, 0.14), transparent 60%);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  perspective: 1400px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(90vh, 760px);
  display: block;
  border: 0;
  object-fit: contain;
  transform: rotateY(-10deg) rotateX(5deg) scale(0.75);
  transform-origin: center;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
  transition: transform .24s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.content-section {
  position: relative;
  margin-top: clamp(52px, 9vh, 112px);
  padding-top: 12px;
}

.content-section--first {
  margin-top: 22px;
}

.content-section--first::before {
  display: none;
}

.content-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -26px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(239, 177, 94, 0),
    rgba(239, 177, 94, 0.32) 20%,
    rgba(239, 177, 94, 0.12) 80%,
    rgba(239, 177, 94, 0)
  );
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 0 0 16px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.login-wrap {
  position: relative;
  display: block;
  max-width: 740px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(239, 177, 94, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.08), transparent 22%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.form-panel {
  border-radius: 24px;
  border: 1px solid var(--stroke);
}

.form-panel {
  padding: 18px;
  background: rgba(8, 12, 20, 0.76);
}

.form-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.form-copy {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.trust-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: #e9ddd0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
}

.trust-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

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

.field label {
  font-size: 13px;
  color: #f1e8de;
  font-weight: 600;
}

.input-shell {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}

.input {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(8, 12, 20, 0.9);
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(239, 177, 94, 0.22) inset;
}

.field-note {
  color: #a89f96;
  font-size: 12px;
  line-height: 1.4;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 10px;
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(239, 177, 94, 0.4);
  background: linear-gradient(180deg, #ffc35a 0%, #eea628 100%);
  color: #22170f;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 22px 40px rgba(255, 166, 40, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -20%;
  width: 120px;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: cta-shine 3.2s linear infinite;
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: .25;
  pointer-events: none;
}

@keyframes cta-shine {
  from { left: -25%; }
  to { left: 110%; }
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 50px rgba(255, 166, 40, 0.26), 0 0 38px rgba(255, 189, 84, 0.18);
  filter: saturate(1.03);
}

.cta:disabled {
  opacity: 0.65;
  cursor: progress;
}

.cta.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(239, 177, 94, 0.24);
  color: var(--text);
  box-shadow: none;
}

.cta.secondary::before,
.cta.secondary::after {
  display: none;
}

.help-link {
  margin-top: 10px;
  display: inline-flex;
  color: var(--accent-soft);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-note {
  margin-top: 8px;
  display: none;
  border-radius: 12px;
  border: 1px solid rgba(239, 177, 94, 0.2);
  background: rgba(239, 177, 94, 0.08);
  color: #f5d5ad;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px;
}

.err-box {
  margin-top: 10px;
  min-height: 18px;
  color: #ff859a;
  font-size: 13px;
}

.ok-box {
  margin-top: 8px;
  display: grid;
  gap: 2px;
  border-radius: 12px;
  border: 1px solid rgba(124, 212, 157, 0.28);
  background: rgba(84, 176, 122, 0.1);
  color: #d5f4e2;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px;
}

.ok-box[hidden] {
  display: none;
}

.benefits {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  background: rgba(239, 177, 94, 0.14);
  border: 1px solid rgba(239, 177, 94, 0.3);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.carousel-shell {
  position: relative;
  padding: 10px 0 6px;
}

.carousel-stage {
  position: relative;
  height: 490px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.carousel-stage::before {
  content: "";
  position: absolute;
  inset: 10% 22%;
  background: radial-gradient(circle, rgba(239, 177, 94, 0.12), transparent 66%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.slide {
  position: absolute;
  width: min(32vw, 500px);
  min-width: 280px;
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(12px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.slide-image {
  width: 100%;
  height: 232px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.slide-title {
  display: block;
  font-size: 18px;
  color: var(--accent-soft);
  margin-bottom: 4px;
}

.slide-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.slide-title-row .slide-title {
  margin-bottom: 0;
}

.slide-beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(239, 177, 94, 0.55);
  background: linear-gradient(180deg, rgba(255, 229, 187, 0.98), rgba(239, 177, 94, 0.9));
  color: #2a1f10;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.24);
}

.slide.is-center {
  z-index: 5;
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.slide.is-left {
  z-index: 3;
  transform: translateX(-72%) scale(0.84);
  opacity: 0.82;
  filter: blur(0.2px);
}

.slide.is-right {
  z-index: 3;
  transform: translateX(72%) scale(0.84);
  opacity: 0.82;
  filter: blur(0.2px);
}

.slide.is-hidden-left {
  z-index: 1;
  transform: translateX(-118%) scale(0.68);
  opacity: 0;
  pointer-events: none;
}

.slide.is-hidden-right {
  z-index: 1;
  transform: translateX(118%) scale(0.68);
  opacity: 0;
  pointer-events: none;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.nav-btn {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 239, 232, 0.9);
  font-size: 34px;
  line-height: 1;
  padding: 0 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.nav-btn:hover {
  color: var(--accent-soft);
  transform: translateY(-1px);
  opacity: 1;
}

.nav-btn:focus-visible {
  outline: 2px solid rgba(239, 177, 94, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.carousel-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-hint {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: #a89f96;
}

.flow-viewport {
  height: 460px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  position: relative;
  scroll-behavior: smooth;
  padding-top: 22px;
  padding-bottom: 110px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.flow-viewport::-webkit-scrollbar {
  display: none;
}

.flow-hint {
  position: absolute;
  bottom: 16px;
  left: calc(50% - 42px);
  display: flex;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  animation: float 1.6s infinite;
  transition: opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.flow-viewport:hover .flow-hint,
.flow-viewport:focus-within .flow-hint,
.flow-viewport.show-hint .flow-hint {
  opacity: 1;
}

.flow-viewport.scrolled .flow-hint {
  opacity: 0 !important;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

.flow-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 20px;
  --progress: 0%;
}

.flow-track::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-track::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: var(--progress);
  background: linear-gradient(var(--accent), transparent);
  transition: 0.2s;
}

.flow-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: 0.35;
  transform: scale(0.96);
  transition: 0.4s;
  filter: blur(0.5px);
}

.flow-step.active {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.flow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  margin: 0 auto;
  transition: 0.3s;
}

.flow-circle::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 177, 94, 0.35), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.flow-step.active .flow-circle {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(239, 177, 94, 0.15);
}

.flow-step.active .flow-circle::before {
  opacity: 1;
}

.flow-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  transition: 0.3s;
  max-width: 620px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flow-step.active .flow-card {
  border-color: rgba(239, 177, 94, 0.35);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.flow-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.flow-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.flow-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.flow-tip {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(239, 177, 94, 0.85);
}

.demo-frame {
  position: relative;
  margin: 12px auto 0;
  border-radius: 18px;
  overflow: hidden;
  clip-path: inset(0 round 18px);
  -webkit-clip-path: inset(0 round 18px);
  aspect-ratio: 16 / 9;
  --demo-max-h: min(52dvh, 560px);
  width: min(920px, 94vw, calc(var(--demo-max-h) * 1.7778));
  max-width: min(920px, 94vw);
  max-height: var(--demo-max-h);
  isolation: isolate;
  border: 1px solid rgba(255, 204, 153, 0.22);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.demo-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #081126;
  border-radius: inherit;
  overflow: hidden;
  clip-path: inset(0 round 18px);
  -webkit-clip-path: inset(0 round 18px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  opacity: 1;
}

.demo-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  transform: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: inherit;
  background: linear-gradient(180deg, rgba(5, 9, 21, 0.22), rgba(5, 9, 21, 0.48));
  transition: background 0.2s ease, opacity 0.2s ease;
}

.demo-play-overlay:hover {
  background: linear-gradient(180deg, rgba(5, 9, 21, 0.18), rgba(5, 9, 21, 0.54));
  transform: none;
}

.demo-play-overlay:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 195, 90, 0.48);
}

.demo-play-overlay[hidden] {
  display: none;
}

.demo-play-overlay__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(239, 177, 94, 0.56);
  background: linear-gradient(180deg, #ffc35a 0%, #eea628 100%);
  box-shadow:
    0 16px 34px rgba(255, 166, 40, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  color: #22170f;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.demo-play-overlay:hover .demo-play-overlay__chip {
  transform: translateY(-1px);
  box-shadow:
    0 20px 40px rgba(255, 166, 40, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  filter: saturate(1.04);
}

.demo-play-overlay__icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #22170f;
  transform: translateX(1px);
}

.demo-play-overlay__text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.52px;
  text-transform: uppercase;
  line-height: 1;
}

.demo-video:fullscreen,
.demo-video:-webkit-full-screen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  background: #000 !important;
}

.demo-glow {
  display: none;
}

.hero-band {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.value-panel,
.free-panel {
  border-radius: 26px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  padding: 20px;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #f2c98f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.panel-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.panel-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.feature-list,
.free-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.feature-list li,
.free-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #e8e0d8;
  font-size: 14px;
  line-height: 1.45;
}

.feature-list .tick,
.free-list .tick {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-color: rgba(239, 177, 94, 0.5);
  background: radial-gradient(circle at 35% 30%, rgba(255, 247, 236, 0.42), rgba(239, 177, 94, 0.16) 62%, rgba(239, 177, 94, 0.08) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 244, 224, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.22);
  color: transparent;
  font-size: 0;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 6px 0 14px;
}

.free-price {
  font-size: 52px;
  line-height: 0.92;
  font-weight: 800;
}

.free-tag {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.plans-stack {
  margin-top: clamp(20px, 3.2vw, 34px);
  display: grid;
  gap: 24px;
}

.plans-group {
  border-radius: 26px;
  border: 1px solid rgba(239, 177, 94, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 22px 56px rgba(5, 8, 15, 0.42);
  padding: 18px;
}

.plans-group--booking {
  border-color: rgba(241, 198, 145, 0.34);
  background: linear-gradient(180deg, rgba(241, 198, 145, 0.1), rgba(255, 255, 255, 0.015));
}

.plans-group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 24px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(239, 177, 94, 0.16);
}

.plans-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f5d6b3;
}

.plans-note {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: right;
}

.plans {
  margin-top: 0;
  display: grid;
  gap: 16px;
}

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

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

.plan {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .cta::before {
    animation: none !important;
  }

  .hero-image,
  .slide,
  .flow-step,
  .flow-card,
  .plan,
  .nav-pill,
  .lang-select {
    transition: none !important;
  }
}

.plan.popular {
  border-color: rgba(239, 177, 94, 0.4);
  box-shadow: 0 26px 60px rgba(8, 10, 18, 0.5), 0 0 0 1px rgba(239, 177, 94, 0.12) inset;
}

.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 177, 94, 0.34);
  box-shadow: 0 28px 62px rgba(8, 10, 18, 0.56);
}

.plan.popular:hover {
  border-color: rgba(239, 177, 94, 0.54);
  box-shadow: 0 32px 70px rgba(8, 10, 18, 0.6), 0 0 0 1px rgba(239, 177, 94, 0.22) inset;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  border: 1px solid rgba(239, 177, 94, 0.26);
  background: rgba(239, 177, 94, 0.15);
  color: #f4cb93;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 8px;
  font-weight: 700;
}

.plan-name {
  color: #f1c691;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

.plan-price .price {
  font-size: 48px;
  line-height: 0.9;
  font-weight: 800;
}

.days {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.plan-tier {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: rgba(241, 198, 145, 0.9);
  font-size: 12px;
  margin-bottom: 2px;
  text-align: left;
  line-height: 1.35;
}

.plan-tier-note {
  display: block;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 520;
  letter-spacing: 0.01em;
  color: rgba(241, 198, 145, 0.78);
  white-space: normal;
  overflow-wrap: anywhere;
}

.plan .cta {
  margin-top: auto;
  align-self: flex-start;
}

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

.contact-card {
  border-radius: 20px;
  border: 1px solid rgba(239, 177, 94, 0.16);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  padding: 16px;
  min-height: 170px;
}

.contact-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 7px;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-email {
  color: #f1c691;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  width: min(980px, 94vw);
  margin: 34px auto 0;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(184, 184, 184, 0.85);
  font-size: 12px;
  border: 1px solid rgba(255, 204, 153, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 204, 153, 0.035), rgba(0, 0, 0, 0.24));
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col + .footer-col {
  position: relative;
  padding-left: 26px;
}

.footer-col + .footer-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 204, 153, 0) 0%,
    rgba(255, 204, 153, 0.16) 22%,
    rgba(255, 204, 153, 0.16) 78%,
    rgba(255, 204, 153, 0) 100%
  );
}

.footer-col--product {
  justify-self: center;
  text-align: center;
}

.footer-col--legal {
  justify-self: end;
  text-align: right;
}

.footer-brand-logo {
  display: block;
  width: clamp(58px, 6.6vw, 84px);
  height: auto;
  margin: 0 0 8px;
  opacity: 0.96;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.footer-tagline {
  margin-top: 5px;
  color: rgba(184, 184, 184, 0.9);
  font-size: 11.8px;
  line-height: 1.35;
}

.footer-copy {
  margin-top: 7px;
  color: rgba(184, 184, 184, 0.82);
  font-size: 11.5px;
  line-height: 1.35;
}

.footer-col-title {
  color: rgba(255, 204, 153, 0.94);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: rgba(255, 204, 153, 0.9);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 204, 153, 0.18);
  padding-bottom: 0;
  font-size: 10.8px;
  line-height: 1.35;
}

.footer-links a::before {
  content: "•";
  color: rgba(255, 204, 153, 0.66);
  margin-right: 5px;
  font-size: 9px;
  transform: translateY(-0.5px);
}

.footer-links a:hover {
  border-bottom-color: rgba(255, 204, 153, 0.55);
  color: rgba(255, 204, 153, 0.98);
}

.footer-links--product {
  width: max-content;
  margin-inline: auto;
  align-items: flex-start;
}

.footer-links--legal {
  width: max-content;
  margin-left: auto;
  align-items: flex-start;
}

.footer-contact-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 153, 0.2);
  background: linear-gradient(180deg, rgba(255, 204, 153, 0.08), rgba(0, 0, 0, 0.26));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: rgba(184, 184, 184, 0.9);
  font-size: 11.4px;
  line-height: 1.35;
  text-align: center;
}

.footer-contact-card a {
  color: rgba(255, 204, 153, 0.95);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255, 204, 153, 0.28);
}

.footer-contact-card a:hover {
  border-bottom-color: rgba(255, 204, 153, 0.58);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10720;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  transform: translate(-50%, 8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 153, 0.26);
  background: rgba(0, 0, 0, 0.74);
  color: rgba(255, 204, 153, 0.96);
  padding: 5px 10px;
  font-size: 9px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.modal.is-hint-visible .modal-hint {
  opacity: 0.96;
  transform: translate(-50%, 0);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(860px, 96vw);
  max-height: min(72vh, 640px);
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(40, 68, 118, 0.48), #0f1624 22%, rgba(10, 18, 34, 0.98));
  border: 1px solid rgba(138, 164, 208, 0.32);
  box-shadow: 0 28px 90px rgba(3, 8, 18, 0.74);
  display: flex;
  flex-direction: column;
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  margin: 0;
  background: linear-gradient(180deg, rgba(16, 29, 55, 0.98), #0b1220);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(138, 164, 208, 0.24);
}

.modal-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.2px;
  color: rgba(255, 204, 153, 0.95);
}

.modal-head .modal-close,
.modal-head [data-close] {
  display: none !important;
}

.modal-body {
  padding: 14px 16px 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-body p,
.modal-body li {
  color: rgba(184, 184, 184, 0.95);
  font-size: 13px;
  line-height: 1.55;
}

.modal-body ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.modal-body a,
.modal-body a:visited {
  color: #ffcc99;
  text-decoration: none;
  font-weight: 600;
}

.modal-body a:hover {
  text-decoration: underline;
}

.policy-lang-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(138, 164, 208, 0.24);
  background: rgba(13, 27, 52, 0.46);
  color: rgba(255, 204, 153, 0.94);
  font-size: 12px;
  line-height: 1.45;
}

body.modal-open,
body.gallery-open {
  overflow: hidden;
}

.privacy-policy.is-justify p,
.privacy-policy.is-justify li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.privacy-policy h2,
.privacy-policy h3,
.privacy-policy h4 {
  color: rgba(255, 204, 153, 0.95);
}

@media (max-width: 600px) {
  .privacy-policy:not(.is-justify) p,
  .privacy-policy:not(.is-justify) li {
    text-align: left;
  }
}

.policy-separator {
  border: 0;
  border-top: 1px solid rgba(138, 164, 208, 0.24);
  margin: 22px 0;
}

.modal-flat h4 {
  margin: 18px 0 10px;
  color: rgba(255, 204, 153, 0.95);
}

.modal-flat .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.modal-flat .feature-list li {
  padding-left: 0;
  color: var(--muted);
}

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

.modal-plan-btn {
  border-radius: 16px;
  border: 1px solid rgba(239, 177, 94, 0.34);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: block;
  color: var(--text);
}

.modal-plan-btn:hover {
  border-color: rgba(239, 177, 94, 0.6);
}

.modal-plan-meta {
  display: grid;
  gap: 5px;
}

.modal-plan-days {
  color: var(--muted);
  font-size: 12px;
}

.modal-plan-price {
  color: var(--accent-soft);
  font-size: 20px;
  font-weight: 700;
}

.modal-plan-tier {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(241, 198, 145, 0.9);
  font-size: 11px;
  text-align: center;
}

.modal-plan-tier-label {
  line-height: 1.1;
}

.modal-plan-tier-note {
  display: block;
  max-width: min(240px, 100%);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 520;
  letter-spacing: 0.01em;
  color: rgba(241, 198, 145, 0.78);
  white-space: normal;
  overflow-wrap: anywhere;
}

.modal-body .contact-block {
  margin-top: 8px;
  text-align: center;
}

.modal-body .contact-logo {
  display: block;
  height: 36px;
  margin: 0 auto 14px auto;
  opacity: 0.9;
}

.modal-body .contact-block p,
.modal-body .contact-block ul,
.modal-body .contact-block li,
.modal-body .contact-block strong,
.modal-body .contact-block span {
  text-align: center;
}

.modal-body .contact-block a {
  color: #ffcc99;
  text-decoration: none;
  font-weight: 600;
}

.modal-body .contact-block a:hover {
  text-decoration: underline;
}

.modal-body .contact-block ul {
  padding-left: 0;
  list-style: none;
  margin-top: 14px;
}

.modal-body .contact-block li {
  max-width: 720px;
  margin: 0 auto 14px;
}

.modal-body .contact-block span {
  display: block;
  font-size: 12px;
  opacity: 0.75;
  margin-top: 2px;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 10720;
  background: rgba(2, 6, 16, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-overlay__panel {
  width: min(1040px, 100%);
  max-height: min(90vh, 900px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 12, 24, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58);
  position: relative;
  overflow: hidden;
}

.gallery-overlay__zoom-btn {
  position: absolute;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.gallery-overlay__zoom-btn--out {
  right: 52px;
}

.gallery-overlay__zoom-btn--in {
  right: 12px;
}

.gallery-overlay__zoom-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-overlay__viewport {
  max-height: min(76vh, 760px);
  overflow: auto;
  padding: 14px;
}

.gallery-overlay__img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transform-origin: center center;
  transition: transform 0.14s ease;
}

.gallery-overlay__caption {
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-overlay__hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  transform: translate(-50%, 8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 153, 0.26);
  background: rgba(0, 0, 0, 0.74);
  color: rgba(255, 204, 153, 0.96);
  padding: 5px 10px;
  font-size: 9px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery-overlay.is-hint-visible .gallery-overlay__hint {
  opacity: 0.96;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .gallery-overlay {
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    row-gap: 10px;
    padding: 16px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .gallery-overlay__hint {
    position: static;
    left: auto;
    bottom: auto;
    z-index: 1;
    max-width: min(92vw, 320px);
    text-align: center;
    transform: translateY(6px);
  }

  .gallery-overlay.is-hint-visible .gallery-overlay__hint {
    transform: translateY(0);
  }

  .modal {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .modal-hint {
    position: static;
    left: auto;
    bottom: auto;
    z-index: 2;
    max-width: min(92vw, 320px);
    text-align: center;
    transform: translateY(6px);
  }

  .modal.is-hint-visible .modal-hint {
    transform: translateY(0);
  }
}

#features,
#login,
#inside-product,
#how-it-works,
#demo {
  scroll-margin-top: 120px;
}

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

  .hero-visual {
    min-height: auto;
  }

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

  .plans-group-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .plans-note {
    max-width: 100%;
    text-align: left;
  }

  .carousel-stage {
    height: 430px;
  }

  .demo-frame {
    --demo-max-h: min(50dvh, 500px);
  }
}

@media (max-width: 860px) {
  .topbar {
    justify-content: flex-start;
    padding-right: 92px;
  }

  .nav-wrap {
    display: none;
  }

  .burger {
    display: flex;
  }

  .lang-wrap {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 900px) {
  .footer {
    width: 100%;
    padding: 14px 12px 12px;
    text-align: center;
    border-radius: 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
  }

  .footer-col {
    padding: 12px 0;
    text-align: center;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 204, 153, 0.12);
    margin-bottom: 2px;
  }

  .footer-brand-logo {
    width: clamp(54px, 19vw, 72px);
    margin: 0 auto 8px;
  }

  .footer-col + .footer-col {
    padding-left: 0;
    border-top: none;
  }

  .footer-col + .footer-col::before {
    display: none;
  }

  .footer-col--product {
    justify-self: center;
    text-align: center;
    padding-right: 10px;
  }

  .footer-col--legal {
    position: relative;
    justify-self: center;
    text-align: center;
    padding-left: 10px;
  }

  .footer-col--legal::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(255, 204, 153, 0) 0%,
      rgba(255, 204, 153, 0.24) 22%,
      rgba(255, 204, 153, 0.24) 78%,
      rgba(255, 204, 153, 0) 100%
    );
  }

  .footer-col-title {
    margin-bottom: 6px;
  }

  .footer-links {
    align-items: center;
    gap: 6px;
  }

  .footer-links--product,
  .footer-links--legal {
    width: min(160px, 100%);
    margin-inline: auto;
    align-items: flex-start;
  }

  .footer-contact-card {
    margin-top: 8px;
    border-radius: 12px;
    padding: 11px 12px;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1240px, calc(100% - 24px));
    padding-top: 18px;
  }

  .pricing-back-wrap {
    justify-content: center;
    margin: 8px 0 12px;
  }

  .hero {
    margin-bottom: clamp(24px, 6vh, 44px);
  }

  .content-section {
    margin-top: clamp(40px, 8vh, 66px);
    padding-top: 10px;
  }

  .feature-grid,
  .contact-grid,
  .plans,
  .hero-band,
  .modal-plan-grid {
    grid-template-columns: 1fr;
  }

  .plans-stack {
    gap: 16px;
  }

  .plans-group {
    padding: 14px;
  }

  #heroTitle {
    font-size: 28px;
    max-width: 100%;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }

  .eyebrow {
    margin-bottom: 6px;
  }

  .hero-sub {
    margin-bottom: 8px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-image-wrap {
    max-width: 100%;
    perspective: 1000px;
  }

  .hero-image {
    transform: rotateY(-5deg) rotateX(3deg) scale(0.985);
    max-height: min(55vh, 420px);
  }

  .flow-viewport {
    height: 410px;
    padding-bottom: 90px;
  }

  .carousel-stage {
    height: 410px;
  }

  .slide {
    width: min(86vw, 360px);
    min-width: 240px;
  }

  .slide-image {
    height: 190px;
  }

  .demo-frame {
    aspect-ratio: 16 / 10;
    --demo-max-h: min(44dvh, 360px);
    border-radius: 16px;
    clip-path: inset(0 round 16px);
    -webkit-clip-path: inset(0 round 16px);
    width: min(100%, calc(var(--demo-max-h) * 1.6));
    max-width: 100%;
    max-height: var(--demo-max-h);
  }
}

@media (orientation: landscape) and (max-width: 1100px) and (max-height: 680px) {
  .shell {
    width: min(1240px, calc(100% - 26px));
    padding-top: 12px;
  }

  .logo-center {
    margin-bottom: 4px;
  }

  .topbar {
    margin-bottom: 10px;
  }

  .nav-wrap {
    gap: 8px;
    padding: 8px;
  }

  .nav-pill,
  .lang-select {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 26px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  #heroTitle {
    max-width: 100%;
    font-size: clamp(30px, 5.2vw, 44px);
    line-height: 1.01;
  }

  .hero-sub {
    margin: 0 auto 8px;
    max-width: 72ch;
    font-size: 14px;
  }

  .hero-visual {
    display: none;
  }

  .feature-grid {
    margin-top: 12px;
    gap: 8px;
  }

  .feature-card {
    min-height: 68px;
    padding: 12px;
  }

  .feature-card strong {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .feature-card span {
    font-size: 12px;
  }

  .content-section {
    margin-top: 32px;
    padding-top: 8px;
  }

  .content-section::before {
    top: -18px;
  }

  .section-title {
    font-size: clamp(24px, 3.2vw, 34px);
  }

  .section-copy {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .carousel-stage {
    height: 350px;
  }

  .slide {
    width: min(68vw, 420px);
    min-width: 250px;
  }

  .slide-image {
    height: 170px;
  }

  .flow-viewport {
    height: 330px;
    padding-bottom: 72px;
  }

  .demo-frame {
    --demo-max-h: min(50dvh, 300px);
  }

  .footer {
    margin-top: 24px;
  }
}

@media (orientation: portrait) {
  .demo-video:fullscreen,
  .demo-video:-webkit-full-screen {
    width: 100vw !important;
    height: 100dvh !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (orientation: landscape) {
  .demo-video:fullscreen,
  .demo-video:-webkit-full-screen {
    width: 100vw !important;
    height: 100dvh !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (orientation: landscape) and (max-width: 900px) {
  .demo-frame {
    --demo-max-h: min(56dvh, 300px);
  }
}

@media (max-width: 520px) {
  .demo-frame {
    aspect-ratio: 16 / 10;
    --demo-max-h: min(40dvh, 320px);
    width: min(100%, calc(var(--demo-max-h) * 1.6));
    max-height: var(--demo-max-h);
  }
}
