* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: #d8dde6;
  background:
    radial-gradient(circle at 55% 45%, rgba(0, 95, 160, 0.18), transparent 32%),
    radial-gradient(circle at 75% 20%, rgba(40, 90, 170, 0.12), transparent 30%),
    linear-gradient(135deg, #02040a 0%, #04101d 48%, #02030a 100%);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(20, 80, 140, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 85% 35%, rgba(0, 160, 255, 0.10), transparent 20%),
    radial-gradient(circle at 25% 45%, rgba(115, 80, 180, 0.08), transparent 24%);
  pointer-events: none;
  z-index: 0;
}

/* Center-out starfield particles */

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  perspective: 900px;
}

.particles span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(210, 225, 240, 0.85);
  box-shadow:
    0 0 8px rgba(130, 190, 255, 0.7),
    0 0 18px rgba(80, 140, 220, 0.28);
  opacity: 0;
  animation: starWarp 5.8s linear infinite;
}

.particles span:nth-child(1) {
  --x: -45vw;
  --y: -30vh;
  animation-delay: -0.4s;
}

.particles span:nth-child(2) {
  --x: 38vw;
  --y: -28vh;
  animation-delay: -1s;
}

.particles span:nth-child(3) {
  --x: -35vw;
  --y: 26vh;
  animation-delay: -1.6s;
}

.particles span:nth-child(4) {
  --x: 42vw;
  --y: 30vh;
  animation-delay: -2.2s;
}

.particles span:nth-child(5) {
  --x: -10vw;
  --y: -42vh;
  animation-delay: -2.8s;
}

.particles span:nth-child(6) {
  --x: 12vw;
  --y: 42vh;
  animation-delay: -3.4s;
}

.particles span:nth-child(7) {
  --x: -52vw;
  --y: 4vh;
  animation-delay: -4s;
}

.particles span:nth-child(8) {
  --x: 52vw;
  --y: -6vh;
  animation-delay: -4.6s;
}

.particles span:nth-child(9) {
  --x: -24vw;
  --y: 38vh;
  animation-delay: -5.1s;
}

.particles span:nth-child(10) {
  --x: 26vw;
  --y: -38vh;
  animation-delay: -5.5s;
}

@keyframes starWarp {
  0% {
    transform:
      translate(-50%, -50%)
      translate(0, 0)
      scale(0.15);
    opacity: 0;
  }

  18% {
    transform:
      translate(-50%, -50%)
      translate(calc(var(--x) * 0.08), calc(var(--y) * 0.08))
      scale(0.35);
    opacity: 0;
  }

  32% {
    opacity: 0.7;
  }

  70% {
    opacity: 0.45;
  }

  100% {
    transform:
      translate(-50%, -50%)
      translate(var(--x), var(--y))
      scale(1.7);
    opacity: 0;
  }
}/* Keeps all visible content above effects */

.top-bar,
.hero,
.cards,
.feature-section,
.devlog,
.roadmap,
footer {
  position: relative;
  z-index: 1;
}

