/* ================================================
   ThreeShield Information Security — Global CSS
   Fonts: Syne (display) + IBM Plex Sans (body)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy-900: #050b1a;
  --navy-800: #0A0F1E;
  --navy-700: #0D1B3E;
  --navy-600: #112554;
  --navy-500: #1a3468;
  --blue-500: #1E6FEB;
  --blue-400: #3d85f0;
  --blue-300: #6ba3f5;
  --lava: #E84B1F;
  --lava-light: #f06540;
  --amber: #F5A623;
  --green: #1fdb89;
  --text-primary: #E8EDF5;
  --text-secondary: #99AABB;
  --text-muted: #5a6880;
  --border: rgba(30, 111, 235, 0.2);
  --border-lava: rgba(232, 75, 31, 0.3);
  --card-bg: rgba(13, 27, 62, 0.6);
  --glass-bg: rgba(10, 15, 30, 0.7);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-blue: 0 0 40px rgba(30, 111, 235, 0.15);
  --shadow-lava: 0 0 40px rgba(232, 75, 31, 0.2);
  --font-display: 'Syne', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--navy-800);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grid overlay texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 111, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 111, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p { font-size: 1.0625rem; color: var(--text-secondary); }
a { color: var(--blue-400); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lava-light); }
strong { color: var(--text-primary); font-weight: 600; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Layout Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; position: relative; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.text-center { text-align: center; }
.text-lava { color: var(--lava); }
.text-blue { color: var(--blue-400); }
.text-amber { color: var(--amber); }
.text-green { color: var(--green); }

/* Grid systems */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Navigation ---- */
.ts-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 11, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.ts-nav.nav--scrolled {
  background: rgba(5, 11, 26, 0.97);
  box-shadow: var(--shadow-blue);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-shield { width: 34px; height: 40px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.logo-text strong { color: var(--blue-400); font-weight: 800; }
.logo-dot { color: var(--lava); font-size: 0.9em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.nav-link svg { width: 10px; height: 6px; }
.nav-link:hover, .nav-link--active { color: var(--text-primary); background: rgba(30, 111, 235, 0.1); }
.nav-link--highlight { color: var(--lava-light) !important; font-weight: 600; }
.nav-link--highlight:hover { background: rgba(232, 75, 31, 0.12) !important; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--lava);
  color: white !important;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  margin-left: 0.5rem;
  text-decoration: none;
}
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:hover { background: var(--lava-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232, 75, 31, 0.4); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-8px);
}
.nav-dropdown--open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-dropdown-menu a:hover { background: rgba(30, 111, 235, 0.12); color: var(--text-primary); }

.nav-lavawall-bar {
  background: linear-gradient(90deg, rgba(232,75,31,0.15), rgba(30,111,235,0.15));
  border-top: 1px solid var(--border-lava);
  text-align: center;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.nav-lavawall-bar a { color: var(--lava-light); font-weight: 500; }

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 97px;
    left: 0; right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    display: none;
    max-height: calc(100vh - 97px);
    overflow-y: auto;
  }
  .nav-menu--open { display: flex; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    display: none;
    background: var(--navy-800);
    margin-top: 0.25rem;
  }
  .nav-dropdown--open .nav-dropdown-menu { display: block; }
  .nav-link { width: 100%; justify-content: space-between; }
  .nav-cta { width: 100%; justify-content: center; margin: 0.5rem 0 0; }
}

/* ---- Hero Section ---- */
.hero {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(30, 111, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 75, 31, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lava);
  background: rgba(232, 75, 31, 0.12);
  border: 1px solid var(--border-lava);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title { margin-bottom: 1.25rem; }
.hero-title .accent { color: var(--lava); }
.hero-title .accent-blue { color: var(--blue-400); }
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trust-item svg { width: 16px; height: 16px; color: var(--green); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--lava);
  color: white;
}
.btn-primary:hover { background: var(--lava-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,75,31,0.4); color: white; }
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue-400); background: rgba(30,111,235,0.08); color: var(--text-primary); }
.btn-blue {
  background: var(--blue-500);
  color: white;
}
.btn-blue:hover { background: var(--blue-400); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,111,235,0.35); color: white; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ---- Cards ---- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: rgba(30,111,235,0.4); box-shadow: var(--shadow-blue); transform: translateY(-3px); }
.card--lava:hover { border-color: var(--border-lava); box-shadow: var(--shadow-lava); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,111,235,0.12);
  color: var(--blue-400);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.card-icon--lava { background: rgba(232,75,31,0.12); color: var(--lava); }
