@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --primary: #6C5CE7;
  --primary-soft: #9B7BF0;
  --accent: #2FB3B3;
  --accent-soft: #6FDCDC;
  --pink: #FF7EB6;
  --bg: #FBFAFF;
  --bg-alt: #F2EFFD;
  --bg-mint: #EDFAF8;
  --card: #FFFFFF;
  --text: #2B2545;
  --muted: #66607F;
  --line: #E8E3F7;
  --grad: linear-gradient(135deg, #6C5CE7 0%, #9B7BF0 48%, #38C2C2 100%);
  --grad-pink: linear-gradient(135deg, #FF7EB6 0%, #6C5CE7 100%);
  --shadow-sm: 0 6px 20px rgba(108, 92, 231, .08);
  --shadow-md: 0 16px 40px rgba(108, 92, 231, .12);
  --shadow-lg: 0 26px 60px rgba(108, 92, 231, .16);
  --radius: 24px;
  --radius-sm: 16px;
  --h-font: 'Fredoka', 'Trebuchet MS', sans-serif;
  --b-font: 'Nunito', 'Segoe UI', sans-serif;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--b-font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.fixed { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--h-font);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .2px;
}

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader img { width: 60px; height: 60px; }
html.hide .preloader { display: none; }

.section { padding: 108px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-mint { background: var(--bg-mint); }

.eyebrow {
  display: inline-block;
  font-family: var(--h-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108, 92, 231, .09);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 44px;
  margin-bottom: 18px;
}
.section-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-lead { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--h-font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 17px 38px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 32px rgba(108, 92, 231, .28);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(108, 92, 231, .34);
  filter: saturate(1.08);
}
.btn svg { width: 20px; height: 20px; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(108, 92, 231, .07); box-shadow: none; }

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.btn-levitate { animation: levitate 3s ease-in-out infinite; }
.btn-levitate:hover { animation-play-state: paused; }

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 16px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
header.scrolled {
  background: rgba(251, 250, 255, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 26px rgba(108, 92, 231, .09);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 84px; height: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative;
  font-family: var(--h-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .28s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  flex: 0 0 auto;
}
.burger-btn span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform .3s ease, opacity .25s ease, top .3s ease;
}
.burger-btn span:nth-child(1) { top: 15px; }
.burger-btn span:nth-child(2) { top: 21px; }
.burger-btn span:nth-child(3) { top: 27px; }
.burger-btn.act span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1050;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link { font-size: 24px; }

.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.webp') center / cover no-repeat;
  opacity: .85;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 250, 255, .18) 0%, rgba(251, 250, 255, .55) 65%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 62px;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero h1 span {
  display: block;
  font-size: 34px;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 24px 0 32px;
  max-width: 570px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-pills li {
  font-family: var(--h-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  box-shadow: var(--shadow-sm);
}
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(108, 92, 231, .22));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}
.hero-visual::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 123, 240, .3) 0%, rgba(56, 194, 194, .12) 45%, transparent 70%);
  filter: blur(30px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.split-media::after {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: var(--grad);
  opacity: .12;
}
.split-text p + p { margin-top: 18px; }
.split-text p { color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  font-family: var(--h-font);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(108, 92, 231, .25);
}
.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, #9B7BF0, #38C2C2); }
.step-card:nth-child(3) .step-num { background: linear-gradient(135deg, #38C2C2, #7FE0C0); }
.step-card:nth-child(4) .step-num { background: var(--grad-pink); }
.step-card h3 { font-size: 20px; margin-bottom: 10px; }
.step-card p { font-size: 16px; color: var(--muted); line-height: 1.65; }

.steps-cta { text-align: center; margin-top: 56px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 231, .3);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(108, 92, 231, .1);
  color: var(--primary);
  margin-bottom: 22px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card:nth-child(2) .feature-icon { background: rgba(56, 194, 194, .13); color: var(--accent); }
.feature-card:nth-child(3) .feature-icon { background: rgba(255, 126, 182, .14); color: var(--pink); }
.feature-card:nth-child(4) .feature-icon { background: rgba(155, 123, 240, .14); color: var(--primary-soft); }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 16px; }

.highlights { margin-top: 30px; }
.highlights-title {
  font-family: var(--h-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}
.highlights li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  color: var(--muted);
}
.highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--grad);
  opacity: .16;
}
.highlights li::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

footer {
  position: relative;
  padding: 84px 0 34px;
  overflow: hidden;
  background: var(--bg-alt);
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/footer-bg.webp') center / cover no-repeat;
  opacity: .7;
}
footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 250, 255, .62) 0%, rgba(242, 239, 253, .9) 100%);
}
footer .container { position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { width: 89px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 16px; max-width: 400px; }
.footer-col h4 {
  font-size: 17px;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--muted);
  font-size: 16px;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  color: var(--muted);
  font-size: 15px;
}
.footer-bottom a { color: var(--primary); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

.legal-page {
  padding: calc(var(--header-h) + 70px) 0 100px;
  background: var(--bg);
}
.legal-page h1 {
  font-size: 44px;
  margin-bottom: 12px;
}
.legal-page .legal-date {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 16px;
}
.legal-content {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px 56px;
  box-shadow: var(--shadow-sm);
}
.legal-content h2 {
  font-size: 26px;
  margin: 38px 0 14px;
  color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 20px;
  margin: 26px 0 10px;
}
.legal-content p { color: var(--muted); margin-bottom: 14px; }
.legal-content ul, .legal-content ol {
  margin: 0 0 18px 0;
  padding-left: 0;
}
.legal-content li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
  list-style: none;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--primary);
}
.legal-content ol { counter-reset: legal; }
.legal-content ol li { counter-increment: legal; }
.legal-content ol li::before {
  content: counter(legal) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}
.legal-content a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.legal-content a:hover,
.legal-content a:focus-visible { color: var(--primary); text-decoration-color: var(--primary); }

@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .hero h1 { font-size: 50px; }
  .hero h1 span { font-size: 28px; }
  .section-title { font-size: 36px; }
  .nav { gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .legal-content { padding: 40px 36px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  :root { --header-h: 74px; }
  .header-inner .nav { display: none; }
  .burger-btn { display: block; }
  .logo img { width: 72px; }
  .hero { padding: calc(var(--header-h) + 46px) 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .hero h1 { font-size: 42px; }
  .hero h1 span { font-size: 25px; }
  .hero p { font-size: 17px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-reverse .split-media { order: -1; }
  .section-title { font-size: 31px; }
  .section-head { margin-bottom: 44px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { max-width: 100%; margin: 0 auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .legal-page h1 { font-size: 33px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 66px 0; }
  .hero h1 { font-size: 35px; }
  .hero h1 span { font-size: 22px; }
  .section-title { font-size: 27px; }
  .steps { grid-template-columns: 1fr; }
  .step-card, .feature-card { padding: 30px 24px; }
  .btn { width: 100%; padding: 16px 26px; font-size: 16px; }
  .hero-pills li { font-size: 13px; padding: 8px 15px; }
  .legal-content { padding: 28px 20px; }
  .legal-page h1 { font-size: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
