:root {
  --bg1: #0f2645;
  --bg2: #071423;
  --bg3: #0b1f3a;

  --text: #eaf2ff;
  --muted: #c9d4e0;

  --accent: #f59e0b;

  --glass: rgba(255,255,255,0.04);
  --glass2: rgba(255,255,255,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Anchor links + fixed header safe scrolling */
html {
  scroll-padding-top: 88px;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, var(--bg3) 0%, var(--bg2) 55%, var(--bg1) 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Neural background layer */
#neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

/* Ensure content above neural */
header, .hero, .section, footer {
  position: relative;
  z-index: 2;
}

/* ================= PREMIUM HEADER (ICON + HTML TEXT) ================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  background: linear-gradient(
    180deg,
    rgba(5, 15, 28, 0.92),
    rgba(5, 15, 28, 0.55)
  );

  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 14px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* ================= BRAND ================= */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-icon {
  height: clamp(34px, 3.4vw, 46px);
  width: auto;
  display: block;
  object-fit: contain;

  /* premium subtle glow */
  filter: drop-shadow(0 0 10px rgba(245,158,11,0.14));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 3px;
  font-size: clamp(11px, 1.05vw, 12.5px);
  font-weight: 500;
  color: rgba(201, 212, 224, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.brand-x {
  color: var(--accent);
}

/* ================= NAV LINKS ================= */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;

  font-size: 15px;
  font-weight: 500;
  opacity: 0.92;

  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  padding: 10px 8px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.04);
}


/* ================= HERO ================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 105px;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 18px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin-top: 22px;
  font-size: 18.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--muted);
  max-width: 640px;
}

.hero-buttons {
  margin-top: 34px;
  display: flex;
  gap: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual img {
  width: min(520px, 40vw);
  height: auto;
  max-width: 100%;
  opacity: 0.95;
}


@keyframes floatLogo {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}


/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(245,158,11,0.35);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(245,158,11,0.12);
  transform: translateY(-2px);
}

/* ================= SECTIONS ================= */

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 52px;
}

/* ================= GRIDS ================= */

.domain-grid {
  max-width: 1200px;
  margin: auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.domain-card {
  background: var(--glass);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.domain-card:hover {
  transform: translateY(-8px);
  background: var(--glass2);
}

.domain-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 20px;
}

.domain-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

/* ================= PHILOSOPHY ================= */

.philosophy-grid {
  max-width: 900px;
  margin: auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.highlight {
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.philosophy-grid p {
  color: var(--muted);
  line-height: 1.7;
}

/* ================= ABOUT ================= */

.about-content {
  max-width: 900px;
  margin: auto;
  padding: 0 22px;
  font-size: 16px;
  line-height: 1.75;
  color: #cfd6e4;
}

.about-content p {
  margin-bottom: 18px;
}

/* ================= ASTRO ================= */

.astro-content {
  max-width: 820px;
  margin: auto;
  padding: 0 22px;
  text-align: center;
}

.astro-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.astro-content p + p {
  margin-top: 12px;
}

.astro-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  list-style: none;
}

.astro-list li {
  font-size: 16px;
  color: var(--text);
  opacity: 0.95;
}

.launch {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* Astro launch + early glimpse link */
.astro-launch {
  margin-top: 20px;
  text-align: center;
}

/* Force it to always be on its own line */
.astro-launch .launch {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

/* The link becomes a clean pill button */
.astro-glimpse {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.08);

  transition: 0.25s ease;
}

.astro-glimpse:hover {
  transform: translateY(-2px);
  background: rgba(245,158,11,0.14);
  box-shadow: 0 14px 40px rgba(245,158,11,0.18);
}


/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 40px 20px 40px;
  font-size: 15px;
  color: var(--muted);
}

/* ================= TABLET ================= */

@media (max-width: 900px) {

  html {
    scroll-padding-top: 92px;
  }

  navbar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: center;
  }

  .brand-tagline {
    display: none; /* premium clean on smaller screens */
  }

  .nav-links {
    display: flex;
    gap: 18px;
    justify-content: center;

    /* prevent 2-line wrap */
    flex-wrap: nowrap;
    white-space: nowrap;

    /* allow scroll if too small */
    overflow-x: auto;
    width: 100%;

    font-size: 14px;
    opacity: 0.95;
    padding-bottom: 6px;
  }

  /* hide ugly scrollbar (still scrollable) */
  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    display: none;
  }
  .hero h1 {
    font-size: 44px;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .astro-list {
    grid-template-columns: 1fr;
  }
}

/* ================= MOBILE (PREMIUM HEADER) ================= */

@media (max-width: 600px) {

  html {
    scroll-padding-top: 60px;
  }

  body {
    font-size: 15px;
  }

  #neural-bg {
    opacity: 0.35;
  }

  /* keep logo left, nav right */
  .navbar {
    padding: 12px 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    height: 38px;
  }
  
  /* bigger logo on mobile */
  .brand img {
    height: 42px;
  } 

  .brand-name {
    font-size: 16px;
  }

  /* keep nav always right, prevent overflow */
  .nav-links {
    gap: 12px;
    font-size: clamp(11px, 3.2vw, 13px);
  }

  /* Premium approach: hide 1-2 links so nav never breaks */
  .nav-links a[href="#home"] {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 110px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-align: center;
  }

  .hero p {
    font-size: 15.5px;
    line-height: 1.55;
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
  }

  .btn {
    width: 92%;
    max-width: 330px;
    font-size: 14px;
    padding: 12px 22px;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.015em;
  }

  .domain-grid {
    padding: 0 18px;
    gap: 18px;
  }

  .domain-card {
    padding: 22px;
    border-radius: 18px;
  }

  .domain-card h3 {
    font-size: 18px;
  }

  .domain-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .philosophy-grid {
    padding: 0 18px;
  }

  .highlight {
    font-size: 20px;
  }

  .about-content {
    padding: 0 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .astro-content {
    padding: 0 18px;
  }

  .astro-content p {
    font-size: 15px;
    line-height: 1.55;
  }

  .astro-list li {
    font-size: 15px;
  }

  footer {
    padding: 40px 18px 35px;
    font-size: 13px;
  }
}
