:root {
  --bg: #eef4fb;
  --bg-soft: #f7faff;
  --panel: #ffffff;
  --panel-alt: #f3f7fc;
  --text: #0d2f66;
  --text-dark: #0a2247;
  --muted: #516b93;
  --border: #d7e2f1;
  --accent: #f36b0a;
  --accent-2: #1e4f9d;
  --success: #15a34a;
  --warning: #f59e0b;
  --shadow: 0 16px 40px rgba(14, 39, 84, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(13,47,102,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-2), #082d66);
  position: relative;
  box-shadow: var(--shadow);
}
.logo-badge::before {
  content: "★";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffe28a;
  font-size: 24px;
}
.brand-title {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: var(--accent-2);
}
.brand-title span { color: var(--accent); }
.brand-sub {
  margin-top: 4px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-shell a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-shell a.active,
.nav-shell a:hover {
  background: #edf4fd;
  color: var(--accent-2);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 18px;
}
.support-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 700;
}
.support-line small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #edf4fd;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 0;
  padding: 15px 24px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(243, 107, 10, 0.22);
}
.btn-secondary {
  background: white;
  color: var(--accent-2);
  border: 2px solid #bcd0ea;
}
.btn-block { width: 100%; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.mobile-menu { display: none; padding-bottom: 16px; }
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  padding: 10px;
  display: grid;
  gap: 8px;
}
.mobile-menu-inner a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.mobile-menu-inner a.active,
.mobile-menu-inner a:hover { background: #edf4fd; color: var(--accent-2); }

.hero {
  padding: 18px 0 8px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}
.hero-copy {
  padding: 26px 0 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #edf4fd;
  color: var(--accent-2);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}
.hero-title {
  margin: 18px 0 12px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-dark);
}
.hero-title .accent { color: var(--accent); }
.hero-text,
.section-text,
.card-text,
.meta-copy {
  color: #314f7a;
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 28px;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 700;
}
.feature-pill span:last-child { font-size: 0.93rem; line-height: 1.35; }

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(31,79,157,0.18), rgba(31,79,157,0.02)),
    linear-gradient(135deg, #dbe8f7 0%, #f4f8fd 100%);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 26%;
  background:
    linear-gradient(180deg, rgba(12,34,71,0.0), rgba(12,34,71,0.0)),
    url('assets/guard-hero.svg') center/contain no-repeat;
}
.info-card {
  position: absolute;
  right: 22px;
  top: 22px;
  width: min(360px, calc(100% - 44px));
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(17, 65, 137, 0.15);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.info-card-header {
  background: var(--accent-2);
  color: white;
  padding: 18px 20px;
  font-size: 1.45rem;
  font-weight: 800;
}
.info-card-body { padding: 22px 20px; }
.info-number {
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  padding-left: 26px;
  position: relative;
  font-weight: 700;
  color: var(--text-dark);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}
.state-chip {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #edf4fd;
  color: var(--accent-2);
  font-weight: 700;
}

section {
  padding: 28px 0 0;
}
.section-block {
  padding: 30px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--text-dark);
}
.section-head p {
  margin: 0 auto;
  max-width: 700px;
  color: #36557f;
  font-size: 1.05rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  align-items: start;
}
.step-card,
.course-card,
.trust-card,
.content-card,
.faq-panel,
.contact-panel,
.sidebar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.step-card {
  padding: 22px;
  position: relative;
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-2);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.step-card h3,
.course-card h3,
.trust-card h3,
.content-card h3,
.sidebar-card h3,
.contact-panel h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--text-dark);
}
.step-card h4,
.course-card h4,
.trust-card h4,
.content-card h4,
.faq-question {
  margin: 12px 0 0;
  font-size: 1.3rem;
  color: var(--text-dark);
}
.step-foot {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #edf4fd;
  color: var(--accent-2);
  font-weight: 800;
  text-align: center;
}

