/* ============================================
   LendingBear — Global Styles
   Theme: #ffffff / #b0dfe8 / #21b5ce / #1f646b
   Layout: 1-column with Sidebar
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Playfair+Display:wght@600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --ice: #b0dfe8;
  --teal: #21b5ce;
  --deep: #1f646b;
  --bg: #f8fcfd;
  --text: #2c3e50;
  --text-light: #5a6d7e;
  --text-muted: #8a9bac;
  --border: #e2eef2;
  --border-light: #edf5f7;
  --shadow-sm: 0 1px 3px rgba(31,100,107,0.06);
  --shadow-md: 0 4px 12px rgba(31,100,107,0.08);
  --shadow-lg: 0 8px 30px rgba(31,100,107,0.12);
  --shadow-xl: 0 20px 60px rgba(31,100,107,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-number: 'Caveat', cursive;
  --max-width: 1280px;
  --sidebar-width: 340px;
  --content-gap: 2.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--deep); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--deep); line-height: 1.3; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.page-layout { display: grid; grid-template-columns: 1fr var(--sidebar-width); gap: var(--content-gap); padding: 2.5rem 0; }
.main-content { min-width: 0; }
.sidebar { position: sticky; top: 100px; align-self: start; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
  z-index: 10000;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto;
  background: var(--deep); color: white; padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
}

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.top-bar a { color: var(--ice); }

/* ---- HEADER / NAV ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--deep); }
.logo img { width: 38px; height: 38px; }
.logo span { color: var(--teal); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > a, .nav-dropdown > .nav-trigger {
  padding: 0.5rem 1rem; font-size: 0.92rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius-sm); transition: all var(--transition);
  display: flex; align-items: center; gap: 0.3rem;
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
}
.main-nav > a:hover, .nav-dropdown:hover > .nav-trigger { color: var(--teal); background: rgba(33,181,206,0.06); }
.main-nav > a.active { color: var(--teal); font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-arrow { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 0.5rem; min-width: 240px;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block; padding: 0.6rem 1rem; font-size: 0.88rem; color: var(--text);
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-dropdown-menu a:hover { background: rgba(33,181,206,0.06); color: var(--teal); }

/* Mobile menu */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
  color: var(--deep);
}
.mobile-toggle svg { width: 26px; height: 26px; }

/* Apply button in nav */
.nav-apply {
  background: linear-gradient(135deg, var(--teal), var(--deep));
  color: #0a2540 !important; padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-xl) !important; font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(33,181,206,0.3);
  text-shadow: none !important;
}
.nav-apply:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(33,181,206,0.4); color: #0a2540 !important; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 1rem 0; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---- HERO SECTION ---- */
.hero {
  position: relative; overflow: hidden;
  padding: 4rem 0; min-height: 420px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--white) 0%, rgba(176,223,232,0.15) 50%, rgba(33,181,206,0.08) 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0.12;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-content h1 { margin-bottom: 1rem; }
.hero-content p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 1.5rem; max-width: 560px; }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-number), var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal); display: block; }
/* Hand-drawn number font for line-art theme */
.hero-stat .num,
.rating-big,
.calc-result .amount,
.counter,
.stat-number,
.num { font-family: var(--font-number), var(--font-display); }

.hero-stat .label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-xl);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--deep));
  color: white; box-shadow: 0 4px 15px rgba(33,181,206,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(33,181,206,0.4); color: white; }
.btn-secondary {
  background: var(--white); color: var(--deep); border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); padding: 0.5rem 1rem; }
.btn-ghost:hover { background: rgba(33,181,206,0.06); }

/* ---- CARDS ---- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--ice); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card-body h3 a { color: var(--deep); }
.card-body h3 a:hover { color: var(--teal); }
.card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* ---- SECTIONS ---- */
.section { padding: 3.5rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.section-alt { background: linear-gradient(180deg, rgba(176,223,232,0.08) 0%, var(--bg) 100%); }
.section-teal { background: linear-gradient(135deg, var(--deep) 0%, #1a8a96 100%); color: white; }
.section-teal h2, .section-teal h3 { color: white; }
.section-teal p { color: rgba(255,255,255,0.8); }

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

/* ---- FORM SECTION ---- */
.form-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.form-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--deep));
}
.form-section h2 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.form-section p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Hidden form number */
.form-section [id="_lg_form_"] { position: relative; }