.card-icon--amber { background: rgba(245,166,35,0.12); color: var(--amber); }
.card-icon--green { background: rgba(31,219,137,0.12); color: var(--green); }
.card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.card p { font-size: 0.9rem; }

/* Stat card */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-card .stat-value .accent { color: var(--lava); }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Feature Lists ---- */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(31,219,137,0.15);
  border-radius: 50%;
  border: 1.5px solid var(--green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='%231fdb89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 0.1rem;
}

/* ---- Section Headers ---- */
.section-header { margin-bottom: 3.5rem; }
.section-header.text-center .section-subtitle { max-width: 600px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
}
.section-eyebrow--lava { color: var(--lava); }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-top: 0.75rem; }

/* ---- Dividers ---- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500), var(--lava), transparent);
  border: none;
  margin: 0;
  opacity: 0.5;
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-blue { background: rgba(30,111,235,0.12); color: var(--blue-300); border: 1px solid rgba(30,111,235,0.25); }
.badge-lava { background: rgba(232,75,31,0.12); color: var(--lava-light); border: 1px solid var(--border-lava); }
.badge-green { background: rgba(31,219,137,0.1); color: var(--green); border: 1px solid rgba(31,219,137,0.25); }
.badge-amber { background: rgba(245,166,35,0.12); color: var(--amber); border: 1px solid rgba(245,166,35,0.25); }

/* ---- Comparison Table ---- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table th {
  background: var(--navy-700);
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-display);
}
.compare-table th.col-ts { color: var(--lava); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(13,27,62,0.3); }
.compare-table td:first-child { color: var(--text-secondary); }
.compare-table .check { color: var(--green); }
.compare-table .cross { color: var(--text-muted); }
.compare-table .partial { color: var(--amber); }

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue-400); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-item--open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--blue-500);
  opacity: 0.3;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author .author-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-author .author-title { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 0.25rem; }

/* ---- CTA Sections ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,75,31,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- Form Styles ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--blue-400); background: rgba(30,111,235,0.05); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2399AABB' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--navy-700); }

/* ---- Process Steps ---- */
.process-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-500), var(--lava));
  opacity: 0.4;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 2px solid var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-400);
  z-index: 1;
}
.step-content h4 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.9rem; }

/* ---- Footer ---- */
.ts-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin: 0.75rem 0 1rem; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.cert-badge {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(30,111,235,0.15);
  border: 1px solid rgba(30,111,235,0.3);
  border-radius: 6px;
  color: var(--blue-300);
}
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a { font-size: 0.9rem; color: var(--text-secondary); }
.footer-contact a:hover { color: var(--lava-light); }
.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text-primary); }

.lavawall-badge-link {
  display: inline-block;
  margin-top: 1.5rem;
  text-decoration: none;
}
.lw-badge-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: rgba(232,75,31,0.1);
  border: 1px solid var(--border-lava);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lava-light);
}
.lw-badge-inner svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-legal, .footer-land-ack, .footer-commitment {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.footer-commitment a { color: var(--blue-400); }

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue-400); }
.breadcrumb span { opacity: 0.5; }

/* ---- Blog ---- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { border-color: rgba(30,111,235,0.4); transform: translateY(-3px); }
.blog-card-body { padding: 1.75rem; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--lava-light); }
.blog-card p { font-size: 0.875rem; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lava-light);
  margin-top: 1rem;
}

/* ---- Scroll Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

/* ---- Utility ---- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }

/* ---- Schema/AIO helper (invisible) ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   BLOG / ARTICLE PAGES
   ================================================================ */
.blog-article { padding: 3rem 0 5rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

.article-header { margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 2rem; }
.article-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.article-category { background: rgba(232,75,31,0.15); color: var(--lava-light); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.75rem; border-radius: 20px; border: 1px solid rgba(232,75,31,0.3); }
.article-read-time { font-size: 0.82rem; color: var(--text-muted); }
.article-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; line-height: 1.2; }
.article-lede { font-size: 1.15rem; line-height: 1.7; color: var(--text-light); font-weight: 300; margin-bottom: 1rem; }
.article-byline { font-size: 0.82rem; color: var(--text-muted); }

