:root {
  --bg-main: #05060a;
  --bg-card: #0d1020;
  --accent-blue: #2e78ff;
  --text-main: #f5f7ff;
  --text-muted: #a9b2d0;
  --line-soft: rgba(46, 120, 255, 0.28);
  --grad-brand: linear-gradient(90deg, #f6a6d9 0%, #b7c8ff 45%, #b9f2c4 100%);
  --shadow-soft: 0 15px 45px rgba(11, 28, 72, 0.35);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text-main);
  background:
    radial-gradient(circle at 20% -10%, rgba(46, 120, 255, 0.18), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(190, 141, 255, 0.12), transparent 30%),
    var(--bg-main);
  font-family: "Inter", sans-serif;
  line-height: 1.55;
}

img,
iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 6, 10, 0.86);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
}

.logo-mark {
  margin-right: 0;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 0.96;
  background: var(--grad-brand);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.logo-text {
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.8vw, 36px);
}

.site-nav a {
  font-size: 0.97rem;
  color: var(--text-muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
  text-shadow: 0 0 20px rgba(180, 205, 255, 0.36);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #0a0c15;
  padding: 9px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px 0;
  background: var(--text-main);
}

main {
  padding-top: 74px;
}

.hero {
  position: relative;
  min-height: min(86vh, 860px);
  padding: clamp(96px, 11vw, 142px) 0 62px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(750px, 94vw);
  height: min(370px, 50vw);
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(76, 131, 255, 0.42) 0%, rgba(161, 186, 255, 0.14) 34%, rgba(255, 255, 255, 0) 74%);
  filter: blur(30px);
  pointer-events: none;
  animation: pulseGlow 5.4s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(152, 182, 255, 0.45);
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0;
  background: rgba(18, 24, 44, 0.78);
  font-size: 0.84rem;
  color: #d4defe;
}

.hero-title {
  margin: 22px auto 10px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.2rem, 9.1vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -1.6px;
  background: var(--grad-brand);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  isolation: isolate;
}

.hero-title::after {
  content: "";
  position: absolute;
  top: 54%;
  left: 50%;
  width: 118%;
  height: 58%;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(142, 176, 255, 0.36) 0%, rgba(142, 176, 255, 0.12) 42%, rgba(142, 176, 255, 0) 75%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  animation: titlePulse 4.8s ease-in-out infinite;
}

.brand-gradient {
  background: var(--grad-brand);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  margin: 0 auto;
  max-width: 670px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.floating-row {
  width: min(760px, 100%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #03112a;
  background: linear-gradient(90deg, #9cb8ff 0%, #c3dbff 100%);
  box-shadow: 0 8px 24px rgba(132, 170, 255, 0.33);
}

.btn-ghost {
  border-color: var(--line-soft);
  color: var(--text-main);
  background: rgba(13, 16, 32, 0.72);
}

.floating {
  position: relative;
  padding: 10px 14px;
  min-height: 92px;
  border: 1px solid rgba(159, 190, 255, 0.38);
  border-radius: 14px;
  background: rgba(12, 16, 33, 0.92);
  box-shadow: var(--shadow-soft);
  text-align: left;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.floating strong {
  display: block;
  font-size: 1.24rem;
  font-family: "Poppins", sans-serif;
}

.floating span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.section {
  padding: clamp(30px, 5.2vw, 72px) 0;
}

.section-tag {
  margin: 0 0 8px;
  color: #b7c8ff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.section-title {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.6rem, 4.3vw, 2.7rem);
  font-family: "Poppins", sans-serif;
  line-height: 1.13;
}

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

.feature-card {
  padding: 18px;
  border: 1px solid rgba(99, 130, 218, 0.24);
  border-radius: 16px;
  background: rgba(13, 16, 32, 0.7);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.feature-card-highlight {
  background: linear-gradient(160deg, #18254f 0%, #0f1633 65%);
  border-color: rgba(145, 180, 255, 0.45);
}

.resources {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 16px;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.resource-links a {
  border: 1px solid rgba(125, 160, 246, 0.38);
  border-radius: 999px;
  padding: 10px 14px;
  color: #dce6ff;
  background: rgba(19, 28, 51, 0.7);
}

.resource-links a:hover {
  border-color: rgba(165, 193, 255, 0.62);
}

.page-main {
  padding-top: 74px;
}

.page-hero {
  padding: clamp(82px, 10vw, 120px) 0 26px;
  border-bottom: 1px solid rgba(95, 130, 228, 0.18);
  background:
    radial-gradient(circle at 50% -10%, rgba(105, 141, 248, 0.26), transparent 45%),
    rgba(7, 10, 20, 0.9);
}

.page-hero h1 {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--text-muted);
}

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

.plan-card {
  border: 1px solid rgba(116, 148, 230, 0.25);
  border-radius: 18px;
  background: rgba(11, 16, 30, 0.78);
  padding: 24px;
}

.plan-card h2 {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
}

.plan-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.plan-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: #dbe3ff;
}

.plan-card li + li {
  margin-top: 6px;
}

.plan-card-highlight {
  position: relative;
  overflow: hidden;
  border-color: rgba(159, 193, 255, 0.55);
  background: linear-gradient(170deg, #17295e 0%, #0f1b3f 58%, #0f162f 100%);
  box-shadow:
    0 16px 34px rgba(50, 86, 180, 0.35),
    inset 0 1px 0 rgba(184, 208, 255, 0.28);
  transform: translateY(-6px);
}

.plan-card-highlight::after {
  content: "";
  position: absolute;
  left: -16%;
  right: -16%;
  bottom: -38%;
  height: 140px;
  background: radial-gradient(circle at center, rgba(147, 184, 255, 0.35), rgba(147, 184, 255, 0));
  pointer-events: none;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(188, 212, 255, 0.68);
  background: rgba(193, 215, 255, 0.14);
  color: #e8f0ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-card {
  border: 1px solid rgba(116, 148, 230, 0.24);
  border-radius: 18px;
  background: rgba(11, 16, 30, 0.78);
  padding: 22px;
}

.about-card h2 {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1.33rem;
}

.about-card p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.about-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(88, 125, 228, 0.22);
  background: rgba(5, 6, 10, 0.75);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.08);
  }
}

@keyframes titlePulse {
  0% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(1.04);
  }
  100% {
    opacity: 0.48;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

@media (max-width: 1090px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resources,
  .plan-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .resource-links {
    justify-content: flex-start;
  }

  .floating-row {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .plan-card-highlight {
    transform: none;
  }
}

@media (max-width: 760px) {
  .logo-mark {
    font-size: 2.05rem;
  }

  .logo-text {
    font-size: 1.17rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 4%;
    left: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    border: 1px solid rgba(98, 128, 219, 0.35);
    border-radius: 14px;
    padding: 8px;
    background: rgba(8, 12, 23, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
    padding: 10px 12px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(28, 40, 73, 0.7);
  }

  .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer-wrap {
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
