/* =========================================================
   Wolfe Defense Labs – Global Styles
   ========================================================= */

/* CSS Reset / Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  -webkit-font-smoothing: antialiased;
}

/* Layout wrapper */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Links / Buttons */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.08s ease-out;
}

.btn {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #020617;
  border-color: #0ea5e9;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.85),
    0 18px 45px rgba(8, 47, 73, 0.6);
}

.btn:hover {
  background: linear-gradient(135deg, #38bdf8, #4ade80);
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(8, 47, 73, 0.8);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.9);
  transform: translateY(-1px);
  text-decoration: none;
}

/* =========================================================
   Header & Navigation
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.96),
    rgba(2, 6, 23, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: radial-gradient(circle at 0% 0%, #22c55e, #0ea5e9);
  color: #020617;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.8),
    0 14px 35px rgba(8, 47, 73, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.85rem;
  flex: 1 1 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #cbd5f5;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
  text-decoration: none;
}

.nav-link--has-dropdown .nav-link-caret {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Dropdowns */

.nav-item--dropdown:hover .dropdown-menu,
.nav-item--dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0.25rem);
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.35rem;
  min-width: 260px;
  padding: 0.5rem;
  background: radial-gradient(circle at top left, #0b1120, #020617);
  border-radius: 0.9rem;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.1rem);
  transition:
    opacity 0.13s ease,
    transform 0.13s ease,
    visibility 0.13s ease;
  list-style: none;
  z-index: 50;
}

.dropdown-item {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  font-size: 0.84rem;
  color: #e5e7eb;
  text-decoration: none;
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(59, 130, 246, 0.7);
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================================
   Hero & Sections
   ========================================================= */

.hero {
  display: flex;
  gap: 2.4rem;
  justify-content: space-between;
  padding: 3rem 0 2.5rem;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
}

.hero-highlight {
  color: #38bdf8;
}

.hero-text {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  color: #cbd5f5;
  font-size: 0.98rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.75rem;
}

.badge-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
}

.hero-note {
  margin: 0.4rem 0 0;
  max-width: 34rem;
  font-size: 0.88rem;
  color: #9ca3af;
}

.hero-visual {
  flex: 0 0 38%;
  max-width: 400px;
  border-radius: 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.95);
}

/* Sections */

.section {
  padding: 2.75rem 0 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.4rem;
  margin: 0;
}

.section-subtitle {
  margin: 0;
  max-width: 32rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* =========================================================
   Grids & Cards
   ========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.inline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.card {
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  background: radial-gradient(circle at 0% 0%, #020617, #020617);
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.card p {
  margin: 0.35rem 0 0;
  color: #cbd5f5;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.85);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
  margin-bottom: 0.5rem;
}

/* Small tiles inside hero visuals */
.report-tile {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.97);
  padding: 0.5rem 0.6rem;
  color: #e5e7eb;
}

/* Generic two-column grid (used on some pages) */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

/* Exec summary layout (Section 1 only) */
.exec-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Section 1 – exec summary stats (only the three boxes: Critical issues, High issues, Day timeline) */
.stats--summary {
  align-self: flex-start;
}

.stats--summary .stat {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 1rem;
}

.stats--summary .stat-number {
  font-size: 1.25rem;
}

/* Add spacing between the exec-summary stat boxes and the cards below */
.exec-summary-grid + .cards-grid {
  margin-top: 1.8rem;   /* adjust to taste: 1.2–2.5rem works well */
}


/* Stats blocks */

.stats {
  display: grid;
  gap: 0.8rem;
}

.stat {
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.2), #020617);
  border: 1px solid rgba(56, 189, 248, 0.6);
}

.stat-number {
  font-weight: 600;
  font-size: 1.05rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #cbd5f5;
}

/* Lists */

.list {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #cbd5f5;
}

.list li {
  margin-bottom: 0.25rem;
}

/* CTA Banner */

.cta-banner {
  margin-top: 3rem;
  padding: 1.6rem 1.5rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(14, 165, 233, 0.9);
  background: radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.12), #020617);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.cta-banner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.cta-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: #cbd5f5;
}

/* =========================================================
   Contact Form
   ========================================================= */

.contact-form {
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.22), #020617);
  padding: 1.3rem 1.3rem 1.25rem;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #9ca3af;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.6rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.45rem 0.55rem;
  font-size: 0.88rem;
  color: #e5e7eb;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* =========================================================
   Tables – including Risk Summary (.simple-table)
   ========================================================= */

/* Let the browser handle table layout, just guide widths & look */
.simple-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;          /* consistent column widths */
}

/* basic cell styling */
.simple-table th,
.simple-table td {
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  vertical-align: top;
  white-space: normal;
  text-align: left;
}

/* header row */
.simple-table thead th {
  font-weight: 600;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(30, 64, 175, 0.9);
}

/* body row separators */
.simple-table tbody tr + tr td {
  border-top: 1px solid rgba(30, 64, 175, 0.4);
}

/* =========================================================
   Footer
   ========================================================= */

footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.7rem 1.5rem 2.2rem;
  margin-top: 3rem;
  background: radial-gradient(circle at 0% 0%, #020617, #020617);
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  font-size: 0.84rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: #6b7280;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    flex-direction: column;
  }

  .hero-visual {
    max-width: none;
    width: 100%;
  }

  .why-grid,
  .exec-summary-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pill--active {
  background: #1e293b;
  color: #fff;
  border-color: #60a5fa;
}
.card--note {
  transition: opacity .18s ease;
}
.card--note[style*="none"] {
  opacity:0;
}