.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-light); }
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-bright); margin: 2.5rem 0 1rem; font-family: var(--font-display); }
.article-body h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-bright); margin: 2rem 0 0.75rem; }
.article-body p { margin-bottom: 1.4rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body strong { color: var(--text-bright); font-weight: 600; }

.article-cta { background: rgba(30,111,235,0.1); border: 1px solid rgba(30,111,235,0.3); border-radius: 12px; padding: 2rem; margin-top: 3rem; text-align: center; }
.article-cta p { margin-bottom: 1rem; }

.blog-related { padding: 4rem 0; }
.blog-related h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.alert-box { background: rgba(232,75,31,0.12); border-left: 4px solid var(--lava); border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin-bottom: 2rem; font-size: 0.95rem; color: var(--text-light); }
.alert-box strong { color: var(--lava-light); }

/* ================================================================
   SERVICE / COMPARISON COMPONENTS
   ================================================================ */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .two-col-grid { grid-template-columns: 1fr; } }

.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stack-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 1.2rem 1.5rem; }
.stack-item strong { display: block; color: var(--text-bright); font-size: 1rem; margin-bottom: 0.35rem; }
.stack-item span { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 768px) { .stack-grid { grid-template-columns: 1fr 1fr; } }

.industry-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .industry-split { grid-template-columns: 1fr; } }
.industry-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* Comparison visual for compliance page */
.comparison-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
@media (max-width: 900px) { .comparison-visual { grid-template-columns: 1fr; } }
.model-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1.25rem 0; }
.model-step { flex: 1; min-width: 120px; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 0.75rem 1rem; text-align: center; }
.model-step.bad { border: 1px solid rgba(232,75,31,0.25); }
.model-step.good { border: 1px solid rgba(31,219,137,0.25); }
.model-step .step-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.3rem; }
.model-step strong { display: block; font-size: 0.88rem; color: var(--text-bright); }
.model-step small { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }
.model-arrow { color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }
.model-total { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 0.75rem; }

/* Framework blocks on compliance page */
.framework-block { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 2rem; margin-bottom: 2rem; }
.framework-block:target { border-color: rgba(30,111,235,0.5); background: rgba(30,111,235,0.05); }
.framework-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.framework-badge { background: rgba(30,111,235,0.15); color: var(--electric); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.25rem 0.75rem; border-radius: 20px; border: 1px solid rgba(30,111,235,0.3); white-space: nowrap; }
.framework-block h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-bright); margin: 0; }
.framework-details { margin: 1rem 0 1.25rem 1.2rem; }
.framework-details li { font-size: 0.92rem; color: var(--text-light); margin-bottom: 0.5rem; }
.framework-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.framework-mini { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 1.25rem; }
.framework-mini strong { display: block; color: var(--text-bright); margin-bottom: 0.5rem; }
.framework-mini p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
@media (max-width: 768px) { .framework-mini-grid { grid-template-columns: 1fr 1fr; } }

/* ================================================================
   3-TIER SERVICE MODEL (DIY / SUPPORTED / DONE-FOR-YOU)
   ================================================================ */
.service-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2rem; }
@media (max-width: 900px) { .service-tiers { grid-template-columns: 1fr; } }

.tier-card { border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.tier-card .tier-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.tier-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-bright); margin: 0; }
.tier-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; line-height: 1.65; }
.tier-card .tier-for { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.tier-card ul { list-style: none; padding: 0; margin: 0; }
.tier-card ul li { font-size: 0.88rem; color: var(--text-light); padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: flex-start; gap: 0.5rem; }
.tier-card ul li:last-child { border-bottom: none; }
.tier-card ul li::before { content: '→'; color: var(--electric); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.05rem; }
.tier-card .btn { margin-top: auto; }

.tier-diy { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); }
.tier-diy .tier-label { color: var(--text-muted); }
.tier-supported { background: rgba(30,111,235,0.07); border: 1px solid rgba(30,111,235,0.25); }
.tier-supported .tier-label { color: var(--electric); }
.tier-done { background: rgba(245,166,35,0.07); border: 1px solid rgba(245,166,35,0.25); }
.tier-done .tier-label { color: var(--amber); }
.tier-done h3 { background: linear-gradient(90deg, var(--amber), var(--lava-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ================================================================
   ABOUT / CREDENTIALS COMPONENTS
   ================================================================ */
.credentials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (max-width: 768px) { .credentials-grid { grid-template-columns: 1fr; } }
.credential-card { padding: 2rem; }
.cred-badge { display: inline-block; background: var(--electric); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem; padding: 0.3rem 0.85rem; border-radius: 6px; margin-bottom: 0.75rem; }

.client-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .client-categories { grid-template-columns: 1fr 1fr; } }
.client-category h3 { font-size: 0.95rem; font-weight: 700; color: var(--electric); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.client-category ul { list-style: none; padding: 0; margin: 0; }
.client-category ul li { font-size: 0.88rem; color: var(--text-light); padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

.story-text p { font-size: 1.05rem; line-height: 1.85; color: var(--text-light); margin-bottom: 1.4rem; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }

.land-ack { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.land-ack-inner { max-width: 700px; margin: 0 auto; text-align: center; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; padding: 2rem 0; }

/* ================================================================
   MSP PARTNER COMPONENTS
   ================================================================ */
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (max-width: 768px) { .risk-grid { grid-template-columns: 1fr; } }
.risk-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }

.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (max-width: 768px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }

.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 900px) { .tiers-grid { grid-template-columns: 1fr; } }
.tier-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.25rem 0.75rem; border-radius: 20px; margin-bottom: 0.75rem; background: rgba(255,255,255,0.07); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
.tier-badge-featured { background: rgba(30,111,235,0.2); color: var(--electric); border-color: rgba(30,111,235,0.4); }
.btn-full { width: 100%; text-align: center; display: block; }
.client-types-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .client-types-grid { grid-template-columns: 1fr; } }

/* ================================================================
   COMPLIANCE / TRAINING HUB PAGES
   ================================================================ */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: 1fr; } }

