:root {
  --ink: #0b1224;
  --ink-soft: #172033;
  --muted: #475467;
  --muted-light: #667085;
  --line: #d7e0ea;
  --line-soft: #e4e7ec;
  --paper: #ffffff;
  --mist: #f7f8fc;
  --wash: #e9f2fa;
  --violet: #8b5cf6;
  --rose: #f472b6;
  --pink-wash: #fff1f7;
  --accent-soft: #eee7ff;
  --accent-mid: #b59cff;
  --accent-warm: #eca8c7;
  --green: #22c55e;
  --green-dark: #087443;
  --cyan: #22d3ee;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.62), rgba(255, 241, 247, 0.54) 30%, rgba(245, 239, 255, 0.62) 64%, rgba(233, 249, 251, 0.5)),
    linear-gradient(145deg, #fbfcff 0%, #fff6fb 36%, #f5f0ff 68%, #eef9fb 100%);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-chat-open {
  overflow: hidden;
}

body.is-translating .site-header [data-i18n],
body.is-translating main [data-i18n] {
  opacity: 0.42;
  transform: translate3d(0, 3px, 0);
}

.site-header [data-i18n],
main [data-i18n] {
  transition: opacity 160ms ease, transform 160ms ease;
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(215, 224, 234, 0.8);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 251, 0.86), rgba(255, 255, 255, 0.9));
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: #eef4fb;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(215, 224, 234, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.language-switcher button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  color: var(--muted);
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-switcher button[aria-pressed="true"] {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #261c36);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--ink);
  background: #f3f5f8;
  outline: none;
}

.language-switcher button[aria-pressed="true"]:hover,
.language-switcher button[aria-pressed="true"]:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #261c36);
}

.button,
.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button span,
.button svg,
.icon-button svg {
  position: relative;
  z-index: 1;
}

.button {
  padding: 0 18px;
}

.button-download {
  flex: 1 1 360px;
  min-width: 320px;
  min-height: 66px;
  padding: 0 34px;
  gap: 12px;
  font-size: 20px;
  box-shadow: 0 20px 42px rgba(11, 18, 36, 0.28), 0 14px 34px rgba(244, 114, 182, 0.16);
}

.button-download svg {
  width: 26px;
  height: 26px;
}

.button-download span {
  min-width: 0;
  line-height: 1.18;
}

.button-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.button-dark {
  color: #ffffff;
  background: linear-gradient(135deg, #090f21, #151b31 58%, #24152c);
  box-shadow: 0 14px 30px rgba(11, 18, 36, 0.22), 0 8px 26px rgba(244, 114, 182, 0.12);
}

.button-dark::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.26) 44%, transparent 58%);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 680ms ease;
}

.button-soft {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
}

.button:hover,
.button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: linear-gradient(135deg, #101827, #191f37 54%, #321d3d);
  box-shadow: 0 18px 34px rgba(11, 18, 36, 0.26), 0 12px 32px rgba(139, 92, 246, 0.16);
}

.button-dark:hover::after,
.button-dark:focus-visible::after {
  transform: translateX(120%) skewX(-18deg);
}

.button-soft:hover,
.button-soft:focus-visible {
  background: #ffffff;
  border-color: #c7d4e3;
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
}

.icon-button {
  width: 42px;
  min-height: 42px;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 150px));
  overflow: hidden;
  padding: 94px 32px 72px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 251, 0.9) 34%, rgba(236, 230, 255, 0.76) 70%, rgba(233, 242, 250, 0.92)),
    repeating-linear-gradient(90deg, rgba(11, 18, 36, 0.05) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(11, 18, 36, 0.04) 0 1px, transparent 1px 120px);
  background-size: 100% 100%, 120px 120px, 120px 120px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(247, 248, 252, 0), var(--mist));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(690px, 100%);
  margin: 0 auto 0 max(0px, calc((100vw - 1180px) / 2));
}

.hero-content > * {
  animation: fade-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 80ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 150ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 230ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 300ms;
}

