:root {
  --bg: #f6f1ea;
  --surface: #ffffff;
  --surface-soft: #f5efe8;
  --surface-border: rgba(31, 28, 39, 0.08);
  --text: #1f1b24;
  --text-soft: rgba(31, 27, 36, 0.68);
  --accent: #229ed9;
  --accent-2: #d8c6ff;
  --accent-3: #ffd6ab;
  --shadow: 0 22px 60px rgba(34, 24, 49, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 32px));
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", "Aptos", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 198, 255, 0.65), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 214, 171, 0.7), transparent 32%),
    linear-gradient(180deg, #faf7f2 0%, #f5efe8 100%);
}

.landing-page-home {
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(34, 158, 217, 0.9);
  outline-offset: 4px;
}

.landing-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.landing-page-home .landing-shell {
  min-height: 100vh;
}

.landing-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(31, 28, 39, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(38, 30, 55, 0.08);
  transform-origin: center;
  will-change: transform;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 220ms ease,
    border-color 180ms ease;
}

@media (hover: hover) {
  .landing-header:hover {
    transform: scale(1.018);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(34, 24, 49, 0.12);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-family: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-copy span,
.top-nav a,
.hero-lead,
.feature-card p,
.showcase-card span,
.step-card p,
.metric-card p,
.info-card p,
.cta-panel p,
.carousel-copy p,
.carousel-status {
  color: var(--text-soft);
}

.brand-copy span,
.brand-copy small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy small {
  font-size: 0.84rem;
  color: rgba(31, 27, 36, 0.54);
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.top-nav a[aria-current="page"],
.top-nav a:hover {
  color: var(--text);
  background: rgba(34, 158, 217, 0.1);
}

main {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.hero,
.section,
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 246, 241, 0.96));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 32px;
  min-height: 560px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: #6d5bff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  max-width: 11ch;
}

.hero-lead,
.feature-card p,
.showcase-card span,
.step-card p,
.metric-card p,
.info-card p,
.cta-panel p,
.carousel-copy p {
  margin: 0;
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-actions,
.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  gap: 12px;
  border: 1px solid rgba(31, 27, 36, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-button-primary {
  color: #ffffff;
  font-weight: 800;
  background:
    radial-gradient(circle at top left, rgba(120, 136, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #1f2231 0%, #29314a 48%, #413067 100%);
  border-color: rgba(126, 135, 255, 0.22);
  box-shadow:
    0 18px 36px rgba(31, 29, 58, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-bot .hero-actions .cta-button-primary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: none;
}

.hero-bot .hero-actions .cta-button-primary:hover {
  transform: scale(1.04);
  box-shadow: none;
}

.hero-bot .hero-actions .cta-button-primary:active {
  transform: scale(0.995);
  box-shadow: none;
}

.hero-prompts .hero-actions .cta-button-primary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: none;
}

.hero-prompts .hero-actions .cta-button-primary:hover {
  transform: scale(1.04);
  box-shadow: none;
}

.hero-prompts .hero-actions .cta-button-primary:active {
  transform: scale(0.995);
  box-shadow: none;
}

.hero-home .hero-actions .cta-button-primary,
.landing-page-home .cta-panel .cta-panel-actions .cta-button-primary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: none;
}

.hero-home .hero-actions .cta-button-primary:hover,
.landing-page-home .cta-panel .cta-panel-actions .cta-button-primary:hover {
  transform: scale(1.04);
  box-shadow: none;
}

.hero-home .hero-actions .cta-button-primary:active,
.landing-page-home .cta-panel .cta-panel-actions .cta-button-primary:active {
  transform: scale(0.995);
  box-shadow: none;
}

.hero-home .hero-actions .cta-button-secondary,
.landing-page-home .cta-panel .cta-panel-actions .cta-button-secondary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-home .hero-actions .cta-button-secondary:hover,
.landing-page-home .cta-panel .cta-panel-actions .cta-button-secondary:hover {
  transform: scale(1.02);
}

.hero-home .hero-actions .cta-button-secondary:active,
.landing-page-home .cta-panel .cta-panel-actions .cta-button-secondary:active {
  transform: scale(0.995);
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-primary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
  box-shadow: none;
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-primary:hover {
  transform: scale(1.04);
  box-shadow: none;
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-primary:active {
  transform: scale(0.995);
  box-shadow: none;
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-primary .telegram-icon {
  box-shadow: none;
}

.landing-page-prompts .cta-panel .cta-panel-actions .cta-button-primary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.landing-page-prompts .cta-panel .cta-panel-actions .cta-button-primary:hover {
  transform: scale(1.04);
}

.landing-page-prompts .cta-panel .cta-panel-actions .cta-button-primary:active {
  transform: scale(0.995);
}

.landing-page-prompts .cta-panel .cta-panel-actions .cta-button-secondary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.landing-page-prompts .cta-panel .cta-panel-actions .cta-button-secondary:hover {
  transform: scale(1.02);
}

.landing-page-prompts .cta-panel .cta-panel-actions .cta-button-secondary:active {
  transform: scale(0.995);
}

.cta-button-secondary {
  background: rgba(255, 255, 255, 0.88);
}

.cta-button-prompts .cta-copy {
  text-align: left;
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-prompts {
  justify-content: flex-start;
  transform-origin: center;
  will-change: transform;
  box-shadow: none;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-prompts:hover {
  transform: scale(1.02);
  box-shadow: none;
}

.landing-page-bot .cta-panel .cta-panel-actions .cta-button-prompts:active {
  transform: scale(0.995);
  box-shadow: none;
}

.cta-button-prompts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  background-image: url("/landing/assets/images/brand/telegram-badge.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.cta-button-prompts-icon svg {
  display: none;
}

.cta-button-manager {
  justify-content: flex-start;
  box-shadow: none;
}

.cta-button-prompts:hover,
.cta-button-prompts:active,
.cta-button-manager:hover,
.cta-button-manager:active {
  box-shadow: none;
}

.cta-copy {
  display: grid;
  text-align: left;
  gap: 2px;
}

.cta-copy strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.cta-copy small {
  color: inherit;
  opacity: 0.78;
  font-size: 0.82rem;
}

.telegram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  background-image: url("/landing/assets/images/brand/telegram-badge.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.telegram-icon svg {
  display: none;
}

.cta-button-primary .telegram-icon {
  background-image: url("/landing/assets/images/brand/telegram-badge.svg");
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 6px rgba(255, 255, 255, 0.04),
    0 12px 22px rgba(10, 16, 35, 0.34);
}

.cta-button-primary .cta-copy strong {
  color: #ffffff;
}

.cta-button-primary .cta-copy small {
  color: rgba(255, 255, 255, 0.76);
  opacity: 1;
}

.telegram-proof-card .telegram-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

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

.telegram-proof-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 27, 36, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(34, 24, 49, 0.05);
}

.telegram-proof-card span:last-child {
  display: grid;
  gap: 2px;
}

.telegram-proof-card strong {
  font-size: 0.96rem;
}

.telegram-proof-card small {
  color: var(--text-soft);
}

.cta-button-primary .cta-copy strong,
.telegram-proof-card strong {
  letter-spacing: -0.01em;
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
}

.hero-metrics li,
.metric-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 27, 36, 0.06);
}

.hero-metrics strong,
.metric-card strong {
  display: block;
  font-family: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero-metrics span,
.metric-card-label {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual,
.hero-sidebar {
  position: relative;
  min-height: 100%;
}

.hero-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 27, 36, 0.06);
  box-shadow: 0 18px 40px rgba(34, 24, 49, 0.08);
}

.hero-card-large {
  max-width: 420px;
  margin-left: auto;
  background: linear-gradient(155deg, #ffffff, #f4efff);
}

.hero-card-accent {
  max-width: 320px;
  background: linear-gradient(145deg, #fff3e5, #eef8ff);
}

.hero-card-label,
.carousel-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #6d5bff;
  background: rgba(109, 91, 255, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.hero-orb-left {
  inset: auto auto 12% 4%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(216, 198, 255, 0.8), transparent 70%);
}

.hero-orb-right {
  inset: 4% -4% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 214, 171, 0.9), transparent 70%);
}

.hero-sidebar {
  display: grid;
  align-content: center;
  gap: 16px;
}

.hero-prompts {
  isolation: isolate;
}

.hero-home {
  isolation: isolate;
}

.hero-home .hero-copy,
.hero-home .hero-visual {
  z-index: 1;
}

.hero-home .hero-copy {
  justify-content: flex-start;
}

.hero-home .hero-orb {
  z-index: 0;
  pointer-events: none;
}

.hero-home .hero-orb-left {
  inset: auto auto -4% -2%;
}

.hero-home .hero-orb-right {
  inset: -4% -2% auto auto;
}

.hero-home-visual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.home-hero-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 0;
  height: fit-content;
}

.home-hero-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.home-hero-card .hero-card-label {
  justify-self: flex-start;
  width: fit-content;
}

.home-hero-card .cta-button {
  justify-content: flex-start;
}

.landing-page-home .home-hero-card .cta-button-primary {
  transform-origin: center;
  will-change: transform;
  box-shadow: none;
  transition:
    transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.landing-page-home .home-hero-card .cta-button-primary:hover {
  transform: translateY(-2px) scale(1.045);
  box-shadow: none;
}

.landing-page-home .home-hero-card .cta-button-primary:active {
  transform: translateY(0) scale(0.992);
}

.landing-page-home .home-hero-card .cta-button-secondary {
  transform-origin: center;
  will-change: transform;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.landing-page-home .home-hero-card .cta-button-secondary:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 16px 30px rgba(34, 24, 49, 0.12);
}

.landing-page-home .home-hero-card .cta-button-secondary:active {
  transform: translateY(0) scale(0.992);
}

.landing-page-home .home-hero-card .cta-button-prompts {
  justify-content: flex-start;
  box-shadow: none;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.landing-page-home .home-hero-card .cta-button-prompts:hover {
  transform: scale(1.02);
  box-shadow: none;
}

.landing-page-home .home-hero-card .cta-button-prompts:active {
  transform: scale(0.995);
  box-shadow: none;
}

.hero-prompts .hero-copy,
.hero-prompts .hero-sidebar {
  z-index: 1;
}

.hero-prompts .hero-orb {
  z-index: 0;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.72;
}

.hero-prompts .hero-orb-left {
  inset: 14% auto auto -5%;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(216, 198, 255, 0.58), transparent 72%);
}

.hero-prompts .hero-orb-right {
  inset: auto -5% 10% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 214, 171, 0.52), transparent 72%);
}

@media (min-width: 1025px) {
  .landing-page-home {
    overflow: hidden;
  }

  .landing-page-home .hero-home {
    grid-template-columns: minmax(0, 0.88fr) minmax(620px, 1.12fr);
    gap: 36px;
  }

  .landing-page-home .landing-shell {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
  }

  .landing-page-home main {
    flex: 1 1 auto;
  }

  .landing-page-home .hero-home {
    min-height: calc(100vh - 176px);
  }

  .hero-home .hero-visual {
    display: grid;
    grid-template-columns: minmax(330px, 1fr) minmax(350px, 1.02fr);
    align-items: start;
    align-self: center;
    gap: 20px;
    min-height: auto;
    padding: 10px 56px 0 0;
  }

  .hero-home .hero-visual .home-hero-card {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(34, 24, 49, 0.08);
  }

  .hero-home .hero-visual .home-hero-card:first-child {
    margin: 34px 0 0;
  }

  .hero-home .hero-visual .home-hero-card:last-of-type {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: start;
    width: min(100%, 332px);
    max-width: 332px;
    margin: 0;
  }

  .hero-home .home-hero-card h2 {
    font-size: clamp(1.35rem, 1.8vw, 2rem);
    line-height: 1.08;
  }

  .hero-home .home-hero-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-home .home-hero-card .cta-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 16px;
    gap: 10px;
  }

  .hero-home .home-hero-card .cta-copy {
    min-width: 0;
  }

  .hero-home .home-hero-card .cta-copy strong {
    font-size: 0.92rem;
  }

  .hero-home .home-hero-card .cta-copy strong,
  .hero-home .home-hero-card .cta-copy small {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-home .home-hero-card .cta-copy small {
    font-size: 0.76rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero-home .home-hero-card .telegram-icon,
  .hero-home .home-hero-card .cta-button-prompts-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero-prompts .hero-sidebar {
    display: block;
    min-height: 100%;
  }

  .hero-prompts .hero-sidebar .metric-card {
    position: relative;
    max-width: 420px;
    padding: 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 233, 0.92));
    box-shadow: 0 18px 40px rgba(34, 24, 49, 0.08);
  }

  .hero-prompts .hero-sidebar .metric-card:first-child {
    margin: 28px 0 0 72px;
    transform: rotate(-1.2deg);
  }

  .hero-prompts .hero-sidebar .metric-card:last-child {
    max-width: 390px;
    margin: 26px 0 0 8px;
    background: linear-gradient(155deg, rgba(255, 248, 240, 0.94), rgba(239, 247, 255, 0.9));
    transform: rotate(1deg);
  }
}

@media (max-width: 1180px) {
  .landing-page-home {
    overflow: visible;
  }

  .landing-page-home .landing-shell {
    display: block;
    min-height: auto;
    padding-bottom: 0;
  }

  .landing-page-home main {
    flex: initial;
  }

  .landing-page-home .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .hero-home .hero-copy {
    gap: 14px;
  }

  .hero-home .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: stretch;
    gap: 16px;
    min-height: auto;
    padding: 0;
  }

  .hero-home .hero-visual .home-hero-card,
  .hero-home .hero-visual .home-hero-card:last-of-type {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px;
  }

  .hero-home .hero-visual .home-hero-card:first-child {
    margin: 0;
  }

  .hero-home .home-hero-card h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  }

  .hero-home .home-hero-card .cta-button {
    width: 100%;
  }
}

.section,
.cta-panel {
  padding: 30px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  max-width: 14ch;
}

.feature-grid,
.info-band,
.steps-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-card,
.info-card,
.step-card,
.showcase-card,
.metric-card,
.home-switch-card,
.carousel-shell {
  border: 1px solid rgba(31, 27, 36, 0.06);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
}

.feature-card,
.info-card,
.step-card,
.home-switch-card {
  padding: 22px;
}

.feature-card h3,
.info-card h3,
.step-card h3,
.home-switch-card h3,
.carousel-copy h3,
.showcase-card strong {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  font-size: 1.28rem;
}

.home-switch-card {
  display: grid;
  align-content: start;
  gap: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(247, 240, 233, 0.94));
}

