/* ============================================================
   Continuum Security – Redesigned Stylesheet
   Colors matched to staging: navy #00112a, cyan #00b4ff
   Fonts: Hanken Grotesk (headings), Work Sans (body)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--dark { background: #00112a; color: #fff; }
.section--dark h2, .section--dark h3, .section--dark p { color: #fff; }
.section--light { background: #f4f8fb; }
.section--gradient {
  background: radial-gradient(circle at top right, #003366 0%, #00112a 70%);
  color: #fff;
}
.section--gradient h2, .section--gradient h3, .section--gradient p { color: #fff; }
.text-center { text-align: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0, 17, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.25); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500; font-size: 0.9rem; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 1.5px;
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.active { color: #00b4ff; }
.nav__cta {
  background: #00b4ff; color: #fff !important; padding: 10px 22px;
  border-radius: 25px; font-weight: 600; letter-spacing: 1px;
  transition: background .25s, transform .2s;
}
.nav__cta:hover { background: #0099dd; transform: translateY(-1px); }

/* Mobile menu toggle */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; transition: transform .3s, opacity .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at top right, #003d73 0%, #00112a 55%, #000a1a 100%);
  overflow: hidden; padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b4ff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}
.hero__content {
  position: relative; text-align: center; max-width: 820px; padding: 0 24px;
}
.hero__badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: rgba(0, 180, 255, 0.12); border: 1px solid rgba(0, 180, 255, 0.3);
  color: #00b4ff; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #00b4ff; }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 640px; margin: 0 auto 36px; }
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 25px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  transition: all .25s; cursor: pointer; border: 2px solid transparent;
}
.btn--primary { background: #00b4ff; color: #fff; border-color: #00b4ff; }
.btn--primary:hover { background: #0099dd; border-color: #0099dd; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,180,255,.3); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline:hover { border-color: #00b4ff; color: #00b4ff; }
.btn--dark { background: #00112a; color: #fff; border-color: #00112a; }
.btn--dark:hover { background: #001d3d; transform: translateY(-2px); }
.btn--white { background: #fff; color: #00112a; border-color: #fff; }
.btn--white:hover { background: #f0f8ff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn--sm { padding: 10px 22px; font-size: .78rem; }
.btn--arrow::after { content: '\2192'; margin-left: 4px; transition: transform .2s; }
.btn--arrow:hover::after { transform: translateX(4px); }

/* ---------- Stats Bar ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,17,42,.08);
  margin-top: -50px; position: relative; z-index: 10;
}
.stat {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid #eef2f7;
}
.stat:last-child { border-right: none; }
.stat__number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: #00112a;
  line-height: 1;
}
.stat__number span { color: #00b4ff; }
.stat__label { font-size: .85rem; color: #777; margin-top: 6px; }

/* ---------- Service Tier Cards ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.tier-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,17,42,.06);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
  border: 1px solid #eef2f7;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,17,42,.12); }
.tier-card--featured { border: 2px solid #00b4ff; position: relative; }
.tier-card--featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: #00b4ff; color: #fff; font-size: .7rem; font-weight: 700;
  padding: 4px 16px; border-radius: 0 0 8px 8px;
  letter-spacing: 1.5px;
}
.tier-card--featured .tier-card__header { padding: 36px 27px 20px; }
.tier-card--featured .tier-card__body { padding: 24px 27px; }
.tier-card--featured .tier-card__footer { padding: 20px 27px 28px; }
.tier-card__header {
  padding: 36px 28px 20px;
  border-bottom: 1px solid #eef2f7;
}
.tier-card__level {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: #00b4ff; margin-bottom: 8px;
}
.tier-card__title { font-size: 1.3rem; margin-bottom: 8px; }
.tier-card__desc { font-size: .9rem; color: #666; }
.tier-card__body { padding: 24px 28px; flex: 1; }
.tier-card__features { list-style: none; text-align: left; }
.tier-card__features li {
  padding: 8px 0; font-size: .9rem; color: #555;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid #f5f7fa;
  text-align: left;
}
.tier-card__features li:last-child { border-bottom: none; }
.tier-card__features li::before {
  content: '\2713'; color: #00b4ff; font-weight: 700; flex-shrink: 0;
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,180,255,.08); border-radius: 50%; font-size: .75rem;
}
.tier-card__footer { padding: 20px 28px 28px; }

/* ---------- Process / Journey Timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 48px auto 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, #00b4ff, #00112a);
  transform: translateX(-50%); border-radius: 2px;
}
.timeline__item {
  display: flex; align-items: flex-start; margin-bottom: 48px;
  position: relative;
}
.timeline__item:nth-child(odd) { flex-direction: row; }
.timeline__item:nth-child(even) { flex-direction: row-reverse; }
.timeline__dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #00b4ff; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800; font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0,180,255,.35);
  z-index: 2;
}
.timeline__content {
  width: calc(50% - 56px); padding: 24px 28px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,17,42,.06);
  border: 1px solid #eef2f7;
}
.timeline__content h3 { margin-bottom: 6px; color: #00112a; }
.timeline__content .tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 2px 10px; border-radius: 10px;
  background: rgba(0,180,255,.1); color: #00b4ff; margin-bottom: 10px;
}
.timeline__content p { font-size: .9rem; color: #666; margin-bottom: 0; }

/* ---------- Onboarding Week Cards ---------- */
.week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.week-card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(0,17,42,.06);
  border-top: 4px solid #00b4ff;
  transition: transform .3s;
}
.week-card:hover { transform: translateY(-4px); }
.week-card__number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: #00b4ff; margin-bottom: 12px;
}
.week-card h3 { margin-bottom: 16px; }
.week-card__task {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f0f4f8;
}
.week-card__task:last-child { border-bottom: none; }
.week-card__task-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,180,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.week-card__task-text h4 { font-size: .9rem; margin-bottom: 2px; }
.week-card__task-text p { font-size: .8rem; color: #888; margin-bottom: 0; }

/* ---------- Partners / Tech Strip ---------- */
.partners { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 40px; }
.partner {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: background .3s;
}
.partner:hover { background: rgba(255,255,255,.1); }
.partner__icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff;
}
.partner__icon--huntress { background: linear-gradient(135deg, #22c55e, #16a34a); }
.partner__icon--eset { background: linear-gradient(135deg, #00b4ff, #0066cc); }
.partner__icon--syncro { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.partner__name { color: rgba(255,255,255,.9); font-weight: 600; font-size: .95rem; }
.partner__desc { color: rgba(255,255,255,.5); font-size: .75rem; }

/* ---------- Feature Grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.feature-card {
  display: flex; gap: 20px; padding: 28px;
  background: #fff; border-radius: 14px;
  border: 1px solid #eef2f7;
  transition: box-shadow .3s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(0,17,42,.08); }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: rgba(0,180,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-card__text h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card__text p { font-size: .9rem; color: #666; margin-bottom: 0; }

/* ---------- Team Grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.team-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,17,42,.05);
  text-align: center; transition: transform .3s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card__photo {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, #00112a, #003366);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: rgba(255,255,255,.15);
}
.team-card__info { padding: 24px 20px; }
.team-card__name { font-size: 1.15rem; margin-bottom: 4px; }
.team-card__role { font-size: .85rem; color: #00b4ff; font-weight: 600; margin-bottom: 12px; }
.team-card__bio { font-size: .85rem; color: #666; line-height: 1.6; }

/* ---------- Testimonial ---------- */
.testimonial-card {
  max-width: 700px; margin: 40px auto 0; padding: 36px;
  background: rgba(255,255,255,.06); border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.testimonial-card__quote {
  font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,.85);
  line-height: 1.7; margin-bottom: 20px;
}
.testimonial-card__author { color: #00b4ff; font-weight: 600; }
.testimonial-card__title { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Contact Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.contact-info { }
.contact-info__item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info__icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,180,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info__text h4 { font-size: .9rem; margin-bottom: 2px; }
.contact-info__text p { font-size: .9rem; color: #666; margin-bottom: 0; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: #555; margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #dde3ea;
  border-radius: 10px; font-size: .95rem; font-family: 'Work Sans', sans-serif;
  transition: border-color .25s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: #00b4ff;
  box-shadow: 0 0 0 3px rgba(0,180,255,.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #00112a 0%, #003366 100%);
  padding: 60px 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer {
  background: #00112a; color: rgba(255,255,255,.6);
  padding: 60px 0 24px; border-top: 1px solid rgba(255,255,255,.05);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer__brand { }
.footer__logo {
  margin-bottom: 12px;
}
.footer__logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.footer__brand p { font-size: .85rem; line-height: 1.7; max-width: 300px; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .85rem;
  transition: background .25s, color .25s;
}
.footer__social a:hover { background: #00b4ff; color: #fff; }
.footer__col h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,.4); margin-bottom: 16px;
}
.footer__col a { display: block; font-size: .88rem; padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: #00b4ff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #00b4ff; }

/* ---------- Section Label ---------- */
.section__label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: #00b4ff; margin-bottom: 12px;
}
.section__subtitle {
  font-size: 1.05rem; color: #777; max-width: 640px;
  margin: 0 auto 0; line-height: 1.7;
}
.section--dark .section__subtitle, .section--gradient .section__subtitle { color: rgba(255,255,255,.65); }

/* ---------- Insurance Requirements ---------- */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.req-card {
  padding: 24px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.req-card__icon { font-size: 2rem; margin-bottom: 12px; }
.req-card h4 { font-size: .95rem; color: #fff; margin-bottom: 6px; }
.req-card p { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .tier-grid, .week-grid, .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid #eef2f7; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 24px; }
  .timeline__dot { left: 24px; }
  .timeline__item, .timeline__item:nth-child(even) { flex-direction: row; padding-left: 72px; }
  .timeline__content { width: 100%; }
  .req-grid { grid-template-columns: 1fr; }
  .partners { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #00112a; padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    gap: 16px;
  }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .hero { min-height: 80vh; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}