/* GLOBAL RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #2b0050 0, #090013 55%, #050308 100%);
  color: #f9f5ff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* UTILITIES */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: radial-gradient(circle at top left, #3a003c 0, rgba(6, 0, 15, 0.4) 55%, transparent 100%);
  backdrop-filter: blur(18px);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 0.98rem;
  color: #d7c4ff;
}

/* BACKGROUND ORBITS */

.bg-orbit {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.bg-orbit--one {
  width: 360px;
  height: 360px;
  top: -80px;
  left: -120px;
  background: radial-gradient(circle, #ff7b39 0, transparent 70%);
}

.bg-orbit--two {
  width: 440px;
  height: 440px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, #a855f7 0, transparent 70%);
}

.bg-orbit--three {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 65%;
  background: radial-gradient(circle, #f97316 0, transparent 70%);
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(5, 1, 12, 0.9),
    rgba(5, 1, 12, 0.65),
    transparent
  );
  border-bottom: 1px solid rgba(244, 114, 182, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* LOGO */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fef9ff;
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(from 160deg, #f97316, #ea580c, #a855f7, #f97316);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 0 2px rgba(15, 6, 32, 0.85);
}

.logo__text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.logo__text span {
  color: #fb923c;
}

/* NAV */

.nav {
  display: flex;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #e5defa;
  opacity: 0.9;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb923c, #a855f7);
  transition: width 0.25s ease;
}

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

.nav__link:hover::after {
  width: 100%;
}

.nav__link--primary {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.55);
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.18), transparent 65%);
}

/* NAV TOGGLE (MOBILE) */

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fef3c7;
  margin: 4px 0;
  transition: transform 0.23s ease, opacity 0.23s ease;
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fed7aa;
  margin-bottom: 0.9rem;
}

.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero__title-gradient {
  background: linear-gradient(120deg, #fb923c, #f97316, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: #e0d4ff;
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__pill {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 254, 0.4);
  font-size: 0.75rem;
  color: #fefce8;
  background: linear-gradient(to bottom right, rgba(76, 29, 149, 0.7), rgba(124, 45, 18, 0.7));
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--primary {
  background: linear-gradient(120deg, #f97316, #ea580c, #a855f7);
  color: #0b0216;
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.4);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(248, 113, 113, 0.55);
}

.btn--ghost {
  background: rgba(17, 24, 39, 0.8);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn--ghost:hover {
  background: rgba(30, 64, 175, 0.75);
}

.btn--full {
  width: 100%;
}

/* HERO ORBIT VISUAL */

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero-orbit {
  position: relative;
  width: 280px;
  height: 280px;
}

.hero-orbit__ring {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(251, 146, 60, 0.35);
  inset: 0;
  animation: spin 18s linear infinite;
}

.hero-orbit__ring--middle {
  inset: 18px;
  border-color: rgba(168, 85, 247, 0.45);
  animation-duration: 40s;
}

.hero-orbit__ring--inner {
  inset: 32px;
  border-style: solid;
  border-color: rgba(248, 250, 252, 0.12);
  animation-duration: 28s;
}

.hero-orbit__core {
  position: absolute;
  inset: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.9), rgba(55, 7, 88, 0.9));
  box-shadow:
    0 12px 35px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(15, 6, 32, 0.7);
  text-align: center;
  padding: 1.25rem;
}

.hero-orbit__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fffbeb;
  opacity: 0.9;
}

.hero-orbit__value {
  font-size: 2rem;
  font-weight: 600;
  margin: 0.1rem 0;
}

.hero-orbit__sub {
  font-size: 0.8rem;
  color: #fefce8;
  opacity: 0.9;
}

.hero-orbit__chip {
  position: absolute;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(251, 146, 60, 0.5);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
  white-space: nowrap;
}

.hero-orbit__chip--one {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit__chip--two {
  right: -8%;
  top: 45%;
}

.hero-orbit__chip--three {
  left: -10%;
  bottom: 14%;
}

/* CARDS & GRID */

.grid {
  display: grid;
  gap: 1.75rem;
}

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

.grid--showcase {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.grid--showcase > :first-child {
  grid-row: 1 / span 2;
}

.card {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.3), rgba(6, 2, 23, 0.95));
  border-radius: 1.4rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.7), rgba(129, 140, 248, 0.9));
}

.card__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card__body {
  font-size: 0.9rem;
  color: #e5defa;
}

/* SHOWCASE SURFACES */

.surface {
  border-radius: 1.6rem;
  padding: 1.5rem 1.6rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.4), rgba(15, 23, 42, 0.93));
}

.surface--primary {
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.surface--secondary {
  background: radial-gradient(circle at top left, rgba(88, 28, 135, 0.5), rgba(15, 23, 42, 0.95));
}

.surface__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.surface__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fee2e2;
}

.surface__status {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.6);
}

.surface__status--live {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.7);
}

.surface__graph {
  margin-bottom: 1.2rem;
}

/* Simple stylized graph bars */

.graph {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 120px;
}

.graph__bar {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(30, 64, 175, 0.1), rgba(251, 146, 60, 0.95));
  position: relative;
  overflow: hidden;
}

.graph__bar::after {
  content: "";
  position: absolute;
  inset: auto 0 -60%;
  background: radial-gradient(circle at 50% -10%, rgba(248, 250, 252, 0.7), transparent 60%);
}

.graph__bar--1 {
  height: 40%;
}

.graph__bar--2 {
  height: 70%;
}

.graph__bar--3 {
  height: 55%;
}

.graph__bar--4 {
  height: 85%;
}

.graph__bar--5 {
  height: 60%;
}

.surface__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #e5defa;
}

.surface__metric {
  font-weight: 600;
  color: #f97316;
}

.surface__title {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.surface__copy {
  font-size: 0.9rem;
  color: #e5defa;
  margin-bottom: 0.9rem;
}

.surface__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.surface__tags li {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.4);
}

.surface__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* QUOTES */

.quote-card__text {
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.quote-card__author {
  font-size: 0.8rem;
  color: #e5e7eb;
  opacity: 0.85;
}

/* CONTACT SECTION */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.form {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form label {
  font-size: 0.8rem;
  color: #e2e8f0;
}

.form input,
.form textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(251, 146, 60, 0.9);
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

.contact-card {
  background: radial-gradient(circle at top left, rgba(251, 146, 60, 0.4), rgba(24, 16, 60, 0.98));
}

.contact-card__stats {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.contact-card__label {
  font-size: 0.78rem;
  color: #e2e8f0;
  opacity: 0.9;
}

.contact-card__value {
  font-size: 0.9rem;
  font-weight: 600;
}

/* FOOTER */

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.2), rgba(5, 1, 12, 0.95));
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.footer__top {
  text-decoration: none;
  color: #fed7aa;
  font-weight: 500;
}

/* REVEAL ANIMATIONS */

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

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

/* KEYFRAMES */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero__visual {
    order: -1;
  }

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

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

  .grid--showcase > :first-child {
    grid-row: auto;
  }

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

@media (max-width: 720px) {
  .header__inner {
    padding-inline: 0.1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 58px 1rem auto;
    border-radius: 1.2rem;
    background: rgba(5, 1, 12, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.6);
    transform-origin: top right;
    transform: scaleY(0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav--open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
  }

  .nav__link--primary {
    align-self: stretch;
    text-align: center;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .section {
    padding-inline: 0.2rem;
  }

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

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

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
