:root {
  --bg-deep: #0e1118;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --text: #e8eaef;
  --text-muted: #9aa3b5;
  --accent: #5b8cff;
  --accent-2: #3dd6c7;
  --max-btn-fill-1: #3d5cff;
  --max-btn-fill-2: #7c3aed;
  --max-btn-hover-1: #01c5c8;
  --max-btn-hover-2: #046ef4;
  --max-btn-hover-3: #572dff;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image: linear-gradient(
    160deg,
    #141a28 0%,
    var(--bg-deep) 38%,
    #0b0e15 72%,
    #080a0f 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(91, 140, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(61, 214, 199, 0.12), transparent 50%);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  background-repeat: repeat;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-hero {
  animation: hero-fade-up 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-hero--delayed {
  animation-delay: 0.14s;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#features .section__subtitle.reveal {
  --reveal-delay: 0.1s;
}

.features .feature-card.reveal:nth-child(1) {
  --reveal-delay: 0.04s;
}

.features .feature-card.reveal:nth-child(2) {
  --reveal-delay: 0.1s;
}

.features .feature-card.reveal:nth-child(3) {
  --reveal-delay: 0.16s;
}

.features .feature-card.reveal:nth-child(4) {
  --reveal-delay: 0.22s;
}

.features .feature-card.reveal:nth-child(5) {
  --reveal-delay: 0.28s;
}

.features .feature-card.reveal:nth-child(6) {
  --reveal-delay: 0.34s;
}

.steps .steps__item.reveal:nth-child(1) {
  --reveal-delay: 0s;
}

.steps .steps__item.reveal:nth-child(2) {
  --reveal-delay: 0.09s;
}

.steps .steps__item.reveal:nth-child(3) {
  --reveal-delay: 0.18s;
}

#how .cta-block.reveal {
  --reveal-delay: 0.12s;
}

#reviews .section__subtitle.reveal {
  --reveal-delay: 0.1s;
}

.reviews .review-card.reveal:nth-child(1) {
  --reveal-delay: 0.04s;
}

.reviews .review-card.reveal:nth-child(2) {
  --reveal-delay: 0.1s;
}

.reviews .review-card.reveal:nth-child(3) {
  --reveal-delay: 0.16s;
}

.reviews .review-card.reveal:nth-child(4) {
  --reveal-delay: 0.22s;
}

#support .section__subtitle.reveal {
  --reveal-delay: 0.1s;
}

.support-panel.reveal {
  --reveal-delay: 0.14s;
}

#faq .section__subtitle.reveal {
  --reveal-delay: 0.08s;
}

.faq .faq__item.reveal:nth-child(1) {
  --reveal-delay: 0s;
}

.faq .faq__item.reveal:nth-child(2) {
  --reveal-delay: 0.08s;
}

.faq .faq__item.reveal:nth-child(3) {
  --reveal-delay: 0.16s;
}

.faq .faq__item.reveal:nth-child(4) {
  --reveal-delay: 0.24s;
}

.faq .faq__item.reveal:nth-child(5) {
  --reveal-delay: 0.32s;
}

.faq .faq__item.reveal:nth-child(6) {
  --reveal-delay: 0.4s;
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 0;
  background: rgba(14, 17, 24, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo__accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--max-btn-fill-1) 0%, var(--max-btn-fill-2) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(61, 92, 255, 0.45);
}

