:root {
  --navy: #1a1f36;
  --blue: #314e89;
  --gold: #c7a96b;
  --bg: #f4f7fa;
  --card: #ffffff;
  --line: #dbe3ef;
  --muted: #4b5563;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: var(--navy); background: var(--bg); line-height: 1.45; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #314e89, #1f2d52);
  color: #f5ead6;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
  height: 30px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.nav-link {
  color: #2a3558;
  font-weight: 600;
  font-size: 14px;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown button {
  border: 0;
  background: transparent;
  color: #2a3558;
  font-weight: 600;
  font-size: 14px;
  cursor: default;
  padding: 0;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(20, 33, 64, 0.12);
  padding: 8px;
  display: none;
}
.dropdown-menu a {
  display: block;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 14px;
  color: #2a3558;
}
.dropdown-menu a:hover {
  background: #f2f5fb;
  text-decoration: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.nav-actions { display: flex; gap: 8px; }

.btn { border-radius: 10px; padding: 9px 14px; font-weight: 600; border: 1px solid transparent; display: inline-block; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue); }

.container { max-width: 1160px; margin: 0 auto; padding: 24px 16px; }
.section-title { margin: 0 0 8px; font-size: 30px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, #1a1f36, #263a67);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 36px rgba(15, 26, 52, 0.22);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { margin: 0 0 10px; font-size: 42px; line-height: 1.12; }
.hero p { margin: 0 0 14px; color: #d8dfef; font-size: 16px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-video-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 10px;
}
.hero-video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 10px;
  background: #111a30;
  box-shadow: 0 10px 26px rgba(12, 20, 42, 0.35);
}

.band { margin-top: 18px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 4px 14px rgba(31, 46, 80, 0.05); }
.card h3 { margin: 0 0 8px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--blue); font-weight: 700; margin: 0 0 8px; }

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.feature-list li { margin-bottom: 6px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-weight: 600;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -9px;
  transform: translateY(-50%);
  color: #6f82ad;
  font-weight: 700;
}

.auth-shell {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  max-width: 480px;
  width: 100%;
}
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.text-link-btn {
  background: transparent;
  border: none;
  color: var(--blue);
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.alert {
  border: 1px solid #f3d7a1;
  background: #fff8e8;
  color: #7a5a23;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.alert-error {
  border-color: #efc3c9;
  background: #fff1f3;
  color: #7d2430;
}

table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; font-size: 14px; }
th { background: #eff3fa; }
label { font-size: 14px; font-weight: 600; }
input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  margin: 6px 0 12px;
}

.site-footer { margin-top: 26px; background: var(--navy); color: #cdd7ec; }
.site-footer .container { padding-top: 18px; padding-bottom: 18px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a { color: #dbe4f8; font-size: 14px; }

@media (max-width: 980px) {
  .site-nav { flex-wrap: wrap; }
  .nav-actions { width: 100%; }
  .hero { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}
