:root {
  --blue: #087bfa;
  --blue-dark: #0561d5;
  --blue-light: #edf6ff;
  --text: #152238;
  --muted: #718096;
  --border: #e5edf6;
  --bg: #f7faff;
  --white: #fff;
  --green: #12b981;
  --gold: #f59e0b;
  --purple: #8b5cf6;
  --orange: #f59e0b;
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px;
}

.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.section-wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.blue-text { color: var(--blue); }

/* HEADER */
.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100% - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
}

.brand-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #2196ff, #0561d5);
  border-radius: 13px;
  box-shadow: 0 5px 14px #087bfa25;
}

.brand-icon svg { width: 32px; height: 32px; }

.brand-text {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.7px;
}

.brand-text > span { color: var(--blue); }

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.top-links a {
  position: relative;
  padding: 8px 0;
  color: #66758b;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.top-links a:hover,
.top-links a.active { color: var(--blue); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #16835c;
  background: #edfbf5;
  border: 1px solid #d4f4e5;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.online-pill span {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--green);
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  cursor: pointer;
}

/* HERO */
.hero {
  display: grid;
  min-height: 570px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding-top: 55px;
  padding-bottom: 55px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  color: #0870df;
  background: var(--blue-light);
  border: 1px solid #dceeff;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--green);
  border-radius: 50%;
}

.hero-copy h1 {
  margin: 23px 0 19px;
  font-size: clamp(40px, 5vw, 61px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -3px;
}

.hero-desc {
  max-width: 465px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.meta-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  place-items: center;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 12px;
}

.hero-meta strong,
.hero-meta span { display: block; }

.hero-meta strong {
  font-size: 12px;
  font-weight: 800;
}

.hero-meta div:last-child span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

/* HERO ART */
.hero-art {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 440px;
  place-items: center;
  isolation: isolate;
}

.art-glow {
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  background: #dceeff;
  border-radius: 50%;
  filter: blur(45px);
}

.orbit {
  position: absolute;
  width: min(100%, 420px);
  height: min(100%, 420px);
  pointer-events: none;
}

.orbit-one {
  width: min(100%, 410px);
  height: min(100%, 410px);
}

.orbit-two {
  width: min(100%, 360px);
  height: min(100%, 360px);
}

.server-illustration {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 16px #087bfa12);
}

.floating-cube {
  transform-box: fill-box;
  transform-origin: center;
  animation: cube-float 5s ease-in-out infinite;
}

@keyframes cube-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.spark {
  position: absolute;
  z-index: 3;
  width: 17px;
  height: 17px;
  color: #65b5ff;
}

.spark-one { top: 65px; left: 12%; }
.spark-two { right: 9%; bottom: 75px; width: 13px; height: 13px; }

.gear {
  position: absolute;
  z-index: 3;
  color: #8ccaff;
}

.gear-one {
  top: 55px;
  right: 9%;
  width: 34px;
  height: 34px;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 8px 28px #1522380c;
}

.card-status { bottom: 40px; left: 0; }

.card-check {
  display: grid;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  place-items: center;
  color: #0e9b69;
  background: #eafbf3;
  border-radius: 10px;
}

.card-check svg { width: 18px; height: 18px; }

.float-card strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.float-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.card-response {
  top: 35px;
  right: 0;
  display: block;
  width: 164px;
  padding: 13px;
}

.response-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 13px;
}

.response-top .live-dot { width: 6px; height: 6px; }
.response-top strong { font-size: 10px; }

.response-code {
  margin-left: auto;
  color: #0e9b69;
  font-size: 9px;
  font-weight: 800;
}

.response-line {
  width: 100%;
  height: 5px;
  margin-top: 7px;
  background: #e7f2ff;
  border-radius: 10px;
}

.response-line.short { width: 56%; }
.response-line.medium { width: 76%; }

.floating-icon {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid #dfedff;
  border-radius: 12px;
  box-shadow: 0 6px 20px #087bfa12;
}

.floating-icon svg { width: 21px; height: 21px; }

.icon-bolt { right: 3%; bottom: 30%; }
.icon-code { top: 30%; left: 1%; }

/* TIMELINE SECTION */
.timeline-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.update-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(8, 123, 250, 0.12);
  border-color: #b8d9ff;
}

.u-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.u-version,
.u-version-basic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.u-version {
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #dceeff;
}

.u-version-basic {
  color: var(--gold);
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.u-version svg,
.u-version-basic svg { width: 14px; height: 14px; }

.u-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.u-date svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.u-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.4;
}

