/* ═══════ INTEGRITY OS — GLOBAL STYLES ═══════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --navy: #0d1b2e;
  --navy-mid: #0f2040;
  --navy-light: #1a3a5c;
  --gold: #e8940a;
  --gold-light: #f5a623;
  --gold-pale: #fef3c7;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f2f4f7;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1.35rem; font-weight: 700; color: var(--white);
}

.nav-logo .logo-badge {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; color: var(--navy);
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}

.nav-links a {
  color: var(--gray-200); font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: .6rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-hamburger {
  display: none; cursor: pointer; flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  width: 26px; height: 2.5px; background: var(--white); border-radius: 2px;
  transition: .3s;
}

/* ─── MOBILE NAV ─── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--navy-mid);
    flex-direction: column; padding: 2rem;
    transform: translateY(-120%); transition: transform .3s;
    gap: 1.5rem;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { text-align: center; width: 100%; display: block; }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}

.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  max-width: 720px; text-align: center; position: relative; z-index: 2;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 1.5rem;
}

.hero h1 .gold { color: var(--gold); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-400); margin-bottom: 2.5rem;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: .85rem 2.2rem; border-radius: 10px;
  font-weight: 600; font-size: 1.05rem;
  transition: all .2s; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232,148,10,.3); }

.btn-outline {
  border: 2px solid var(--gray-400); color: var(--white);
  padding: .85rem 2.2rem; border-radius: 10px;
  font-weight: 600; font-size: 1.05rem;
  transition: all .2s; cursor: pointer; background: transparent;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 2rem;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-light {
  background: var(--gray-50);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700; text-align: center;
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.1rem; color: var(--gray-400);
  text-align: center; max-width: 600px;
  margin: 0 auto 3.5rem;
}

.container {
  max-width: 1140px; margin: 0 auto;
}

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--gray-200);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }

.card-dark {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
}
.card-dark:hover { border-color: var(--gold); }

.card-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}

.card-dark .card-icon { background: rgba(232,148,10,.15); }

.card h3 {
  font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem;
}

.card p {
  font-size: .95rem; color: var(--gray-600); line-height: 1.65;
}
.card-dark p { color: var(--gray-400); }

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; text-align: center;
  padding: 3rem 0;
}

.stat-num {
  font-size: 2.8rem; font-weight: 700; color: var(--gold);
  line-height: 1.1;
}
.stat-label {
  font-size: .95rem; color: var(--gray-400); margin-top: .25rem;
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  counter-reset: step;
}

.step {
  text-align: center; position: relative;
}

.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .93rem; color: var(--gray-600); }

/* ─── PRICING TABLE ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; align-items: start;
}

.price-card {
  background: var(--white);
  border-radius: 16px; padding: 2.5rem;
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: .2s;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(232,148,10,.15);
  position: relative;
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  padding: .3rem 1.2rem; border-radius: 20px;
  font-size: .8rem; font-weight: 600;
}

.price-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }

.price-amount {
  font-size: 3rem; font-weight: 700; color: var(--navy);
  margin: 1rem 0 .25rem;
}
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--gray-400); }

.price-desc { color: var(--gray-600); font-size: .95rem; margin-bottom: 2rem; }

.price-features {
  text-align: left; margin-bottom: 2rem;
}

.price-features li {
  padding: .5rem 0;
  font-size: .95rem;
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid var(--gray-100);
}

.price-features li::before {
  content: '✓';
  color: var(--green); font-weight: 700; font-size: 1.1rem;
}

.price-btn {
  width: 100%; padding: .85rem;
  border-radius: 10px; font-weight: 600;
  font-size: 1rem; cursor: pointer; transition: .2s;
  border: none;
}

.price-btn-primary { background: var(--gold); color: var(--navy); }
.price-btn-primary:hover { background: var(--gold-light); }
.price-btn-outline { background: transparent; border: 2px solid var(--gray-200); color: var(--gray-800); }
.price-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}

.faq-q {
  font-weight: 600; font-size: 1.05rem;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center;
}

.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: .2s; }
.faq-item.open .faq-q::after { content: '−'; }

.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s;
  font-size: .95rem; color: var(--gray-600); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: .75rem; }

/* ─── CONTACT FORM ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block; font-weight: 500; font-size: .9rem;
  margin-bottom: .4rem; color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid var(--gray-200); border-radius: 8px;
  font-family: inherit; font-size: .95rem;
  transition: border-color .2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
}

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

.contact-info h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); margin-bottom: 2rem; }

.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 2rem; text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white); margin-bottom: 1rem;
}

.cta-banner p { color: var(--gray-400); font-size: 1.1rem; margin-bottom: 2rem; }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: .75rem; }

.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }

.footer ul li { margin-bottom: .5rem; }
.footer ul a { color: var(--gray-400); font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1140px; margin: 0 auto;
  border-top: 1px solid var(--navy-light);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem;
  flex-wrap: wrap; gap: 1rem;
}

/* ─── ABOUT PAGE ─── */
.about-hero {
  min-height: 50vh;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 1rem; }