.hero-content > *:nth-child(6) {
  animation-delay: 360ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-primary-action {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  min-height: 66px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(11, 18, 36, 0.2), 0 12px 32px rgba(244, 114, 182, 0.13);
}

.hero-primary-action svg {
  width: 24px;
  height: 24px;
}

.hero-primary-action span {
  min-width: 0;
  line-height: 1.16;
  text-align: center;
}

.hero-actions .button-download {
  min-width: 0;
}

.button-key {
  color: var(--ink);
  border-color: rgba(154, 200, 240, 0.72);
  background:
    radial-gradient(circle at 88% 10%, rgba(34, 197, 94, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 255, 0.92));
}

.button-key:hover,
.button-key:focus-visible {
  border-color: rgba(34, 197, 94, 0.42);
  background:
    radial-gradient(circle at 88% 10%, rgba(34, 197, 94, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff, rgba(248, 242, 255, 0.96));
  box-shadow: 0 18px 36px rgba(11, 18, 36, 0.14), 0 14px 34px rgba(139, 92, 246, 0.12);
}

.hero-auto-card {
  position: relative;
  max-width: 620px;
  margin-top: 22px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(209, 221, 232, 0.9);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(34, 197, 94, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 247, 255, 0.72));
  box-shadow: 0 18px 45px rgba(148, 163, 184, 0.16);
}

.hero-auto-card span {
  display: block;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.hero-auto-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-auto-card li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-auto-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hero-cta-note {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 600;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 251, 0.76));
  border: 1px solid rgba(215, 224, 234, 0.9);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.hero-scene {
  position: absolute;
  z-index: 2;
  top: 94px;
  right: max(26px, calc((100vw - 1180px) / 2));
  bottom: 62px;
  width: min(560px, 42vw);
  pointer-events: none;
}

.flow-window {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(480px, 100%);
  min-height: 316px;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 234, 0.92);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 252, 0.78));
  box-shadow: var(--shadow), 0 28px 80px rgba(139, 92, 246, 0.12);
  animation: card-arrive 900ms 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.flow-window-top {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
}

.flow-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d5dd;
}

.flow-window-body {
  position: relative;
  padding: 26px;
}

.flow-window-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, rgba(244, 114, 182, 0.09) 38%, rgba(139, 92, 246, 0.08) 58%, transparent 84%);
  opacity: 0.68;
  pointer-events: none;
}

.flow-window-body > * {
  position: relative;
}

.flow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--green-dark);
  border: 1px solid #abefc6;
  border-radius: var(--radius);
  background: #f0fdf4;
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.flow-title {
  margin-top: 22px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
}

.flow-line {
  height: 12px;
  width: 62%;
  margin-top: 14px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #dde3eb, #f3dbea, #e4e7ec);
}

.line-wide {
  width: 88%;
}

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

.flow-grid span {
  display: grid;
  place-items: center;
  min-height: 64px;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.hero-mascot {
  position: absolute;
  right: 64px;
  bottom: 310px;
  width: min(300px, 68%);
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(15, 23, 42, 0.18));
  transform-origin: 50% 88%;
  will-change: transform;
  animation: mascot-float 4.8s ease-in-out infinite;
}

.signal-strip {
  max-width: 1180px;
  margin: -28px auto 0;
  padding: 0 32px 20px;
  position: relative;
  z-index: 4;
}

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

.signal-item {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 154px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(215, 224, 234, 0.86);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 252, 0.78) 46%, rgba(246, 241, 255, 0.84)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08), 0 12px 34px rgba(244, 114, 182, 0.08);
  transform: translateY(0);
  animation: signal-rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.signal-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(238, 231, 255, 0.48), transparent 52%, rgba(255, 241, 247, 0.54));
  opacity: 0.55;
}

.signal-item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-mid), var(--accent-warm));
}

.signal-item:nth-child(2) {
  animation-delay: 100ms;
}

.signal-item:nth-child(3) {
  animation-delay: 200ms;
}

.signal-item:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 180, 255, 0.92);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.11), 0 18px 44px rgba(244, 114, 182, 0.14);
}

.signal-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 800;
}

.signal-topline svg {
  width: 22px;
  height: 22px;
  color: var(--violet);
  opacity: 0.82;
}

.signal-main {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.signal-main strong {
  color: var(--ink);
  font-size: 46px;
  line-height: 0.92;
  font-weight: 800;
}

.signal-main span {
  color: var(--muted);
  max-width: 260px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.36;
}

.signal-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(215, 224, 234, 0.72);
}

.signal-progress span {
  display: block;
  height: 100%;
  width: 58%;
  border-radius: inherit;
  background: linear-gradient(90deg, #151b31, var(--accent-mid), var(--accent-warm));
  transform-origin: left;
}

.signal-item:nth-child(2) .signal-progress span {
  width: 72%;
}

.signal-item:nth-child(3) .signal-progress span {
  width: 64%;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 32px;
}

.section-heading {
  max-width: 760px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
}

.section p {
  color: var(--muted);
}

.process-section .section-heading {
  max-width: 880px;
}

.process-section .section-heading h2 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 56px);
}

.flow-hook {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}

.flow-hook-copy p {
  max-width: 480px;
  font-size: 17px;
}

.flow-hook-copy h2 {
  max-width: 520px;
}

