/* ═══════════════════════════════════════════════════════════════
   SWIFT AUDIENCE — Public Site Theme
   Matches app design system (global.css)
   Font: Inter · Brand: #1b8dc5
═══════════════════════════════════════════════════════════════ */

/* ── Design tokens (mirrors app global.css) ──────────────────── */
:root {
  --brand:          #1b8dc5;
  --brand-dark:     #156fa0;
  --brand-mid:      #2399d5;
  --brand-light:    #e3f4fb;
  --brand-xlight:   #f0f9fd;
  --teal:           #0891b2;
  --emerald:        #059669;
  --amber:          #d97706;
  --violet:         #7c3aed;
  --rose:           #e11d48;
  --bg:             #f0f5fa;
  --surface:        #ffffff;
  --surface-2:      #f7fafc;
  --border:         #dde6f0;
  --border-strong:  #bfcfdf;
  --text-1:         #0f1d2e;
  --text-2:         #3d5166;
  --text-3:         #7a94ab;
  --success:        #059669;
  --danger:         #dc2626;
  --radius:         0px;
  --shadow-sm:      0 1px 4px rgba(10,30,60,0.07);
  --shadow-md:      0 4px 14px rgba(10,30,60,0.09);
  --shadow-lg:      0 10px 28px rgba(10,30,60,0.12);

  /* Nav */
  --nav-bg:         #0f1d2e;
  --nav-h:          68px;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  margin-top: 0;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

/* ── Navbar ──────────────────────────────────────────────────── */
.sa-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
}

.sa-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sa-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sa-nav-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sa-nav-brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.sa-nav-brand-text sup {
  font-size: 0.55em;
  font-weight: 400;
}

.sa-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sa-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  border: 1.5px solid transparent;
}

.sa-nav-links a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.07);
}

.sa-nav-links .nav-cta {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  font-weight: 600;
}

.sa-nav-links .nav-cta:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
}

.sa-nav-links .nav-login {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}

.sa-nav-links .nav-login:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  color: #ffffff;
}

/* Mobile toggle */
.sa-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ── Hero / Banner sections ──────────────────────────────────── */
.sa-hero {
  background: linear-gradient(100deg, #1b8dc5 0%, #0a70a8 55%, #085d8f 100%);
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Geometric overlay (matches app page header) */
.sa-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
}

.sa-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.025);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
}

.sa-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.sa-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.25rem;
}

.sa-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.sa-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.sa-hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Slim hero for inner pages */
.sa-hero-slim {
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2.5rem;
}

.sa-hero-slim h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.01em;
}

.sa-btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.975rem;
}

.sa-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

.sa-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.sa-btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
  text-decoration: none;
}

.sa-btn-white {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}

.sa-btn-white:hover {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  text-decoration: none;
}

.sa-btn-ghost {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.sa-btn-ghost:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
  text-decoration: none;
}

/* ── Sections ────────────────────────────────────────────────── */
.sa-section {
  padding: 5rem 0;
}

.sa-section-alt {
  background: var(--bg);
}

.sa-section-dark {
  background: var(--nav-bg);
}

.sa-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sa-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sa-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
  display: block;
}

.sa-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.sa-section-header p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Brand cards (feature cards matching app .sa-feature-card) ── */
.sa-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.15s;
  height: 100%;
}

.sa-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sa-card-teal   { border-top-color: var(--teal); }
.sa-card-violet { border-top-color: var(--violet); }
.sa-card-amber  { border-top-color: var(--amber); }
.sa-card-emerald { border-top-color: var(--emerald); }

.sa-card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 1rem;
}

.sa-card-teal   .sa-card-icon { background: #e0f5f9; color: var(--teal); }
.sa-card-violet .sa-card-icon { background: #ede9fe; color: var(--violet); }
.sa-card-amber  .sa-card-icon { background: #fef3c7; color: var(--amber); }
.sa-card-emerald .sa-card-icon { background: #d1fae5; color: var(--emerald); }

.sa-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.sa-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* ── Logo grid (client/platform logos) ──────────────────────── */
.sa-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  align-items: center;
}

.sa-logo-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sa-logo-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.sa-logo-item img {
  max-height: 40px;
  width: auto;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.15s, opacity 0.15s;
}

.sa-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Pricing cards ───────────────────────────────────────────── */
.sa-pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.15s;
}

.sa-pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sa-pricing-card.featured {
  border-top-color: var(--brand);
  box-shadow: var(--shadow-md);
  position: relative;
}

.sa-pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
}

.sa-pricing-icon {
  font-size: 1.75rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.sa-pricing-card .featured .sa-pricing-icon { color: var(--brand); }

.sa-pricing-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.sa-pricing-price {
  margin-bottom: 1.25rem;
}

.sa-pricing-price .currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-2);
  vertical-align: super;
  line-height: 1;
}

.sa-pricing-price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-1);
}

.sa-pricing-price .period {
  font-size: 0.78rem;
  color: var(--text-3);
  display: block;
  margin-top: 0.15rem;
}

.sa-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
  flex: 1;
}

.sa-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.sa-pricing-features li:last-child { border-bottom: none; }

.sa-pricing-features li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Screenshots grid ────────────────────────────────────────── */
.sa-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.sa-screenshot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.sa-screenshot img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}

.sa-screenshot:hover img { transform: scale(1.03); }

.sa-screenshot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,141,197,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.sa-screenshot:hover .sa-screenshot-overlay { opacity: 1; }

