/* =========================================================================
   Akshaya Antariksha R&D Labs — Landing styles
   Space-themed, futuristic, responsive.
   ========================================================================= */

:root {
  --bg: #1b1f4d;
  --bg-2: #262c66;
  --panel: rgba(86, 84, 160, 0.34);
  --panel-border: rgba(170, 160, 255, 0.32);
  --text: #f6f7ff;
  --muted: #cdd0f2;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff5ca8;
  --glow: rgba(124, 92, 255, 0.55);
  --ring: rgba(34, 211, 238, 0.6);
  --radius: 18px;
  --maxw: 1160px;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: radial-gradient(1200px 820px at 72% -8%, #4a3fb0 0%, transparent 58%),
              radial-gradient(1000px 720px at 8% 6%, #2f6fb0 0%, transparent 55%),
              radial-gradient(900px 700px at 50% 110%, #6a3ba0 0%, transparent 60%),
              linear-gradient(180deg, #262c66 0%, #1b1f4d 100%);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Starfield background ---------- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.stars {
  position: absolute;
  inset: -50%;
  background-repeat: repeat;
  opacity: 0.9;
}
.stars--sm {
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #cfe, transparent),
    radial-gradient(1px 1px at 80% 20%, #fff, transparent),
    radial-gradient(1px 1px at 40% 80%, #fff, transparent);
  background-size: 220px 220px;
  animation: drift 90s linear infinite;
}
.stars--md {
  background-image: radial-gradient(1.6px 1.6px at 15% 60%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 75% 40%, #bdf, transparent),
    radial-gradient(1.6px 1.6px at 50% 10%, #fff, transparent);
  background-size: 360px 360px;
  animation: drift 70s linear infinite reverse;
  opacity: 0.7;
}
.stars--lg {
  background-image: radial-gradient(2.4px 2.4px at 25% 25%, #fff, transparent),
    radial-gradient(2.4px 2.4px at 85% 75%, #e9d5ff, transparent);
  background-size: 500px 500px;
  animation: twinkle 5s ease-in-out infinite alternate, drift 55s linear infinite;
}
.nebula {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.25), transparent 70%),
              radial-gradient(closest-side, rgba(34, 211, 238, 0.18), transparent 70%);
  filter: blur(30px);
  animation: floaty 18s ease-in-out infinite alternate;
}

@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes twinkle { from { opacity: 0.4; } to { opacity: 1; } }
@keyframes floaty { from { transform: translateY(-10px) scale(1); } to { transform: translateY(20px) scale(1.08); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(27, 31, 77, 0.85), rgba(27, 31, 77, 0.12));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--panel-border);
  background: rgba(27, 31, 77, 0.9);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 22px var(--glow);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.98rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 92, 255, 0.6); }
.btn--ghost {
  color: var(--text);
  border-color: var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--ring); box-shadow: 0 0 24px rgba(34, 211, 238, 0.25); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 6rem 0 4rem;
}
.hero__inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: var(--panel);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: twinkle 1.6s ease-in-out infinite alternate;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 1.02;
  margin: 1.4rem 0 0.6rem;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #c9c0ff 55%, #7c5cff 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(124, 92, 255, 0.35);
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto 2rem;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Decorative planet with an orbiting moon. Sits behind hero text
   (z-index 0 vs. hero__inner z-index 2) and never obscures content. */
.hero__planet {
  --orbit: clamp(120px, 38vw, 220px);
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: min(300px, 58vw);
  height: min(300px, 58vw);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #9d90ff 0%, #5a4bc0 38%, #2c2f7a 72%, #1b1f4d 100%);
  box-shadow:
    inset 18px -14px 55px rgba(0, 0, 0, 0.6),
    inset -34px 24px 70px rgba(124, 92, 255, 0.35),
    0 0 90px rgba(124, 92, 255, 0.35);
  z-index: -7;
  pointer-events: none;
  animation: planet-bob 10s ease-in-out infinite alternate;
}
/* Orbit ring (dashed so its slow rotation is visible). */
.hero__planet::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit) * 2);
  height: calc(var(--orbit) * 2);
  margin: calc(var(--orbit) * -1) 0 0 calc(var(--orbit) * -1);
  border: 1px dashed rgba(34, 211, 238, 0.3);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
/* Orbiting moon. */
.hero__planet::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e9d5ff, #7c5cff);
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.85);
  animation: orbit 16s linear infinite;
}
@keyframes planet-bob {
  from { transform: translateX(-50%) translateY(-6px); }
  to   { transform: translateX(-50%) translateY(10px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit {
  from { transform: rotate(0deg) translateX(var(--orbit)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--orbit)) rotate(-360deg); }
}
.scroll-hint {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  z-index: 3;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent-2);
  animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 10vw, 8rem) 0; position: relative; }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  margin: 0.6rem 0 0;
}
.mission__statement {
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: #d7d5ef;
}

