:root {
  --ink-900: #0c0b13;
  --ink-800: #14121d;
  --ink-700: #211d2f;
  --paper: #f7f5f1;
  --paper-2: #efebe3;
  --card: #ffffff;
  --text: #241f30;
  --muted: #6b6478;
  --line: rgba(36, 28, 60, 0.1);
  --line-strong: rgba(36, 28, 60, 0.16);
  --brand: #6b4ef6;
  --brand-deep: #4a2fd0;
  --brand-soft: rgba(107, 78, 246, 0.1);
  --warm: #ff7a45;
  --warm-soft: rgba(255, 122, 69, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(24, 16, 50, 0.05);
  --shadow: 0 18px 40px -22px rgba(28, 18, 60, 0.35), 0 2px 8px rgba(24, 16, 50, 0.05);
  --shadow-lg: 0 40px 80px -40px rgba(28, 18, 60, 0.45), 0 6px 20px -8px rgba(24, 16, 50, 0.12);
  --container: 1160px;
  --hdr-h: 68px;
  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: none;
  border: 0;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: rgba(107, 78, 246, 0.2);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  font-size: 14px;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.header.is-scrolled {
  color: var(--text);
  background: rgba(247, 245, 241, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(20, 12, 44, 0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--warm) 100%);
  box-shadow: 0 8px 18px -8px rgba(107, 78, 246, 0.8);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__sub {
  display: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__link:hover {
  opacity: 1;
  background: rgba(127, 108, 200, 0.14);
}

.nav__link.is-active {
  opacity: 1;
  font-weight: 600;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--warm));
  transform: translateX(-50%);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(107, 78, 246, 0.9);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -16px rgba(107, 78, 246, 0.95);
}

.btn--warm {
  background: linear-gradient(135deg, #ff8a53 0%, var(--warm) 100%);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(255, 122, 69, 0.85);
}

.btn--warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -16px rgba(255, 122, 69, 0.9);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}

.btn--outline:hover {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn--block {
  width: 100%;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.header.is-scrolled .nav-toggle {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav-toggle.is-open .nav-toggle__bar {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--hdr-h) * -1);
  padding: calc(var(--hdr-h) + 72px) 0 104px;
  background:
    radial-gradient(1000px 620px at 82% -8%, rgba(122, 84, 255, 0.5) 0%, transparent 62%),
    radial-gradient(760px 520px at 6% 12%, rgba(255, 122, 69, 0.24) 0%, transparent 60%),
    linear-gradient(158deg, var(--ink-900) 0%, #191430 46%, #241a3f 100%);
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -180px;
  width: 1100px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 78, 246, 0.4), transparent 72%);
  transform: translateX(-50%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero__eyebrow span {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--warm), #ff9d5c);
  color: #2a1206;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(44px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero__title em {
  display: block;
  margin-top: 12px;
  font-size: clamp(19px, 2.4vw, 27px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(96deg, #ffd9a8 0%, #ffb27a 38%, #c0a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e9c8a0;
}

.hero__desc {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16.5px;
  line-height: 1.9;
}

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

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.hero__tag svg {
  flex: none;
  color: var(--warm);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #fff 0%, #c9b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__stat small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.hero__stage {
  position: relative;
  display: inline-block;
}

.hero__panel {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(-2.2deg);
  transition: transform 0.6s var(--ease);
}

.hero__panel:hover {
  transform: rotate(0deg);
}

.hero__cover {
  width: 380px;
  height: 380px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  background: #241d3a;
}

.hero__panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px 2px;
}

.hero__panel-foot span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero__panel-foot strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd9a8;
  font-size: 13px;
}

.hero__float {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(20, 16, 34, 0.72);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero__float--a {
  top: 10px;
  left: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  animation: drift 9s ease-in-out infinite;
}

.hero__float--a img {
  width: 96px;
  height: 128px;
  border-radius: 10px;
  object-fit: cover;
}

.hero__float--a small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.hero__float--b {
  right: -22px;
  top: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  animation: drift 11s ease-in-out infinite reverse;
}

.hero__float--b img {
  width: 96px;
  height: 128px;
  border-radius: 10px;
  object-fit: cover;
}

.hero__float--b small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.hero__float--c {
  left: 12px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  animation: drift 10s ease-in-out infinite 0.6s;
}

.hero__float--c img {
  width: 168px;
  height: 168px;
  border-radius: 12px;
  object-fit: cover;
}

.hero__float--c b {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hero__float--c i {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  font-style: normal;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 16px 0;
  width: max-content;
  animation: slide 32s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.marquee__track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm);
  opacity: 0.8;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.gallery {
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(107, 78, 246, 0.08), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--warm));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107, 78, 246, 0.28);
  box-shadow: var(--shadow);
}

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

.gallery-card__media {
  position: relative;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(107, 78, 246, 0.12), rgba(255, 122, 69, 0.12));
}

.gallery-card__img {
  width: 206px;
  height: 238px;
  border-radius: 13px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 30px -18px rgba(30, 18, 60, 0.55);
  transition: transform 0.5s var(--ease);
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.02);
}

