/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-glow:   rgba(37, 99, 235, 0.35);
  --navy:        #132847;
  --navy-card:   #1a3358;
  --navy-border: #244a78;
  --white:       #f8fafc;
  --muted:       #94a3b8;
  --radius:      14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: inherit;
}

.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

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

/* ─── Footer ─── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
  text-align: center;
  padding: 28px 5%;
  font-size: 0.8rem;
  color: var(--muted);
}

footer a { color: var(--muted); }
footer a:hover { color: var(--white); }
footer p { margin-bottom: 4px; }
footer p:last-child { margin-bottom: 0; }

/* ─── Page content wrapper (for subpages) ─── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 5% 80px;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.page-content .updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.page-content h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--white);
}

.page-content p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.page-content ul li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.page-content a { color: var(--blue-light); }
.page-content a:hover { text-decoration: underline; }

.page-content strong { color: var(--white); }

.highlight-box {
  background: rgba(37, 99, 235, 0.12);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0 16px;
  font-size: 0.9rem;
  color: var(--white);
}

/* ─── Form styles ─── */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  margin-top: 20px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--navy-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--white);
  background: var(--navy-card);
  transition: border-color 0.2s;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--blue-light); }

.form-select option { background: var(--navy-card); color: var(--white); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  margin-top: 28px;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--blue-light); }

.form-success {
  display: none;
  background: rgba(37, 99, 235, 0.12);
  border-left: 3px solid var(--blue-light);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--white);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .page-content { padding: 90px 5% 60px; }
}
