:root {
  --bg-deep: #0b1622;
  --bg-mid: #102335;
  --bg-glow: #1e4a6a;
  --surface: rgba(8, 18, 28, 0.84);
  --surface-soft: rgba(13, 26, 40, 0.72);
  --text-main: #e8f2fc;
  --text-subtle: #b9cde0;
  --accent: #5eead4;
  --accent-strong: #0ea5e9;
  --line: rgba(126, 184, 227, 0.25);
  --shadow: 0 18px 40px rgba(2, 10, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(94, 234, 212, 0.18), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(14, 165, 233, 0.22), transparent 32%),
    radial-gradient(circle at 85% 82%, rgba(64, 124, 165, 0.2), transparent 28%),
    linear-gradient(145deg, var(--bg-deep), var(--bg-mid) 48%, #09131d);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.18;
}

.page-wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.hero {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3.2rem);
  background: linear-gradient(125deg, rgba(7, 18, 30, 0.88), rgba(16, 36, 54, 0.84));
  position: relative;
  overflow: hidden;
  animation: riseIn 0.7s ease both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -100px auto auto -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.22), transparent 70%);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.hero h1 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.tagline {
  color: var(--text-subtle);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 54ch;
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-cta a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 0.62rem 1.08rem;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.hero-cta a:first-child {
  color: #06212d;
  background: linear-gradient(135deg, var(--accent), #81e6f6);
  border-color: transparent;
}

.hero-cta a:last-child {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.hero-cta a:hover {
  transform: translateY(-2px);
  border-color: var(--accent-strong);
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 12, 21, 0.86);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(4, 12, 21, 0.33);
}

nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0.55rem;
  overflow-x: auto;
}

nav a {
  color: var(--text-subtle);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.56rem 0.9rem;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

nav a:hover {
  color: var(--text-main);
  background: rgba(18, 67, 97, 0.55);
}

main {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.15rem;
}

.panel {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.5vw, 2rem);
  animation: riseIn 0.7s ease both;
}

.panel h2 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.95rem;
}

.panel p {
  color: var(--text-subtle);
  font-size: 1.04rem;
}

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

article {
  border-radius: 14px;
  border: 1px solid rgba(126, 184, 227, 0.2);
  background: var(--surface-soft);
  padding: 1.1rem;
  transition: transform 0.26s ease, border-color 0.26s ease;
}

article:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.58);
}

article h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

article > ul {
  list-style: none;
  display: grid;
  gap: 0.78rem;
}

article > ul > li {
  border-left: 2px solid rgba(94, 234, 212, 0.5);
  padding-left: 0.72rem;
}

article strong {
  color: #d9f6ff;
  display: inline-block;
  margin-bottom: 0.25rem;
}

article ul ul {
  list-style: disc;
  margin: 0.2rem 0 0 1.1rem;
  color: var(--text-subtle);
}

.contact-panel a {
  color: #9be9ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(155, 233, 255, 0.55);
}

.contact-panel a:hover {
  color: #ddfbff;
  border-bottom-color: transparent;
}

footer {
  margin-top: 1.1rem;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.92rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .page-wrap {
    width: 94vw;
  }

  .hero {
    margin-top: 0.9rem;
    border-radius: 16px;
  }

  .panel,
  article {
    border-radius: 12px;
  }

  nav ul {
    justify-content: flex-start;
  }
}
