:root {
  --page-bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-border: rgba(45, 97, 191, 0.12);
  --text-main: #13233f;
  --text-soft: #53627c;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --shadow: 0 24px 60px rgba(37, 99, 235, 0.14);
}

html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 28%),
    linear-gradient(180deg, #f9fbff 0%, var(--page-bg) 100%);
}

.app-navbar {
  padding: 20px 0;
  background: transparent;
}

.app-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-nav-link {
  color: var(--text-soft);
  font-weight: 600;
}

.app-nav-link:hover,
.app-brand:hover {
  color: var(--accent-dark);
}

.page-shell {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 144px);
}

.hero-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 32px 0 40px;
}

.hero-card {
  width: min(100%, 760px);
  padding: 56px 32px;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 34rem;
  margin: 20px auto 0;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-status {
  margin: 28px auto 0;
  color: var(--text-main);
  font-size: 1rem;
}

.connectivity-panel {
  margin-top: 32px;
  padding: 24px;
  border-radius: 20px;
  text-align: left;
}

.connectivity-success {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.22);
}

.connectivity-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.connectivity-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.connectivity-message,
.connectivity-meta {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.connectivity-meta {
  margin-top: 8px;
}

.app-footer {
  padding: 0 0 24px;
  color: var(--text-soft);
  text-align: center;
}

@media (max-width: 767.98px) {
  .hero-card {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .page-shell {
    min-height: calc(100vh - 120px);
  }
}