.btn--primary:hover {
  background: linear-gradient(
    135deg,
    var(--max-btn-hover-1) 0%,
    var(--max-btn-hover-2) 50%,
    var(--max-btn-hover-3) 100%
  );
  box-shadow: 0 12px 40px rgba(4, 110, 244, 0.38);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #f0f3f9;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 88px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

  .hero__visual {
    display: none;
  }

  .nav {
    display: none;
  }
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin: 0 0 16px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero__title-gradient {
  background: linear-gradient(110deg, #fff 0%, var(--accent) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34em;
  margin: 0 0 32px;
}

.hero__lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__visual {
  position: relative;
  min-height: 360px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.orb--1 {
  width: 280px;
  height: 280px;
  background: var(--accent);
  top: 10%;
  right: 10%;
}

.orb--2 {
  width: 200px;
  height: 200px;
  background: var(--accent-2);
  bottom: 15%;
  left: 5%;
}

.card-preview {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(340px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.35s ease, border-color 0.25s ease, transform 0.35s ease;
}

.card-preview:hover {
  border-color: rgba(91, 140, 255, 0.35);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(91, 140, 255, 0.12),
    0 0 56px rgba(91, 140, 255, 0.22),
    0 0 100px rgba(61, 214, 199, 0.12);
  transform: translate(-50%, calc(-50% - 2px));
}

.card-preview__header {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
}

.card-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.card-preview__body {
  padding: 20px;
}

.card-preview__line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.card-preview__line--short {
  width: 40%;
}

.card-preview__line--mid {
  width: 70%;
}

.card-preview__line--long {
  width: 92%;
}

.card-preview__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(91, 140, 255, 0.2);
  color: #b8ceff;
  margin: 8px 0 16px;
}

.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

.feature-card.reveal {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(91, 140, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(91, 140, 255, 0.15),
    0 8px 40px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(91, 140, 255, 0.2),
    0 0 72px rgba(61, 214, 199, 0.1);
  transform: translateY(-3px);
}

.feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.feature-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

.review-card.reveal {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.review-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(91, 140, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(91, 140, 255, 0.15),
    0 8px 40px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(91, 140, 255, 0.2),
    0 0 72px rgba(61, 214, 199, 0.1);
  transform: translateY(-3px);
}

.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  line-height: 1;
}

.review-card__star {
  font-size: 1.15rem;
  background: linear-gradient(135deg, #ffc14d 0%, #f5a623 50%, #e8940c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(245, 166, 35, 0.35);
}

.review-card__quote {
  margin: 0 0 20px;
  flex: 1;
}

.review-card__quote p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.review-card__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.review-card__author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  font-style: normal;
  color: var(--text);
}

.review-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

.steps__item.reveal {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.steps__item:hover {
  background: var(--bg-card);
  border-color: rgba(91, 140, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(91, 140, 255, 0.1),
    0 0 40px rgba(91, 140, 255, 0.16),
    0 0 64px rgba(61, 214, 199, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.steps__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(91, 140, 255, 0.35), rgba(61, 214, 199, 0.2));
  border: 1px solid var(--border);
}

.steps__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.steps__text {
  margin: 0;
  color: var(--text-muted);
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.12), rgba(61, 214, 199, 0.08));
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

.cta-block.reveal {
  transition:
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.cta-block:hover {
  border-color: rgba(91, 140, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(91, 140, 255, 0.12),
    0 0 52px rgba(91, 140, 255, 0.22),
    0 0 88px rgba(61, 214, 199, 0.14);
  transform: translateY(-2px);
}

.cta-block__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.section--support .section__subtitle {
  margin-bottom: 40px;
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(91, 140, 255, 0.08), rgba(61, 214, 199, 0.06));
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.35s ease;
}

.support-panel:hover {
  border-color: rgba(91, 140, 255, 0.3);
  box-shadow:
    0 0 0 1px rgba(91, 140, 255, 0.1),
    0 0 48px rgba(91, 140, 255, 0.18),
    0 0 80px rgba(61, 214, 199, 0.1);
}

.support-panel.reveal {
  transition:
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.support-panel__lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.support-panel__list {
  margin: 0 0 28px;
  padding-left: 1.2em;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.support-panel__list li {
  margin-bottom: 10px;
}

.support-panel__list li:last-child {
  margin-bottom: 0;
}

.support-bubbles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin-left: auto;
}

.support-bubbles__msg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 100%;
}

.support-bubbles__msg--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
}

.support-bubbles__msg--bot {
  align-self: flex-start;
  background: rgba(91, 140, 255, 0.18);
  border: 1px solid rgba(91, 140, 255, 0.35);
  color: #c8d9ff;
}

@media (max-width: 900px) {
  .support-panel {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .support-bubbles {
    margin-left: 0;
    max-width: none;
  }
}

.section--faq .section__subtitle {
  margin-bottom: 40px;
}

.faq {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}

.faq__item:hover {
  border-color: rgba(91, 140, 255, 0.25);
}

.faq__item[open] {
  border-color: rgba(91, 140, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(91, 140, 255, 0.08);
}

.faq__summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 20px;
  color: var(--text);
  position: relative;
  padding-right: 44px;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq__item[open] .faq__summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__text {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 12px;
}

.footer__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.65;
}

.footer__meta a {
  color: var(--text-muted);
}

.footer__meta a:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .animate-hero,
  .animate-hero--delayed {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card,
  .review-card,
  .steps__item,
  .cta-block,
  .card-preview {
    transition-duration: 0.01ms;
  }

  .feature-card:hover,
  .review-card:hover,
  .steps__item:hover,
  .cta-block:hover,
  .support-panel:hover {
    transform: none;
  }

  .card-preview:hover {
    transform: translate(-50%, -50%);
  }
}