.gallery-card__step {
  position: absolute;
  left: 6px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(12, 11, 19, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.gallery-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.gallery-card__title small {
  display: block;
  margin-top: 6px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.gallery-card__text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.features {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

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

.feature {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.feature::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 78, 246, 0.14), transparent 72%);
  transition: transform 0.5s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 78, 246, 0.26);
  box-shadow: var(--shadow);
}

.feature:hover::before {
  transform: scale(1.5);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.feature:nth-child(3n + 2) .feature__icon {
  background: var(--warm-soft);
  color: #c9500f;
}

.feature:nth-child(3n) .feature__icon {
  background: rgba(22, 132, 120, 0.1);
  color: #0f7a6c;
}

.feature__title {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature__text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.flow {
  position: relative;
  background:
    radial-gradient(800px 420px at 88% 8%, rgba(255, 122, 69, 0.1), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #f2eee6 100%);
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.flow-item {
  position: relative;
  padding: 30px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.flow-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.flow-item::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), rgba(107, 78, 246, 0));
}

.flow-item__no {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
}

.flow-item__title {
  font-size: 18px;
  font-weight: 700;
}

.flow-item__text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq {
  background: linear-gradient(180deg, #f2eee6 0%, #fff 100%);
}

.faq__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.faq__aside {
  position: sticky;
  top: 96px;
}

.faq__aside .section-head {
  margin: 0 0 24px;
  text-align: left;
}

.faq__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(107, 78, 246, 0.08), rgba(255, 122, 69, 0.08));
}

.faq__card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq__card .btn {
  margin-top: 18px;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item[open] {
  border-color: rgba(107, 78, 246, 0.32);
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a2fd0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(135deg);
  background-color: rgba(107, 78, 246, 0.16);
}

.faq-item__body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.reviews {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

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

.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px -8px rgba(30, 18, 60, 0.6);
  background: var(--paper-2);
}

.review__meta b {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.review__meta i {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.review__stars {
  margin-left: auto;
  display: inline-flex;
  gap: 2px;
  color: #ffab2e;
}

.review__text {
  color: #4a4557;
  font-size: 14.5px;
  line-height: 1.9;
}

.about {
  background:
    radial-gradient(700px 400px at 20% 100%, rgba(107, 78, 246, 0.09), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, #fff 100%);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  align-items: start;
}

.about__text p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 2;
}

.about__text p + p {
  margin-top: 16px;
}

.about__cards {
  display: grid;
  gap: 14px;
}

.about__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about__card span {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.about__card b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
}

.about__card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.cta {
  padding: 0 0 96px;
  background: #fff;
}

.cta__inner {
  position: relative;
  overflow: hidden;
  padding: 60px 56px;
  border-radius: 32px;
  background:
    radial-gradient(680px 300px at 84% 0%, rgba(255, 122, 69, 0.4), transparent 62%),
    linear-gradient(140deg, #191331 0%, #2a1c52 58%, #3b1f56 100%);
  color: #fff;
  box-shadow: 0 50px 90px -50px rgba(26, 14, 60, 0.9);
  text-align: center;
}

.cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 84%, rgba(255, 255, 255, 0.16) 0, transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.12) 0, transparent 24%);
  pointer-events: none;
}

.cta__title {
  position: relative;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.35;
}

.cta__text {
  position: relative;
  max-width: 620px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.footer {
  position: relative;
  padding: 68px 0 30px;
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.66);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: #fff;
}

.footer__slogan {
  margin-top: 18px;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  line-height: 1.9;
}

.footer__domain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer__col h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.25s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom a:hover {
  color: #fff;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 16px 32px -14px rgba(74, 47, 208, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .hero__visual {
    min-height: 0;
    margin-top: 8px;
  }

  .hero__cover {
    width: 320px;
    height: 320px;
  }

  .hero__float--c img {
    width: 140px;
    height: 140px;
  }

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

  .gallery-card__img {
    width: 224px;
    height: 260px;
  }

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

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

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

  .faq__wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .faq__aside {
    position: static;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

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

@media (max-width: 900px) {
  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--hdr-h) + 8px);
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15.5px;
  }

  .nav__link.is-active::after {
    display: none;
  }

  .nav__link.is-active {
    background: var(--brand-soft);
    color: var(--brand-deep);
  }

  .nav-toggle {
    display: grid;
  }

  .header__actions .btn {
    display: none;
  }

  .header.is-scrolled {
    background: rgba(247, 245, 241, 0.94);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: calc(var(--hdr-h) + 48px) 0 76px;
  }

  .hero__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__stat strong {
    font-size: 22px;
  }

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

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

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

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

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .cta__inner {
    padding: 44px 24px;
    border-radius: 24px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }

  .hero__float--a {
    left: -10px;
    top: -6px;
  }

  .hero__float--b,
  .hero__float--c {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero__cover {
    width: 260px;
    height: 260px;
  }

  .hero__float--a img,
  .hero__float--b img {
    width: 74px;
    height: 100px;
  }

  .gallery-card__img {
    width: 226px;
    height: 262px;
  }

  .review__stars {
    display: none;
  }

  .marquee__track {
    gap: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media print {
  .header,
  .to-top,
  .hero__float,
  .cta,
  .marquee {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