.flow-hook-card {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 212, 226, 0.72);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 18%, rgba(181, 156, 255, 0.18), transparent 32%),
    radial-gradient(circle at 6% 86%, rgba(236, 168, 199, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 255, 0.86)),
    #ffffff;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.07), 0 16px 38px rgba(236, 168, 199, 0.1);
  padding: 22px;
}

.flow-hook-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(255, 241, 247, 0.28), transparent 54%, rgba(238, 231, 255, 0.28));
  pointer-events: none;
}

.flow-hook-card > * {
  position: relative;
}

.hook-card-top {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0 2px;
}

.hook-card-top span {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted-light);
  border: 1px solid rgba(171, 239, 198, 0.82);
  border-radius: var(--radius);
  background: rgba(240, 253, 244, 0.8);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hook-card-top strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.state-panel {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 152px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 234, 0.76);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.78)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.state-panel::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(215, 224, 234, 0.2), rgba(215, 224, 234, 0.9));
}

.state-panel span {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.state-panel strong {
  margin-top: 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.state-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.state-panel.after {
  border-color: rgba(181, 156, 255, 0.64);
  background:
    radial-gradient(circle at 86% 16%, rgba(34, 197, 94, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(250, 246, 255, 0.88));
  box-shadow: 0 16px 34px rgba(139, 92, 246, 0.08);
}

.state-panel.after::after {
  background: linear-gradient(90deg, var(--green), var(--accent-mid), var(--accent-warm));
}

.state-switch {
  --switch-rotate: 0deg;
  display: grid;
  place-items: center;
  align-self: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  border: 1px solid rgba(181, 156, 255, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(145deg, #ffffff, #fbf8ff);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transform: rotate(var(--switch-rotate));
}

.flow-whisper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 224, 234, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.flow-whisper img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.flow-whisper p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.reveal-ready .flow-hook-card[data-reveal] .hook-card-top,
.reveal-ready .flow-hook-card[data-reveal] .state-panel,
.reveal-ready .flow-hook-card[data-reveal] .flow-whisper {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.992);
  transition: opacity 680ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-ready .flow-hook-card[data-reveal] .state-switch {
  opacity: 0;
  transform: translate3d(0, 10px, 0) rotate(var(--switch-rotate)) scale(0.96);
  transition: opacity 680ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-ready .flow-hook-card[data-reveal].is-visible .hook-card-top,
.reveal-ready .flow-hook-card[data-reveal].is-visible .state-panel,
.reveal-ready .flow-hook-card[data-reveal].is-visible .flow-whisper {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-ready .flow-hook-card[data-reveal].is-visible .state-switch {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--switch-rotate)) scale(1);
}

.reveal-ready .flow-hook-card[data-reveal].is-visible .state-switch {
  transition-delay: 80ms;
}

.reveal-ready .flow-hook-card[data-reveal].is-visible .state-switch svg {
  animation: arrow-nudge 840ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.reveal-ready .flow-hook-card[data-reveal].is-visible .state-panel.after {
  transition-delay: 150ms;
}

.reveal-ready .flow-hook-card[data-reveal].is-visible .flow-whisper {
  transition-delay: 220ms;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 156, 255, 0.5), rgba(236, 168, 199, 0.38), transparent);
}

.step-card,
.feature-card,
.support-preview {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.step-card:hover,
.feature-card:hover,
.support-preview:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 180, 255, 0.78);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.09), 0 12px 34px rgba(244, 114, 182, 0.1);
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 24px 24px 26px;
  min-height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(181, 156, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfcff);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(11, 18, 36, 0.92), rgba(181, 156, 255, 0.84), rgba(236, 168, 199, 0.64));
  opacity: 0.32;
  transition: opacity 220ms ease;
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:nth-child(2) {
  border-color: rgba(181, 156, 255, 0.58);
  box-shadow: 0 18px 46px rgba(139, 92, 246, 0.08), 0 14px 36px rgba(15, 23, 42, 0.05);
}

.step-card:nth-child(2)::before {
  opacity: 0.9;
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  color: var(--green-dark);
  border: 1px solid rgba(171, 239, 198, 0.9);
  border-radius: var(--radius);
  background: #f0fdf4;
  font-size: 13px;
  font-weight: 800;
}

.step-card h3,
.feature-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.step-card p,
.feature-card p {
  margin: 12px 0 0;
  font-size: 15px;
}

.comfort-section,
.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.comfort-copy p,
.support-copy p {
  max-width: 560px;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 90% 12%, rgba(34, 197, 94, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfcff);
}

.feature-card:nth-child(3) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  min-height: 0;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 241, 247, 0.48), transparent 48%, rgba(238, 231, 255, 0.36));
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(11, 18, 36, 0.88), rgba(181, 156, 255, 0.7), rgba(236, 168, 199, 0.54));
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  padding: 7px;
  color: var(--green-dark);
  border: 1px solid rgba(171, 239, 198, 0.82);
  border-radius: var(--radius);
  background: rgba(240, 253, 244, 0.86);
  filter: drop-shadow(0 10px 18px rgba(34, 211, 238, 0.12));
}