.top-bar {
  width: 96%;
  margin: 18px auto 0;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(95, 150, 210, 0.28);
  background: rgba(3, 7, 16, 0.86);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 24px rgba(0, 90, 160, 0.12),
    inset 0 0 18px rgba(220, 230, 245, 0.025);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-text {
  text-align: center;
}

.brand h1 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 1.95rem;
  font-weight: 500;
  color: #d8dde6;
  text-shadow:
    0 0 8px rgba(120, 175, 230, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand p {
  margin-top: 4px;
  color: #85a7c9;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

nav a {
  color: #bcc6d5;
  text-decoration: none;
  margin-left: 24px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  transition: 0.2s ease;
}

nav a:hover {
  color: #9fd0ff;
  text-shadow: 0 0 8px rgba(80, 170, 255, 0.35);
}

.hero {
  min-height: 650px;
  padding: 85px 8% 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: #8fb8df;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h2,
.feature-section h2,
.devlog h2,
.roadmap h2 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-weight: 500;
  color: #d6dbe4;
  text-shadow:
    0 0 8px rgba(120, 175, 230, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero h2 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.04;
  margin-bottom: 26px;
}

.hero-copy {
  max-width: 650px;
  color: #c3ccd9;
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  color: #d8dde6;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(100, 160, 220, 0.42);
  background: rgba(5, 12, 24, 0.86);
  box-shadow:
    0 0 18px rgba(0, 105, 190, 0.14),
    inset 0 0 14px rgba(230, 238, 250, 0.03);
  transition: 0.2s ease;
}

.btn:hover {
  color: #ffffff;
  border-color: rgba(150, 205, 255, 0.68);
  background: rgba(12, 28, 52, 0.88);
}

.hero-emblem {
  display: grid;
  place-items: center;
  position: relative;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 110, 205, 0.16), transparent 62%);
  filter: blur(8px);
  z-index: -1;
}

.crest-image {
  width: min(540px, 90vw);
  height: auto;
  display: block;
  transform: translateY(-18px);
  filter:
    drop-shadow(0 0 22px rgba(0, 120, 255, 0.24))
    drop-shadow(0 0 42px rgba(120, 140, 190, 0.12));
}

.cards {
  width: 90%;
  margin: 25px auto 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  padding: 30px 22px;
  text-align: center;
  background: rgba(5, 10, 22, 0.82);
  border: 1px solid rgba(95, 150, 210, 0.22);
  box-shadow:
    0 0 22px rgba(0, 90, 180, 0.08),
    inset 0 0 18px rgba(230, 238, 250, 0.018);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(135, 190, 245, 0.42);
}

.icon {
  font-size: 2.2rem;
  color: #9bd2ff;
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(80, 160, 235, 0.24);
}

.card h3 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 500;
  color: #d6dbe4;
}

.card p {
  color: #b9c3d0;
  line-height: 1.6;
}

.feature-section {
  width: 80%;
  margin: 80px auto;
  padding: 48px;
  text-align: center;
  background: rgba(5, 10, 22, 0.72);
  border: 1px solid rgba(95, 150, 210, 0.20);
}

.feature-section h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.feature-section p {
  max-width: 850px;
  margin: 0 auto;
  color: #c3ccd9;
  line-height: 1.8;
}

.devlog {
  width: 80%;
  margin: 80px auto;
  text-align: center;
}

.devlog h2 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #8fb8df;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
}

.log-box {
  margin: 20px auto;
  padding: 24px;
  max-width: 850px;
  text-align: left;
  background: rgba(5, 10, 22, 0.82);
  border-left: 3px solid rgba(115, 170, 225, 0.48);
  box-shadow: 0 0 18px rgba(0, 95, 180, 0.08);
}

