/* DeepBlue Inspection - Landing Page Styles (vanilla CSS) */

:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.68);

  --primary: #0b2a6f; /* deep blue */
  --primary-2: #123a93;
  --primary-3: #1b54d6;

  --border: rgba(11, 18, 32, 0.12);
  --shadow: 0 20px 60px rgba(11, 42, 111, 0.12);

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.space {
    height: 40px;
    width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 9999;
}
.skip-link:focus {
  left: 10px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(11, 42, 111, 0.10);
  color: var(--primary);
  font-size: 16px;
}
.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: rgba(11, 18, 32, 0.8);
  border-radius: 999px;
  width: 18px;
  margin-left: auto;
  margin-right: auto;
}

.nav-list {
  list-style: none;
  display: none;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  font-size: 14px;
  color: rgba(11, 18, 32, 0.78);
  padding: 10px 6px;
  border-radius: 10px;
}
.nav-list a:hover {
  background: rgba(11, 42, 111, 0.08);
  color: var(--primary);
}

/* Header CTA */
.header-cta {
  display: none;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 60%, var(--primary-3) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
}
.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(11, 18, 32, 0.12);
  color: rgba(11, 18, 32, 0.86);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 18, 32, 0.18);
}

.btn-lg {
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 14px;
}
.btn-xl {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 16px;
}

/* Mobile menu open state */
.nav[data-nav-open="true"] .nav-list {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px;
  right: 20px;
  width: min(320px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 18, 32, 0.10);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.nav[data-nav-open="true"] .nav-list a {
  width: 100%;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch; /* keep columns same height baseline */
}

.hero-copy {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 42, 111, 0.10);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.text-accent {
  color: var(--primary);
  position: relative;
}

.lead {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(255, 255, 255, 0.7);
}
.trust-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(11, 42, 111, 0.10);
  color: var(--primary);
  font-weight: 700;
}
.trust-text {
  font-weight: 600;
  font-size: 14px;
}

/* Hero panel */
.hero-panel {
  padding: 0px 0;
}
.panel-card {
  /* Keep consistent sizing & remove “ugly shadow” look */
  display: block;
  background: #ffffff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 20px 30px 20px 50px;
  width: 100%;
  height: 100%;
  box-shadow: none;
  transform: none;
}

.panel-title {
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 12px;
  color: rgba(11, 18, 32, 0.86);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.timeline li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(11, 42, 111, 0.22);
  border: 2px solid rgba(11, 42, 111, 0.45);
  margin-top: 6px;
}
.t-title {
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.t-sub {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.panel-note {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.note-pill {
  background: rgba(11, 42, 111, 0.10);
  color: var(--primary);
  border: 1px solid rgba(11, 42, 111, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.note-muted {
  color: rgba(11, 18, 32, 0.55);
  font-size: 13px;
}

/* Decorative wave */
.hero-wave {
  margin-top: 26px;
  height: 64px;
  background: radial-gradient(110% 120% at 0% 0%, rgba(11, 42, 111, 0.18), transparent 60%),
    radial-gradient(110% 120% at 100% 0%, rgba(27, 84, 214, 0.18), transparent 60%);
  border-radius: 999px;
  filter: blur(0.2px);
}

/* Sections */
.section {
  padding: 45px 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid rgba(11, 18, 32, 0.06);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.section-head {
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.step-card {
  background: var(--card);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 18px;
}

.step-num {
  font-weight: 700;
  color: rgba(11, 42, 111, 0.7);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-size: 13px;
}
.step-card h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
}
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14.5px;
}

/* Capabilities grid */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.cap-card {
  background: var(--card);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 18px;
}

.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 42, 111, 0.10);
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 12px;
}

.cap-card h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
}
.cap-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14.5px;
}

/* Dashboards */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dash-card {
  background: var(--card);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  padding: 18px;
}
.dash-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}
.bullets li {
  margin: 6px 0;
}

.dash-foot {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 42, 111, 0.10);
  border: 1px solid rgba(11, 42, 111, 0.18);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}
.dash-pill-soft {
  background: rgba(11, 18, 32, 0.04);
  border-color: rgba(11, 18, 32, 0.10);
  color: rgba(11, 18, 32, 0.7);
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 16px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 15.5px;
}

.faq-a {
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.5px;
}

.faq-icon {
  font-weight: 700;
  color: var(--primary);
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 42, 111, 0.10);
}

/* CTA */
.section-cta {
  padding-top: 38px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(11, 42, 111, 0.12) 0%, rgba(255, 255, 255, 0.9) 55%, rgba(27, 84, 214, 0.10) 100%);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.cta-copy h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.cta-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(11, 18, 32, 0.06);
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.footer-brand .brand-name {
  font-size: 16px;
}
.footer-muted {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a {
  color: rgba(11, 18, 32, 0.74);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(11, 18, 32, 0.02);
}
.footer-links a:hover {
  border-color: rgba(11, 18, 32, 0.16);
  background: rgba(11, 42, 111, 0.06);
}

.footer-copy {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  padding: 16px;
}

.modal[data-open="true"] {
  display: grid;
}

.modal-dialog {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(11, 42, 111, 0.10), rgba(27, 84, 214, 0.08));
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.modal-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 0;
}

.modal-body {
  padding: 14px 16px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.5px;
}

.modal-actions {
  padding: 14px 16px 18px;
  display: flex;
  justify-content: flex-end;
}

/* Responsive */
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; }
  .header-cta { display: flex; }
  .nav-list { position: static; background: transparent; border: 0; box-shadow: none; padding: 0; width: auto; }

  /* Make hero columns consistent */
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(5, 1fr); }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .cta-box { grid-template-columns: 1.2fr 0.8fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