.about-hero p { font-size: 1.15rem; color: var(--gray-400); max-width: 600px; margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card { text-align: center; padding: 2rem; }
.value-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: .5rem; }
.value-card p { color: var(--gray-600); font-size: .95rem; }

/* ─── PAGE HERO (sub-pages) ─── */
.page-hero {
  min-height: 40vh;
  background: linear-gradient(165deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 3rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); margin-bottom: .75rem; }
.page-hero p { font-size: 1.1rem; color: var(--gray-400); max-width: 550px; margin: 0 auto; }

/* ─── SHIELD LOGO ─── */
.logo-shield {
  width: 38px; height: 42px; position: relative; flex-shrink: 0;
}
.logo-shield svg { width: 100%; height: 100%; }

/* ─── PRICING GRID TABLE ─── */
.pricing-table-wrap {
  overflow-x: auto; margin: 0 -1rem; padding: 0 1rem;
}

.pricing-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  min-width: 700px;
}

.pricing-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1rem;
  font-size: 1rem; font-weight: 600;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.pricing-table thead th:first-child {
  text-align: left; border-bottom-color: var(--navy-light);
}

.pricing-table thead th .col-sub {
  display: block; font-size: .75rem; font-weight: 400;
  color: var(--gray-400); margin-top: .25rem;
}

.pricing-table tbody td {
  padding: 1.1rem 1rem;
  text-align: center;
  font-size: 1.05rem; font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  transition: background .15s;
}

.pricing-table tbody tr:hover td {
  background: var(--gray-50);
}

.pricing-table tbody td:first-child {
  text-align: left; font-weight: 700;
  color: var(--navy); background: var(--gray-50);
  border-right: 2px solid var(--gray-200);
}

.pricing-table tbody td:first-child .tier-employees {
  display: block; font-size: .8rem; font-weight: 400;
  color: var(--gray-400); margin-top: .15rem;
}

.pricing-table tbody td .price-tag {
  color: var(--navy); font-size: 1.15rem;
}

.pricing-table tbody td .price-mo {
  font-size: .75rem; font-weight: 400; color: var(--gray-400);
}

.pricing-table tbody tr:last-child td { border-bottom: none; }

/* Highlight the popular column */
.pricing-table .col-popular {
  background: var(--gold-pale) !important;
  position: relative;
}

.pricing-table thead .col-popular {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* Feature breakdown cards under the table */
.tier-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .tier-breakdown { grid-template-columns: 1fr; }
}

.tier-card {
  border-radius: 14px;
  padding: 2rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
}

.tier-card.popular {
  border-color: var(--gold);
  box-shadow: 0 6px 30px rgba(232,148,10,.12);
}

.tier-card h3 {
  font-size: 1.2rem; margin-bottom: .25rem;
}

.tier-card .tier-starts {
  font-size: .9rem; color: var(--gray-400); margin-bottom: 1.25rem;
}

.tier-card ul { margin-bottom: 1.5rem; }

.tier-card ul li {
  padding: .45rem 0;
  font-size: .9rem;
  display: flex; align-items: flex-start; gap: .5rem;
  color: var(--gray-600);
}

.tier-card ul li::before {
  content: '✓'; color: var(--green); font-weight: 700;
  font-size: .95rem; flex-shrink: 0; margin-top: 1px;
}

.tier-card .includes-prev {
  font-size: .85rem; color: var(--gold); font-weight: 600;
  margin-bottom: .75rem;
}

/* ─── UTILITIES ─── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
