.topbar {
  background: linear-gradient(90deg, var(--navy), #16324f);
  color: #dbeafe;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.topbar .container {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
}
.brand b {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
}
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav a {
  font-weight: 750;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.25rem 0;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
  transform: translateY(-1px);
}
.actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.menu-btn {
  display: none;
}
.btn {
  min-height: 46px;
  padding: 0 1.25rem;
  border-radius: 13px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
}
.btn.outline {
  border-color: var(--border);
  background: var(--surface);
}
.badge {
  display: inline-flex;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
  font-weight: 850;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(29, 78, 216, 0.12);
}
.card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.14), rgba(15, 118, 110, 0.12));
  color: var(--primary);
  font-weight: 900;
}
.card h3 {
  font-size: 1.35rem;
  margin: 1.2rem 0 0.6rem;
}
.card p {
  color: var(--muted);
}
.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 750;
  border: 1px solid rgba(29, 78, 216, 0.12);
}
.quote {
  padding: 2.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 850;
  line-height: 1.45;
}
.quote p {
  color: #dbeafe;
}
.cta {
  padding: 3rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--primary));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cta h2,
.cta p {
  color: #fff;
}
.footer {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, #081a2c 0%, #07111f 100%);
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}
.footer h4 {
  color: #fff;
}
.footer a {
  display: block;
  margin: 0.45rem 0;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s;
}
.reveal.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 114px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .topbar .container {
    justify-content: center;
  }
  .topbar span:last-child {
    display: none;
  }
  .brand small {
    display: none;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
