:root {
  --bg-void: #06080f;
  --bg-nebula: #0e1530;
  --bg-panel: rgba(10, 15, 31, 0.72);
  --bg-panel-strong: rgba(9, 13, 26, 0.88);
  --text-primary: #f5f7ff;
  --text-muted: #aab1c5;
  --text-soft: #ccd4ea;
  --line: #2a3047;
  --line-bright: #3b4261;
  --accent-supernova: #e8b95a;
  --accent-ion: #56d6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 12%, rgba(87, 129, 255, 0.2) 0, transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(232, 185, 90, 0.16) 0, transparent 28%),
    radial-gradient(circle at 76% 78%, rgba(86, 214, 255, 0.16) 0, transparent 30%),
    linear-gradient(160deg, var(--bg-nebula) 0%, var(--bg-void) 62%);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
      circle at 22% 18%,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1.2px
    ),
    radial-gradient(
      circle at 72% 42%,
      rgba(255, 255, 255, 0.14) 0,
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1.2px
    ),
    radial-gradient(
      circle at 44% 68%,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1.2px
    );
  background-size: 320px 320px, 290px 290px, 260px 260px;
  pointer-events: none;
  opacity: 0.45;
  z-index: -5;
}

.space-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 40%, black 38%, transparent 90%);
  opacity: 0.4;
  pointer-events: none;
  z-index: -4;
}

.space-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: -3;
  animation: drift 16s ease-in-out infinite alternate;
}

.glow-one {
  width: 260px;
  height: 260px;
  top: -90px;
  left: 6%;
  background: rgba(86, 214, 255, 0.22);
}

.glow-two {
  width: 340px;
  height: 340px;
  right: -90px;
  top: 120px;
  background: rgba(232, 185, 90, 0.18);
  animation-duration: 18s;
}

.glow-three {
  width: 320px;
  height: 320px;
  left: 42%;
  bottom: -120px;
  background: rgba(110, 93, 255, 0.14);
  animation-duration: 20s;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.1rem 1rem;
  display: flex;
  justify-content: flex-start;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: min(92vw, 620px);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: rgba(8, 12, 24, 0.72);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 150ms ease, border-color 180ms ease,
    box-shadow 180ms ease, color 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 214, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(86, 214, 255, 0.2);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.brand {
  width: 100%;
  display: inline-flex;
  text-decoration: none;
  padding-bottom: 0.42rem;
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(232, 185, 90, 0.9),
    rgba(86, 214, 255, 0.82)
  );
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1) brightness(1.1)
    drop-shadow(0 10px 24px rgba(86, 214, 255, 0.16));
}

.brand-values {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: clamp(0.65rem, 1.8vw, 1rem);
  white-space: nowrap;
}

.infinity-symbol {
  font-size: 1.2em;
  line-height: 1;
  color: var(--accent-supernova);
}

.site-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.1rem 3.2rem;
  display: grid;
  gap: 1.2rem;
}

.panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(
    160deg,
    rgba(15, 23, 46, 0.72),
    rgba(8, 12, 24, 0.9)
  );
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(2, 4, 10, 0.5);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgba(86, 214, 255, 0.32),
    transparent 36%,
    rgba(232, 185, 90, 0.28)
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.5rem clamp(1.2rem, 2.5vw, 2.4rem);
  animation: reveal 0.7s ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("../images/rednebula.jpg") center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.feature-kicker {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ion);
}

.hero-title {
  margin: 0.9rem 0 0;
  max-width: 22ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero-copy {
  margin: 1rem 0 0;
  color: var(--text-muted);
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.78;
}

.button-row {
  margin-top: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.08rem;
  transition: transform 150ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.btn.primary {
  color: #111;
  background: linear-gradient(120deg, #f0c972 0%, #56d6ff 100%);
  box-shadow: 0 12px 24px rgba(86, 214, 255, 0.22);
}

.btn.ghost {
  color: var(--text-primary);
  border: 1px solid var(--line-bright);
  background: rgba(9, 14, 28, 0.8);
}

.hero-metrics {
  list-style: none;
  margin: 1.55rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.hero-metrics li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.8);
  color: var(--text-soft);
  font-size: 0.84rem;
  padding: 0.48rem 0.8rem;
}

.metric-mark {
  color: var(--accent-supernova);
}

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

.feature {
  padding: 1.35rem 1.2rem 1.25rem;
  animation: reveal 0.8s ease-out both;
}

.feature:nth-child(2) {
  animation-delay: 0.1s;
}

.feature:nth-child(3) {
  animation-delay: 0.2s;
}

.feature h2 {
  margin: 0.72rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.1;
}

.feature p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.impact {
  padding: 1.9rem clamp(1.1rem, 2.3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.4rem;
}

.impact h2 {
  margin: 0.75rem 0 0;
  max-width: 14ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.impact-copy {
  margin: 0.95rem 0 0;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 45ch;
}

.impact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.82rem;
}

.impact-list li {
  border: 1px solid var(--line);
  background: var(--bg-panel-strong);
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
}

.step-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-supernova);
  margin-top: 0.2rem;
}

.impact-list h3 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
}

.impact-list p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 1rem 2rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(0) translateX(0) scale(1);
  }
  to {
    transform: translateY(16px) translateX(10px) scale(1.09);
  }
}

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

  .impact {
    grid-template-columns: 1fr;
  }

  .impact h2 {
    max-width: 18ch;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding-top: 1.35rem;
  }

  .brand-stack {
    width: min(94vw, 560px);
  }

  .social-link {
    width: 31px;
    height: 31px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-title {
    max-width: 22ch;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .site-main {
    padding-bottom: 2.5rem;
  }
}
