:root {
  --bg: #000000;
  --surface: #050a0f;
  --surface-2: #0a1520;
  --border: #0a3d4a;
  --accent: #00d4ff;
  --accent-dim: #007a8a;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-glow-strong: rgba(0, 212, 255, 0.35);
  --danger: #ff4466;
  --warning: #f59e0b;
  --success: #00e676;
  --status-done-border: rgba(0, 230, 118, 0.62);
  --status-done-glow: rgba(0, 230, 118, 0.18);
  --status-active-border: rgba(245, 158, 11, 0.68);
  --status-active-glow: rgba(245, 158, 11, 0.18);
  --status-upcoming-border: rgba(106, 138, 154, 0.62);
  --status-upcoming-glow: rgba(106, 138, 154, 0.14);
  --text: #e8f4ff;
  --text-dim: #6a8a9a;
  --radius: 10px;
  --max: 1120px;
  --header-h: 3.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: "Segoe UI", "Noto Sans", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-tap-highlight-color: rgba(0, 212, 255, 0.25);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(0, 212, 255, 0.09), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 8%, rgba(255, 68, 102, 0.06), transparent 52%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(5, 18, 28, 0.75), transparent 62%),
    linear-gradient(180deg, #03070a 0%, #010203 35%, #000000 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 20%, transparent 72%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.85rem;
}

.nav-desktop {
  display: flex;
  gap: 0.25rem;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.25);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent-dim);
  box-shadow: 0 0 12px var(--accent-glow);
  outline: none;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0));
  right: 0;
  z-index: 220;
  width: min(18rem, 88vw);
  height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0));
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
  border-left: 1px solid var(--border);
  background: rgba(5, 10, 15, 0.98);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease-out);
}

body.nav-open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: var(--accent-glow);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.25);
  text-decoration: none;
  outline: none;
}

.hero {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2rem) 0 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  align-items: start;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.7s var(--ease-out) forwards;
}

.hero-copy .badge { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.12s; }
.hero-copy .hero-lead { animation-delay: 0.2s; }
.hero-copy .hero-meta { animation-delay: 0.28s; }
.hero-copy .hero-actions { animation-delay: 0.36s; }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 10px var(--warning);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  margin: 0.65rem 0 0.5rem;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.08;
}

.hero-lead {
  max-width: 38rem;
  color: var(--text-dim);
  font-size: clamp(0.98rem, 2.5vw, 1.08rem);
  margin: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.82rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: var(--accent-dim);
  color: var(--text);
  box-shadow: 0 0 14px var(--accent-glow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #001018;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #33ddff;
  box-shadow: 0 0 22px var(--accent-glow-strong);
  transform: translateY(-1px);
}

.hero-visual {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.75s var(--ease-out) 0.18s forwards;
}

.hero-card {
  width: min(100%, 280px);
  padding: 1rem 1rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-card:hover {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 212, 255, 0.08);
  }

  .hero-card:hover .snake-wrap {
    filter: drop-shadow(0 0 18px rgba(255, 68, 102, 0.28))
      drop-shadow(0 0 28px rgba(0, 212, 255, 0.12));
  }
}

.snake-wrap {
  position: relative;
  width: min(180px, 52vw);
  height: min(180px, 52vw);
  margin: 0 auto 0.65rem;
  transition: filter 0.35s ease;
}

.snake-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.snake-red {
  filter: brightness(0) saturate(100%) invert(19%) sepia(95%) saturate(4976%)
    hue-rotate(343deg) brightness(95%) contrast(92%);
}

