:root {
  color-scheme: light dark;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  --color-bg: #0a0e27;
  --color-surface: #12172e;
  --color-primary: #6366f1;
  --color-secondary: #8b5cf6;
  --color-accent: #ec4899;
  --color-text: #f1f5f9;
  --color-muted: #94a3b8;
  --color-glow: rgba(99, 102, 241, 0.5);
  --max-width: 1280px;
  background-color: var(--color-bg);
  color: var(--color-text);
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

body.page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1), transparent),
    var(--color-bg);
  position: relative;
  overflow-x: hidden;
}

body.page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(99, 102, 241, 0.03) 2px,
      rgba(99, 102, 241, 0.03) 4px
    );
  pointer-events: none;
  z-index: 0;
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-header__logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-header__toggle:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
}

.site-header__toggle:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.6);
  outline-offset: 3px;
}

.site-header__toggle-line {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.site-header__toggle--active .site-header__toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 24px;
}

.site-header__toggle--active .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header__toggle--active .site-header__toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 24px;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav__link {
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.site-nav__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: flex;
  flex-direction: column;
  gap: 120px;
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 10% 5%;
  margin: auto;
  width: 90%;
  height: 80%;
  max-width: 100%;
  background:
    radial-gradient(140% 120% at 25% 50%, rgba(99, 102, 241, 0.18), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__cta {
  padding: 16px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.hero__cta:hover::before {
  left: 100%;
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.hero__cta-secondary {
  padding: 16px 32px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero__cta-secondary:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-3px);
}

.hero__visual {
  position: relative;
  height: clamp(260px, 45vw, 500px);
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

.hero__orb--primary {
  width: clamp(210px, 32vw, 320px);
  height: clamp(210px, 32vw, 320px);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.6), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__orb--secondary {
  width: clamp(160px, 26vw, 240px);
  height: clamp(160px, 26vw, 240px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
  top: 18%;
  right: 12%;
  animation-delay: -2s;
}

.hero__orb--accent {
  width: clamp(130px, 22vw, 200px);
  height: clamp(130px, 22vw, 200px);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent 70%);
  bottom: 18%;
  left: 12%;
  animation-delay: -4s;
}

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

.highlights {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.highlights__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlights__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.highlights__item:hover::before {
  opacity: 1;
}

.highlights__item:hover {
  transform: translateX(8px);
}

.highlights__number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.highlights__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.highlights__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
}

.highlights__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlights__link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.highlights__link:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.guide {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 100px 0 0;
  position: relative;
}

.guide::before {
  content: '';
  position: absolute;
  inset: 12% 10%;
  margin: auto;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.guide__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.guide__label {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.9;
}

.guide__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, var(--color-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guide__intro-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.guide__intro-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.25rem;
  line-height: 1.8;
}

.guide__content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.guide__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 40px;
}

.guide__item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 32px;
  bottom: -60px;
  width: 1px;
  background: linear-gradient(180deg, var(--color-primary), transparent);
  opacity: 0.3;
}

.guide__item:last-child::before {
  display: none;
}

.guide__item-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.guide__marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  flex-shrink: 0;
  position: absolute;
  left: 0;
}

.guide__heading {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.guide__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

.guide__quote {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.guide__quote-mark {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.guide__quote-text {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}

.cta-banner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 80px;
  position: relative;
  z-index: 2;
}

.cta-banner__wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  max-width: 100%;
  background: 
    linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15)),
    rgba(18, 23, 46, 0.8);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-banner__wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-banner__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-banner__circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  filter: blur(40px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.cta-banner__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff, var(--color-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-banner__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.cta-banner__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.cta-banner__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-banner__stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.cta-banner__stat-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 500;
}

.site-footer {
  text-align: center;
  padding: 60px 32px;
  color: var(--color-muted);
  position: relative;
  z-index: 2;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.site-footer__link {
  font-size: 0.9rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.site-footer__link:hover {
  color: var(--color-primary);
}

.site-footer__disclaimer {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--color-muted);
  max-width: 680px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__text {
  margin: 0;
  font-size: 0.9rem;
}

.legal {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.legal__intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, var(--color-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal__summary {
  margin: 0 auto;
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.legal__section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal__heading {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.legal__paragraph {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.legal__list {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.legal__list li {
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    align-items: center;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    height: 300px;
  }

  .cta-banner__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px;
  }

  .cta-banner__visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 32px 24px;
  }

  .site-header__brand {
    flex: 1;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(12, 15, 37, 0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 32px;
    gap: 18px;
    border-left: 1px solid rgba(99, 102, 241, 0.2);
    transition: right 0.35s ease;
    box-shadow: -26px 0 60px rgba(10, 14, 39, 0.45);
    z-index: 99;
  }

  .site-nav--open {
    right: 0;
  }

  body.nav-open .site-header__toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
  }

  .site-nav__link {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    font-size: 1rem;
  }

  .site-nav__link:hover {
    background: rgba(99, 102, 241, 0.18);
    transform: translateY(-2px);
  }

  .content {
    gap: 80px;
    padding: 0 24px 60px;
  }

  .legal {
    padding: 60px 24px;
    gap: 48px;
  }

  .legal__section {
    padding: 32px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .hero__cta,
  .hero__cta-secondary {
    flex: 1 1 100%;
    text-align: center;
  }

  .highlights__item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px;
  }

  .highlights__number {
    font-size: 3rem;
  }

  .guide {
    padding: 60px 0 0;
    gap: 60px;
  }

  .guide__item {
    padding-left: 32px;
  }

  .cta-banner__wrapper {
    padding: 32px;
  }

  .cta-banner__title {
    font-size: 1.75rem;
  }

  .cta-banner__stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-banner__stat {
    align-items: center;
    text-align: center;
  }

  .cta-banner__stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 20px;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }

  .highlights__item {
    padding: 28px;
  }

  .highlights__title {
    font-size: 1.5rem;
  }

  .guide__content {
    gap: 40px;
  }

  .guide__item {
    padding-left: 0;
  }

  .guide__item::before {
    display: none;
  }

  .guide__item-header {
    gap: 12px;
  }

  .guide__marker {
    position: relative;
    left: 0;
  }

  .guide__heading {
    font-size: 1.5rem;
  }

  .guide__text {
    font-size: 1.05rem;
  }

  .guide__quote {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 28px 20px;
  }

  .hero {
    padding: 32px 0;
  }

  .legal {
    padding: 48px 20px;
    gap: 40px;
  }

  .legal__section {
    padding: 24px;
  }

  .hero__badge {
    letter-spacing: 0.08em;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__cta,
  .hero__cta-secondary {
    padding: 14px 24px;
  }

  .highlights__item {
    padding: 24px;
  }

  .highlights__title {
    font-size: 1.4rem;
  }

  .highlights__text {
    font-size: 1rem;
  }

  .guide__label {
    letter-spacing: 0.12em;
  }

  .guide__title {
    font-size: 2.2rem;
  }

  .guide__intro-text {
    font-size: 1.1rem;
  }

  .guide__heading {
    font-size: 1.4rem;
  }

  .guide__quote {
    margin-top: 20px;
    padding: 40px 20px;
  }

  .guide__quote-text {
    font-size: 1.4rem;
  }

  .cta-banner__wrapper {
    padding: 28px;
  }

  .cta-banner__title {
    font-size: 1.5rem;
  }

  .cta-banner__text {
    font-size: 1.05rem;
  }

  .cta-banner__stat-number {
    font-size: 1.8rem;
  }

  .cta-banner__stat-label {
    font-size: 0.85rem;
  }
}