.home-switch-card-accent {
  background: linear-gradient(155deg, rgba(255, 248, 240, 0.96), rgba(239, 247, 255, 0.94));
}

.home-switch-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.home-switch-card .cta-button {
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
}

.home-switch-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-switch-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.55;
}

.home-switch-points li::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 8px;
  height: 8px;
  margin-top: 0.48em;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ed9, #6d5bff);
  box-shadow: 0 0 0 4px rgba(34, 158, 217, 0.12);
}

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

.showcase-card {
  overflow: hidden;
}

.showcase-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.showcase-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px;
}

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

.step-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-3);
  font-family: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(216, 198, 255, 0.4), transparent 36%),
    linear-gradient(140deg, #fffdfb, #f7f0e8);
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 12ch;
}

.cta-panel .eyebrow {
  margin-bottom: 12px;
}

.carousel-shell {
  padding: 18px;
}

.carousel-status {
  min-height: 24px;
  margin-bottom: 12px;
}

.carousel-stage {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(31, 27, 36, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.carousel-track {
  display: flex;
  transform: translateX(0);
  transition: transform 320ms ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr);
}

.carousel-media {
  min-width: 0;
}

.carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.carousel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(106, 92, 128, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 242, 234, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 36px rgba(63, 44, 17, 0.08);
  backdrop-filter: blur(16px);
}

.carousel-button {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 1px solid rgba(102, 88, 126, 0.12);
  border-radius: 50%;
  color: #332d3b;
  font-size: 1.08rem;
  font-weight: 700;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(247, 239, 229, 0.92) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 228, 216, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(61, 44, 23, 0.12);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.carousel-button:hover {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(104, 90, 130, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 16px 28px rgba(61, 44, 23, 0.16);
}

.carousel-button:active {
  transform: translateY(0) scale(0.98);
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(120, 101, 149, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(245, 238, 230, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 20px rgba(72, 54, 26, 0.05);
}

.carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(88, 77, 101, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    width 220ms ease,
    border-radius 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.carousel-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d2431, #315a88 48%, #c79c5f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 14px rgba(39, 48, 66, 0.18);
}

.carousel-dot:hover {
  transform: scale(1.08);
}

.showcase-carousel-shell {
  position: relative;
  --showcase-media-height: 620px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.showcase-section .carousel-stage {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.showcase-section .carousel-slide {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 18px;
}

.showcase-section .carousel-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--showcase-media-height);
  padding: 0;
}

.showcase-section .carousel-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 22px;
  box-shadow: none;
}

.showcase-section .carousel-copy {
  padding: 6px 6px 0 2px;
}

.showcase-section .carousel-slide-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 54px;
  margin-top: 10px;
  padding: 11px 66px 11px 18px;
  border: 1px solid rgba(134, 113, 182, 0.26);
  border-radius: 999px;
  color: #221d2d;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  background:
    radial-gradient(circle at top left, rgba(190, 164, 255, 0.52), transparent 42%),
    radial-gradient(circle at bottom right, rgba(255, 205, 148, 0.34), transparent 40%),
    linear-gradient(135deg, rgba(248, 240, 255, 0.98) 0%, rgba(253, 244, 236, 0.98) 100%);
  background-position: 0% 0%, 100% 100%, 50% 50%;
  background-size: 190% 190%, 190% 190%, 100% 100%;
  box-shadow: none;
  overflow: hidden;
  will-change: transform;
  text-rendering: optimizeLegibility;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-position 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-section .carousel-slide-cta::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(228, 204, 179, 0.9);
  background: rgba(250, 242, 233, 0.96);
  box-shadow: none;
  transition: none;
}

.showcase-section .carousel-slide-cta::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background-image: url("/landing/assets/images/brand/telegram-badge.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 46px 46px;
  transform: none;
  transition: none;
}

.showcase-section .carousel-slide-cta:hover {
  transform: scale(1.02);
  border-color: rgba(134, 113, 182, 0.3);
  background-position: 28% 8%, 72% 92%, 50% 50%;
}

.showcase-section .carousel-slide-cta:hover::before {
  transform: none;
}

.showcase-section .carousel-slide-cta:hover::after {
  transform: none;
  background-size: 46px 46px;
}

.showcase-section .carousel-slide-cta:active {
  transform: scale(0.99);
  box-shadow: none;
}

.showcase-section .carousel-controls {
  position: absolute;
  inset: 0 auto auto 0;
  width: calc((100% - 18px) * 0.725);
  height: var(--showcase-media-height);
  z-index: 2;
  display: block;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.showcase-section .carousel-button {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(30, 26, 36, 0.08);
  color: #26212d;
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(26, 21, 18, 0.1);
  transform: translateY(-50%);
  pointer-events: auto;
}

.showcase-section .carousel-button:hover {
  transform: translateY(-50%) scale(1.02);
  box-shadow: 0 10px 18px rgba(26, 21, 18, 0.12);
}

.showcase-section .carousel-button:active {
  transform: translateY(-50%) scale(0.98);
}

.showcase-section .carousel-button[data-carousel-prev] {
  left: 12px;
}

.showcase-section .carousel-button[data-carousel-next] {
  right: 12px;
}

.showcase-section .carousel-pagination {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 0;
  padding: 5px 10px;
  border: 1px solid rgba(31, 27, 36, 0.06);
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(216, 198, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 241, 234, 0.94));
  box-shadow: 0 3px 10px rgba(26, 21, 18, 0.05);
  transform: translateX(-50%);
  pointer-events: auto;
}

.showcase-section .carousel-dot {
  width: 7px;
  height: 7px;
  background: rgba(36, 31, 43, 0.2);
  box-shadow: none;
}

.showcase-section .carousel-dot.is-active {
  width: 7px;
  background: #1f1b24;
  border-radius: 50%;
  box-shadow: none;
}

.showcase-section .carousel-dot:hover {
  transform: none;
}

@media (min-width: 1025px) {
  .hero-bot .hero-actions .cta-button-primary {
    min-width: 430px;
    min-height: 78px;
    padding: 18px 30px;
    gap: 16px;
    box-shadow: none;
  }

  .hero-bot .hero-actions .cta-button-primary .telegram-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .hero-bot .hero-actions .cta-button-primary .cta-copy strong {
    font-size: 1.14rem;
  }

  .hero-bot .hero-actions .cta-button-primary .cta-copy small {
    font-size: 0.9rem;
  }

  .hero-prompts .hero-actions .cta-button-primary {
    min-width: 430px;
    min-height: 78px;
    padding: 18px 30px;
    gap: 16px;
    box-shadow: none;
  }

  .hero-prompts .hero-actions .cta-button-primary .telegram-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .hero-prompts .hero-actions .cta-button-primary .cta-copy strong {
    font-size: 1.14rem;
  }

  .hero-prompts .hero-actions .cta-button-primary .cta-copy small {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .landing-header {
    position: static;
    border-radius: 24px;
  }

  .hero,
  .carousel-slide,
  .cta-panel,
  .feature-grid,
  .showcase-grid,
  .steps-grid,
  .info-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card-large,
  .hero-card-accent {
    margin-left: 0;
    max-width: none;
  }

  .cta-panel {
    align-items: flex-start;
  }

  .hero-prompts .hero-orb {
    opacity: 0.54;
  }

  .hero-prompts .hero-orb-left {
    inset: 8% auto auto -10%;
    width: 160px;
    height: 160px;
  }

  .hero-prompts .hero-orb-right {
    inset: auto -10% 8% auto;
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .landing-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 10px;
  }

  .landing-page-home .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 20px;
  }

  .landing-page-home .hero-home .hero-visual {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
  }

  .landing-page-home .hero-home .hero-visual .home-hero-card,
  .landing-page-home .hero-home .hero-visual .home-hero-card:last-of-type {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px;
  }

  .landing-header {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-copy span,
  .brand-copy small {
    white-space: normal;
  }

  .top-nav {
    justify-content: space-between;
  }

  .hero,
  .section,
  .cta-panel {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .cta-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 18px 16px;
  }

  .cta-panel > div:first-child {
    min-width: 0;
  }

  .cta-panel .eyebrow {
    margin-bottom: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .cta-panel h2 {
    max-width: none;
    font-size: clamp(1.5rem, 7.2vw, 2rem);
    line-height: 1;
  }

  .cta-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    align-items: stretch;
    gap: 8px;
    margin-top: 6px;
  }

  .cta-panel-actions .cta-button {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
  }

  .cta-panel-actions .cta-button .cta-copy {
    min-width: 0;
  }

  .cta-panel-actions .cta-button .cta-copy strong,
  .cta-panel-actions .cta-button .cta-copy small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .cta-panel-actions .cta-button-primary {
    min-height: 60px;
  }

  .cta-panel-actions .cta-button-primary .telegram-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .cta-panel-actions .cta-button-primary .cta-copy strong {
    font-size: 0.96rem;
  }

  .cta-panel-actions .cta-button-primary .cta-copy small {
    font-size: 0.78rem;
  }

  .telegram-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

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

  .carousel-copy {
    padding: 20px;
  }

  .carousel-controls {
    gap: 10px;
    padding: 10px 10px 10px 12px;
  }

  .carousel-button {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .carousel-pagination {
    min-height: 52px;
    padding: 0 14px;
    gap: 8px;
  }

  .showcase-section .carousel-slide {
    grid-template-columns: 1fr;
  }

  .hero-home-visual,
  .home-switch-grid {
    grid-template-columns: 1fr;
  }

  .showcase-carousel-shell {
    --showcase-media-height: 420px;
  }

  .showcase-section .carousel-controls {
    width: 100%;
  }

  .showcase-section .carousel-button[data-carousel-prev] {
    left: 10px;
  }

  .showcase-section .carousel-button[data-carousel-next] {
    right: 10px;
  }

  .showcase-section .carousel-media {
    min-height: var(--showcase-media-height);
    padding: 14px;
  }

  .showcase-section .carousel-media img {
    max-width: min(100%, 420px);
    max-height: min(64vh, 620px);
  }

  .showcase-section .carousel-copy {
    padding: 10px 4px 0;
  }

  .showcase-section .carousel-slide-cta {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .landing-shell {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .hero-actions,
  .cta-panel-actions {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav a {
    flex: 1;
    text-align: center;
  }

  .cta-copy {
    width: 100%;
  }

  .cta-panel {
    gap: 10px;
    padding: 16px 14px;
  }

  .cta-panel h2 {
    font-size: clamp(1.34rem, 8.4vw, 1.72rem);
    line-height: 1.02;
  }

  .cta-panel-actions .cta-button {
    padding: 12px 14px;
  }

  .cta-panel-actions .cta-button-secondary {
    box-shadow: none;
  }

  .cta-panel-actions .cta-button-primary {
    min-height: 56px;
  }

  .cta-panel-actions .cta-button-primary .telegram-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .cta-panel-actions .cta-button-primary .cta-copy strong {
    font-size: 0.9rem;
  }

  .cta-panel-actions .cta-button-primary .cta-copy small {
    font-size: 0.74rem;
  }

  .carousel-controls {
    gap: 8px;
    padding: 8px;
  }

  .carousel-button {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .carousel-pagination {
    min-height: 48px;
    padding: 0 12px;
    gap: 7px;
  }

  .carousel-dot.is-active {
    width: 22px;
  }

  .showcase-section .carousel-button {
    width: 34px;
    height: 34px;
  }

  .showcase-section .carousel-dot,
  .showcase-section .carousel-dot.is-active {
    width: 7px;
    height: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
