/* Global reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: #e6f1ff;
  background: radial-gradient(circle at top, #050816 0, #02010a 55%, #000 100%);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
}

/* Animated background */
#space-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.space-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(90, 54, 255, 0.18), transparent 65%),
    radial-gradient(circle at 80% 70%, rgba(0, 219, 222, 0.16), transparent 60%),
    radial-gradient(circle at 40% 90%, rgba(255, 67, 101, 0.16), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #020617 0, #000 55%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.4rem;
  z-index: 50;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.page-loader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-orbit {
  position: relative;
  width: 140px;
  height: 140px;
}

.page-loader-orbit-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #e5e7eb, #1d4ed8 58%, #020617 100%);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.95);
}

.page-loader-orbit-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  animation: loader-spin 6s linear infinite;
}

.page-loader-orbit-satellite {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #a5b4fc, #1d4ed8 70%);
  box-shadow: 0 0 22px rgba(129, 140, 248, 0.9);
  transform: translate(-50%, -50%);
}

.page-loader-label {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.page-loader-sub {
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* Header / Top panel */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.95),
      rgba(15, 23, 42, 0.92)
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.7);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text-main {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.22), transparent 60%);
  color: #e5e7eb;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.nav-button i {
  font-size: 0.9rem;
}

.nav-button:hover {
  border-color: #e5e7eb;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.55);
  transform: translateY(-1px);
}

.nav-button--primary {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22;
  border-color: rgba(74, 222, 128, 0.8);
}

.nav-button--primary:hover {
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.7);
}

.lang-select {
  position: relative;
}

.lang-select select {
  appearance: none;
  padding: 0.35rem 1.8rem 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
  font-size: 0.78rem;
  cursor: pointer;
}

.lang-select::after {
  content: "▾";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  pointer-events: none;
  color: #9ca3af;
}

/* Icon navigation rail */
.icon-nav {
  position: fixed;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  z-index: 15;
}

.icon-nav-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  background: radial-gradient(circle at 30% 20%, rgba(148, 163, 184, 0.45), transparent 60%);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.icon-nav-link:hover,
.icon-nav-link--active {
  color: #f9fafb;
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.8);
  transform: translateY(-1px);
}

/* Main content */
.content {
  max-width: 1120px;
  margin: 1.8rem auto 3rem;
  padding: 0 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.8);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.35rem, 3.1vw, 3.1rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}

.hero-title span {
  background: linear-gradient(120deg, #38bdf8, #4ade80, #eab308);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 0.98rem;
  color: #cbd5f5;
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.keyword-pill {
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-secondary {
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-orbit {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hero-orbit-center {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #e5e7eb, #020617 70%);
  box-shadow: 0 0 45px rgba(59, 130, 246, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.hero-orbit-center span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #020617;
}

.hero-orbit-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.4);
}

.hero-orbit-planet {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fbbf24, #7c2d12 60%);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.8);
}

.hero-orbit-planet--blue {
  background: radial-gradient(circle at 30% 20%, #a5b4fc, #312e81 60%);
  box-shadow: 0 0 26px rgba(129, 140, 248, 0.9);
}

.hero-orbit-planet--teal {
  background: radial-gradient(circle at 30% 20%, #5eead4, #115e59 60%);
  box-shadow: 0 0 26px rgba(45, 212, 191, 0.9);
}

.hero-orbit-planet--1 {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-planet--2 {
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-orbit-planet--3 {
  bottom: 4%;
  left: 20%;
}

/* Content sections */
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.section-card {
  position: relative;
  padding: 1.2rem 1.1rem;
  border-radius: 1.2rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.18), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.section-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0, rgba(248, 250, 252, 0.06), transparent 55%);
  opacity: 0.8;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.section-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.section-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.9);
  color: #a5b4fc;
}

.section-card-body {
  font-size: 0.86rem;
  color: #cbd5f5;
  line-height: 1.6;
}

.section-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.section-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
  color: #a5b4fc;
}

.geo-strip {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.geo-block {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 47, 73, 0.96));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.9);
  clip-path: polygon(0 10%, 8% 0, 100% 0, 100% 90%, 92% 100%, 0 100%);
}

.geo-block-alt {
  clip-path: polygon(0 0, 92% 0, 100% 10%, 100% 100%, 8% 100%, 0 90%);
}

.geo-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.6rem;
}

.geo-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.geo-body {
  font-size: 0.86rem;
  color: #cbd5f5;
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.chip {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.72rem;
  color: #e5e7eb;
}

/* Generic page content */
.page-header {
  margin-bottom: 1.8rem;
}

.page-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.4rem;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: #cbd5f5;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 1.8rem;
}

.prose {
  font-size: 0.92rem;
  color: #e5e7eb;
  line-height: 1.7;
}

.prose h2 {
  font-size: 1.1rem;
  margin: 1.1rem 0 0.4rem;
}

.prose h3 {
  font-size: 0.98rem;
  margin: 0.9rem 0 0.35rem;
}

.prose p + p {
  margin-top: 0.5rem;
}

.prose ul {
  margin: 0.4rem 0 0.7rem 0;
  padding-left: 1.1rem;
}

.prose li {
  margin-bottom: 0.25rem;
}

.sidebar-panel {
  padding: 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(96, 165, 250, 0.9);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  font-size: 0.84rem;
  color: #d1fae5;
}

.sidebar-panel strong {
  color: #bef264;
}

/* TorZon link / uptime section */
.onion-section {
  margin: 2.4rem 0 2.6rem;
}

.onion-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.onion-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.onion-subtitle {
  font-size: 0.84rem;
  color: #9ca3af;
  max-width: 28rem;
}

.onion-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 1.4rem;
}

