@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  color-scheme: dark light;
  --bg: #0b0d14;
  --bg-soft: #121528;
  --card: rgba(20, 24, 42, 0.65);
  --glass: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --text-muted: #a7adc0;
  --accent: #6ee7ff;
  --accent-strong: #38bdf8;
  --accent-warm: #f59e0b;
  --success: #34d399;
  --danger: #f97316;
  --shadow: 0 20px 40px rgba(5, 8, 20, 0.45);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(64, 146, 255, 0.2), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(110, 231, 255, 0.2), transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page {
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% 10% auto;
  height: 420px;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: grid;
  gap: 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: var(--accent);
  margin: 0;
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin: 0;
}

.hero-version {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.version-text {
  font-size: 20px;
  font-weight: 600;
}

.status-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(110, 231, 255, 0.15);
  border: 1px solid rgba(110, 231, 255, 0.4);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn.primary {
  background: linear-gradient(120deg, #38bdf8, #7c3aed);
  color: #0b0d14;
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.35);
}

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

.btn.ghost {
  border: 1px solid rgba(110, 231, 255, 0.3);
  color: var(--text);
  background: transparent;
}

.hero-card {
  background: var(--card);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 18px;
}

.hero-card-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent);
  font-size: 12px;
}

.chip.subtle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.hero-card-title {
  font-size: 20px;
  margin: 0;
}

.hero-card-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section-title {
  font-size: clamp(28px, 3vw, 36px);
  margin: 0;
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.section-meta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 12px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.update-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.2s var(--ease);
}

.update-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(5, 8, 20, 0.6);
}

.update-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.badge-row {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.update-version {
  font-size: 18px;
  font-weight: 600;
}

.update-date {
  color: var(--text-muted);
  font-size: 12px;
}

.type-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.type-new { background: rgba(94, 234, 212, 0.15); color: #5eead4; }
.type-improved { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }
.type-fixed { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }

.update-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

.change-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  line-height: 1.6;
}

.change-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.change-type {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.change-type.improved { background: rgba(96, 165, 250, 0.2); color: #93c5fd; }
.change-type.fixed { background: rgba(248, 113, 113, 0.18); color: #fca5a5; }
.change-type.new { background: rgba(94, 234, 212, 0.18); color: #5eead4; }

.highlight {
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.2), rgba(59, 130, 246, 0.2));
}

.highlight-card {
  background: rgba(12, 14, 24, 0.75);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.highlight-header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(110, 231, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.highlight-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.highlight-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.highlight-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.footer {
  padding: 40px 0 60px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.footer-credit {
  font-size: 12px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 800px) {
  .hero {
    padding: 90px 0 60px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .update-card {
    opacity: 1;
    transform: none;
  }
}
