/* ========= ASTRYON COLOR PALETTE ========= */
:root {
  --black: #0C0F16;
  --violet: #6C63FF;
  --blue: #3A6EA5;
  --white: #F5F7FA;
  --gray: #A8B2C1;
  --cyan: #2DE2E6;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* ========= PRELOADER ========= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.preloader-inner { text-align: center; }

.preloader-logo {
  width: 180px;
  filter: drop-shadow(0 0 30px rgba(108, 99, 255, 0.4));
  margin-bottom: 30px;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(168,178,193,0.2);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 14px;
}

.loading-fill {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  animation: loadprogress 1.8s ease-out forwards;
}

@keyframes loadprogress {
  from { width: 0%; }
  to   { width: 100%; }
}

.loading-text {
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ========= PAGE LAYOUT ========= */
.container {
  max-width: 900px;
  margin: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

/* ========= TOP NAV ========= */
.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;

  margin-bottom: 40px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.astryon-wordmark {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
  user-select: none;
  animation: astryonGlow 5s ease-in-out infinite;
}

@keyframes astryonGlow {
  0%   { text-shadow: 0 0 0 rgba(45,226,230,0); opacity: 0.7; }
  50%  { text-shadow: 0 0 8px rgba(45,226,230,0.35); opacity: 1; }
  100% { text-shadow: 0 0 0 rgba(45,226,230,0); opacity: 0.7; }
}

.contact-link {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-decoration: none;
  transition: 0.25s ease;
}

.contact-link:hover {
  color: var(--violet);
  text-shadow: 0 0 6px rgba(45,226,230,0.4);
}

/* ========= AAA HERO PANEL ========= */
.hero {
  position: relative;
  padding: 48px 36px;
  text-align: center;

  border-radius: 16px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(45,226,230,0.18);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
}

/* nebula layer */
.hero .nebula {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 60% 30%, rgba(45,226,230,0.22), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(108,99,255,0.25), transparent 65%);

  opacity: 0.25;
  animation: nebulaFloat 14s ease-in-out infinite alternate;
}

@keyframes nebulaFloat {
  0%   { transform: translate(-6px,-6px) scale(1); }
  100% { transform: translate(6px,6px) scale(1.05); }
}

/* scanlines */
.hero .scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.008) 2px,
    transparent 4px
  );

  opacity: .04;
  animation: scanlinesMove 8s linear infinite;
}

@keyframes scanlinesMove {
  from { transform: translateY(0); }
  to   { transform: translateY(4px); }
}

/* vignette */
.hero .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle,
    transparent 35%,
    rgba(0,0,0,0.35) 100%
  );
}

/* logo */
.logo {
  width: 125px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 10px rgba(45,226,230,.28));
}

/* text */
.heading {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}

.description {
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* ========= STATUS PILL ========= */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(45,226,230,0.4);
  color: var(--cyan);
  background: rgba(45,226,230,0.07);
  font-size: 0.8rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 14px var(--cyan);
}

/* ========= FOOTER ========= */
.footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  opacity: 0.6;
  margin-top: 50px;
}

.subfooter {
  font-size: 0.75rem;
  opacity: 0.7;
}

.subfooter a {
  color: var(--cyan);
  text-decoration: none;
}

.subfooter a:hover { color: var(--violet); }