.log-box h3 {
  color: #d6dbe4;
  font-family: "Cinzel", serif;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.log-box p {
  color: #c3ccd9;
  line-height: 1.6;
}

.roadmap {
  width: 85%;
  margin: 80px auto;
  text-align: center;
}

.roadmap h2 {
  font-size: 2.4rem;
  margin-bottom: 32px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.roadmap-card {
  padding: 26px 20px;
  background: rgba(5, 10, 22, 0.82);
  border: 1px solid rgba(95, 150, 210, 0.22);
  box-shadow:
    0 0 22px rgba(0, 90, 180, 0.08),
    inset 0 0 18px rgba(230, 238, 250, 0.018);
}

.roadmap-card h3 {
  font-family: "Cinzel", serif;
  color: #d6dbe4;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.roadmap-card p {
  color: #9bd2ff;
}

footer {
  padding: 35px;
  text-align: center;
  color: #7f8ca3;
  border-top: 1px solid rgba(95, 150, 210, 0.16);
}

footer p {
  margin: 4px 0;
}

@media (max-width: 950px) {
  .top-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .brand {
    flex-direction: column;
  }

  .brand h1 {
    font-size: 1.55rem;
    letter-spacing: 4px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .crest-image {
    width: min(380px, 92vw);
    transform: translateY(0);
  }

  .hero-emblem::before {
    width: 360px;
    height: 360px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .feature-section,
  .devlog,
  .roadmap {
    width: 90%;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}



.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-secondary {
  background: rgba(141, 218, 255, 0.08);
  border: 1px solid rgba(141, 218, 255, 0.35);
  color: #d8f5ff;
}

.btn-secondary:hover {
  background: rgba(141, 218, 255, 0.16);
}

/* Subpages */

.subpage {
  position: relative;
  z-index: 1;
  min-height: 72vh;
  padding: 95px 6% 90px;
}

.subpage-hero {
  width: 80%;
  margin: 0 auto 50px;
  padding: 48px;
  text-align: center;
  background: rgba(5, 10, 22, 0.72);
  border: 1px solid rgba(95, 150, 210, 0.20);
  box-shadow:
    0 0 22px rgba(0, 90, 180, 0.08),
    inset 0 0 18px rgba(230, 238, 250, 0.018);
}

.subpage-hero h2 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-weight: 500;
  color: #d6dbe4;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 20px;
  text-shadow:
    0 0 8px rgba(120, 175, 230, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.18);
}

.subpage-hero p {
  max-width: 900px;
  margin: 0 auto;
  color: #c3ccd9;
  font-size: 1.05rem;
  line-height: 1.8;
}

.subpage-grid {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.subpage-card {
  padding: 30px 24px;
  background: rgba(5, 10, 22, 0.82);
  border: 1px solid rgba(95, 150, 210, 0.22);
  box-shadow:
    0 0 22px rgba(0, 90, 180, 0.08),
    inset 0 0 18px rgba(230, 238, 250, 0.018);
}

.subpage-card h3 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 500;
  color: #d6dbe4;
}

.subpage-card p {
  color: #b9c3d0;
  line-height: 1.65;
  margin-bottom: 10px;
}

.status-grid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.status-item {
  padding: 24px;
  background: rgba(5, 10, 22, 0.82);
  border-left: 3px solid rgba(115, 170, 225, 0.48);
  box-shadow: 0 0 18px rgba(0, 95, 180, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.status-item h3 {
  font-family: "Cinzel", serif;
  color: #d6dbe4;
  letter-spacing: 1px;
}

.status-item span {
  color: #9bd2ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.status-item.in-progress {
  border-left-color: rgba(255, 210, 120, 0.55);
}

.status-item.complete {
  border-left-color: rgba(120, 210, 255, 0.62);
}

@media (max-width: 950px) {
  .subpage {
    padding-top: 70px;
  }

  .subpage-hero,
  .status-grid {
    width: 90%;
  }

  .subpage-grid {
    grid-template-columns: 1fr;
  }

  .status-item {
    flex-direction: column;
  }
}

nav a.active {
  color: #9fd0ff;
  text-shadow: 0 0 8px rgba(80, 170, 255, 0.35);
}

.progress-card {
  padding: 24px;
  background: rgba(5, 10, 22, 0.82);
  border: 1px solid rgba(95, 150, 210, 0.22);
  box-shadow: 0 0 18px rgba(0, 95, 180, 0.08);
}

.progress-card h3 {
  font-family: "Cinzel", serif;
  color: #d6dbe4;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(216, 221, 230, 0.08);
  border: 1px solid rgba(95, 150, 210, 0.22);
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(80, 160, 235, 0.65), rgba(155, 210, 255, 0.9));
  box-shadow: 0 0 14px rgba(80, 160, 235, 0.35);
}

.progress-card p {
  color: #9bd2ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
}

/* Contact Page Links */

.contact-card {
  text-align: center;
}

.social-link,
.contact-link {
  color: #cfd7e3;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.25s ease;
}

.contact-link:hover {
  color: #eef4ff;
  text-shadow:
    0 0 10px rgba(140, 190, 255, 0.25);
}
.linkedin-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #0a66c2;
  letter-spacing: 0;
  text-transform: none;
}

.github-brand {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  color: #f0f6fc;
  letter-spacing: 0;
  text-transform: none;
}

.contact-link {
  color: #cfd7e3;
  text-decoration: none;
  border-bottom: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.25s ease;
}

.contact-link:hover {
  color: #eef4ff;
  text-decoration: none;
  text-shadow:
    0 0 10px rgba(140, 190, 255, 0.25);
}
.linkedin-brand:hover {
  color: #58a6ff;
}

.github-brand:hover {
  color: #ffffff;
}

/* =========================
   MOBILE RESPONSIVENESS
   ========================= */

@media (max-width: 900px) {
  .navbar {
    padding: 18px 24px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.85rem;
  }

  .hero,
  .page-hero,
  .content-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.6rem;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .card-grid,
  .research-grid,
  .prototype-grid,
  .devlog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 70px;
    text-align: center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.15rem;
    letter-spacing: 1px;
  }

  .hero .subtitle,
  .page-hero .subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: 1.65rem;
    text-align: center;
  }

  .section-subtitle {
    text-align: center;
    font-size: 0.95rem;
  }

  .card,
  .research-card,
  .prototype-card,
  .devlog-card {
    padding: 22px;
  }

  .progress-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero,
  .page-hero,
  .content-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.research-list {
  margin-top: 25px;
  list-style-position: inside;
  text-align: center;
  padding-left: 0;
  list-style: none;
}

.research-list li {
  margin-bottom: 14px;
  color: #cfd7e3;
  line-height: 1.7;
  position: relative;
}

.research-list li::before {
  content: "◈";
  color: #9ccfff;
  margin-right: 12px;
}

.research-list li {
  margin-bottom: 10px;
  color: #cfd7e3;
  line-height: 1.6;
}

.research-list {
  margin-top: 15px;
  padding-left: 22px;
}

.research-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;

  border: 1px solid rgba(140,190,255,0.10);
  border-radius: 12px;

  background: rgba(255,255,255,0.02);

  backdrop-filter: blur(4px);

  transition: 0.25s ease;
}

.status-item:hover {
  border-color: rgba(140,190,255,0.25);

  box-shadow:
    0 0 15px rgba(140,190,255,0.08);
}

.status-active {
  color: #8cc8ff;
}

.status-pending {
  color: #7f8ea5;
}

/* =========================
   HOMEPAGE DASHBOARD
   ========================= */

.home-dashboard-grid {
  width: min(86%, 1400px);
  margin: 48px auto 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.dashboard-panel {
  border: 1px solid rgba(140, 190, 255, 0.16);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  padding: 34px;
  min-height: 310px;

  box-shadow:
    inset 0 0 30px rgba(140, 190, 255, 0.025),
    0 0 28px rgba(0, 0, 0, 0.18);
}

.dashboard-panel h2 {
  font-family: "Cinzel", serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 1.75rem;
  color: #dce8f8;

  margin-bottom: 28px;

  text-shadow:
    0 0 16px rgba(140, 190, 255, 0.18);
}

.compact-status {
  gap: 12px;
}

.compact-status .status-item {
  padding: 13px 16px;
}

.compact-status .status-item span:first-child {
  color: #9ccfff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
}

.compact-status .status-item span:last-child {
  color: #d7e4f2;
  text-align: right;
  font-size: 0.86rem;
}

/* Mobile stacking */
@media (max-width: 900px) {
  .home-dashboard-grid {
    grid-template-columns: 1fr;
    width: min(92%, 760px);
  }

  .dashboard-panel {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .dashboard-panel {
    padding: 24px 18px;
  }

  .dashboard-panel h2 {
    font-size: 1.35rem;
    letter-spacing: 4px;
  }

  .compact-status .status-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .compact-status .status-item span:last-child {
    text-align: left;
  }
}

/* =========================
   SITE FOOTER
   ========================= */

.site-footer {
  width: min(92%, 1500px);
  margin: 90px auto 35px;
  padding: 28px 32px;

  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 24px;

  border: 1px solid rgba(140, 190, 255, 0.14);
  background: rgba(255, 255, 255, 0.018);

  box-shadow:
    inset 0 0 25px rgba(140, 190, 255, 0.025),
    0 0 22px rgba(0, 0, 0, 0.22);
}

.footer-brand p,
.footer-status span,
.footer-links a {
  color: #aebbd0;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
}

.footer-brand p:first-child {
  color: #dce8f8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-status {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: center;
}

.footer-status span:first-child {
  color: #9ccfff;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: #eef6ff;
  text-shadow:
    0 0 10px rgba(140, 190, 255, 0.28);
}

/* Footer mobile */
@media (max-width: 850px) {
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}