/* ============================================
   CreditClear Pro - Full Stylesheet v2
   ============================================ */

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #e0e7ff;
  --green: #16a34a;
  --green-light: #dcfce7;
  --orange: #ea580c;
  --orange-light: #ffedd5;
  --red: #dc2626;
  --yellow: #ca8a04;
  --purple: #7c3aed;
  --purple-light: #ede9fe;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --indigo: #4338ca;
  --experian: #e00;
  --equifax: #0066cc;
  --transunion: #00a0df;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.09), 0 20px 60px rgba(0,0,0,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; }
a { color: inherit; }
img { max-width: 100%; }

/* ── TOAST ─────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  display: flex; flex-direction: column; gap: 0.6rem; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--text); color: white;
  padding: 0.75rem 1.25rem; border-radius: 10px;
  font-size: 0.875rem; font-weight: 500;
  box-shadow: var(--shadow-md);
  pointer-events: all;
  animation: toastIn 0.3s ease;
  min-width: 280px; max-width: 380px;
}
.toast.success { background: #166534; border-left: 4px solid #22c55e; }
.toast.error { background: #7f1d1d; border-left: 4px solid #ef4444; }
.toast.info { background: #1e3a8a; border-left: 4px solid #3b82f6; }
.toast.warning { background: #78350f; border-left: 4px solid #f59e0b; }
.toast-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 1rem; padding: 0 0.2rem; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ── TOPBAR ─────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.topbar-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--purple)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; }
.brand-icon.small { width: 28px; height: 28px; font-size: 0.8rem; border-radius: 7px; }
.brand-text { display: flex; align-items: baseline; gap: 3px; }
.brand-name { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.brand-tag { font-size: 0.7rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.desktop-nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav-link { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border-radius: 8px; text-decoration: none; color: var(--text-muted); font-size: 0.875rem; font-weight: 500; transition: all 0.15s; white-space: nowrap; }
.nav-link:hover { background: var(--bg); color: var(--primary); }
.nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.nav-link i { font-size: 0.8rem; }
.topbar-right { display: flex; align-items: center; gap: 0.5rem; }
.mobile-menu-btn { display: none; background: none; border: 1px solid var(--border); padding: 0.4rem 0.65rem; border-radius: 8px; cursor: pointer; color: var(--text-muted); font-size: 1rem; transition: all 0.15s; }
.mobile-menu-btn:hover { background: var(--bg); }
.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--border); padding: 0.5rem 1.5rem 1rem; background: white; gap: 0.15rem; }
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 0.65rem 0.75rem; }

/* ── MAIN CONTENT ──────────────────────────── */
.main-content { max-width: 1300px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* ── FOOTER ────────────────────────────────── */
.site-footer { background: white; border-top: 1px solid var(--border); padding: 3rem 1.5rem 1.5rem; margin-top: 2rem; }
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.875rem; line-height: 1.5; max-width: 240px; }
.footer-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-badge { font-size: 0.72rem; font-weight: 600; background: var(--bg); border: 1px solid var(--border); padding: 0.25rem 0.625rem; border-radius: 50px; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.footer-links-col h5 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.875rem; }
.footer-links-col a, .footer-links-col p { display: block; font-size: 0.875rem; color: var(--text-muted); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.15s; }
.footer-links-col a:hover { color: var(--primary); }
.footer-links-col a i { margin-right: 0.3rem; font-size: 0.8rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; }
.footer-disclaimer { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.6; display: flex; align-items: flex-start; gap: 0.4rem; justify-content: center; }
.footer-copy { font-size: 0.78rem; color: #94a3b8; }

/* ── MODAL ─────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal-overlay.hidden { display: none; }
.modal-box { background: white; border-radius: 16px; padding: 2rem; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(-10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-icon { font-size: 2.5rem; text-align: center; margin-bottom: 0.75rem; }
.modal-box h3 { font-size: 1.15rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem; }
.modal-box p { font-size: 0.9rem; color: var(--text-muted); text-align: center; line-height: 1.6; }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; justify-content: flex-end; }

/* ── BUTTONS ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.25rem; border-radius: 9px; font-size: 0.9rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.15s; white-space: nowrap; line-height: 1; font-family: inherit; }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: 0.875rem 2rem; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: 0.35rem 0.875rem; font-size: 0.8rem; border-radius: 7px; }
.btn-icon { background: none; border: 1px solid var(--border); color: var(--text-muted); border-radius: 7px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; font-size: 0.8rem; }
.btn-icon:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 2px 8px rgba(79,70,229,0.3); }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(79,70,229,0.4); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: white; color: var(--primary); font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.btn-white:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-outline-green { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline-green:hover { background: var(--green-light); }
.btn-add-item { display: flex; align-items: center; gap: 0.5rem; background: var(--primary-light); color: var(--primary); border: 2px dashed var(--primary); border-radius: var(--radius); padding: 0.875rem 1.5rem; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.15s; width: 100%; justify-content: center; font-family: inherit; }
.btn-add-item:hover { background: white; box-shadow: var(--shadow); }
.btn-text { background: none; border: none; color: var(--primary); font-size: 0.8rem; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 0.25rem; font-family: inherit; }
.btn-remove-item { background: none; border: 1px solid var(--border); color: var(--text-muted); border-radius: 6px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; font-size: 0.8rem; }
.btn-remove-item:hover { background: #fee2e2; border-color: #fca5a5; color: var(--red); }
.btn-duplicate-item { background: none; border: 1px solid var(--border); color: var(--text-muted); border-radius: 6px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; font-size: 0.78rem; }
.btn-duplicate-item:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* ── BADGES ─────────────────────────────────── */
.badge-secure { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--green-light); color: var(--green); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; border: 1px solid #86efac; }

/* ── HERO SECTION ───────────────────────────── */
.hero-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--purple-light)); opacity: 0.5; }
.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.shape-3 { width: 200px; height: 200px; top: 40%; right: 38%; opacity: 0.25; }
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--primary-light); color: var(--primary); padding: 0.3rem 0.9rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; line-height: 1.12; color: var(--text); margin-bottom: 1rem; letter-spacing: -0.02em; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; margin-bottom: 1.75rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-trust span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 0.35rem; }
.hero-trust i { color: var(--green); }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; background: white; border-radius: var(--radius); box-shadow: var(--shadow); width: fit-content; border: 1px solid var(--border); }
.stat-item { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-number { font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Score Card Preview */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.float-anim { animation: floatUpDown 4s ease-in-out infinite; }
@keyframes floatUpDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.score-card-preview { background: white; border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 340px; border: 1px solid var(--border); }
.score-card-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.score-gauge-wrap { position: relative; display: flex; justify-content: center; margin-bottom: 0.5rem; }
.score-gauge-value { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.score-big { font-size: 2.2rem; font-weight: 900; color: var(--text); line-height: 1; }
.score-label-sm { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.good-label { color: var(--yellow); }
.score-bureaus { display: flex; gap: 0.5rem; margin: 0.75rem 0; }
.bureau-mini { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0.5rem; border-radius: 8px; font-size: 0.72rem; }
.bureau-mini span { color: var(--text-muted); font-size: 0.68rem; }
.bureau-mini strong { font-size: 1rem; font-weight: 800; }
.bureau-mini.experian { background: #fff0f0; } .bureau-mini.experian strong { color: var(--experian); }
.bureau-mini.equifax { background: #f0f5ff; } .bureau-mini.equifax strong { color: var(--equifax); }
.bureau-mini.transunion { background: #f0f9ff; } .bureau-mini.transunion strong { color: var(--transunion); }
.score-trend { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); padding-top: 0.75rem; border-top: 1px solid var(--border); }
.trend-up { color: var(--green); }

/* Floating Badges */
.float-badge { position: absolute; background: white; border-radius: 50px; padding: 0.5rem 0.875rem; font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.4rem; border: 1px solid var(--border); animation: floatBadge 5s ease-in-out infinite; }
.badge-1 { top: 10%; right: -10px; animation-delay: 0.5s; }
.badge-2 { bottom: 20%; left: -20px; animation-delay: 1.5s; }
@keyframes floatBadge { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(1deg); } }

/* Trust Bar */
.trust-bar { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0.875rem 0; margin: 0 -1.5rem; }
.trust-bar-inner { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.trust-bar-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.trust-logos { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.trust-logo { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }
.trust-logo i { color: var(--primary); }

/* ── SECTIONS ───────────────────────────────── */
.section { padding: 4rem 0; }
.section-inner { max-width: 100%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 0.25rem 0.875rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.75rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--text); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card { background: white; border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); position: relative; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-number { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 2.5rem; font-weight: 900; color: var(--border); line-height: 1; }
.step-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white; margin-bottom: 1.25rem; }
.bg-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.bg-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.bg-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.bg-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 1rem; }
.step-link { color: var(--primary); font-size: 0.85rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.15s; }
.step-link:hover { gap: 0.5rem; }

/* Features */
.features-section { background: white; border-radius: 20px; padding: 3rem 2.5rem; border: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); transition: all 0.2s; }
.feature-card:hover { background: white; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 0.875rem; }
.feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Testimonials */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: white; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; }
.testimonial-card.featured-testimonial { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-md); }
.testimonial-badge { position: absolute; top: -12px; left: 1.5rem; background: var(--primary); color: white; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: 50px; }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.875rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.875rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-score-gain { position: absolute; bottom: 1.25rem; right: 1.25rem; background: var(--green-light); color: var(--green); font-size: 0.78rem; font-weight: 800; padding: 0.2rem 0.625rem; border-radius: 50px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card { background: white; border-radius: 16px; padding: 2rem; border: 1.5px solid var(--border); box-shadow: var(--shadow); position: relative; }
.pricing-card.pricing-featured { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light), var(--shadow-md); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--purple)); color: white; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 1rem; border-radius: 50px; white-space: nowrap; }
.pricing-header { text-align: center; margin-bottom: 1.5rem; }
.pricing-header h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.price-amount { font-size: 2.5rem; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 0.25rem; }
.price-amount sup { font-size: 1.2rem; vertical-align: super; color: var(--text-muted); }
.price-amount sub { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-header p { font-size: 0.85rem; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; }
.pricing-features li i.fa-check { color: var(--green); font-size: 0.8rem; }
.pricing-features li i.fa-times { color: #d1d5db; font-size: 0.8rem; }
.pricing-features li.disabled { color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.5rem; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; background: white; cursor: pointer; font-size: 0.95rem; font-weight: 600; border: none; text-align: left; transition: background 0.15s; gap: 1rem; font-family: inherit; color: var(--text); }
.faq-question:hover { background: var(--bg); }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-icon { flex-shrink: 0; transition: transform 0.25s; color: var(--text-muted); font-size: 0.85rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 1.25rem; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0.875rem 1.25rem 1.25rem; }
.faq-answer p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--primary), var(--purple)); border-radius: 20px; padding: 3rem; margin-top: 2rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-text h2 { font-size: 1.75rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.cta-text p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.cta-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── PAGE HEADER ────────────────────────────── */
.page-header { background: white; border-radius: var(--radius); padding: 1.5rem 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.page-header-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.page-header-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white; }
.page-header h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.page-header p { color: var(--text-muted); font-size: 0.875rem; }

/* ── FORM PROGRESS BAR ──────────────────────── */
.form-progress-bar { display: flex; align-items: center; background: white; border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.progress-step { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.progress-step.active { color: var(--primary); }
.progress-step.done { color: var(--green); }
.ps-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.progress-step.active .ps-dot { border-color: var(--primary); background: var(--primary); color: white; }
.progress-step.done .ps-dot { border-color: var(--green); background: var(--green); color: white; }
.progress-connector { flex: 1; height: 2px; background: var(--border); margin: 0 0.75rem; }

/* ── FORM LAYOUT ────────────────────────────── */
.form-page-layout { display: grid; grid-template-columns: 270px 1fr; gap: 1.5rem; align-items: start; }
.form-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 80px; }
.form-main { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card { background: white; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.sidebar-card h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-card.security-note { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #86efac; }
.sidebar-card.security-note h4 { color: var(--green); }
.sidebar-card.security-note p { font-size: 0.85rem; color: #166534; line-height: 1.5; }
.form-card { background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-card-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.form-card-header h3 { font-size: 1rem; font-weight: 700; flex: 1; }
.form-card-step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: white; font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-card-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; margin-top: -0.75rem; line-height: 1.6; }
.required-note { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }

/* Fields */
.field-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field-group:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.required { color: var(--red); }
.form-input { border: 1.5px solid var(--border); border-radius: 8px; padding: 0.6rem 0.875rem; font-size: 0.9rem; background: white; color: var(--text); width: 100%; transition: border-color 0.15s, box-shadow 0.15s; font-family: inherit; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.field-hint { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.input-icon-wrap { position: relative; }
.input-icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; pointer-events: none; }
.icon-input { padding-left: 2.5rem; }
.toggle-pass { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; padding: 0.2rem; }
.toggle-pass:hover { color: var(--primary); }
.input-prefix-wrap { position: relative; }
.input-prefix { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 600; font-size: 0.9rem; pointer-events: none; }
.form-input.pl { padding-left: 1.75rem; }

/* Score inputs */
.score-input-wrap { display: flex; gap: 0.5rem; align-items: center; }
.score-input { font-size: 1.1rem; font-weight: 700; }
.score-indicator { background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px; padding: 0.6rem 0.875rem; font-size: 0.85rem; font-weight: 700; white-space: nowrap; min-width: 100px; text-align: center; transition: all 0.2s; }
.rating-very-poor { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.rating-fair { background: #ffedd5; border-color: #fdba74; color: #9a3412; }
.rating-good { background: #fef9c3; border-color: #fde047; color: #713f12; }
.rating-very-good { background: #dcfce7; border-color: #86efac; color: #14532d; }
.rating-exceptional { background: #d1fae5; border-color: #6ee7b7; color: #064e3b; }

/* Score preview on report */
.score-preview-row { display: flex; align-items: center; gap: 1.5rem; background: var(--bg); border-radius: var(--radius); padding: 1rem 1.25rem; border: 1px solid var(--border); margin-top: 0.75rem; }
.score-preview-gauge { display: flex; flex-direction: column; align-items: center; }

/* Mini scale in sidebar */
.mini-scale { display: flex; flex-direction: column; gap: 0.4rem; }
.mini-scale-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; }
.mini-scale-row .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mini-scale-row strong { font-size: 0.82rem; }
.mini-scale-row span { color: var(--text-muted); font-size: 0.78rem; margin-left: auto; }
.dot.red { background: #ef4444; } .dot.orange { background: #f97316; } .dot.yellow { background: #eab308; } .dot.lime { background: #84cc16; } .dot.green { background: #22c55e; }

/* Item count sidebar */
.item-count-display { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.5rem; }
.count-big { font-size: 2.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.count-label { font-size: 0.85rem; color: var(--text-muted); }
.bureau-summary-mini { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.25rem; }

/* Bureau Checkboxes */
.bureau-checkboxes { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.check-pill { display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; border-radius: 50px; border: 1.5px solid var(--border); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.15s; user-select: none; }
.check-pill:hover { border-color: var(--primary); background: var(--primary-light); }
.check-pill input { display: none; }
.check-pill.exp:has(input:checked) { background: #fee2e2; border-color: var(--experian); color: var(--experian); }
.check-pill.eqf:has(input:checked) { background: #dbeafe; border-color: var(--equifax); color: var(--equifax); }
.check-pill.tru:has(input:checked) { background: #e0f2fe; border-color: var(--transunion); color: var(--transunion); }
.exp-dot { color: var(--experian); font-size: 0.5rem; }
.eqf-dot { color: var(--equifax); font-size: 0.5rem; }
.tru-dot { color: var(--transunion); font-size: 0.5rem; }

/* Negative items */
.negative-item { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; background: #fafbfc; transition: border-color 0.2s, box-shadow 0.2s; }
.negative-item:hover { border-color: #c7d2fe; box-shadow: 0 2px 12px rgba(79,70,229,0.06); }
.item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.item-num-badge { font-size: 0.78rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; background: var(--primary-light); padding: 0.2rem 0.6rem; border-radius: 50px; }
.item-type-badge { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); background: var(--bg); padding: 0.15rem 0.5rem; border-radius: 50px; border: 1px solid var(--border); }

/* Consent */
.consent-card { background: #f8fafc; border: 1.5px solid var(--border); }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-size: 0.875rem; line-height: 1.6; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
.auth-text { background: var(--bg); border-radius: 8px; padding: 1rem 1.25rem; font-size: 0.875rem; line-height: 1.75; color: var(--text-muted); }
.auth-text p { margin-bottom: 0.5rem; } .auth-text ul { padding-left: 1.2rem; } .auth-text li { margin-bottom: 0.25rem; }

/* Form Actions */
.form-actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.form-actions.tight { align-items: flex-start; }
.submit-note { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }

/* Success / Review */
.success-banner { display: flex; align-items: flex-start; gap: 1.25rem; background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 1.5px solid #86efac; border-radius: var(--radius); padding: 1.5rem; }
.success-banner.hidden { display: none; }
.success-icon { font-size: 2rem; color: var(--green); flex-shrink: 0; }
.success-banner h4 { font-weight: 700; color: #166534; margin-bottom: 0.25rem; }
.success-banner p { font-size: 0.875rem; color: #15803d; }
.review-card { border-color: var(--primary-light); }

/* Info list */
.info-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.85rem; }
.info-list li { display: flex; align-items: center; gap: 0.5rem; }
.text-green { color: var(--green); } .text-blue { color: var(--blue); } .text-orange { color: var(--orange); } .text-purple { color: var(--purple); } .text-yellow { color: var(--yellow); }

/* ── SECURITY BANNER ────────────────────────── */
.security-banner { background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fcd34d; border-radius: var(--radius); padding: 0.875rem 1.5rem; margin-bottom: 1.5rem; }
.security-banner-inner { display: flex; justify-content: center; }
.security-items { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.sec-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: #92400e; }

/* Credential Strength */
.strength-overview-card {}
.credential-strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cs-item { display: flex; flex-direction: column; gap: 0.4rem; }
.cs-bureau-name { font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 0.35rem; }
.experian-color { color: var(--experian); } .equifax-color { color: var(--equifax); } .transunion-color { color: var(--transunion); }
.cs-bar-wrap { height: 8px; background: var(--border); border-radius: 50px; overflow: hidden; }
.cs-bar { height: 100%; border-radius: 50px; background: var(--border); transition: width 0.4s ease, background 0.4s; width: 0%; }
.cs-label { font-size: 0.75rem; color: var(--text-muted); }

/* Bureau form cards */
.bureau-form-card { overflow: hidden; padding: 0; }
.bureau-card-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; }
.experian-header { background: linear-gradient(135deg, #fff0f0, #fee2e2); }
.equifax-header { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.transunion-header { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.bureau-logo { display: flex; align-items: center; gap: 0.75rem; }
.bureau-logo-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: white; }
.exp-icon-bg { background: var(--experian); }
.eqf-icon-bg { background: var(--equifax); }
.tru-icon-bg { background: var(--transunion); }
.bureau-form-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0; }
.bureau-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.pending { background: #d1d5db; } .status-dot.connected { background: var(--green); }

/* Field strength bar */
.field-strength-bar-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); padding: 0.5rem 0; }
.field-strength-bar { flex: 1; height: 6px; background: var(--border); border-radius: 50px; overflow: hidden; }
.field-strength-fill { height: 100%; border-radius: 50px; background: var(--border); transition: width 0.35s, background 0.35s; width: 0%; }
.strength-label { min-width: 70px; font-size: 0.78rem; font-weight: 700; }

/* Bureau links */
.bureau-links { display: flex; flex-direction: column; gap: 0.5rem; }
.bureau-ext-link { display: flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.75rem; border-radius: 7px; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: all 0.15s; }
.bureau-ext-link.exp { background: #fee2e2; color: var(--experian); } .bureau-ext-link.exp:hover { background: #fecaca; }
.bureau-ext-link.eqf { background: #dbeafe; color: var(--equifax); } .bureau-ext-link.eqf:hover { background: #bfdbfe; }
.bureau-ext-link.tru { background: #e0f2fe; color: var(--transunion); } .bureau-ext-link.tru:hover { background: #bae6fd; }

/* ── TRACKER ────────────────────────────────── */
.tracker-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.tracker-entry-panel, .tracker-chart-panel { display: flex; flex-direction: column; gap: 1.25rem; }

/* Milestones */
.milestones-bar { background: white; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; overflow-x: auto; }
.milestones-label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 0.35rem; }
.milestones-list { display: flex; gap: 0.5rem; }
.milestone-badge { display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; border: 1.5px solid; white-space: nowrap; transition: all 0.2s; cursor: default; }
.milestone-badge.locked { background: #f1f5f9; border-color: var(--border); color: #94a3b8; }
.milestone-badge.unlocked { background: #fef9c3; border-color: #fde047; color: #854d0e; animation: milestoneUnlock 0.5s ease; }
.milestone-badge.unlocked i { color: var(--yellow); }
@keyframes milestoneUnlock { 0% { transform: scale(0.8); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

/* Score gauge display */
.score-display-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.score-gauges-row { display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem; margin-bottom: 0.5rem; }
.bureau-gauge-item { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.bureau-gauge-item.main-gauge { transform: scale(1.1); }
.gauge-label { font-size: 0.72rem; font-weight: 700; }
.exp-color { color: var(--experian); } .eqf-color { color: var(--equifax); } .tru-color { color: var(--transunion); }
.gauge-score { font-size: 1.2rem; font-weight: 900; color: var(--text); }
.gauge-score.large { font-size: 1.7rem; }
.gauge-rating { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; }
.gauge-change { font-size: 0.72rem; font-weight: 700; min-height: 16px; }
.gauge-change.pos { color: var(--green); } .gauge-change.neg { color: var(--red); }
.equifax-gauge-center { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; margin-top: 0.5rem; }

/* Change display */
.change-display { border: 1.5px solid var(--border); border-radius: 8px; padding: 0.6rem 0.875rem; font-size: 1rem; font-weight: 700; text-align: center; background: var(--bg); transition: all 0.2s; }
.change-positive { color: var(--green); border-color: #86efac; background: #f0fdf4; }
.change-negative { color: var(--red); border-color: #fca5a5; background: #fff0f0; }

/* History Table */
.history-table-wrap { overflow-x: auto; }
.history-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.history-table th { padding: 0.6rem 0.75rem; text-align: left; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); border-bottom: 2px solid var(--border); text-transform: uppercase; letter-spacing: 0.04em; }
.history-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.history-table tr:last-child td { border-bottom: none; }
.history-table tbody tr:hover td { background: var(--bg); }
.change-cell.pos { color: var(--green); font-weight: 700; } .change-cell.neg { color: var(--red); font-weight: 700; }
.bureau-badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.bureau-badge.experian { background: #fee2e2; color: var(--experian); }
.bureau-badge.equifax { background: #dbeafe; color: var(--equifax); }
.bureau-badge.transunion { background: #e0f2fe; color: var(--transunion); }
.rating-badge { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }

/* Chart */
.chart-container { position: relative; height: 220px; margin: 0.5rem 0; }
.chart-controls { display: flex; gap: 0.25rem; margin-left: auto; }
.chart-filter-btn { padding: 0.25rem 0.625rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; border: 1.5px solid var(--border); background: white; cursor: pointer; transition: all 0.15s; color: var(--text-muted); font-family: inherit; }
.chart-filter-btn.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.chart-legend { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding-top: 0.5rem; }
.legend-item { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.legend-item::before { content: ''; width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.experian-dot::before { background: #ef4444; } .equifax-dot::before { background: #3b82f6; } .transunion-dot::before { background: #0ea5e9; } .projection-dot::before { background: #a78bfa; border: 1px dashed #7c3aed; }

/* Score scale */
.score-scale { display: flex; flex-direction: column; gap: 0.625rem; }
.scale-item { display: flex; align-items: center; gap: 0.875rem; }
.scale-bar { height: 10px; border-radius: 5px; flex-shrink: 0; }
.scale-bar.very-poor { background: #ef4444; width: 45px; }
.scale-bar.fair { background: #f97316; width: 60px; }
.scale-bar.good { background: #eab308; width: 75px; }
.scale-bar.very-good { background: #84cc16; width: 90px; }
.scale-bar.exceptional { background: #22c55e; width: 110px; }
.scale-info { display: flex; flex-direction: column; gap: 0.05rem; min-width: 80px; }
.scale-info strong { font-size: 0.85rem; } .scale-info span { font-size: 0.78rem; color: var(--text-muted); }
.scale-impact { font-size: 0.75rem; color: var(--text-muted); margin-left: auto; text-align: right; }

/* Projection */
.projection-content-inner { display: flex; flex-direction: column; gap: 0.75rem; }
.projection-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.875rem; background: var(--bg); border-radius: 8px; border: 1px solid var(--border); font-size: 0.875rem; }
.projection-row strong { color: var(--purple); }

/* Summary stats */
.summary-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; }
.summary-stat { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; background: var(--bg); border-radius: 10px; border: 1px solid var(--border); }
.summary-stat i { font-size: 1.2rem; flex-shrink: 0; }
.stat-val { display: block; font-size: 1.2rem; font-weight: 900; line-height: 1; }
.stat-lbl { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* Goal */
.goal-section { padding: 1rem; background: var(--primary-light); border-radius: 10px; border: 1px solid #c7d2fe; }
.goal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-size: 0.875rem; }
.goal-progress-bar-wrap { display: flex; align-items: center; gap: 0.75rem; }
.goal-progress-bar { flex: 1; height: 8px; background: white; border-radius: 50px; overflow: hidden; }
.goal-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--purple)); border-radius: 50px; transition: width 0.5s ease; }
.goal-progress-bar-wrap span { font-size: 0.8rem; font-weight: 700; color: var(--primary); min-width: 35px; }
.goal-msg { font-size: 0.8rem; color: var(--primary); margin-top: 0.5rem; font-weight: 500; }

/* Score Unlocks */
.score-unlocks { display: flex; flex-direction: column; gap: 0.5rem; }
.unlock-item { display: flex; align-items: center; gap: 0.875rem; padding: 0.75rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); transition: all 0.2s; }
.unlock-item.active { background: var(--green-light); border-color: #86efac; }
.unlock-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--bg); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.unlock-item.active .unlock-icon { background: var(--green); border-color: var(--green); color: white; }
.locked-icon { color: var(--text-muted); }
.unlock-text { flex: 1; }
.unlock-text strong { font-size: 0.875rem; display: block; }
.unlock-text span { font-size: 0.78rem; color: var(--text-muted); }
.unlock-range { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.unlock-item.active .unlock-range { color: var(--green); }

/* ── DASHBOARD ──────────────────────────────── */
.alert-banner { display: flex; align-items: center; gap: 0.75rem; background: #fef3c7; border: 1px solid #fcd34d; border-radius: var(--radius); padding: 0.875rem 1.25rem; margin-bottom: 1.25rem; font-size: 0.875rem; font-weight: 600; color: #92400e; }
.alert-close { margin-left: auto; background: none; border: none; cursor: pointer; color: #92400e; font-size: 1rem; }
.dashboard-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.dash-stat-card { background: white; border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; border-left-width: 4px; position: relative; }
.dash-stat-card.blue { border-left-color: var(--blue); } .dash-stat-card.green { border-left-color: var(--green); } .dash-stat-card.purple { border-left-color: var(--purple); } .dash-stat-card.orange { border-left-color: var(--orange); }
.dash-stat-icon { font-size: 1.4rem; flex-shrink: 0; }
.dash-stat-card.blue .dash-stat-icon { color: var(--blue); } .dash-stat-card.green .dash-stat-icon { color: var(--green); } .dash-stat-card.purple .dash-stat-icon { color: var(--purple); } .dash-stat-card.orange .dash-stat-icon { color: var(--orange); }
.dash-stat-num { font-size: 1.8rem; font-weight: 900; display: block; line-height: 1; }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.dash-stat-trend { position: absolute; top: 0.75rem; right: 0.875rem; font-size: 0.72rem; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.dashboard-col { display: flex; flex-direction: column; gap: 1.25rem; }
.mini-chart-wrap { position: relative; height: 160px; }
.dash-score-footer { border-top: 1px solid var(--border); padding-top: 0.875rem; margin-top: 0.5rem; }
.bureau-mini-row { display: flex; gap: 0.5rem; }
.bm-item { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0.5rem; border-radius: 8px; font-size: 0.72rem; }
.bm-item span { color: var(--text-muted); font-size: 0.68rem; } .bm-item strong { font-size: 0.95rem; font-weight: 800; }
.bm-item.exp-c { background: #fee2e2; } .bm-item.exp-c strong { color: var(--experian); }
.bm-item.eqf-c { background: #dbeafe; } .bm-item.eqf-c strong { color: var(--equifax); }
.bm-item.tru-c { background: #e0f2fe; } .bm-item.tru-c strong { color: var(--transunion); }

/* Bureau status list */
.bureau-status-list { display: flex; flex-direction: column; gap: 0.75rem; }
.bureau-status-item { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 1rem; background: var(--bg); border-radius: 10px; border: 1px solid var(--border); }
.bs-left { display: flex; align-items: center; gap: 0.75rem; }
.bs-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: white; }
.bs-icon.exp-bg { background: #ef4444; } .bs-icon.eqf-bg { background: #3b82f6; } .bs-icon.tru-bg { background: #0ea5e9; }
.bs-left > div { display: flex; flex-direction: column; gap: 0.1rem; }
.bs-left strong { font-size: 0.9rem; }
.conn-status { font-size: 0.75rem; font-weight: 600; }
.conn-status.not-connected { color: var(--text-muted); } .conn-status.connected { color: var(--green); }

/* Dispute items */
.dispute-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 0.5rem; font-size: 0.875rem; background: white; cursor: pointer; transition: all 0.15s; }
.dispute-item:hover { border-color: var(--primary); background: var(--primary-light); }
.dispute-status { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 50px; white-space: nowrap; flex-shrink: 0; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-processing { background: var(--primary-light); color: var(--primary); }
.status-resolved { background: var(--green-light); color: var(--green); }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; position: relative; border-left: 2px solid var(--border); padding-left: 1.25rem; margin-left: 0.5rem; }
.timeline-item:last-child { border-left-color: transparent; }
.timeline-dot { position: absolute; left: -14px; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-light); border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--primary); }
.timeline-item.welcome .timeline-dot { background: #fef3c7; border-color: var(--yellow); color: var(--yellow); }
.timeline-content { flex: 1; }
.timeline-content strong { font-size: 0.875rem; display: block; margin-bottom: 0.1rem; }
.timeline-date { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 0.25rem; }
.timeline-content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* Next steps */
.next-steps-list { display: flex; flex-direction: column; gap: 0.5rem; }
.next-step { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1rem; border-radius: 10px; border: 1.5px solid var(--border); text-decoration: none; color: var(--text); background: var(--bg); transition: all 0.15s; }
.next-step:hover { border-color: var(--primary); background: var(--primary-light); }
.next-step.complete { border-color: #86efac; background: #f0fdf4; }
.ns-check { font-size: 1rem; color: var(--border); }
.next-step.complete .ns-check { color: var(--green); }
.next-step.complete .ns-check i::before { content: '\f058'; }
.ns-text { flex: 1; }
.ns-text strong { font-size: 0.875rem; display: block; }
.ns-text span { font-size: 0.78rem; color: var(--text-muted); }
.ns-arrow { color: var(--text-muted); font-size: 0.75rem; }

/* Notes */
.note-item { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 0.75rem; margin-bottom: 0.5rem; font-size: 0.875rem; line-height: 1.6; position: relative; }
.note-item .note-date { font-size: 0.72rem; color: #92400e; margin-top: 0.35rem; }
.note-item .note-delete { position: absolute; top: 0.5rem; right: 0.5rem; background: none; border: none; color: #fbbf24; cursor: pointer; font-size: 0.8rem; }
.note-item .note-delete:hover { color: var(--red); }

/* Resources */
.resources-list { display: flex; flex-direction: column; gap: 0.5rem; }
.resource-item { display: flex; align-items: center; gap: 0.875rem; padding: 0.75rem; border-radius: 8px; border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: all 0.15s; background: var(--bg); }
.resource-item:hover { border-color: var(--primary); background: var(--primary-light); }
.resource-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.resource-text { flex: 1; }
.resource-text strong { font-size: 0.875rem; display: block; }
.resource-text span { font-size: 0.78rem; color: var(--text-muted); }

/* Empty states */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2rem; text-align: center; color: var(--text-muted); }
.empty-state i { font-size: 2.5rem; color: var(--border); }
.empty-state p { font-size: 0.875rem; max-width: 240px; line-height: 1.5; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
  .form-page-layout { grid-template-columns: 1fr; }
  .form-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .form-sidebar .sidebar-card { flex: 1 1 220px; }
  .tracker-layout { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .credential-strength-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-content { padding: 1.25rem 1rem 3rem; }
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .dashboard-stats-row { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .summary-stats-grid { grid-template-columns: 1fr 1fr; }
  .score-gauges-row { flex-direction: column; align-items: center; }
  .security-items { gap: 1rem; }
  .footer-top { grid-template-columns: 1fr; }
  .form-progress-bar { display: none; }
}
@media (max-width: 480px) {
  .dashboard-stats-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 1.125rem; }
  .page-header-inner { flex-wrap: wrap; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem; }
  .stat-divider { display: none; }
}