/* ---- SIDEBAR WIDGETS ---- */
.sidebar-widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 {
  font-family: var(--font-display); color: var(--deep);
  margin-bottom: 1rem; font-size: 1.05rem;
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--ice);
}
.sidebar-widget img { border-radius: var(--radius-md); margin-bottom: 1rem; }

/* ---- STAR RATING ---- */
.stars { display: inline-flex; gap: 2px; color: #f0b429; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.stars .half { position: relative; overflow: hidden; }

/* ---- CTA SECTION ---- */
.cta-section {
  position: relative; padding: 3.5rem 0; overflow: hidden;
  background: linear-gradient(135deg, var(--deep) 0%, #1a8a96 60%, var(--teal) 100%);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('') center/cover no-repeat; opacity: 0.08;
}
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 { color: white; margin-bottom: 0.75rem; }
.cta-content p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.cta-content .btn-primary { background: white; color: var(--deep); }
.cta-content .btn-primary:hover { background: var(--ice); }

/* ---- FOOTER ---- */
.site-footer {
  background: #0f2e32; color: rgba(255,255,255,0.7); padding: 3rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { }
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h4 { color: white; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; padding: 0.3rem 0; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--ice); }
.footer-contact { font-size: 0.88rem; }
.footer-contact p { color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }

.footer-disclosure {
  padding: 2rem 0; font-size: 0.78rem; line-height: 1.8;
  color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
}
.footer-bottom {
  padding: 1.5rem 0; text-align: center; font-size: 0.82rem;
  color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--deep); color: white; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--teal); transform: translateY(-3px); }
.scroll-top svg { width: 22px; height: 22px; }

/* ---- BLOG POST ---- */
.blog-post { }
.blog-post .post-meta {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  font-size: 0.88rem; color: var(--text-muted);
}
.blog-post .post-meta .author { font-weight: 600; color: var(--deep); }
.blog-post .post-meta .date { }
.blog-post .post-meta .read-time { }
.blog-post .post-content { font-size: 1.05rem; line-height: 1.85; }
.blog-post .post-content h2 { margin: 2rem 0 1rem; font-size: 1.6rem; }
.blog-post .post-content h3 { margin: 1.5rem 0 0.75rem; }
.blog-post .post-content p { margin-bottom: 1.2rem; }
.blog-post .post-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.blog-post .post-content ul, .blog-post .post-content ol {
  padding-left: 1.5rem; margin-bottom: 1.2rem;
}
.blog-post .post-content li { margin-bottom: 0.5rem; color: var(--text-light); }

/* Social share */
.social-share {
  display: flex; align-items: center; gap: 0.75rem; margin: 2rem 0;
  padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.social-share span { font-weight: 600; color: var(--deep); font-size: 0.9rem; }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); color: var(--text-muted);
}
.share-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }
.share-btn svg { width: 18px; height: 18px; }

/* Related posts */
.related-posts { margin-top: 2.5rem; }
.related-posts h3 { margin-bottom: 1.25rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* ---- REVIEW STARS DISPLAY ---- */
.rating-display {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.rating-big { font-family: var(--font-number), var(--font-display); font-size: 4rem; font-weight: 800; color: var(--deep); line-height: 1; }
.rating-bar {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem;
}
.rating-bar .label { width: 50px; text-align: right; font-size: 0.85rem; color: var(--text-muted); }
.rating-bar .bar {
  flex: 1; height: 10px; background: var(--border-light); border-radius: 5px; overflow: hidden;
}
.rating-bar .bar-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--deep)); border-radius: 5px; }
.rating-bar .count { width: 40px; font-size: 0.82rem; color: var(--text-muted); }