.snake-white {
  --sweep: 0;
  --fade: calc((1 - var(--sweep)) * 14%);
  animation: snakeSweep 7s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #fff calc((1 - var(--sweep)) * 100% - 2%),
    transparent calc((1 - var(--sweep)) * 100% + var(--fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #fff calc((1 - var(--sweep)) * 100% - 2%),
    transparent calc((1 - var(--sweep)) * 100% + var(--fade)),
    transparent 100%
  );
}

@property --sweep {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@keyframes snakeSweep {
  0% {
    --sweep: 0;
  }
  50% {
    --sweep: 1;
  }
  100% {
    --sweep: 0;
  }
}

.hero-card-caption {
  margin: 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.progress-card {
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.progress-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-dim);
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: #0a2530;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width 1.1s var(--ease-out);
}

.progress-fill.is-animating {
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.45);
}

section {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.section-head p {
  margin: 0;
  color: var(--text-dim);
  max-width: 42rem;
  font-size: clamp(0.92rem, 2.5vw, 1rem);
}

.reveal,
.milestone-reveal,
.post-release-head {
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

html.reveal-active .reveal:not(.is-visible),
html.reveal-active .milestone-reveal:not(.is-visible),
html.reveal-active .post-release-head:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible,
.milestone-reveal.is-visible,
.post-release-head.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.roadmap {
  position: relative;
  margin-top: clamp(-3.5rem, -7vw, -2rem);
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.roadmap .section-head {
  margin-bottom: 1rem;
}

.post-release-head {
  margin-top: 2.5rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}

.milestone {
  position: relative;
  margin-left: 2.5rem;
  padding: 1.15rem 1.1rem 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.milestone:hover {
  border-color: rgba(0, 212, 255, 0.28);
}

.milestone::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 1.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--accent-dim);
}

.milestone.done::before {
  background: var(--success);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.45);
}

.milestone.active::before {
  background: var(--warning);
  animation: milestonePulse 2.4s ease-in-out infinite;
}

.milestone.upcoming::before {
  background: var(--text-dim);
}

@keyframes milestonePulse {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.65);
    transform: scale(1.08);
  }
}

.milestone-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.milestone-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-done {
  background: rgba(0, 230, 118, 0.12);
  color: var(--success);
  border: 1px solid var(--status-done-border);
  box-shadow: 0 0 10px var(--status-done-glow);
}

.status-active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border: 1px solid var(--status-active-border);
  box-shadow: 0 0 10px var(--status-active-glow);
}

.status-upcoming {
  background: rgba(106, 138, 154, 0.12);
  color: var(--text-dim);
  border: 1px solid var(--status-upcoming-border);
  box-shadow: 0 0 10px var(--status-upcoming-glow);
}

.milestone p {
  margin: 0 0 0.75rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.task-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.88rem;
}

.task-list li {
  margin-bottom: 0.3rem;
}

.task-list li.done {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(106, 138, 154, 0.6);
}

.post-release-list {
  color: var(--text-dim);
}

.status-section {
  position: relative;
  border-top: 1px solid rgba(10, 61, 74, 0.45);
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.status-section .section-head {
  margin-bottom: 1.25rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 52rem;
  margin-inline: auto;
}

.status-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(5, 10, 15, 0.55);
  text-align: center;
}

.status-card h3 {
  margin: 0;
  font-size: clamp(0.88rem, 2vw, 1rem);
  line-height: 1.3;
  font-weight: 500;
}

.status-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.status-card li + li {
  margin-top: 0.35rem;
}

.status-card--done {
  border: 1px solid var(--status-done-border);
  box-shadow: 0 0 10px var(--status-done-glow);
}

.status-card--done h3 {
  color: var(--success);
}

.status-card--active {
  border: 1px solid var(--status-active-border);
  box-shadow: 0 0 10px var(--status-active-glow);
}

.status-card--active h3 {
  color: var(--warning);
}

.status-card--upcoming {
  border: 1px solid var(--status-upcoming-border);
  box-shadow: 0 0 10px var(--status-upcoming-glow);
}

.status-card--upcoming h3 {
  color: var(--text-dim);
}

.site-footer {
  padding: 2rem 0 calc(2.25rem + env(safe-area-inset-bottom, 0));
  color: var(--text-dim);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(5, 10, 15, 0.55);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-contact:hover,
.btn-contact:focus-visible {
  border-color: var(--accent-dim);
  color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  text-decoration: none;
  outline: none;
}

.footer-date {
  color: var(--text-dim);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .roadmap {
    margin-top: -0.5rem;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0.72rem;
  }

  .milestone {
    margin-left: 2.15rem;
  }

  .milestone::before {
    left: -1.85rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    padding-top: 1.25rem;
  }

  .roadmap {
    margin-top: -1.25rem;
  }

  .milestone-head h3 {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .hero-meta {
    gap: 0.45rem;
  }

  .chip {
    font-size: 0.78rem;
  }

  .timeline::before {
    left: 0.55rem;
  }

  .milestone {
    margin-left: 1.85rem;
    padding: 1rem 0.9rem;
  }

  .milestone::before {
    left: -1.62rem;
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::after {
    opacity: 0.2;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy > *,
  .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html.reveal-active .reveal:not(.is-visible),
  html.reveal-active .milestone-reveal:not(.is-visible),
  html.reveal-active .post-release-head:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .milestone.active::before {
    animation: none;
  }

  .progress-fill {
    transition: none;
  }
}
