:root {
  --bg-main-top: #030730;
  --bg-main-bottom: #12154c;
  --bg-card: #15194d;
  --bg-card-alt: #11153c;
  --bg-input: #11153c;
  --border-subtle: #262a5d;
  --text-main: #ffffff;
  --text-muted: #d5d8e6;
  --text-soft: #98a1d8;
  --accent: #08c6aa;
  --accent-alt: #01aba5;
  --accent-yellow: #fdd303;
  --accent-orange: #f4a004;
  --accent-blue: #2433d7;
  --accent-blue-2: #1850dc;
  --accent-pink: #f52cc1;
  --accent-purple: #a96aca;
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.6);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text-main);
  background: radial-gradient(circle at top, var(--bg-main-top), var(--bg-main-bottom));
  min-height: 100%;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at top, #151b5a00 0, #151b5a33 40%, transparent 70%);
}

/* Stars */

.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.7) 0, transparent 55%),
    radial-gradient(1.2px 1.2px at 70% 15%, rgba(255, 255, 255, 0.65) 0, transparent 55%),
    radial-gradient(1.4px 1.4px at 30% 70%, rgba(255, 255, 255, 0.5) 0, transparent 55%),
    radial-gradient(1.1px 1.1px at 80% 80%, rgba(255, 255, 255, 0.55) 0, transparent 55%),
    radial-gradient(1.3px 1.3px at 50% 40%, rgba(255, 255, 255, 0.5) 0, transparent 55%);
  opacity: 0.75;
}

/* Soft clouds */

.bg-cloud {
  position: absolute;
  width: 280px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(68, 78, 160, 0.7), rgba(20, 24, 74, 0.05));
  filter: blur(4px);
  opacity: 0.4;
}

.bg-cloud--one {
  top: 10%;
  left: -6%;
}

.bg-cloud--two {
  top: 55%;
  right: -8%;
}

.bg-cloud--three {
  bottom: 0;
  left: 40%;
}

/* Floating mascots */

.mascot-floating {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
  animation: float 7s ease-in-out infinite;
}

.mascot-floating::before,
.mascot-floating::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.mascot-floating::before {
  width: 12px;
  height: 12px;
  background: #0b0f3f;
  top: 30%;
  left: 20%;
}

.mascot-floating::after {
  width: 16px;
  height: 10px;
  border-radius: 0 0 16px 16px;
  border-bottom: 3px solid #0b0f3f;
  left: 50%;
  bottom: 26%;
  transform: translateX(-50%);
}