/* ---- ENHANCED RATING BARS (full width) ---- */
.rating-bars-full {
  margin: 2rem 0;
  width: 100%;
}
.rating-bars-full .rating-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}
.rating-bars-full .rating-bar .label {
  width: 70px;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--deep);
  white-space: nowrap;
}
.rating-bars-full .rating-bar .bar {
  flex: 1;
  height: 18px;
  background: var(--border-light);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.rating-bars-full .rating-bar .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #21b5ce, var(--deep));
  border-radius: 9px;
  transition: width 1s ease;
  box-shadow: 0 2px 4px rgba(33,181,206,0.3);
}
.rating-bars-full .rating-bar .count {
  width: 55px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-number), var(--font-display);
}
/* ---- CALCULATOR ---- */
.calc-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md);
}
.calc-input-group { margin-bottom: 1.25rem; }
.calc-input-group label {
  display: block; font-weight: 600; font-size: 0.9rem; color: var(--deep); margin-bottom: 0.4rem;
}
.calc-input-group input[type="range"] {
  width: 100%; accent-color: var(--teal); height: 8px;
}
.calc-input-group .range-labels {
  display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem;
}
.calc-result {
  background: linear-gradient(135deg, rgba(33,181,206,0.06), rgba(176,223,232,0.1));
  border-radius: var(--radius-md); padding: 1.5rem; text-align: center; margin-top: 1.5rem;
}
.calc-result .amount { font-family: var(--font-number), var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--deep); }
.calc-result .label { font-size: 0.85rem; color: var(--text-muted); }

/* ---- ALTERNATIVES TABLE ---- */
.alt-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.alt-table thead { background: var(--deep); color: white; }
.alt-table th { padding: 1rem 1.25rem; font-size: 0.85rem; font-weight: 600; text-align: left; text-transform: uppercase; letter-spacing: 0.03em; }
.alt-table td { padding: 1rem 1.25rem; font-size: 0.92rem; border-top: 1px solid var(--border-light); }
.alt-table tbody tr { transition: background var(--transition); }
.alt-table tbody tr:hover { background: rgba(176,223,232,0.08); }
.alt-table tbody tr:nth-child(even) { background: rgba(248,252,253,0.5); }

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-right {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---- COUNTER ANIMATION ---- */
.counter { font-variant-numeric: tabular-nums; }

/* ---- STEP PROCESS ---- */
.steps-row { display: flex; gap: 2rem; align-items: stretch; }
.step-card {
  flex: 1; text-align: center; padding: 2rem 1.5rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); position: relative;
}
.step-card::after {
  content: '→'; position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal); font-weight: 700;
}
.step-card:last-child::after { display: none; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--deep));
  color: white; font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 1rem; border-radius: var(--radius-md); }

/* ---- FEATURE BOX ---- */
.feature-box {
  padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
  text-align: center; transition: all var(--transition);
}
.feature-box:hover { box-shadow: var(--shadow-lg); border-color: var(--ice); }
.feature-box img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 1rem; }
.feature-box h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-box p { font-size: 0.9rem; }

/* ---- ACCORDION / FAQ ---- */
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 0.75rem; overflow: hidden; background: var(--white);
}
.accordion-trigger {
  width: 100%; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--deep);
  background: none; border: none; cursor: pointer; text-align: left;
}
.accordion-trigger svg { width: 20px; height: 20px; transition: transform var(--transition); color: var(--teal); flex-shrink: 0; }
.accordion-item.active .accordion-trigger svg { transform: rotate(180deg); }
.accordion-content {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.accordion-content-inner { padding: 0 1.5rem 1.25rem; }
.accordion-content-inner p { font-size: 0.95rem; }

/* ---- TRUST BADGES ROW ---- */
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  padding: 1.5rem; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; font-weight: 600; color: var(--deep);
}
.trust-badge svg { width: 24px; height: 24px; color: var(--teal); }

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 1rem;
  }
  .main-nav.open > a, .main-nav.open .nav-dropdown > .nav-trigger { padding: 0.75rem 1rem; }
  .nav-dropdown-menu {
    position: static; transform: none; box-shadow: none; border: none;
    padding: 0 0 0 1rem; opacity: 1; visibility: visible;
    display: none; background: transparent;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .hero { padding: 2.5rem 0; min-height: auto; }
  .hero-stats { gap: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step-card::after { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .alt-table { font-size: 0.82rem; }
  .alt-table th, .alt-table td { padding: 0.75rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .hero-content p { font-size: 1rem; }
  .container { padding: 0 1rem; }
}

/* ---- LOADING ANIMATION ---- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.loading-shimmer {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--ice) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ---- PULSE DOT ---- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: pulse 2s infinite; display: inline-block;
}

/* ---- TOOLTIP ---- */
.tooltip-wrap { position: relative; cursor: help; }
.tooltip-wrap .tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--deep); color: white; font-size: 0.82rem; padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm); white-space: nowrap;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.tooltip-wrap:hover .tooltip { opacity: 1; visibility: visible; }

/* ---- BLOG LISTING ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { cursor: pointer; }
.blog-card .card-meta {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 0.5rem;
}