.u-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.u-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #42516a;
  font-size: 13px;
  line-height: 1.7;
}

.list-icon {
  width: 18px;
  height: 18px;
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.empty-state p { font-size: 14px; }

/* BOTTOM NAVIGATION */
.bottom-nav {
  position: fixed;
  z-index: 100;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dbeafe;
  border-radius: 17px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-item {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-svg { width: 21px; height: 21px; }

.nav-item.active { color: var(--blue); }

.nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  background: var(--blue);
  border-radius: 0 0 5px 5px;
}

/* TABLET */
@media (max-width: 950px) {
  .topbar { gap: 16px; }
  .top-links { gap: 17px; }
  .online-pill { display: none; }
  
  .hero {
    min-height: 510px;
    gap: 10px;
  }
  
  .hero-copy h1 {
    font-size: clamp(39px, 5.5vw, 53px);
  }
  
  .hero-art { min-height: 360px; }
}

/* MOBILE */
@media (max-width: 680px) {
  html { scroll-padding-top: 75px; }
  .section-wrap { width: calc(100% - 32px); }
  
  .topbar {
    min-height: 66px;
    padding: 0 16px;
  }
  
  .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  
  .brand-icon svg { width: 29px; height: 29px; }
  .brand-text { font-size: 15px; }
  .brand-text small { font-size: 9px; }
  
  .top-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 20px #1522380a;
  }
  
  .top-links.open { display: flex; }
  
  .top-links a {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f4f9;
  }
  
  .top-links a:last-child { border-bottom: 0; }
  
  .menu-toggle {
    display: grid;
    width: 37px;
    height: 37px;
  }
  
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 5px;
    padding-top: 49px;
    padding-bottom: 35px;
  }
  
  .hero-copy { text-align: center; }
  
  .hero-copy h1 {
    margin: 20px 0 15px;
    font-size: clamp(38px, 10vw, 49px);
    letter-spacing: -2px;
  }
  
  .hero-desc {
    max-width: 440px;
    margin-inline: auto;
    font-size: 12px;
    line-height: 1.9;
  }
  
  .hero-meta {
    justify-content: center;
    margin-top: 24px;
    text-align: left;
  }
  
  .hero-art {
    min-height: 300px;
    margin-top: 15px;
  }
  
  .server-illustration { width: min(90%, 340px); }
  .orbit-one { width: min(100%, 320px); height: min(100%, 320px); }
  .orbit-two { width: min(90%, 285px); height: min(90%, 285px); }
  .art-glow { width: 190px; height: 190px; filter: blur(35px); }
  
  .card-status {
    bottom: 9px;
    left: 0;
    padding: 9px 10px;
  }
  
  .card-check { width: 27px; height: 27px; }
  .float-card strong { font-size: 9px; }
  .float-card small { font-size: 8px; }
  
  .card-response {
    top: 5px;
    right: 0;
    width: 135px;
    padding: 10px;
  }
  
  .response-top { margin-bottom: 8px; }
  .response-top strong { font-size: 9px; }
  .response-code { font-size: 8px; }
  
  .floating-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  
  .floating-icon svg { width: 18px; height: 18px; }
  .icon-code { top: 30%; left: 0; }
  .icon-bolt { right: 0; bottom: 28%; }
  
  .gear-one {
    top: 28px;
    right: 7%;
    width: 26px;
    height: 26px;
  }
  
  .spark-one { top: 45px; left: 15%; }
  .spark-two { right: 14%; bottom: 42px; }
  
  .timeline-section {
    padding-top: 35px;
    padding-bottom: 60px;
  }
  
  .update-card { padding: 22px; }
  .u-title { font-size: 16px; }
  .u-list li { font-size: 12px; }
  
  .bottom-nav {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 4px 4px;
  }
  
  .nav-item {
    padding: 8px 2px;
    font-size: 9px;
  }
  
  .nav-svg { width: 19px; height: 19px; }
  
  .orbit, .spark, .gear, .art-glow { animation: none; }
  .floating-cube { animation: none; }
}

@media (max-width: 380px) {
  .section-wrap { width: calc(100% - 24px); }
  .topbar { padding-inline: 12px; }
  .brand { gap: 7px; }
  .brand-text { font-size: 13px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-art { min-height: 270px; }
  .update-card { padding-inline: 16px; }
}

@media (hover: hover) and (pointer: fine) {
  .update-card:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}