.mascot-floating--yellow {
  background: radial-gradient(circle at 30% 20%, #ffe88a, #ffc533, #f4a004);
  top: 16%;
  right: 6%;
  animation-delay: 0s;
}

.mascot-floating--pink {
  background: radial-gradient(circle at 30% 20%, #ff96ec, #f52cc1, #c5129a);
  bottom: 18%;
  left: 5%;
  animation-delay: 1.5s;
}

.mascot-floating--purple {
  background: radial-gradient(circle at 30% 20%, #e4b6ff, #a96aca, #7d3ea5);
  top: 62%;
  left: 70%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Layout */

.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 18px 36px;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(6, 9, 38, 0.7);
  border: 1px solid rgba(52, 65, 170, 0.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 10px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffe88a, #ffc533, #f4a004);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.logo-face {
  position: relative;
  width: 70%;
  height: 70%;
}

.logo-eye {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #0b0f3f;
  border-radius: 50%;
  top: 30%;
}

.logo-eye--left {
  left: 20%;
}

.logo-eye--right {
  right: 20%;
}

.logo-smile {
  position: absolute;
  left: 50%;
  bottom: 26%;
  width: 15px;
  height: 11px;
  border-radius: 0 0 15px 15px;
  border-bottom: 3px solid #0b0f3f;
  transform: translateX(-50%);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-soft);
}

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

.nav-link {
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: 0.16s ease all;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(68, 82, 190, 0.9);
  background: rgba(13, 19, 63, 0.9);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-small {
  padding: 7px 14px;
  font-size: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 16px 42px rgba(1, 171, 165, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(1, 171, 165, 0.85);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  color: #251008;
  box-shadow: 0 16px 42px rgba(244, 160, 4, 0.7);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(244, 160, 4, 0.85);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(88, 99, 190, 0.9);
}

.btn-ghost:hover {
  background: rgba(15, 21, 70, 0.9);
}

.btn-outline {
  background: rgba(14, 18, 64, 0.96);
  border: 1px solid rgba(88, 99, 190, 0.9);
}

.btn-outline:hover {
  background: rgba(21, 27, 82, 1);
}

.full-width {
  width: 100%;
}

/* Burger */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(88, 99, 190, 0.9);
  background: rgba(11, 16, 60, 0.95);
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  margin: 2px 0;
  transition: 0.16s ease transform, 0.16s ease opacity;
}

.burger.open span:nth-child(1) {
  transform: translateY(4px) rotate(40deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-40deg);
}

/* Mobile nav */

.nav-mobile {
  display: none;
  margin-top: 10px;
  padding: 10px 16px 14px;
  border-radius: 20px;
  background: rgba(8, 11, 47, 0.96);
  border: 1px solid rgba(52, 65, 170, 0.8);
  box-shadow: var(--shadow-strong);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile .nav-link {
  display: inline-flex;
  margin-bottom: 4px;
}

.nav-mobile-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Hero section */

.hero-section {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 860px;
  background: radial-gradient(circle at top left, rgba(36, 51, 215, 0.35), transparent 55%),
              radial-gradient(circle at bottom right, rgba(245, 44, 193, 0.3), transparent 55%),
              linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  padding: 24px 24px 22px;
  border: 1px solid rgba(64, 77, 191, 0.9);
}

.hero-header {
  max-width: 560px;
}

.hero-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-stats-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-stat {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(11, 16, 60, 0.98);
  border: 1px solid rgba(66, 80, 192, 0.85);
}

.hero-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
}

.hero-stat-value {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

.hero-control-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-input-group {
  flex: 1 1 260px;
}

.hero-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-main);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
}

.hero-input::placeholder {
  color: #8f93c3;
}

.hero-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  border-radius: 16px;
  border: 1px solid rgba(70, 84, 204, 0.9);
  background: rgba(12, 17, 62, 0.96);
  color: var(--text-soft);
  font-size: 11px;
  padding: 6px 10px;
  cursor: pointer;
}

.chip--active {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #03221f;
  border-color: transparent;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Info cards */

.cards-section {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  padding: 20px 22px;
  border: 1px solid rgba(64, 77, 191, 0.9);
}

.info-card--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.info-illustration {
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-card {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-card--yellow {
  background: radial-gradient(circle at 30% 20%, #ffe88a, #ffc533, #f4a004);
}

.mascot-card--purple {
  background: radial-gradient(circle at 30% 20%, #e4b6ff, #a96aca, #7d3ea5);
}

.mascot-card--green {
  background: radial-gradient(circle at 30% 20%, #9ffad6, #08c6aa, #01aba5);
}

.mascot-face {
  position: relative;
  width: 68%;
  height: 68%;
}

.mascot-eye {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #0b0f3f;
  border-radius: 50%;
  top: 30%;
}

.mascot-eye--left {
  left: 20%;
}

.mascot-eye--right {
  right: 20%;
}

.mascot-smile {
  position: absolute;
  left: 50%;
  bottom: 24%;
  width: 18px;
  height: 12px;
  border-radius: 0 0 18px 18px;
  border-bottom: 3px solid #0b0f3f;
  transform: translateX(-50%);
}

.orbit-shape {
  position: absolute;
  width: 150px;
  height: 56px;
  border-radius: 999px;
  transform: translateY(46px);
  filter: blur(2px);
}

.orbit-shape--cyan {
  background: radial-gradient(circle at center, rgba(8, 198, 170, 0.45), transparent 70%);
}

.orbit-shape--pink {
  background: radial-gradient(circle at center, rgba(245, 44, 193, 0.45), transparent 70%);
}

.orbit-shape--blue {
  background: radial-gradient(circle at center, rgba(35, 96, 255, 0.45), transparent 70%);
}

.info-content {
  max-width: 440px;
}

.info-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.info-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Features */

.features-section {
  margin-top: 34px;
}

.features-header {
  max-width: 540px;
}

.section-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 4px 0 6px;
  font-size: 22px;
}

.section-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.features-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-alt));
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  padding: 16px 14px 14px;
  border: 1px solid rgba(64, 77, 191, 0.9);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-icon--cyan {
  background: radial-gradient(circle at 30% 20%, #9ffad6, #08c6aa);
}

.feature-icon--yellow {
  background: radial-gradient(circle at 30% 20%, #ffe88a, #f4a004);
}

.feature-icon--pink {
  background: radial-gradient(circle at 30% 20%, #ff96ec, #f52cc1);
}

.feature-icon--purple {
  background: radial-gradient(circle at 30% 20%, #e4b6ff, #a96aca);
}

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(3, 10, 44, 0.9);
}

.feature-title {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-text {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.feature-tag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(88, 99, 190, 0.9);
  font-size: 11px;
  color: var(--text-soft);
}

/* Support */

.support-section {
  margin-top: 34px;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  padding: 20px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(64, 77, 191, 0.9);
}

.support-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.support-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Footer */

.site-footer {
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid rgba(53, 64, 158, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.footer-dot {
  opacity: 0.6;
}

/* Toast */

.toast-container {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 20;
}

.toast {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 60, 0.98);
  border: 1px solid rgba(88, 99, 190, 0.95);
  box-shadow: var(--shadow-strong);
  font-size: 12px;
}

/* Accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-card {
    padding-inline: 18px;
  }

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

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

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

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

@media (max-width: 640px) {
  .page-wrapper {
    padding-inline: 12px;
  }

  .site-header {
    top: 8px;
  }

  .hero-card {
    padding-inline: 16px;
  }

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

  .hero-control-row {
    flex-direction: column;
    align-items: stretch;
  }

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