:root {
  --bg1: #0d1b46;
  --bg2: #321a6a;
  --bg3: #58219a;
  --glow1: rgba(255, 95, 175, 0.42);
  --glow2: rgba(94, 162, 255, 0.36);
  --magenta: #ff4fd8;
  --text-primary: #f6e7b5;
  --text-secondary: #e4d6a0;
  --accent: #ffd77a;
}

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

body {
  font-family: 'Sora', 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background:
    linear-gradient(to top left, #ff64b6 0%, #61259f 28%, #3a1c72 55%, #1a2562 78%, #0c1438 100%),
    radial-gradient(140% 120% at 80% 20%, rgba(255, 132, 214, 0.2), transparent 55%),
    radial-gradient(120% 120% at 15% 40%, rgba(64, 144, 255, 0.22), transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 45%, rgba(0, 0, 0, 0), rgba(7, 4, 14, 0.32));
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.copy {
  max-width: 740px;
  background: radial-gradient(120% 120% at 50% 30%, rgba(86, 44, 140, 0.2), rgba(22, 8, 50, 0.88));
  border: 1px solid rgba(200, 160, 255, 0.1);
  backdrop-filter: blur(18px);
  padding: 50px 38px 44px;
  border-radius: 30px;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 50px rgba(255, 215, 122, 0.08);
}

.copy h2 {
  font-family: 'Sora', 'Manrope', system-ui, sans-serif;
  font-size: clamp(40px, 6.5vw, 58px);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(19px, 2.6vw, 23px);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.subtext {
  font-size: 16px;
  color: rgba(200, 189, 230, 0.85);
  letter-spacing: 0.01em;
}

.orb {
  position: absolute;
  inset: -18% -20% auto auto;
  width: 360px;
  height: 360px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle, rgba(147, 87, 255, 0.5), rgba(147, 87, 255, 0) 70%);
  opacity: 0.65;
  filter: blur(55px);
  animation: float 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.stars {
  position: fixed;
  inset: -60%;
  width: 220%;
  height: 220%;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}

.stars-back {
  background-image:
    radial-gradient(1.2px 1.2px at 10% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 30% 70%, rgba(230, 220, 255, 0.65), transparent 60%),
    radial-gradient(1.2px 1.2px at 80% 40%, rgba(200, 200, 255, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 60% 85%, rgba(255, 255, 255, 0.7), transparent 60%);
  background-size: 380px 380px;
  animation: drift 150s linear infinite;
  opacity: 0.88;
}

.stars-mid {
  background-image:
    radial-gradient(1.8px 1.8px at 40% 30%, rgba(255, 255, 255, 0.95), transparent 52%),
    radial-gradient(1.6px 1.6px at 75% 75%, rgba(220, 200, 255, 0.95), transparent 52%),
    radial-gradient(1.6px 1.6px at 25% 60%, rgba(255, 255, 255, 0.95), transparent 52%),
    radial-gradient(1.4px 1.4px at 55% 10%, rgba(255, 255, 255, 0.9), transparent 52%);
  background-size: 320px 320px;
  animation: drift 110s linear infinite reverse, twinkle 7s ease-in-out infinite;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.stars-near {
  background-image:
    radial-gradient(2.4px 2.4px at 20% 25%, rgba(255, 255, 255, 1), transparent 55%),
    radial-gradient(2.1px 2.1px at 65% 40%, rgba(255, 220, 255, 1), transparent 55%),
    radial-gradient(2px 2px at 45% 75%, rgba(255, 255, 255, 1), transparent 55%),
    radial-gradient(1.8px 1.8px at 80% 15%, rgba(255, 190, 255, 0.95), transparent 55%);
  background-size: 280px 280px;
  animation: drift 80s linear infinite, twinkle 4.5s ease-in-out infinite;
  opacity: 1;
  mix-blend-mode: screen;
}

.stars-near::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(4px 4px at 22% 28%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(3.6px 3.6px at 68% 42%, rgba(255, 200, 255, 0.22), transparent 55%),
    radial-gradient(3.4px 3.4px at 48% 78%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(3.2px 3.2px at 78% 18%, rgba(255, 190, 255, 0.2), transparent 55%);
  background-size: 320px 320px;
  filter: blur(8px);
  animation: drift 90s linear infinite, twinkle 6s ease-in-out infinite;
  opacity: 0.75;
  mix-blend-mode: screen;
}

.nav {
  position: fixed;
  top: 22px;
  right: max(16px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}

.nav input {
  display: none;
}

.menu-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(20, 16, 48, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 79, 216, 0.18);
}

.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(255, 79, 216, 0.26);
}

.menu-btn .bar {
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.25s ease, width 0.25s ease, background 0.25s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.menu-btn .bar-1 { transform: translateY(-7px); }
.menu-btn .bar-2 { }
.menu-btn .bar-3 { transform: translateY(7px); }

.glow-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffdaf7 0%, #ff4fd8 60%, rgba(255, 79, 216, 0) 75%);
  opacity: 0.8;
  filter: blur(0.5px);
  transform: translate(14px, -14px) scale(0.8);
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.menu-panel {
  position: absolute;
  top: 64px;
  right: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 10, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 79, 216, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
  transform: translateY(-10px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-panel a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.menu-panel a:hover {
  background: rgba(255, 215, 122, 0.16);
  border-color: rgba(255, 215, 122, 0.3);
  transform: translateX(-2px);
}

#menu-toggle:checked + .menu-btn .bar-1 {
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-btn .bar-2 {
  opacity: 0;
  width: 16px;
}

#menu-toggle:checked + .menu-btn .bar-3 {
  transform: rotate(-45deg);
}

#menu-toggle:checked + .menu-btn {
  border-color: rgba(255, 79, 216, 0.35);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 79, 216, 0.35);
}

#menu-toggle:checked + .menu-btn .glow-dot {
  transform: translate(16px, -16px) scale(1.2);
  opacity: 1;
}

#menu-toggle:checked ~ .menu-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.footer {
  position: relative;
  z-index: 2;
  margin: 120px auto 0;
  padding: 40px 20px 80px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-inner {
  width: min(1100px, 100%);
  border-radius: 26px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(18, 12, 40, 0.9), rgba(18, 12, 40, 0.82));
  border: 1px solid rgba(255, 215, 122, 0.1);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 215, 122, 0.08);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-title {
  font-family: 'Sora', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 20px;
  color: #ffe7a1;
  margin-bottom: 8px;
}

.footer-text {
  max-width: 460px;
  color: rgba(245, 231, 181, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  padding: 16px 0 10px;
}

.footer-head {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: #ffefbb;
}

.footer-cols ul {
  list-style: none;
  color: rgba(245, 231, 181, 0.75);
  line-height: 1.6;
  font-size: 14px;
  padding-left: 0;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-meta {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(245, 231, 181, 0.6);
  letter-spacing: 0.01em;
}

.accent-soft {
  color: #ffe8ad;
}

.footer-text,
.footer-meta {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.content-section {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  scroll-margin-top: 120px;
}

.content-section + .content-section {
  margin-top: 20px;
}

.section-card {
  width: min(900px, 100%);
  background: radial-gradient(120% 120% at 50% 25%, rgba(86, 44, 140, 0.2), rgba(22, 8, 50, 0.88));
  border: 1px solid rgba(200, 160, 255, 0.1);
  border-radius: 28px;
  padding: 38px 30px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 50px rgba(255, 215, 122, 0.08);
  backdrop-filter: blur(14px);
  color: var(--text-primary);
}

.section-title {
  font-family: 'Sora', 'Manrope', system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 36px);
  margin-bottom: 14px;
  color: #ffe7a1;
  letter-spacing: -0.01em;
}

.section-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 231, 181, 0.85);
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  transform: translateY(20px);
}

.fade-in {
  transform: translateY(10px);
  transition-duration: 0.6s;
}

.global-parallax {
  position: fixed;
  inset: -20% -10%;
  background:
    radial-gradient(120% 120% at 20% 30%, rgba(255, 215, 122, 0.06), rgba(255, 215, 122, 0)),
    radial-gradient(140% 120% at 80% 70%, rgba(255, 100, 182, 0.08), rgba(255, 100, 182, 0)),
    radial-gradient(120% 120% at 50% 50%, rgba(64, 144, 255, 0.06), rgba(64, 144, 255, 0));
  filter: blur(40px);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.shooting-star {
  position: fixed;
  width: 1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  top: 12%;
  left: -10%;
  transform: rotate(12deg);
  animation: shoot 4s ease-in-out infinite;
  z-index: 1;
  opacity: 0.85;
}

.shooting-star:nth-of-type(2) {
  top: 28%;
  animation-delay: 1.2s;
  animation-duration: 5s;
  opacity: 0.75;
}

.shooting-star:nth-of-type(3) {
  top: 46%;
  animation-delay: 2.4s;
  animation-duration: 5.8s;
  opacity: 0.7;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-30%, -30%, 0); }
}

@keyframes breathe {
  0% { transform: scale(1); opacity: 0.32; }
  50% { transform: scale(1.08); opacity: 0.5; }
  100% { transform: scale(1); opacity: 0.32; }
}

@keyframes shoot {
  0% { transform: translate3d(0, 0, 0) rotate(12deg); opacity: 0; }
  6% { opacity: 0.95; }
  60% { transform: translate3d(120vw, -40vh, 0) rotate(12deg); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(18px, -18px, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .nav {
    top: 16px;
  }

  .hero {
    padding: 140px 16px 70px;
  }

  .copy {
    padding: 40px 26px 34px;
  }

  .copy h2 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .lead {
    font-size: 18px;
  }

  .subtext {
    font-size: 15px;
  }

  .menu-panel {
    right: -2px;
  }

  .footer {
    margin-top: 80px;
    padding: 20px 16px 60px;
  }

  .footer-inner {
    padding: 24px;
  }
}
