:root {
  --bg: #050c1a;
  --bg-2: #0b1c34;
  --panel: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.07);
  --text: #e8f3ff;
  --muted: #a8b9d6;
  --accent: #63d3ff;
  --accent-2: #7ef7c7;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(99, 211, 255, 0.12), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(126, 247, 199, 0.14), transparent 28%),
    radial-gradient(circle at 60% 60%, rgba(99, 211, 255, 0.08), transparent 30%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 65%, #031021 100%);
  overflow-x: hidden;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  z-index: 0;
}

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

main.page {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 20px 120px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  margin: 14px 16px 0;
  background: rgba(8, 16, 30, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5a9bff, #7ef7c7);
  display: grid;
  place-items: center;
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #050c1a;
  box-shadow: 0 12px 30px rgba(99, 211, 255, 0.4);
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.pill,
.ghost {
  padding: 9px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border 180ms ease;
}

.pill {
  background: linear-gradient(120deg, #589dff, #7ef7c7);
  color: #031021;
  box-shadow: 0 12px 30px rgba(99, 211, 255, 0.4);
}

.ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lang-btn.is-active {
  background: linear-gradient(120deg, #589dff, #7ef7c7);
  color: #031021;
}

.pill:hover,
.ghost:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 96px 42px 56px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.75;
  animation: drift 22s ease-in-out infinite;
}

.ambient-1 {
  width: 260px;
  height: 260px;
  background: rgba(99, 211, 255, 0.22);
  top: -60px;
  right: 8%;
}

.ambient-2 {
  width: 320px;
  height: 320px;
  background: rgba(126, 247, 199, 0.18);
  bottom: -120px;
  left: -40px;
  animation-direction: reverse;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 0.95rem;
}

.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 12px 0 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f5d565;
  box-shadow: 0 0 0 6px rgba(245, 213, 101, 0.15);
}

.status-bar.is-online .status-dot {
  background: #7ef7c7;
  box-shadow: 0 0 0 6px rgba(126, 247, 199, 0.25);
}

.status-bar.is-offline .status-dot {
  background: #ff6b6b;
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.18);
}

.status-bar.is-unknown .status-dot {
  background: #f5d565;
  box-shadow: 0 0 0 6px rgba(245, 213, 101, 0.15);
}

h1 {
  margin: 18px 0 14px;
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.6px;
}

.title-highlight {
  display: inline-block;
  background: linear-gradient(100deg, #63d3ff, #7ef7c7);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 14px 32px rgba(99, 211, 255, 0.35);
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
  text-align: center;
}

.cta.primary {
  background: linear-gradient(120deg, #589dff, #7ef7c7);
  color: #041226;
  box-shadow: 0 18px 40px rgba(99, 211, 255, 0.45);
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.cta.full {
  width: 100%;
  justify-content: center;
}

.cta:hover {
  transform: translateY(-1.5px);
}

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 38px 0 20px;
}

.card {
  padding: 20px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

.info {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 32px;
}

.info-block,
.info-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.info h2 {
  margin: 10px 0 12px;
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-size: 1.7rem;
}

.info p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.list {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}

.ip-block {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.ip-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.ip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

.ip-value {
  font-family: "Space Grotesk", monospace;
  font-size: 1.05rem;
}

.mini {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.quick-grid div {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.quick-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-value {
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto 34px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer a {
  color: var(--text);
  font-weight: 600;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, -20px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 900px) {
  .topbar {
    margin: 12px 10px 0;
  }

  .hero {
    padding: 68px 24px 42px;
  }

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

  main.page {
    padding: 60px 16px 90px;
  }
}

@media (max-width: 620px) {
  .topbar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .cta-row {
    flex-direction: column;
  }

  .ip-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
