/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1E3D;
  --navy-mid: #162E55;
  --blue: #1A5FAB;
  --blue-light: #2876CE;
  --sky: #E8F2FC;
  --teal: #0D8C6E;
  --teal-light: #E1F5EE;
  --white: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #EEF0F3;
  --gray-200: #DDE0E6;
  --gray-300: #C4C8D0;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --accent: #F0A500;
  --red: #DC2626;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.01em;
}

.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  font-weight: 500;
}

.nav-cta:hover { background: var(--blue-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

/* ─── PAGE HERO (dark) ─── */
.page-hero {
  background: var(--navy);
  padding: 64px 5% 72px;
  text-align: center;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--accent); }

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SECTION ─── */
.section { padding: 72px 5%; }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--navy); }
.section-white { background: var(--white); }

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-dark .section-eyebrow { color: var(--accent); }

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-dark .section-title { color: #fff; }

.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.section-dark .section-sub { color: rgba(255,255,255,0.5); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-outline-dark { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-outline-light { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline-light:hover { background: var(--sky); }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}

.card:hover { border-color: var(--blue); transform: translateY(-3px); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--sky);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

.card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ─── GRID HELPERS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }

/* ─── METRICS STRIP ─── */
.metrics-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 32px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.ms-val {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
}

.ms-lbl { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ─── CHECK LIST ─── */
.check-list { list-style: none; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9l3.5 3.5 7.5-7' stroke='%230D8C6E' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  margin-top: 2px;
}

/* ─── PLAN CARDS ─── */
.plan-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
}

.plan-card.featured { border: 2px solid var(--blue); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .04em;
}

.plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.plan-price {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1;
}

.plan-price span { font-size: 14px; font-weight: 400; color: var(--gray-500); }

.plan-cameras {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  margin-top: 20px;
}

.plan-btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }
.plan-btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.plan-btn-primary { background: var(--blue); color: #fff; }
.plan-btn-primary:hover { background: var(--blue-light); }

/* ─── FORM ─── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-label-dark { color: var(--gray-700); }

.form-input {
  width: 100%;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
}

.form-input-dark {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
}

.form-input-dark:focus { border-color: var(--blue); }

.form-input-light {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.form-input-light::placeholder { color: rgba(255,255,255,0.3); }
.form-input-light:focus { border-color: var(--blue-light); }

select.form-input-dark option { background: #fff; color: var(--gray-900); }
select.form-input-light option { background: var(--navy); }

.form-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s;
  margin-top: 6px;
}

.form-submit:hover { background: var(--blue-light); }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--navy);
  padding: 56px 5%;
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  background: #060E1C;
  padding: 48px 5% 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
}

.footer-brand-name span { color: var(--accent); }

.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 16px; max-width: 220px; }

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── REC DOT ANIMATION ─── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.rec-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #F87171;
  border-radius: 50%;
  animation: pulse 1.3s infinite;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 14px 5%;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-300); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .metrics-strip { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 16px 5%; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 500px) {
  .metrics-strip { grid-template-columns: repeat(2,1fr); }
}
</style>
