:root {
  --bg: #eef3f9;
  --ink: #0c2038;
  --muted: #5c6b7f;
  --primary: #2e6edc;
  --primary-dark: #0a3f7b;
  --accent: #67b6ff;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --stroke: rgba(15, 94, 168, 0.14);
  --shadow: 0 40px 80px rgba(10, 32, 56, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-aurora {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  background: radial-gradient(circle at top, rgba(15, 94, 168, 0.22), transparent 60%),
    radial-gradient(circle at 30% 10%, rgba(102, 184, 255, 0.35), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(15, 94, 168, 0.2), transparent 55%);
  filter: blur(12px);
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background: none;
  z-index: -3;
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 249, 0.9);
  border-bottom: 1px solid rgba(15, 94, 168, 0.1);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.logo-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.logo-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.hero {
  padding: 100px 0 20px;
}

.hero-top {
  position: relative;
  height: 0;
  z-index: 6;
}

.hero--subpage {
  padding: 85px 0 10px;
}

.hero--subpage .hero-brand {
  top: -68px;
}

.hero--subpage .hero-logo {
  width: 170px;
  height: 170px;
}

.hero-nav--sub {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 14px 8px 190px;
  border: 1px solid rgba(45, 111, 214, 0.12);
  box-shadow: 0 12px 30px rgba(10, 32, 56, 0.08);
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: 46px;
}

.hero-shell {
  position: relative;
  background: var(--card);
  border-radius: 30px;
  padding: 18px 26px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 94, 168, 0.12);
  overflow: hidden;
  margin-bottom: 24px;
}

.hero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  opacity: 1;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: url('/images/server-room.jpg') no-repeat center/cover;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.85) 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.7) 55%, rgba(0,0,0,0.85) 100%);
  opacity: 0.55;
}

.hero-network {
  position: absolute;
  right: -100px;
  top: -80px;
  width: 70%;
  height: 160%;
  background: url('/images/network.svg') no-repeat center/contain;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 2200px) {
  .hero-network {
    right: -150px;
  }
}

.hero-topo {
  position: absolute;
  inset: 0;
  background: url('/images/topo.svg') repeat center/1200px 600px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

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

.hero-text h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  margin: 12px 0 16px;
  line-height: 1.08;
}

.hero-text p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-text {
  max-width: 460px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--primary);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: var(--primary);
  color: white;
}

.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px 8px 230px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  border: 1px solid rgba(45, 111, 214, 0.12);
  box-shadow: 0 18px 40px rgba(10, 32, 56, 0.1);
  position: relative;
  z-index: 5;
  flex-wrap: wrap;
  min-height: 50px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  position: absolute;
  left: 16px;
  top: -84px;
  z-index: 6;
}

.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white url('/images/logo.png') no-repeat center center / 92%;
  border: 3px solid rgba(45, 111, 214, 0.15);
  box-shadow: 0 12px 40px rgba(10, 32, 56, 0.15);
  flex-shrink: 0;
}

.brand-text {
  font-weight: 700;
}

.hero-menu a {
  padding: 6px 0;
}

.hero-menu {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.hero-menu a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.hero-menu a:hover {
  color: var(--primary);
}

.hero-chip {
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}


.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.metric {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.metric.light {
  background: #f6f9fd;
  color: var(--ink);
  border: 1px solid rgba(15, 94, 168, 0.1);
  box-shadow: 0 18px 40px rgba(15, 94, 168, 0.12);
}

.metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.metric-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.4rem;
  margin-top: 6px;
}

.page-shell {
  position: relative;
  background: var(--card);
  border-radius: 26px;
  padding: 32px 34px 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 94, 168, 0.12);
  overflow: hidden;
}

.page-shell .hero-topo {
  opacity: 0.25;
}

.page-head {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.page-head h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 8px 0 0;
}

.section {
  padding: 70px 0;
}

.section--page {
  padding-top: 30px;
}

.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 26px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.highlight {
  background: var(--card);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(15, 94, 168, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(12px);
}

.highlight:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 94, 168, 0.18);
}

.highlight-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.band {
  background: linear-gradient(120deg, rgba(15, 94, 168, 0.08), rgba(88, 179, 247, 0.18));
  border-top: 1px solid rgba(15, 94, 168, 0.1);
  border-bottom: 1px solid rgba(15, 94, 168, 0.1);
}

.content-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.rich p, .rich ul, .rich li {
  color: var(--muted);
}

.rich ul {
  padding-left: 20px;
}

.rich img,
.rich iframe {
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 94, 168, 0.15);
}

.glass-card {
  background: var(--glass);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(15, 94, 168, 0.2);
  box-shadow: var(--shadow);
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(12px);
}

.glass-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.link-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.link-row a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  display: inline-block;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(15, 94, 168, 0.2);
  padding: 10px 12px;
  font-family: inherit;
}

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

.form-success,
.form-error {
  display: none;
  font-weight: 600;
}

.form-success {
  color: #0a7a3d;
}

.form-error {
  color: #b12828;
}

.page-hero {
  padding: 70px 0 40px;
  background: linear-gradient(120deg, rgba(15, 94, 168, 0.12), rgba(88, 179, 247, 0.28));
  border-bottom: 1px solid rgba(15, 94, 168, 0.1);
}

.page-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 10px 0 0;
}

.site-footer {
  margin-top: 40px;
  padding: 40px 0 20px;
  background: #0c2038;
  color: #e8f0fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.footer-label {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #b7d7f3;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: #88a8c7;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    justify-content: flex-start;
  }
  .nav-cta {
    order: 10;
  }

  .hero {
    padding: 80px 0 20px;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .hero-brand {
    top: -60px;
    left: 12px;
  }

  .hero-nav {
    padding: 8px 12px 8px 160px;
    border-radius: 999px;
    gap: 8px;
  }

  .hero-shell {
    padding: 18px 20px 24px;
    border-radius: 22px;
  }

  .hero-menu {
    gap: 10px;
    font-size: 0.82rem;
  }

  .hero-chip {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .hero-text h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .hero-network {
    display: none;
  }

  .hero-photo {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero--subpage {
    padding: 60px 0 10px;
  }

  .hero--subpage .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero--subpage .hero-brand {
    top: -38px;
  }

  .hero-nav--sub {
    padding: 8px 12px 8px 115px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 70px 0 16px;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .hero-brand {
    top: -46px;
    left: 10px;
  }

  .hero-nav {
    padding: 8px 10px 8px 124px;
    border-radius: 22px;
    gap: 6px;
    min-height: 44px;
  }

  .hero-shell {
    padding: 14px 16px 20px;
    border-radius: 18px;
  }

  .hero-menu {
    gap: 4px 10px;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .hero-menu a {
    padding: 3px 0;
  }

  .hero-chip {
    padding: 5px 12px;
    font-size: 0.78rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .hero-grid {
    gap: 20px;
    margin-top: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

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

  .content-split {
    grid-template-columns: 1fr;
  }

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

  .hero--subpage {
    padding: 50px 0 8px;
  }

  .hero--subpage .hero-logo {
    width: 80px;
    height: 80px;
  }

  .hero--subpage .hero-brand {
    top: -28px;
  }

  .hero-nav--sub {
    padding: 6px 10px 6px 94px;
    border-radius: 18px;
  }
}
