:root {
  --page-bg: #07111f;
  --panel: #101f33;
  --panel-soft: #142842;
  --line: rgba(148, 193, 255, 0.14);
  --text: #f4f8ff;
  --muted: #9cb0c8;
  --primary: #36d1dc;
  --primary-strong: #4f7cff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(54, 209, 220, 0.12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(79, 124, 255, 0.12), transparent 24%),
    var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.8;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 40px 55px;
  background: linear-gradient(115deg, #102c57 0%, #174b79 48%, #3b2b76 100%);
  border-bottom: 1px solid rgba(123, 213, 255, 0.2);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  top: -165px;
  right: 8%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,0.035),
              0 0 0 76px rgba(255,255,255,0.025);
}

.hero::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  bottom: -150px;
  left: 9%;
  border-radius: 50%;
  background: rgba(54, 209, 220, 0.07);
}

.hero h1 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
  text-transform: lowercase;
}

.hero h1::before {
  content: 'P';
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #07111f;
  border-radius: 50%;
  background: linear-gradient(135deg, #68f3e5, #5f8cff);
  box-shadow: 0 0 30px rgba(54, 209, 220, 0.34);
  font-size: 25px;
  font-weight: 900;
}

.hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(220, 240, 255, 0.72);
  font-size: 0.9rem;
  letter-spacing: 1.3px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  overflow-x: auto;
  background: rgba(9, 24, 41, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
  color: #75f1e3;
  border-color: rgba(54, 209, 220, 0.24);
  background: rgba(54, 209, 220, 0.08);
  text-decoration: none;
}

nav a.active {
  color: #75f1e3;
  border-color: rgba(54, 209, 220, 0.32);
  background: rgba(54, 209, 220, 0.12);
  box-shadow: inset 0 0 0 1px rgba(54, 209, 220, 0.06);
  font-weight: 850;
}

.container {
  max-width: 940px;
  margin: 38px auto;
  padding: 46px 50px 58px;
  background: linear-gradient(145deg, rgba(18, 38, 63, 0.96), rgba(11, 26, 45, 0.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 1.55rem;
  letter-spacing: -0.3px;
}

h2::before {
  content: '';
  width: 9px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(#51e5dc, #5477ff);
  box-shadow: 0 0 15px rgba(54, 209, 220, 0.45);
}

h3 {
  margin: 28px 0 10px;
  color: #dcecff;
  font-size: 1.05rem;
  font-weight: 750;
}

p {
  margin-bottom: 15px;
  color: #aebfd2;
}

ul {
  margin: 10px 0 16px 22px;
}

ul li {
  margin-bottom: 8px;
  padding-left: 4px;
  color: #aebfd2;
}

li::marker {
  color: var(--primary);
}

strong {
  color: #edf7ff;
}

a {
  color: #63ded8;
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: #8ea8ff;
  text-decoration: underline;
}

.updated {
  margin: -8px 0 24px;
  color: #738ba7;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
}

.contact-box,
.notice {
  margin-top: 26px;
  padding: 18px 20px;
  color: #aeeeed;
  border: 1px solid rgba(54, 209, 220, 0.2);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(54, 209, 220, 0.1), rgba(79, 124, 255, 0.08));
}

.contact-box h3,
.contact-box h3[style] {
  color: #74eee4 !important;
}

.contact-box p,
.contact-box p[style] {
  color: #aebfd2 !important;
}

.notice {
  margin: 18px 0;
  font-size: 0.92rem;
}

footer {
  padding: 28px 20px 34px;
  color: #6f849e;
  border-top: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.72);
  font-size: 0.78rem;
  text-align: center;
}

footer a {
  color: #59d8d2;
  text-decoration: none;
}

footer a:hover {
  color: #8ea8ff;
}

@media (max-width: 700px) {
  .hero {
    padding: 48px 22px 44px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero h1::before {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
  .hero p {
    font-size: 0.76rem;
    line-height: 1.6;
  }
  nav {
    justify-content: flex-start;
    padding: 12px;
  }
  .container {
    width: calc(100% - 24px);
    margin: 22px auto;
    padding: 28px 22px 36px;
    border-radius: 20px;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    margin-top: 24px;
  }
  p,
  ul li {
    font-size: 0.94rem;
  }
}
