/* ============================================
   BBB Consumer Guide — Advanced Stylesheet
   https://bbb-reviews-complaints.com/
   ============================================ */

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

:root {
  --bbb-navy: #0a2540;
  --bbb-dark: #003366;
  --bbb-mid: #0055a4;
  --bbb-blue: #0066cc;
  --bbb-light: #4da6ff;
  --bbb-accent: #00d4aa;
  --bg: #f6f9fc;
  --bg-dark: #0a1628;
  --surface: #ffffff;
  --surface-glass: rgba(255,255,255,0.85);
  --text: #1a2b4a;
  --text-light: #5a6d8a;
  --text-muted: #8a9ab0;
  --border: rgba(0,51,102,0.08);
  --border-strong: rgba(0,51,102,0.15);
  --danger: #e74c3c;
  --warning: #f39c12;
  --success: #00d4aa;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,0.04);
  --shadow: 0 4px 24px rgba(10,37,64,0.08);
  --shadow-lg: 0 12px 48px rgba(10,37,64,0.12);
  --shadow-xl: 0 24px 80px rgba(10,37,64,0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--bbb-light);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bbb-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bbb-dark); }

/* ============================================
   UTILITY
   ============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 2rem; }

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--bbb-dark) 0%, var(--bbb-blue) 50%, var(--bbb-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,204,0.4); }
  50% { box-shadow: 0 0 0 20px rgba(0,102,204,0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bbb-navy);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,51,102,0.25);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bbb-blue);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--bbb-blue);
  background: rgba(0,102,204,0.05);
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-links a.active {
  color: var(--bbb-blue);
  background: rgba(0,102,204,0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(0,51,102,0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,51,102,0.4);
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--bbb-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bbb-navy) 0%, var(--bbb-dark) 40%, #001a33 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,102,204,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  color: var(--bbb-light);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-badge strong {
  display: block;
  font-size: 1.5rem;
  color: var(--bbb-dark);
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bbb-blue), var(--bbb-light));
  color: white;
  box-shadow: 0 8px 24px rgba(0,102,204,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,102,204,0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.btn-white {
  background: white;
  color: var(--bbb-dark);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--bbb-blue);
  border: 2px solid var(--bbb-blue);
}

.btn-outline:hover {
  background: var(--bbb-blue);
  color: white;
}

.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.1rem; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 1.25rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--bbb-blue); }
.breadcrumb a:hover { color: var(--bbb-dark); }
.breadcrumb span { margin: 0 0.5rem; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--surface); }
.section-dark {
  background: linear-gradient(135deg, var(--bbb-navy), var(--bbb-dark));
  color: white;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bbb-blue);
  background: rgba(0,102,204,0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--bbb-navy);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-dark .section-title { color: white; }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ============================================
   CARDS
   ============================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bbb-dark), var(--bbb-blue), var(--bbb-light));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,51,102,0.2);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bbb-navy);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Glass Card */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: flex;
  gap: 2rem;
  counter-reset: step;
}

.step {
  flex: 1;
  position: relative;
  padding-top: 3.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,51,102,0.3);
}

.step::after {
  content: '';
  position: absolute;
  top: 24px; left: 48px;
  width: calc(100% - 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--bbb-blue), transparent);
}

.step:last-child::after { display: none; }

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bbb-navy);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  transition: var(--transition);
}

.content-block:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bbb-navy);
  margin-bottom: 1.25rem;
}

.content-block p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.8;
}

.content-block ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.content-block li {
  margin-bottom: 0.75rem;
  position: relative;
}

.content-block li::marker {
  color: var(--bbb-blue);
}

.content-block img {
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  box-shadow: var(--shadow);
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bbb-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.alert-danger {
  background: #fef2f2;
  border-left: 4px solid var(--danger);
  color: #7f1d1d;
}

.alert-warning {
  background: #fffbeb;
  border-left: 4px solid var(--warning);
  color: #78350f;
}

.alert-info {
  background: #eff6ff;
  border-left: 4px solid var(--bbb-blue);
  color: var(--bbb-dark);
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--bbb-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-size: 1.05rem;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--bbb-blue);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
  background: linear-gradient(135deg, var(--bbb-navy), var(--bbb-dark));
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bbb-navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bbb-blue);
  box-shadow: 0 0 0 4px rgba(0,102,204,0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Form success/error messages */
.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--bbb-mid), var(--bbb-blue));
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

/* ============================================
   FEATURE GRID (for scam types, etc.)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bbb-blue);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bbb-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   IMAGE STYLES
   ============================================ */
.img-rounded { border-radius: var(--radius); }
.img-shadow { box-shadow: var(--shadow-lg); }
.img-float { animation: float 6s ease-in-out infinite; }

.img-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.img-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   RATING SCALE
   ============================================ */
.rating-scale {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: center;
}

.rating-box {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.9rem;
}

.rating-box.active {
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,51,102,0.25);
}

/* ============================================
   NAV PILLS (section tabs)
   ============================================ */
.nav-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.nav-pill {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}

.nav-pill:hover,
.nav-pill.active {
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,51,102,0.25);
}

/* ============================================
   TESTIMONIAL / QUOTE
   ============================================ */
.quote-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  border-left: 4px solid var(--bbb-blue);
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}

.quote-block blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.quote-block cite {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: normal;
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bbb-navy);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
}

.footer-desc {
  line-height: 1.8;
  max-width: 320px;
}

.footer-links h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 2rem; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
  .grid-3, .grid-4, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .feature-grid, .stats-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  .content-block { padding: 2rem; }
  .form-card { padding: 2rem; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .container, .container-sm { padding: 0 1.25rem; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--text);
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: rgba(0,102,204,0.05);
  color: var(--bbb-blue);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bbb-dark), var(--bbb-blue));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,51,102,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,51,102,0.4);
}