.sa-screenshot-overlay i { color: #fff; font-size: 1.75rem; }

/* ── CTA section ─────────────────────────────────────────────── */
.sa-cta {
  background: linear-gradient(100deg, #1b8dc5 0%, #0a70a8 55%, #085d8f 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.sa-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
}

.sa-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
}

.sa-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.sa-cta p {
  color: rgba(255,255,255,0.72);
  font-size: 0.975rem;
  margin-bottom: 1.75rem;
}

.sa-cta-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  display: block;
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.sa-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.sa-faq-item:first-child {
  border-top: 1px solid var(--border);
}

.sa-faq-q {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.sa-faq-q::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.sa-faq-a {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  padding-left: 1.6rem;
  margin: 0;
}

.sa-faq-a a { color: var(--brand); }
.sa-faq-a a:hover { color: var(--brand-dark); }

/* ── Policy / text pages ─────────────────────────────────────── */
.sa-prose {
  max-width: 820px;
  margin: 0 auto;
}

.sa-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--brand-light);
  color: var(--text-1);
}

.sa-prose h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.sa-prose p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.sa-prose ul, .sa-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.sa-prose li {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

.sa-prose a { color: var(--brand); }

.sa-prose strong { color: var(--text-1); }

/* ── Footer ──────────────────────────────────────────────────── */
.sa-footer {
  background: var(--nav-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 0 0;
}

.sa-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sa-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.sa-footer-brand-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.sa-footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  max-width: 260px;
}

.sa-footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.875rem;
}

.sa-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sa-footer-links li {
  margin-bottom: 0.4rem;
}

.sa-footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: color 0.15s;
}

.sa-footer-links a:hover { color: #ffffff; }

.sa-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.58);
}

.sa-footer-contact-item i {
  color: var(--brand);
  width: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.sa-footer-contact-item a {
  color: rgba(255,255,255,0.58);
  transition: color 0.15s;
}

.sa-footer-contact-item a:hover { color: #ffffff; }

.sa-footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sa-footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── Maintenance page ────────────────────────────────────────── */
.sa-maintenance {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1d2e 0%, #1b3a55 50%, #0a70a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.sa-maintenance-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 2.5rem;
  max-width: 520px;
  width: 100%;
}

.sa-maintenance-icon {
  width: 60px; height: 60px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
  color: #fff;
}

.sa-maintenance h1 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.sa-maintenance p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* ── Demo / contact page form ────────────────────────────────── */
.sa-form-group {
  margin-bottom: 1rem;
}

.sa-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.35rem;
}

.sa-form-control {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.sa-form-control::placeholder { color: rgba(255,255,255,0.35); }

.sa-form-control:focus {
  border-color: var(--brand);
  background: rgba(255,255,255,0.11);
  box-shadow: 0 0 0 3px rgba(27,141,197,0.18);
}

textarea.sa-form-control { resize: vertical; min-height: 90px; }

/* ── Alert/notice boxes ──────────────────────────────────────── */
.sa-alert {
  padding: 0.875rem 1.1rem;
  font-size: 0.86rem;
  border-left: 3px solid var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.sa-alert-success {
  border-color: var(--success);
  background: #ecfdf5;
  color: var(--success);
}

.sa-alert-info {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* ── Checklist bullets ───────────────────────────────────────── */
.sa-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sa-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sa-checklist li:last-child { border-bottom: none; }

.sa-checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Modal overrides ─────────────────────────────────────────── */
.modal-content {
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 0;
}

.modal-header {
  background: linear-gradient(100deg, #1b8dc5 0%, #0d75aa 100%);
  border-bottom: none;
  padding: 1rem 1.25rem;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.modal-header .btn-close { filter: invert(1) opacity(0.8); }

.modal-footer {
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
}

/* Divider */
.sa-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Bootstrap 5 grid utility overrides ──────────────────────── */
.row { --bs-gutter-x: 1.5rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 992px) {
  .sa-nav-links { display: none; }
  .sa-nav-toggle { display: block; }

  .sa-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--nav-bg);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 0.25rem;
    z-index: 999;
  }

  .sa-nav-links.open a {
    padding: 0.65rem 1rem;
    width: 100%;
  }

  .sa-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sa-hero p { max-width: 100%; }
}

@media (max-width: 576px) {
  .sa-hero {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 3rem;
  }

  .sa-section { padding: 3.5rem 0; }

  .sa-hero-actions { flex-direction: column; }
  .sa-hero-actions .sa-btn { width: 100%; justify-content: center; }

  .sa-screenshots-grid { grid-template-columns: 1fr; }
}

/* ── Bootstrap 5 full-CSS override resets ────────────────────── */
/* Prevent Bootstrap from overriding our body/heading/link styles */
body { font-family: 'Inter', system-ui, sans-serif !important; background: var(--surface) !important; color: var(--text-1) !important; }
h1,h2,h3,h4,h5,h6 { font-family: 'Inter', system-ui, sans-serif !important; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* Keep Bootstrap modal mechanics but use our modal styles */
.modal-content { border-radius: 0 !important; border: 1px solid var(--border) !important; border-top: 3px solid var(--brand) !important; }
.modal-header { background: linear-gradient(100deg, #1b8dc5 0%, #0d75aa 100%) !important; border-bottom: none !important; padding: 0.875rem 1.25rem !important; border-radius: 0 !important; }
.modal-header h3 { color: #ffffff !important; font-size: 1rem !important; font-weight: 700 !important; margin: 0 !important; }
.modal-header .btn-close { filter: invert(1) brightness(2); }
.modal-footer { border-top: 1px solid var(--border) !important; }
.modal-body { color: var(--text-1); }

/* Prevent Bootstrap from overwriting our .sa-btn styles */
.sa-btn { border-radius: 0 !important; }

/* ── Hero network canvas background ─────────────────────────── */
#heroNetworkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
  pointer-events: auto;
}

.sa-hero-inner,
.sa-hero-badge,
.sa-hero h1,
.sa-hero p,
.sa-hero-actions {
  position: relative;
  z-index: 1;
}
