/* Kepler Defence — landing page
   Palette pulled from the logo: deep navy shield, brushed-steel wordmark, cyan accent. */

:root {
  --navy-0:   #060b12;
  --navy-1:   #0a1420;
  --navy-2:   #0f1d2e;
  --steel:    #c3ccd6;
  --steel-dim:#7f8b99;
  --cyan:     #28b6e6;
  --cyan-dim: #1a7fa6;
}

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

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 38%, var(--navy-2) 0%, var(--navy-1) 45%, var(--navy-0) 100%);
  color: var(--steel);
  font-family: 'Rajdhani', system-ui, -apple-system, sans-serif;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* faint technical grid behind everything */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 182, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 182, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 0%, transparent 80%);
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  animation: rise 900ms cubic-bezier(.2,.7,.2,1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(40, 182, 230, 0.22));
}

.status {
  margin-top: 1.6rem;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #eaf2f8;
  text-shadow: 0 0 24px rgba(40, 182, 230, 0.25);
}

/* animated accent line under the status headline */
.accent {
  display: block;
  width: 72px;
  height: 2px;
  margin: 1.3rem auto 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.7); }
  50%      { opacity: 1;    transform: scaleX(1); }
}

.contact {
  margin-top: 2.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.contact:hover {
  color: #56cdf3;
  border-bottom-color: var(--cyan-dim);
}

.foot {
  position: fixed;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(127, 139, 153, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  .accent { animation: none; opacity: 0.7; transform: none; }
}