.hub-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.5rem; text-decoration: none; transition: all 0.25s; display: flex; flex-direction: column; gap: 0.6rem; }
.hub-card:hover { background: rgba(30,111,235,0.08); border-color: rgba(30,111,235,0.35); transform: translateY(-3px); }
.hub-card .hub-badge { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--electric); }
.hub-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-bright); margin: 0; }
.hub-card p { font-size: 0.83rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.hub-card .hub-tag { font-size: 0.72rem; color: var(--amber); font-style: italic; }

.framework-page-hero { background: linear-gradient(160deg, rgba(30,111,235,0.12) 0%, transparent 60%); }

/* Requirement blocks */
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 768px) { .req-grid { grid-template-columns: 1fr; } }
.req-item { background: rgba(255,255,255,0.03); border-left: 3px solid var(--electric); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; }
.req-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0.35rem; }
.req-item p { font-size: 0.84rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* Who must comply table */
.applies-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.applies-tag { background: rgba(31,219,137,0.1); border: 1px solid rgba(31,219,137,0.25); color: var(--green); font-size: 0.82rem; padding: 0.3rem 0.85rem; border-radius: 20px; font-weight: 500; }

/* Penalty/risk callout */
.risk-callout { background: rgba(232,75,31,0.08); border: 1px solid rgba(232,75,31,0.2); border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; }
.risk-callout h4 { color: var(--lava-light); font-size: 0.95rem; margin-bottom: 0.5rem; }
.risk-callout p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* Training page specific */
.training-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 768px) { .training-outcomes { grid-template-columns: 1fr 1fr; } }
.outcome-item { text-align: center; padding: 1.25rem; background: rgba(255,255,255,0.03); border-radius: 10px; border: 1px solid rgba(255,255,255,0.07); }
.outcome-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.outcome-item strong { display: block; font-size: 0.88rem; color: var(--text-bright); }

/* Timeline / milestone component */
.timeline { position: relative; padding-left: 2rem; margin-top: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 0.5rem; top: 0; bottom: 0; width: 2px; background: rgba(30,111,235,0.3); }
.timeline-item { position: relative; margin-bottom: 1.75rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.6rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 8px rgba(30,111,235,0.5); }
.timeline-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-bright); margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.87rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* Lavawall evidence table */
.evidence-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.88rem; }
.evidence-table th { background: rgba(30,111,235,0.15); color: var(--text-bright); padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.evidence-table td { padding: 0.65rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--text-light); vertical-align: top; }
.evidence-table tr:hover td { background: rgba(255,255,255,0.02); }
.check-yes { color: var(--green); font-weight: 700; }
.check-partial { color: var(--amber); font-weight: 600; }
.check-no { color: var(--text-muted); }

/* ---- Wide nav dropdown (2-column) ---- */
.nav-dropdown-menu--wide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  min-width: 400px;
}
.nav-dropdown--open .nav-dropdown-menu--wide { display: grid; }
.nav-dropdown-section { display: flex; flex-direction: column; }
.nav-dropdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--electric);
  padding: 0.5rem 1rem 0.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0.25rem;
}
@media (max-width: 900px) {
  .nav-dropdown-menu--wide { grid-template-columns: 1fr; min-width: unset; }
}
