/* Fortify Brief – Bootstrap 5 Clean Theme
   Requires Bootstrap 5.3+ to be loaded before this file.
   Plain white background, no gradient/fade text, solid blue CTAs.
=============================================================== */

/* Base reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;                 /* plain white */
  color: var(--bs-body-color);         /* Bootstrap default text color */
  line-height: 1.6;
  overflow-x: hidden;
}

/* Optional: disable background particles on white theme */
.bg-animation { display: none; }
.particle { display: none; }

/* Container (keep your max width helper) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* Header / Nav */
header {
  position: relative;
  z-index: 10;
  padding: 16px 0;
  background: var(--bs-body-bg);       /* white */
  border-bottom: 1px solid var(--bs-border-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--bs-emphasis-color);
  text-decoration: none;
  padding: .25rem .25rem;
  transition: color .15s ease-in-out;
}
.nav-links a:hover {
  color: var(--bs-primary);
}

/* Hero */
.hero {
  position: relative;
  z-index: 10;
  padding: 88px 0 96px;
  text-align: center;
  background: var(--bs-body-bg);
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--bs-emphasis-color);     /* solid text, no gradients */
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.25rem);
  color: var(--bs-secondary-color);
  margin: 0 auto 28px;
  max-width: 680px;
}

/* CTA buttons (map to Bootstrap styles; keep pill shape) */
.cta-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-primary {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 50rem;
  background-color: var(--bs-primary);   /* solid Bootstrap blue */
  border: 1px solid var(--bs-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.cta-primary:hover {
  background-color: var(--bs-primary-hover-bg, #0b5ed7);
  border-color: var(--bs-primary-border-subtle, #0a58ca);
  color: #fff;
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 50rem;
  background: transparent;
  border: 1px solid var(--bs-border-color);
  color: var(--bs-emphasis-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color .15s, border-color .15s, background-color .15s, transform .1s;
}
.cta-secondary:hover {
  background: var(--bs-secondary-bg);
  border-color: var(--bs-secondary);
  color: var(--bs-emphasis-color);
  transform: translateY(-1px);
}

.price-highlight {
  font-size: 1rem;
  color: var(--bs-primary);
  margin-top: 8px;
}

/* Features section */
.features {
  position: relative;
  z-index: 10;
  padding: 72px 0;
  background: var(--bs-body-bg);
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--bs-emphasis-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bs-body-bg);
  padding: 24px;
  border-radius: .75rem;
  border: 1px solid var(--bs-border-color);
  transition: transform .15s ease, border-color .15s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--bs-primary);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--bs-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--bs-emphasis-color);
}

.feature-card p {
  color: var(--bs-secondary-color);
}

/* Pricing */
.pricing {
  position: relative;
  z-index: 10;
  padding: 72px 0;
  text-align: center;
  background: var(--bs-body-bg);
}

.pricing h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--bs-emphasis-color);
}

.pricing-subtitle {
  font-size: 1rem;
  color: var(--bs-secondary-color);
  margin-bottom: 36px;
}

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bs-body-bg);
  padding: 40px 28px;
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: 8px;
}

.price-period {
  color: var(--bs-secondary-color);
  font-size: 1rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  color: var(--bs-body-color);
}
.pricing-features li:before {
  content: "✓";
  color: var(--bs-success);
  font-weight: 700;
  margin-right: 8px;
}

/* Footer */
footer {
  position: relative;
  z-index: 10;
  padding: 36px 0;
  text-align: center;
  background: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
}

.footer-content {
  color: var(--bs-secondary-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.footer-links a {
  color: var(--bs-secondary-color);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover {
  color: var(--bs-primary);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 72px; }
  .cta-container { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
}

/* =========================
   Sample Brief (Bootstrap)
   ========================= */

.brief-container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 40px auto 56px;
  padding: 28px;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
}

.brief-header {
  margin-bottom: 20px;
  text-align: center;
}

.brief-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--bs-emphasis-color);
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: .25rem;
}

.brief-badge {
  padding: .35rem .75rem;
  border-radius: 50rem;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  background: var(--bs-primary);
  border: 1px solid var(--bs-primary);
}

.brief-section { margin-bottom: 1.25rem; }
.brief-section h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
  color: var(--bs-primary);
}
.brief-section p,
.brief-section li { color: var(--bs-secondary-color); }

.brief-section ul { padding-left: 1rem; list-style: disc; }

.callout {
  border-left: 4px solid var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin: .75rem 0;
  color: var(--bs-primary-text);
}

/* Mitigation checklist */
.mitigation-list { list-style: none; padding-left: 0; }
.mitigation-list li {
  margin: .5rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--bs-body-color);
}
.mitigation-list li::before {
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  color: var(--bs-success);
  font-weight: 800;
}

/* Social post previews */
.post-previews {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: .75rem;
}
.post {
  border: 1px dashed var(--bs-border-color);
  border-radius: .5rem;
  padding: .75rem;
  background: var(--bs-body-bg);
}
.post .platform {
  font-size: .85rem;
  font-weight: 700;
  color: var(--bs-secondary);
  margin-bottom: .5rem;
}

/* =========================
   Onboarding Flow (Bootstrap)
   ========================= */

.onb-steps {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin: 24px auto;
  flex-wrap: wrap;
}

.onb-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 50rem;
  background: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-secondary-color);
  font-weight: 500;
}

.onb-step-index {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bs-secondary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.onb-step.is-active {
  border-color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text);
}
.onb-step.is-active .onb-step-index { background: var(--bs-primary); }

.onb-card {
  position: relative;
  z-index: 10;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
  padding: 24px;
  margin-bottom: 24px;
}

.onb-card.is-hidden { display: none; }

.onb-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: .25rem;
}

.onb-subtitle {
  color: var(--bs-secondary-color);
  margin-bottom: 1rem;
}

.onb-chip-search { margin: .5rem 0 1rem; }

.onb-input {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .5rem;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.chip-bank {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.chip {
  border-radius: 50rem;
  padding: .5rem 1rem;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-light-bg-subtle, #f8f9fa);
  color: var(--bs-emphasis-color);
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.chip:hover {
  background: var(--bs-secondary-bg);
}
.chip.is-selected {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.onb-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.onb-hint {
  font-size: .9rem;
  color: var(--bs-secondary-color);
}

.onb-next { min-width: 220px; }
.onb-refine { min-width: 200px; }

.onb-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}

.onb-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.mini-tag {
  padding: .25rem .5rem;
  border-radius: 50rem;
  background: var(--bs-light-bg-subtle, #f8f9fa);
  border: 1px solid var(--bs-border-color);
  font-size: .8rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
}

/* News preview cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
  padding: 16px;
}
.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--bs-emphasis-color);
}
.news-summary {
  color: var(--bs-secondary-color);
  font-size: .95rem;
  margin-bottom: .75rem;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.news-tags { display: flex; gap: .375rem; flex-wrap: wrap; }
.news-link {
  font-size: .9rem;
  color: var(--bs-primary);
  text-decoration: none;
}
.news-link:hover { text-decoration: underline; }

.onb-empty {
  text-align: center;
  padding: 1.25rem;
  border: 1px dashed var(--bs-border-color);
  border-radius: .5rem;
  background: var(--bs-body-bg);
  color: var(--bs-secondary-color);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .onb-title { font-size: 1.5rem; }
  .onb-actions { flex-direction: column; align-items: stretch; }
}