/* ─────────────────────────────────────────────────────────────────────────────
   Kubernion — under-construction landing page
   Dark palette, monospace, orange accent (#f74c00)
───────────────────────────────────────────────────────────────────────────── */

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:          #0d1117;
  --surface:     rgba(13, 17, 23, 0.88);
  --border:      #30363d;
  --text:        #e6edf3;
  --dim:         #8b949e;
  --accent:      #f74c00;
  --accent-glow: rgba(247, 76, 0, 0.45);
  --grid-line:   rgba(56, 139, 253, 0.22);
  --action:      #dad611;
  --on:          #3fb950;
  --off:         #484f58;
  --font-mono:   'SF Mono', 'Cascadia Code', 'Roboto Mono', 'Segoe UI Mono',
                 'Fira Code', monospace;
  --radius:      14px;
  --header-h:    84px;
  --footer-h:    64px;
  --transition:  0.2s ease;
}

/* ── Reset / base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;          /* prevent scroll — it's a single-screen landing */
}

a { color: inherit; text-decoration: none; }

/* ── Layout shell ──────────────────────────────────────────────────────────── */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 100;
  /*
  background: rgba(13, 17, 23, 0.80);
  */
  background-color: transpwarent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity var(--transition);
}
.header-brand:hover { opacity: 0.85; }

.header-logo {
  width: 70px;
  object-fit: cover;
  flex-shrink: 0;
}

.header-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}

/* ── Main / hero ───────────────────────────────────────────────────────────── */
.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
  overflow: hidden;
}

/* Dot-grid background */
.background-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dim) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.40;
  z-index: 0;
  pointer-events: none;
}

/* Rotating globe */
.globe-container {
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: rotateGlobe 70s linear infinite;
  background:
    repeating-linear-gradient(90deg,  transparent 0, transparent 48px, var(--grid-line) 48px, var(--grid-line) 50px),
    repeating-linear-gradient(180deg, transparent 0, transparent 48px, var(--grid-line) 48px, var(--grid-line) 50px);
  background-size: 100px 100px;
  box-shadow: inset 0 0 110px var(--bg);
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

@keyframes rotateGlobe {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Card ───────────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  z-index: 10;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.75rem;
  width: min(440px, 92vw);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Badge / eyebrow */
.card-badge {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

/* Title inside card */
.card-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.1;
}

/* Tagline */
.card-tagline {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.6;
}

/* Accent spans */
.accent {
    color: var(--dim);
    font-size: 1.2rem;
}

/* ── Progress bar ───────────────────────────────────────────────────────────── */
.progress-container { display: flex; flex-direction: column; gap: 0.45rem; }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
}

.progress-percentage {
    color: var(--accent);
}

.progress-track {
  background: #161b22;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress-fill {
  position: relative;
  background: var(--accent);
  width: 9%;
  height: 100%;
  border-radius: 99px;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Shimmer animation on fill */
.progress-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(400%); }
}

/* ── Status row ─────────────────────────────────────────────────────────────── */
.status-row {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--on  {
  background: var(--action);
  box-shadow: 0 0 6px var(--action);
  animation: pulse-on 2.5s ease-in-out infinite;
}
.dot--off { background: var(--off); }

@keyframes pulse-on {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  height: var(--footer-h);
  z-index: 100;
  background: rgba(13, 17, 23, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}

.footer-inner {
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--dim);
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .card { padding: 2rem 1.5rem; }
  .card-title { font-size: 1.6rem; }
  .footer-copy { font-size: 0.65rem; }
  .footer-nav  { gap: 1rem; }
  .footer-link { font-size: 0.65rem; }
}
