
:root {
  --bg: #070b14;
  --surface: #0d1424;
  --surface-light: #121c30;
  --text: #f4f7ff;
  --muted: #9aa8c2;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #4f8cff;
  --blue-light: #8db5ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(55, 112, 255, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

.navbar {
  width: 100%;
  padding: 24px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo span {
  color: var(--blue);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: 0.3s ease;
}

nav a:hover {
  color: var(--text);
}

main {
  width: min(1120px, 86%);
  margin: auto;
}

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
}

.eyebrow,
.section-label {
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.primary:hover {
  background: #75a5ff;
  transform: translateY(-2px);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.project-card {
  background: linear-gradient(145deg, var(--surface-light), var(--surface));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 140, 255, 0.65);
}

.project-number {
  color: var(--blue-light);
  font-size: 0.8rem;
  margin-bottom: 35px;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.status {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
}

.status.active {
  color: #62e6a4;
}

.status.development {
  color: #ffd166;
}

.status.research {
  color: #9fafff;
}

ul {
  margin-top: 24px;
  padding-left: 22px;
  color: var(--muted);
}

li {
  margin-bottom: 10px;
}

footer {
  padding: 30px 7%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    padding: 90px 0;
  }

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

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  main {
    width: 88%;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}


/* NEXORA PREMIUM OVERRIDES */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.15;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nx-orbit {
  position: relative;
  width: min(330px, 75vw);
  aspect-ratio: 1;
  margin: 15px auto -35px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(79, 140, 255, 0.4);
  border-radius: 50%;
}

.orbit-ring-one {
  box-shadow: 0 0 55px rgba(79, 140, 255, 0.12);
  animation: nxOrbitOne 18s linear infinite;
}

.orbit-ring-two {
  inset: 20%;
  border-color: rgba(141, 181, 255, 0.3);
  transform: rotate(55deg) scaleX(1.8);
  animation: nxOrbitTwo 12s linear infinite reverse;
}

.orbit-core {
  width: 45%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 181, 255, 0.65);
  border-radius: 28%;
  background: linear-gradient(145deg, #17356d, #0b1428);
  box-shadow:
    0 0 55px rgba(79, 140, 255, 0.22),
    inset 0 0 30px rgba(79, 140, 255, 0.12);
  color: white;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -3px;
  animation: nxCorePulse 3.5s ease-in-out infinite;
}

@keyframes nxOrbitOne {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes nxOrbitTwo {
  from {
    transform: rotate(55deg) scaleX(1.8);
  }
  to {
    transform: rotate(415deg) scaleX(1.8);
  }
}

@keyframes nxCorePulse {
  0%, 100% {
    box-shadow:
      0 0 55px rgba(79, 140, 255, 0.22),
      inset 0 0 30px rgba(79, 140, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 75px rgba(79, 140, 255, 0.32),
      inset 0 0 35px rgba(79, 140, 255, 0.18);
  }
}

.orbit-label {
  position: absolute;
  bottom: 4%;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
}

.project-card {
  border-radius: 18px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(79, 140, 255, 0.65);
  background: linear-gradient(145deg, #162744, #0b1220);
}

.contact-list a {
  color: var(--blue-light);
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .nx-orbit {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1.2rem;
  }

  .nx-orbit {
    width: min(280px, 75vw);
  }
}


/* Tighten spacing around NX orbit only */
#projects {
  padding-top: 25px;
}
