:root {
  --bg: #0a102f;
  --bg-soft: #101747;
  --surface: rgba(18, 33, 94, 0.74);
  --surface-strong: rgba(20, 61, 149, 0.9);
  --text: #fffaff;
  --muted: #bfd2ff;
  --line: rgba(255, 255, 255, 0.2);
  --pink: #ff3fa4;
  --blue: #21a7ff;
  --purple: #7438ff;
  --gold: #ffd429;
  --green: #37d96d;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 63, 164, 0.34), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(33, 167, 255, 0.34), transparent 25%),
    radial-gradient(circle at 50% 86%, rgba(116, 56, 255, 0.4), transparent 34%),
    linear-gradient(180deg, #193fc2 0%, #101747 42%, #070b22 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  position: fixed;
}

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

.site-header,
main,
.site-footer {
  margin: 0 auto;
  max-width: 1120px;
  width: min(100%, 1120px);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 18px;
  position: relative;
  z-index: 2;
}

.brand,
.top-nav,
.button,
.project-card,
.contact-band,
.timeline,
.hero-panel {
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(180deg, var(--gold), #ff9b00);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
  color: #153a94;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.top-nav {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  padding: 6px;
}

.top-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 12px;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--text);
}

main {
  padding: 20px 18px 56px;
  position: relative;
  z-index: 1;
}

.hero {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  min-height: 520px;
  padding: 28px 0 46px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 8vw, 86px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 20px;
  max-width: 780px;
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  margin-bottom: 10px;
}

h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-text,
.muted {
  color: var(--muted);
}

.hero-text {
  font-size: 18px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  align-items: center;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.32), 0 18px 36px rgba(0, 0, 0, 0.24);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
}

.button-primary {
  background: linear-gradient(180deg, #ff7bc6, #f10b78);
}

.button-secondary {
  background: linear-gradient(180deg, #4fd5ff, #0468e8);
}

.hero-panel {
  background: linear-gradient(180deg, rgba(20, 61, 149, 0.82), rgba(8, 14, 51, 0.9));
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 34px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.score-pill {
  background: linear-gradient(180deg, #4fd5ff, #0468e8);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
  display: inline-flex;
  font-weight: 900;
  padding: 9px 15px;
}

.portal-logo {
  bottom: 58px;
  left: 28px;
  position: absolute;
  right: 28px;
  text-align: center;
}

.portal-logo strong {
  color: var(--gold);
  display: block;
  font-size: clamp(52px, 10vw, 82px);
  font-weight: 1000;
  line-height: 0.9;
  text-shadow: 6px 7px 0 #062f78, 0 0 18px #fff;
  transform: rotate(-4deg);
  -webkit-text-stroke: 2px #0c4aaf;
}

.portal-logo span {
  color: #10275d;
  display: block;
  font-size: 34px;
  font-weight: 1000;
  -webkit-text-stroke: 2px #fff;
}

.orb {
  background: radial-gradient(circle at 30% 25%, #fff 0 14%, #ff85d1 28%, #7438ff 72%);
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 63, 164, 0.82);
  position: absolute;
}

.orb-one {
  height: 92px;
  right: 34px;
  top: 72px;
  width: 92px;
}

.orb-two {
  bottom: 92px;
  height: 58px;
  left: 42px;
  width: 58px;
}

.mini-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-left: auto;
  margin-top: 78px;
  width: 150px;
}

.mini-grid span {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
}

.section {
  padding: 42px 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.project-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  min-height: 250px;
  padding: 20px;
}

.project-card-featured {
  background: linear-gradient(180deg, rgba(255, 63, 164, 0.72), rgba(20, 61, 149, 0.82));
}

.card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.project-icon {
  align-items: center;
  background: linear-gradient(180deg, var(--gold), #ff9b00);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  color: #153a94;
  display: flex;
  font-weight: 1000;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.status {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.status-live { background: rgba(48, 201, 93, 0.22); }
.status-soon { background: rgba(255, 212, 41, 0.22); }
.status-ready { background: rgba(33, 167, 255, 0.22); }
.status-lab { background: rgba(255, 63, 164, 0.22); }

.card-link {
  align-self: end;
  color: var(--gold);
  font-weight: 900;
}

.split {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.timeline {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 18px;
}

.timeline li {
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px;
}

.timeline span {
  color: var(--muted);
}

.contact-band {
  align-items: center;
  background: linear-gradient(120deg, rgba(33, 167, 255, 0.72), rgba(255, 63, 164, 0.72));
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
}

.contact-band p {
  margin-bottom: 0;
}

.site-footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 24px 18px 36px;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .split,
  .contact-band {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-heading,
  .top-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .top-nav {
    border-radius: 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 320px;
  }
}