.onion-card {
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 60%),
    rgba(15, 23, 42, 0.98);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.95);
}

.onion-card-label {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.onion-card-meta {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.uptime-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.85);
  background: rgba(22, 163, 74, 0.12);
  color: #bbf7d0;
  font-size: 0.72rem;
}

.uptime-pill i {
  font-size: 0.75rem;
}

.uptime-link {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #a5b4fc;
  cursor: pointer;
}

.uptime-link i {
  font-size: 0.8rem;
}

.onion-keywords {
  margin-top: 1.3rem;
  font-size: 0.84rem;
  color: #9ca3af;
  line-height: 1.7;
}

.onion-keywords strong {
  color: #e5e7eb;
}

/* Footer */
.footer {
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(16px);
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 0.8rem 1.6rem;
  align-items: flex-start;
}

.footer-links {
  font-size: 0.78rem;
}

.footer-links-title {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.3rem;
}

.footer-brand {
  margin-bottom: 0.4rem;
}

.footer-brand span {
  display: block;
}

.footer-brand-main {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #c4ceff;
}

.footer-brand-sub {
  font-size: 0.76rem;
  color: #9ca3af;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.9rem;
}

.footer-links-list a {
  color: #9ca3af;
}

.footer-links-list a:hover {
  color: #e5e7eb;
}

.footer-ownership-title {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.25rem;
}

.footer-ownership {
  font-size: 0.76rem;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-meta strong {
  color: #e5e7eb;
}

/* Contact section */
.contact-section {
  margin: 2.6rem 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 1.6rem;
  align-items: stretch;
}

.contact-intro-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.contact-intro-body {
  font-size: 0.88rem;
  color: #cbd5f5;
  line-height: 1.7;
}

.contact-photo-strip {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.contact-photo {
  flex: 1;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.9);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.contact-form-card {
  padding: 1.2rem 1.1rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.98);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.95);
}

.contact-form-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-form-sub {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.8rem;
}

.contact-form-row--full {
  grid-column: 1 / -1;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  color: #e5e7eb;
  margin-bottom: 0.16rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  font-size: 0.8rem;
}

.contact-textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.75);
}

.contact-submit {
  margin-top: 0.2rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.8);
}

.contact-submit i {
  font-size: 0.85rem;
}

.contact-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.contact-note {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 0.35rem;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.6rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.5), transparent 60%),
    rgba(15, 23, 42, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  z-index: 30;
}

.back-to-top i {
  font-size: 0.95rem;
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Uptime modal */
.uptime-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.uptime-modal--open {
  display: flex;
}

.uptime-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(10px);
}

.uptime-modal-dialog {
  position: relative;
  max-width: 420px;
  width: 92%;
  padding: 1.3rem 1.2rem 1.1rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(147, 197, 253, 0.9);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.98);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.98);
  z-index: 41;
}

.uptime-modal-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.uptime-modal-sub {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.85rem;
}

.uptime-chart {
  width: 100%;
  height: 110px;
  border-radius: 0.9rem;
  padding: 0.6rem 0.8rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.2), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(34, 197, 94, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.74rem;
}

.uptime-chart-bars {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: flex-end;
  gap: 0.4rem;
}

.uptime-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.uptime-bar {
  width: 60%;
  border-radius: 0.4rem;
  background: linear-gradient(to top, #22c55e, #bbf7d0);
}

.uptime-bar--dim {
  background: linear-gradient(to top, rgba(34, 197, 94, 0.4), rgba(190, 242, 100, 0.4));
}

.uptime-chart-axis {
  display: flex;
  justify-content: space-between;
  color: #9ca3af;
}

.uptime-modal-footer {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  color: #9ca3af;
}

.uptime-modal-close {
  border: none;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.uptime-modal-close:hover {
  background: rgba(15, 23, 42, 1);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-orbit {
    max-width: 260px;
  }

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

  .geo-strip {
    grid-template-columns: 1fr;
  }

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

  .icon-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .top-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .primary-nav {
    justify-content: center;
  }

  .content {
    padding: 0 1.1rem;
  }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

@keyframes loader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


