/* ═══════════════════════════════════════════════════════════════════════
   SecodX Marketing Site — site.css  v2
   Theme: Light Enterprise — White × Navy × Gold × Cyan
   Stripe / Palantir aesthetic — trust, authority, precision
═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Variables ──────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-page:      #FFFFFF;
  --bg-soft:      #F8FAFC;
  --bg-subtle:    #F1F5F9;
  --bg-muted:     #E9EFF7;
  --bg-navy:      #0D1B3E;
  --bg-navy-deep: #081229;
  --bg-navy-mid:  #152347;

  /* Text */
  --text-primary:   #0D1B3E;
  --text-secondary: #4A5568;
  --text-muted:     #718096;
  --text-light:     #A0AEC0;
  --text-on-navy:   #E8EDF7;
  --text-on-navy-2: #94A8C8;

  /* Brand */
  --accent:       #D4A017;
  --accent-light: #F0C040;
  --accent-dim:   rgba(212,160,23,0.12);
  --accent-glow:  rgba(212,160,23,0.06);
  --cyan:         #0BBCD4;
  --cyan-dim:     rgba(11,188,212,0.1);
  --navy:         #0D1B3E;
  --navy-dim:     rgba(13,27,62,0.06);

  /* Borders */
  --border:       #E2E8F0;
  --border-mid:   #CBD5E0;
  --border-navy:  rgba(255,255,255,0.1);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(13,27,62,0.06), 0 1px 2px rgba(13,27,62,0.04);
  --shadow-md:  0 4px 16px rgba(13,27,62,0.08), 0 2px 6px rgba(13,27,62,0.04);
  --shadow-lg:  0 12px 40px rgba(13,27,62,0.12), 0 4px 12px rgba(13,27,62,0.06);
  --shadow-xl:  0 24px 64px rgba(13,27,62,0.16);

  /* Type */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Shape */
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --transition: 0.18s ease;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
}

.display-hero {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.display-section {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.text-accent     { color: var(--accent) !important; }
.text-cyan       { color: var(--cyan) !important; }
.text-navy       { color: var(--navy) !important; }
.text-muted-c    { color: var(--text-muted); }
.text-secondary-c{ color: var(--text-secondary); }
.font-mono       { font-family: var(--font-mono); }

/* ── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand img { height: 38px; mix-blend-mode: multiply; }

.nav-link {
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem !important;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover { color: var(--text-primary) !important; background: var(--bg-subtle); }
.nav-link.active { color: var(--navy) !important; font-weight: 600; }

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.35rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230D1B3E' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.lang-switcher {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
}

.lang-switcher:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.btn-demo-live {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan) !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-demo-live:hover {
  background: var(--cyan);
  color: #fff !important;
}

.btn-request-demo {
  background: var(--navy);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 1rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-request-demo:hover {
  background: var(--bg-navy-mid);
  box-shadow: var(--shadow-md);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary-accent {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary-accent:hover {
  background: var(--bg-navy-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary-outline {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.73rem 1.75rem;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-secondary-outline:hover {
  border-color: var(--navy);
  background: var(--navy-dim);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition), color var(--transition);
}

.btn-ghost:hover { gap: 0.5rem; color: var(--navy); }

/* ── Kicker / Label ─────────────────────────────────────────────────── */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-block;
}

.badge-icmf {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--accent-dim);
  color: #8B6500;
  border: 1px solid rgba(212,160,23,0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
}

.badge-blue {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--cyan-dim);
  color: #0893A8;
  border: 1px solid rgba(11,188,212,0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

.badge-navy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--navy-dim);
  color: var(--navy);
  border: 1px solid rgba(13,27,62,0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
}

/* ── Cards ───────────────────────────────────────────────────────────── */
.card-light {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card-light:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-light.card-featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  position: relative;
}

.card-light.card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-soft {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}

.card-soft:hover { box-shadow: var(--shadow-sm); }

/* ── Hero Section ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background: var(--bg-page);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(11,188,212,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cyan-dim);
  border: 1px solid rgba(11,188,212,0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #0893A8;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Screenshot frame */
.screenshot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  background: var(--bg-soft);
}

.screenshot-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

