/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0b1c33;
  background: #f7f7f7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .75rem; line-height: 1.25; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ── SITE HEADER (centered, stacked) ── */
.site-header {
  background: #0b1c33;
  color: #fff;
  padding: 1.25rem 0 .75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  border-bottom: 3px solid #f0b434;
}
.site-header-inner { text-align: center; }
.brand-block { display: flex; flex-direction: column; align-items: center; }
.brand-logo { height: 64px; margin-bottom: .5rem; }
.brand-title {
  margin: 0; font-size: 1.7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.brand-tagline { margin: .3rem 0 1rem; font-size: .9rem; opacity: .85; }
.main-nav-tabs {
  margin-top: .5rem; padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
}
.main-nav-tabs .nav-link {
  font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  color: #dfe5f2; padding-bottom: .4rem; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav-tabs .nav-link:hover { color: #fff; }
.main-nav-tabs .nav-link.active { color: #fff; border-bottom-color: #f0b434; }

/* ── PORTAL DASHBOARD HEADER (horizontal, full nav, white-pill active) ── */
.portal-dash-header {
  background: #001f3f; color: #fff;
  padding: .875rem 0;
  box-shadow: 0 10px 25px rgba(15,23,42,.35);
}
.portal-dash-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
}
.portal-dash-brand { display: flex; align-items: center; gap: .6rem; }
.portal-dash-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; padding: 4px; }
.portal-dash-brand-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: #fff; }
.portal-dash-brand-tagline { margin: 0; font-size: .72rem; opacity: .85; color: #fff; }
.portal-dash-nav { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .85rem; }
.portal-dash-nav .nav-link { padding: .4rem .7rem; border-radius: 999px; color: #e5e7eb; border: 1px solid transparent; }
.portal-dash-nav .nav-link:hover { background: rgba(15,23,42,.6); border-color: rgba(148,163,184,.5); }
.portal-dash-nav .nav-link.active { background: #fff; color: #001f3f; border-color: #e5e7eb; font-weight: 600; }
@media (max-width: 720px) {
  .portal-dash-header-inner { flex-direction: column; align-items: flex-start; }
  .portal-dash-nav { width: 100%; }
}

/* ── BUTTONS ── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-size: .96rem; cursor: pointer; font-family: inherit;
  transition: transform .1s, box-shadow .1s, background .2s, color .2s, border-color .2s;
  border: none; white-space: nowrap;
}
.btn-primary { background: #f0b434; color: #0b1c33; box-shadow: 0 4px 10px rgba(0,0,0,.18); border: 1px solid transparent; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.btn-ghost { border: 1px solid rgba(240,180,52,.7); color: #f0b434; background: transparent; }
.btn-ghost:hover { background: rgba(240,180,52,.1); }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700;
  font-size: .96rem; cursor: pointer; font-family: inherit; border: none;
  background: #0b1c33; color: #fff; transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-dark:hover { background: #1a3050; transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ── SECTIONS ── */
.section { padding: 3rem 0; background: #f7f7f7; }
.section-alt { padding: 3rem 0; background: #fff; }
.section-title { font-size: 1.6rem; font-weight: 700; margin: 0 0 1rem; text-align: center; }
.section-sub { font-size: 1rem; color: #4a5568; max-width: 600px; margin: 0 auto 2rem; text-align: center; line-height: 1.7; }

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* ── CARDS ── */
.card {
  background: #fff; padding: 1.5rem; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06); text-align: center;
}
.card h3 { margin-top: 0; margin-bottom: .5rem; }
.card p { font-size: .95rem; line-height: 1.6; margin: 0; }
.card-hover { transition: transform .12s, box-shadow .12s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.callout { background: #0b1c33; color: #fff; padding: 1.5rem; border-radius: 10px; }
.callout h3 { margin-top: 0; color: #fff; }
.callout ul { padding-left: 1.2rem; font-size: .95rem; list-style: disc; }
.callout p { font-size: .95rem; line-height: 1.65; margin: 0 0 .5rem; }

/* ── HERO ── */
.hero { background: radial-gradient(circle at left top, #143053, #0b1c33); color: #fff; padding: 3.5rem 0 3rem; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr); gap: 2rem; align-items: center; }
.hero-text h1 { font-size: 2.3rem; margin: 0 0 1rem; color: #fff; }
.hero-text p { font-size: 1.02rem; line-height: 1.6; max-width: 34rem; margin: 0; color: #dfe5f2; }
.hero-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero-note { margin-top: .75rem; font-size: .85rem; opacity: .85; }
.hero-card { background: #fff; color: #0b1c33; border-radius: 12px; padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero-card h2 { margin-top: 0; margin-bottom: .75rem; font-size: 1.25rem; }
.hero-card p { font-size: .95rem; line-height: 1.6; margin: 0 0 .75rem; }
.hero-card ul { padding-left: 1.2rem; font-size: .95rem; list-style: disc; margin: 0; }

/* ── PRODUCT CARDS (products page) ── */
.step-badge {
  display: inline-block; background: #0b1c33; color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1.1rem; border-radius: 999px; margin-bottom: .75rem;
}
.step-badge.coming-soon { background: #4a5568; }
.product-img-wrap {
  background: #f0f2f5; border-radius: 12px; padding: 1.5rem 1rem;
  margin-bottom: 1rem; display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.product-img-wrap img { max-height: 180px; width: auto; margin: 0 auto; }
.product-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; color: #0b1c33; }
.product-desc { font-size: .93rem; line-height: 1.65; color: #4a5568; margin-bottom: .85rem; }
.product-features { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; text-align: left; }
.product-features li { font-size: .9rem; color: #4a5568; margin-bottom: .25rem; }
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: center; margin-bottom: .5rem; }
.price-old { text-decoration: line-through; opacity: .55; font-weight: 500; font-size: 1rem; }
.price-badge {
  background: #f0b434; color: #0b1c33; padding: .35rem 1rem;
  border-radius: 999px; font-weight: 700; font-size: .96rem;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.price-note { font-size: .82rem; color: #4a5568; margin-bottom: 1rem; }
.product-card-note { font-size: .82rem; color: #4a5568; margin-top: .5rem; }
.individual-step-badge {
  display: inline-block; background: #f0b434; color: #0b1c33;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .75rem; border-radius: 999px; margin-bottom: .6rem;
}
.premium-badge {
  display: inline-block; background: #0b1c33; color: #f0b434;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .75rem; border-radius: 999px; margin-bottom: .6rem;
}

/* ── ABOUT ── */
.about-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.about-text p { font-size: .97rem; line-height: 1.75; margin-bottom: 1.1rem; }

/* ── CONTACT ── */
.contact-cta-card {
  max-width: 720px; margin: 0 auto; background: #fff;
  padding: 2rem 1.75rem; border-radius: 16px;
  border: 1px solid rgba(240,180,52,.4); box-shadow: 0 14px 40px rgba(0,0,0,.08);
}
.card-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .18em;
  font-size: .75rem; color: #f0b434; margin-bottom: .4rem; font-weight: 600;
}

/* ── NEXT STEPS ── */
.next-steps { text-align: center; }
.next-steps p { max-width: 480px; margin: 0 auto 1.5rem; font-size: .97rem; color: #4a5568; }

/* ── BOOK A CALL ── */
.book-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem; align-items: start; padding: 3rem 0;
}
.book-left h1 { font-size: 2rem; font-weight: 800; color: #0b1c33; margin-bottom: .75rem; }
.book-left p { font-size: .97rem; line-height: 1.7; color: #4a5568; margin-bottom: 1.25rem; }
.expect-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.expect-num {
  width: 28px; height: 28px; border-radius: 50%; background: #f0b434; color: #0b1c33;
  font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.expect-text h4 { font-size: .9rem; font-weight: 700; margin: 0 0 .15rem; color: #0b1c33; }
.expect-text p { font-size: .82rem; color: #4a5568; margin: 0; line-height: 1.5; }
.calendly-wrap {
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px; overflow: hidden; min-height: 680px;
}

/* ── PORTAL CONTENT ── */
.portal-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem; background: #f9fafb;
}
.portal-login-card {
  background: #fff; border-radius: 16px; padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.1); width: 100%; max-width: 420px;
}
.portal-login-card .brand-logo { height: 48px; margin: 0 auto 1rem; }
.portal-login-card h2 { font-size: 1.4rem; font-weight: 800; color: #001f3f; text-align: center; margin-bottom: .25rem; }
.portal-login-card .subtitle { font-size: .88rem; color: #6b7280; text-align: center; margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: #374151; margin-bottom: .35rem; }
.form-group input {
  width: 100%; padding: .65rem .85rem; border-radius: 999px;
  border: 1px solid #d1d5db; font-size: .92rem; font-family: inherit;
  transition: border-color .15s; outline: none;
}
.form-group input:focus { border-color: #f4b000; box-shadow: 0 0 0 3px rgba(244,176,0,.15); }
.btn-portal-submit {
  width: 100%; padding: .8rem; border-radius: 999px; background: #f4b000; color: #001f3f;
  font-weight: 700; font-size: .96rem; cursor: pointer; border: none;
  font-family: inherit; transition: background .15s; margin-top: .5rem;
}
.btn-portal-submit:hover { background: #d9a000; }
.portal-status { font-size: .82rem; text-align: center; margin-top: .75rem; min-height: 1.2em; color: #4a5568; }
.portal-status.error { color: #dc2626; }
.portal-status.success { color: #16a34a; }

/* ── PORTAL DASHBOARD CONTENT (logged-in area) ── */
.portal-dash-body { font-family: 'Inter', system-ui, sans-serif; background: #f3f4f6; }
.portal-dash-wrapper {
  max-width: 1100px; margin: 2.5rem auto 2rem; padding: 2rem 1.875rem 2.25rem;
  background: #fff; border-radius: 24px; box-shadow: 0 20px 40px rgba(15,23,42,.08);
}
.portal-dash-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: .25rem; color: #001f3f; }
.portal-dash-subtitle { text-align: center; font-size: .875rem; color: #6b7280; margin: 0 0 1rem; }
.portal-dash-status-wrap { text-align: center; margin-bottom: 1.25rem; }
.portal-dash-status {
  display: inline-block; padding: .375rem 1rem; border-radius: 999px;
  background: #e0edff; border: 1px solid #c7d2fe; font-size: .8rem; color: #1f2933; margin-top: .6rem;
}
.portal-dash-section { margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid #e5e7eb; }
.portal-dash-section:first-of-type { border-top: none; padding-top: 0; }
.portal-dash-step-heading { font-size: 1.125rem; font-weight: 700; color: #001f3f; margin-bottom: .25rem; }
.portal-dash-step-sub { font-size: .875rem; color: #6b7280; margin-bottom: 1rem; }
.portal-dash-grid { display: grid; gap: 1.375rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.portal-dash-card {
  background: #fff; border-radius: 16px; padding: 1.25rem 1.1rem 1.35rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.04);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 170px;
}
.portal-dash-card-title { font-size: 1.05rem; font-weight: 700; color: #001f3f; margin-bottom: .5rem; }
.portal-dash-card-desc { font-size: .875rem; color: #444; margin-bottom: 1rem; line-height: 1.45; }
.portal-dash-card-btn {
  display: block; text-align: center; background: #f4b000; color: #001f3f;
  font-weight: 700; padding: .7rem 1rem; border-radius: 999px; font-size: .875rem;
  text-decoration: none; transition: all .18s ease; width: 75%; margin: 0 auto;
}
.portal-dash-card-btn:hover { background: #d79a00; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.portal-dash-logout-btn {
  display: block; margin: 2rem auto 0; padding: .625rem 1.5rem; border-radius: 999px;
  background: #fff; border: 2px solid #001f3f; color: #001f3f; font-weight: 600;
  cursor: pointer; transition: .18s ease; font-family: inherit; font-size: .9rem;
}
.portal-dash-logout-btn:hover { background: #001f3f; color: #fff; }
.portal-dash-secondary-link {
  display: block; text-align: center; margin-top: .85rem;
  font-size: .8rem; color: #6b7280; cursor: pointer; text-decoration: underline;
}
@media (max-width: 640px) {
  .portal-dash-wrapper { margin: 1.5rem auto; padding: 1.375rem 1.125rem 1.75rem; border-radius: 18px; }
}

/* ── FOOTER ── */
.site-footer { background: #0b1c33; color: #d3d7e0; padding: 1.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; flex-wrap: wrap; }
.footer-brand { font-weight: 600; color: #fff; margin: 0; }
.footer-note { font-size: .8rem; margin: .2rem 0 0; }
.footer-links a { margin-left: 1rem; color: #d3d7e0; opacity: .9; transition: opacity .15s; }
.footer-links a:hover { opacity: 1; color: #fff; }

/* ── PORTAL FOOTER ── */
.portal-footer { background: #001f3f; color: #9ca3af; padding: 1.25rem 0; font-size: .82rem; }
.portal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.portal-footer a { color: #f4b000; transition: opacity .15s; }
.portal-footer a:hover { opacity: .8; }

/* ── RESPONSIVE ── */
@media (max-width: 780px) {
  .hero-inner, .about-layout, .book-layout { grid-template-columns: 1fr; }
  .main-nav-tabs { gap: .75rem; }
  .main-nav-tabs .nav-link { font-size: .8rem; letter-spacing: .08em; }
  .hero-text h1 { font-size: 1.7rem; }
  .brand-title { font-size: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