.course-grid,
.trust-grid,
.page-grid,
.faq-layout,
.contact-grid,
.course-summary-grid {
  display: grid;
  gap: 18px;
}
.course-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.course-card {
  padding: 0 0 24px;
  overflow: hidden;
}
.course-card.popular { border: 3px solid var(--accent); }
.course-top {
  background: var(--accent-2);
  color: white;
  padding: 18px 20px;
}
.course-top .badge {
  display: inline-flex;
  background: var(--warning);
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.course-body { padding: 22px 20px 0; }
.price {
  margin: 18px 0;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
}
.strike-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-right: 8px;
}

.trust-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
.trust-card {
  padding: 22px 16px;
  text-align: center;
}
.trust-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: #edf4fd;
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 30px;
}
.trust-card p { color: var(--muted); margin: 10px 0 0; font-size: 0.94rem; }

.page-hero {
  padding-top: 22px;
}
.page-hero-wrap {
  background: linear-gradient(135deg, #0d2f66 0%, #1e4f9d 100%);
  color: white;
  border-radius: 28px;
  padding: 34px 34px;
}
.page-hero-wrap h1 {
  margin: 12px 0 10px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.03;
}
.page-hero-wrap p { max-width: 760px; font-size: 1.08rem; line-height: 1.8; opacity: 0.96; }
.page-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.content-card { padding: 28px; }
.content-card + .content-card { margin-top: 18px; }
.content-card ul, .content-card ol { color: #294b78; line-height: 1.8; padding-left: 22px; }
.content-card li + li { margin-top: 6px; }
.sidebar-stack { display: grid; gap: 18px; position: sticky; top: 110px; }
.sidebar-card { padding: 22px; }
.highlight-box {
  background: #edf4fd;
  border: 1px solid #c8daf1;
  padding: 16px;
  border-radius: 16px;
  color: var(--accent-2);
  font-weight: 700;
  line-height: 1.7;
}
.disclaimer {
  background: #fff8ed;
  border: 1px solid #f7d7b3;
  color: #8d4a13;
  padding: 16px;
  border-radius: 16px;
  line-height: 1.7;
  font-weight: 600;
}

.faq-layout { grid-template-columns: 1fr 1fr; align-items: start; }
.faq-panel { padding: 0; overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid #e6eef8; }
.faq-question {
  width: 100%;
  background: white;
  border: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.faq-question span:last-child { color: var(--accent-2); font-size: 1.4rem; }
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: #31517d;
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { background: #f8fbff; }

.contact-grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
.contact-panel { padding: 28px; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
label { display: grid; gap: 8px; font-weight: 700; color: var(--text-dark); }
input, select, textarea {
  border: 1px solid #c8daf1;
  border-radius: 14px;
  padding: 14px 15px;
  background: #f9fbff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #cfe1f7; border-color: #9bb8e0; }
.form-note, .success-message { color: var(--muted); font-size: 0.95rem; }
.success-message { display: none; color: var(--success); font-weight: 700; }
.success-message.show { display: block; }

.footer {
  margin-top: 34px;
  background: #0b2f67;
  color: white;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 0.9fr;
  gap: 26px;
  padding: 32px 0;
}
.footer-copy,
.footer a,
.footer p,
.footer li { color: #d9e7fb; }
.footer h4 { margin: 0 0 12px; font-size: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .notice {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.06);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 14px 0 22px;
  color: #d9e7fb;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .feature-row, .trust-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .step-grid, .course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 920px) {
  .nav-shell, .desktop-only { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .hero-wrap,
  .page-grid,
  .faq-layout,
  .contact-grid,
  .footer-inner,
  .step-grid,
  .course-grid,
  .course-summary-grid,
  .feature-row,
  .trust-grid,
  .form-row { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; }
  .hero-photo { inset: 120px 0 0 0; }
  .support-line { display: none; }
  .sidebar-stack { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 22px)); }
  .brand-title { font-size: 1.55rem; }
  .hero-title { font-size: 2.55rem; }
  .page-hero-wrap, .content-card, .contact-panel, .sidebar-card, .step-card, .course-body, .trust-card { padding-left: 18px; padding-right: 18px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