.frame-dots {
  position: absolute;
  top: 10px; left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.frame-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.frame-dots span:nth-child(1) { background: #FF5F57; }
.frame-dots span:nth-child(2) { background: #FFBD2E; }
.frame-dots span:nth-child(3) { background: #28CA41; }

.screenshot-frame img {
  display: block;
  width: 100%;
  margin-top: 31px;
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-navy {
  background: var(--bg-navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.section-navy::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(11,188,212,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.section-soft { background: var(--bg-soft); padding: 5rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header .kicker { margin-bottom: 0.6rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--text-secondary); max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Feature Icon ───────────────────────────────────────────────────── */
.feature-icon {
  width: 44px; height: 44px;
  background: var(--cyan-dim);
  border: 1px solid rgba(11,188,212,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-icon.gold {
  background: var(--accent-dim);
  border-color: rgba(212,160,23,0.3);
}

.feature-icon.navy {
  background: var(--navy-dim);
  border-color: rgba(13,27,62,0.15);
}

/* ── Stats ───────────────────────────────────────────────────────────── */
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.stat-number.cyan { color: var(--cyan); }

.stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: block;
}

/* ── Process Steps ───────────────────────────────────────────────────── */
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }

.step-number {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── ICMF Technique Cards ────────────────────────────────────────────── */
.icmf-category {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}

.icmf-category:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.icmf-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.icmf-fin  { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.icmf-aud  { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.icmf-auth { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.icmf-data { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }
.icmf-xsys { background: #FAF5FF; color: #7C3AED; border: 1px solid #DDD6FE; }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.price-main {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-period  { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }
.price-monthly { color: var(--cyan); font-size: 0.875rem; font-weight: 500; margin-top: 0.4rem; }

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-feature:last-child { border-bottom: none; }
.pricing-feature.highlight  { color: var(--text-primary); font-weight: 500; }
.pricing-feature .check     { color: var(--cyan); font-size: 0.8rem; margin-top: 0.15rem; flex-shrink: 0; }

/* ── Contact Form ────────────────────────────────────────────────────── */
.form-control-dark {
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius);
  width: 100%;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-control-dark::placeholder { color: var(--text-light); }

.form-control-dark:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(11,188,212,0.12);
}

.form-control-dark.is-invalid { border-color: #EF4444; }

.form-label-dark {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: block;
  letter-spacing: 0.01em;
}

.form-required { color: #EF4444; margin-left: 2px; }

/* ── Blog ────────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.blog-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }

.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 0.6rem;
  display: block;
}

.blog-title:hover { color: var(--cyan); }

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Blog post content */
.blog-content { color: var(--text-secondary); line-height: 1.85; font-size: 1rem; }
.blog-content h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--text-primary); }
.blog-content h3 { font-size: 1.15rem; margin: 2rem 0 0.75rem; color: var(--text-primary); }
.blog-content p  { margin-bottom: 1.25rem; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-content li { margin-bottom: 0.4rem; }

.blog-content pre {
  background: var(--bg-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--navy);
  background: var(--cyan-dim);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.blog-content pre code { color: #E2E8F0; background: transparent; padding: 0; }

.blog-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 1rem 1.5rem;
  background: var(--cyan-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.blog-content a { color: var(--cyan); }

/* ── Notices ─────────────────────────────────────────────────────────── */
.notice-accent {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #78350F;
  font-size: 0.875rem;
}

.notice-blue {
  background: var(--cyan-dim);
  border: 1px solid rgba(11,188,212,0.25);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #0E7490;
  font-size: 0.875rem;
}

/* ── ICMF Banner ─────────────────────────────────────────────────────── */
.icmf-banner {
  background: linear-gradient(135deg, #EFF6FF, #F0FDFA);
  border: 1px solid rgba(11,188,212,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Tables ──────────────────────────────────────────────────────────── */
.table-dark-custom { width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.table-dark-custom th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--border);
  text-align: left;
  background: var(--bg-soft);
}

.table-dark-custom td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.table-dark-custom tr:hover td { background: var(--bg-soft); }

/* ── Legal ───────────────────────────────────────────────────────────── */
.legal-content { max-width: 780px; color: var(--text-secondary); line-height: 1.85; }
.legal-content h2 { font-size: 1.15rem; color: var(--text-primary); margin: 2.5rem 0 0.75rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content p  { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a  { color: var(--cyan); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-navy);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer-logo img { height: 36px; mix-blend-mode: screen; filter: brightness(1.3); }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  color: var(--text-on-navy-2);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer-link:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── Tab Nav ─────────────────────────────────────────────────────────── */
.tab-nav {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-btn:hover  { color: var(--text-primary); background: var(--bg-page); }
.tab-btn.active { color: var(--navy); background: var(--bg-page); font-weight: 600; box-shadow: var(--shadow-sm); }

.tab-pane        { display: none; }
.tab-pane.active { display: block; }

/* ── Fade-up animation ───────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Toasts ──────────────────────────────────────────────────────────── */
.toast-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #15803D;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.toast-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* ── Spinner ─────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Skip link ───────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus { top: 0; }

/* ── Scrollbar ───────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── Utilities ───────────────────────────────────────────────────────── */
.container { max-width: 1160px; }
.bg-soft   { background: var(--bg-soft); }
.bg-navy   { background: var(--bg-navy); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero        { padding: 3.5rem 0 3rem; }
  .section     { padding: 3.5rem 0; }
  .section-navy, .section-soft { padding: 3.5rem 0; }
  .display-hero { font-size: 2rem; }
  .hero-ctas   { flex-direction: column; }
  .btn-primary-accent, .btn-secondary-outline { width: 100%; justify-content: center; }
  .icmf-banner { flex-direction: column; text-align: center; }
  .footer      { padding: 3rem 0 1.5rem; }
}

/* ── Copy button ─────────────────────────────────────────────────────── */
pre { position: relative; }

/* ── Navy section CTA buttons ────────────────────────────────────────── */
.cta-btn-white {
  background: #fff;
  color: var(--bg-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all var(--transition);
  border: none;
}
.cta-btn-white:hover {
  background: #E8EDF7;
  color: var(--bg-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.cta-btn-outline-white {
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: .73rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: all var(--transition);
  white-space: nowrap;
}
.cta-btn-outline-white:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  color: #fff;
}