.feature-card:nth-child(3) svg {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.support-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1180px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1180px) / 2 + 32px));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 241, 247, 0.66) 34%, rgba(247, 248, 252, 0.86) 58%, rgba(234, 248, 251, 0.88));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.telegram-section {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.telegram-section .support-copy p {
  margin-left: auto;
  margin-right: auto;
}

.telegram-section .support-actions {
  justify-content: center;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-preview {
  width: min(100%, 520px);
  justify-self: end;
  padding: 20px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.preview-header img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.preview-header strong,
.chat-person strong {
  display: block;
  line-height: 1.2;
}

.preview-header span,
.chat-person span {
  display: block;
  color: var(--muted-light);
  font-size: 13px;
}

.preview-message {
  max-width: 82%;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
}

.preview-message.bot {
  color: var(--ink);
  background: #f2f6fb;
}

.preview-message.user {
  margin-left: auto;
  color: #ffffff;
  background: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 32px 42px;
  color: var(--muted-light);
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.992);
  transition: opacity 680ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-ready .step-card:nth-child(2),
.reveal-ready .feature-card:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-ready .step-card:nth-child(3),
.reveal-ready .feature-card:nth-child(3) {
  transition-delay: 130ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotate(0.6deg);
  }
}

@keyframes signal-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes arrow-nudge {
  0% {
    opacity: 0;
    transform: translate3d(-8px, 0, 0);
  }
  48% {
    opacity: 1;
    transform: translate3d(5px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1040px) {
  .hero {
    padding-top: 74px;
  }

  .hero-content {
    margin: 0;
  }

  .hero-scene {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 560px);
    min-height: 420px;
    margin: 44px auto 0;
  }

  .flow-window {
    right: 0;
    bottom: 0;
  }

  .hero-mascot {
    right: 64px;
    bottom: 246px;
  }

  .comfort-section,
  .flow-hook,
  .support-section {
    grid-template-columns: 1fr;
  }

  .support-preview {
    justify-self: start;
  }

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

  .feature-card {
    min-height: 0;
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 14px;
  }

  .brand-mark {
    gap: 8px;
  }

  .brand-mark img {
    width: 32px;
    height: 32px;
  }

  .brand-mark span {
    max-width: 94px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher button {
    min-width: 31px;
    min-height: 34px;
    padding: 0 6px;
  }

  .main-nav {
    display: none;
  }

  .header-actions .button-small span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 20px 28px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .button-download {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 66px;
    min-width: 0;
    padding: 0 20px;
    font-size: 18px;
  }

  .hero-actions .button-download,
  .hero-actions .button-key {
    width: 100%;
    max-width: 100%;
  }

  .button-download span {
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-auto-card ul {
    grid-template-columns: 1fr;
  }

  .hero-notes {
    display: grid;
  }

  .hero-scene {
    min-height: auto;
    margin-top: 12px;
    padding-top: 50px;
  }

  .flow-window {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
  }

  .flow-window-body {
    padding: 16px;
  }

  .flow-title {
    margin-top: 14px;
    font-size: 22px;
  }

  .flow-status {
    min-height: 32px;
    font-size: 12px;
  }

  .flow-line {
    height: 9px;
    margin-top: 10px;
  }

  .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
  }

  .flow-grid span {
    min-height: 36px;
    font-size: 11.5px;
  }

  .hero-mascot {
    top: 0;
    right: 24px;
    bottom: auto;
    width: 150px;
  }

  .signal-shell,
  .steps {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: -36px;
    padding: 0 20px 14px;
  }

  .signal-main {
    align-items: flex-start;
  }

  .signal-main strong {
    font-size: 38px;
  }

  .section,
  .flow-hook,
  .support-section {
    padding: 64px 20px;
  }

  .flow-hook {
    gap: 24px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .state-switch {
    --switch-rotate: 90deg;
    justify-self: center;
  }

  .section h2 {
    font-size: 32px;
  }

  .feature-card:nth-child(3) {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(3) svg {
    grid-row: auto;
    margin-bottom: 26px;
  }

  .site-footer {
    padding: 24px 20px 88px;
  }
}

@media (max-width: 460px) {
  .brand-mark span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-scene {
    padding-top: 48px;
  }

  .flow-status {
    font-size: 12px;
  }

  .hero-mascot {
    top: 0;
    right: 12px;
    width: 136px;
  }

  .flow-window {
    min-height: 272px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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