﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg: #050b12;
  --bg-2: #0b1825;
  --surface: rgba(13, 27, 42, 0.72);
  --surface-strong: rgba(10, 22, 35, 0.88);
  --line: #1f4563;
  --line-soft: #2a5a7f;
  --text: #edf7ff;
  --muted: #9eb9cc;
  --accent: #56d6ff;
  --accent-2: #8af0d0;
  --gold: #ffd6a0;
  --shadow-xl: 0 24px 70px rgba(2, 8, 14, 0.55);
  --shadow-md: 0 10px 30px rgba(2, 8, 14, 0.45);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(58, 130, 190, 0.35), transparent 55%),
    radial-gradient(900px 500px at 88% 0%, rgba(108, 202, 170, 0.2), transparent 50%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 55%, #04090f 100%);
  overflow-x: hidden;
}

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

.bg-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(86, 214, 255, 0.2), transparent 32%),
    radial-gradient(circle at 84% 16%, rgba(138, 240, 208, 0.14), transparent 26%),
    radial-gradient(circle at 52% 88%, rgba(112, 143, 255, 0.12), transparent 30%);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 18, 29, 0.75);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  position: sticky;
  top: 0.8rem;
  z-index: 30;
  backdrop-filter: blur(10px);
}

.brand {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.22rem;
  font-weight: 700;
  color: #dcf7ff;
  text-shadow: 0 0 22px rgba(86, 214, 255, 0.35);
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  transition: all 180ms ease;
}

.menu a:hover,
.menu a.active {
  color: #f5fcff;
  border-color: var(--line-soft);
  background: rgba(15, 35, 54, 0.85);
  transform: translateY(-1px);
}

.page {
  margin-top: 1rem;
  padding-bottom: 2.2rem;
  display: grid;
  gap: 1rem;
}

.page section {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.17rem;
  color: #8cddff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  background:
    linear-gradient(145deg, rgba(11, 25, 40, 0.94), rgba(9, 21, 34, 0.86));
  box-shadow: var(--shadow-xl);
}

.hero-showcase h1,
.hero-card h1 {
  font-family: "Sora", "Manrope", sans-serif;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero-showcase h1 {
  background: linear-gradient(92deg, #f7fdff 0%, #b8edff 42%, #9ee8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  line-height: 1.65;
  max-width: 68ch;
  margin-top: 0.65rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.pill-row {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.78rem;
  color: #d3f0ff;
  padding: 0.35rem 0.62rem;
  border: 1px solid #2d6389;
  border-radius: 999px;
  background: rgba(10, 24, 38, 0.72);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.74rem 1.22rem;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2d8bc2, #176aa0 55%, #11517c);
  color: #ecf8ff;
  border-color: #61dcff;
  box-shadow: 0 10px 22px rgba(17, 88, 132, 0.55);
}

.btn-ghost {
  background: rgba(11, 24, 37, 0.78);
  color: #cde4f4;
}

.orb-wrap {
  display: grid;
  place-items: center;
  gap: 0.9rem;
}

.orb {
  width: min(360px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #f6fdff 0 12%, #76e3ff 18%, #1f80bd 50%, #0a2a43 68%, transparent 75%),
    conic-gradient(from 8deg, #41deff, #2d8cc4, #9fe8d0, #41deff);
  box-shadow: 0 0 95px rgba(86, 214, 255, 0.45), inset 0 0 60px rgba(255, 255, 255, 0.2);
  animation: pulse 4.1s ease-in-out infinite;
}

.hero-side-card {
  width: min(360px, 100%);
  border: 1px solid #2b5e81;
  border-radius: 12px;
  background: rgba(8, 20, 32, 0.84);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0.85rem;
}

.hero-side-card h3 {
  margin: 0 0 0.32rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.96rem;
}

.hero-side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.88rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: scale(1.035);
    filter: hue-rotate(12deg);
  }
}

.stats-strip,
.grid-two,
.grid-three,
.feature-deck,
.process-grid,
.release-timeline {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.stats-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-strip article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 19, 30, 0.82);
  padding: 0.9rem 1rem;
  min-width: 0;
}

.stats-strip strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #ddf7ff;
}

.stats-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three,
.feature-deck,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card,
.hero-card,
.timeline-item,
.panel,
.release-card,
.changelog {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.2rem;
  min-width: 0;
  overflow: hidden;
}

.glass-card,
.hero-card,
.timeline-item {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.glass-card:hover,
.hero-card:hover,
.timeline-item:hover {
  transform: translateY(-3px);
  border-color: #3a7399;
  box-shadow: 0 14px 34px rgba(4, 13, 21, 0.48);
}

.glass-card,
.timeline-item {
  height: 100%;
}

.glass-card h2,
.hero-card h2,
.panel h2,
.timeline-item h3 {
  font-family: "Sora", "Manrope", sans-serif;
  margin-top: 0;
  letter-spacing: -0.01em;
}

.accent-card {
  background: linear-gradient(140deg, rgba(24, 77, 111, 0.96), rgba(12, 30, 46, 0.9));
  border-color: #2f6489;
}

.meta {
  margin: 0.22rem 0;
  color: var(--gold);
  font-weight: 700;
}

.bullet-list {
  margin: 0.55rem 0 0;
  padding-left: 1.12rem;
  color: var(--muted);
  line-height: 1.62;
}

.bullet-list li::marker {
  color: #8fdaf7;
}

.process-grid article {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(9, 20, 32, 0.84);
  padding: 0.9rem;
}

.process-grid h3 {
  margin: 0 0 0.38rem;
  font-family: "Sora", "Manrope", sans-serif;
}

.release-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  padding: 0.86rem;
}

.release-item h3 {
  margin: 0.12rem 0;
}

.release-item ul {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.release-list {
  display: grid;
  gap: 0.8rem;
}

.release-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--gold);
  font-weight: 700;
}

.admin-layout {
  padding: 1.2rem 0 2rem;
}

.admin-body .panel {
  background: rgba(8, 18, 30, 0.9);
}

.field-row,
.field-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.field-grid input,
.field-grid .file-label {
  flex: 1 1 260px;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #336483;
  background: rgba(10, 22, 35, 0.92);
  color: var(--text);
  padding: 0.7rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #66dcff;
  box-shadow: 0 0 0 3px rgba(86, 214, 255, 0.16);
}

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #3b6a8b;
  border-radius: 10px;
  min-height: 42px;
  color: var(--muted);
}

.file-label input {
  display: none;
}

.status {
  color: var(--gold);
  min-height: 1.2rem;
}

.site-footer {
  margin: 0.4rem auto 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 18, 30, 0.72);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d7effc;
  border: 1px solid #2c6084;
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  font-size: 0.8rem;
  background: rgba(12, 28, 43, 0.72);
}

.hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .stats-strip,
  .feature-deck,
  .grid-three,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 18px;
    padding: 0.82rem;
    flex-direction: column;
    align-items: flex-start;
    top: 0.5rem;
  }

  .menu {
    width: 100%;
  }

  .menu a {
    flex: 1 1 auto;
    text-align: center;
  }

  .grid-two,
  .grid-three,
  .feature-deck,
  .stats-strip,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase,
  .hero-card,
  .glass-card,
  .panel,
  .timeline-item {
    padding: 0.95rem 1rem;
  }

  .cta-row {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .site-footer {
    padding: 0.74rem 0.8rem;
  }

  .footer-links {
    width: 100%;
  }

  .footer-links a {
    flex: 1 1 auto;
    text-align: center;
  }
}