/* ---------- Coming soon ---------- */
.section--soon { padding-top: 0; }
.soon-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.4rem);
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(124, 92, 255, 0.08);
  overflow: hidden;
}
.soon-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.soon-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
}
.soon-card__pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(255, 92, 168, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 168, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 92, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 168, 0); }
}
.soon-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  margin: 1.2rem 0 0.8rem;
}
.soon-card__text { color: var(--muted); margin: 0 auto 1.8rem; max-width: 48ch; }
.soon-card__form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.6rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.soon-card__form input {
  flex: 1 1 220px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.soon-card__form input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.soon-card__hint { margin: 1rem 0 0; font-size: 0.82rem; color: var(--muted); }

/* ---------- Focus grid ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.focus-card {
  position: relative;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.focus-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.focus-card:hover {
  transform: translateY(-6px);
  border-color: var(--ring);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}
.focus-card:hover::after { opacity: 1; }
.focus-card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--panel-border);
  margin-bottom: 1.2rem;
}
.focus-card__icon svg { width: 28px; height: 28px; }
.focus-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}
.focus-card__text { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Decorative spaceship ---------- */
.section--focus { position: relative; overflow: hidden; }
.spaceship {
  position: absolute;
  top: 14%;
  left: 0;
  z-index: -1;               /* behind all focus content */
  width: 120px;
  pointer-events: none;
  animation: fly 26s linear infinite;
}
.spaceship__craft {
  display: block;
  filter: drop-shadow(0 0 14px rgba(124, 92, 255, 0.55));
  animation: ship-bob 4.5s ease-in-out infinite alternate;
}
.spaceship__flame {
  transform-box: fill-box;
  transform-origin: right center;
  animation: flame 0.18s steps(2, end) infinite;
}
@keyframes fly {
  from { transform: translateX(-160px); }
  to   { transform: translateX(calc(100vw + 160px)); }
}
@keyframes ship-bob {
  from { transform: translateY(-10px) rotate(-2deg); }
  to   { transform: translateY(12px) rotate(2deg); }
}
@keyframes flame {
  from { transform: scaleX(0.7); opacity: 0.7; }
  to   { transform: scaleX(1.15); opacity: 1; }
}

.site-footer__contact { margin: 0.6rem 0 0; }
.site-footer__contact a { color: var(--accent-2); font-size: 0.95rem; }
.site-footer__contact a:hover { text-decoration: underline; }
.soon-card__thanks {
  margin: 0;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 3rem 0;
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, rgba(38, 44, 102, 0.5));
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer__brand p { color: var(--muted); margin: 0.6rem 0 0; max-width: 34ch; }
.site-footer__meta { text-align: right; }
.site-footer__domains { display: flex; gap: 1.2rem; justify-content: flex-end; flex-wrap: wrap; margin: 0 0 0.6rem; }
.site-footer__domains a { color: var(--accent-2); font-size: 0.92rem; }
.site-footer__domains a:hover { text-decoration: underline; }
.site-footer__copy { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ---------- 404 ---------- */
.section--notfound { min-height: 70vh; display: grid; place-items: center; }
.notfound { text-align: center; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 9rem);
  font-weight: 900;
  margin: 0;
  background: linear-gradient(180deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound__title { font-family: var(--font-display); margin: 0 0 0.6rem; }
.notfound__text { color: var(--muted); margin: 0 0 1.6rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .site-nav { gap: 0.9rem; }
  .site-nav a:not(.btn) { display: none; }
  .site-footer__inner { flex-direction: column; }
  .site-footer__meta, .site-footer__domains { text-align: left; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
