/* ============================================
   LENDWISE DESIGN SYSTEM
   Modern Fintech Aesthetic — Clean, Trustworthy, Premium
   ============================================ */

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

/* ===== CSS VARIABLES ===== */
:root {
  --lw-navy: #0F172A;
  --lw-navy-light: #1E293B;
  --lw-slate-800: #1E293B;
  --lw-slate-700: #334155;
  --lw-slate-600: #475569;
  --lw-slate-500: #64748B;
  --lw-slate-400: #94A3B8;
  --lw-slate-300: #CBD5E1;
  --lw-slate-200: #E2E8F0;
  --lw-slate-100: #F1F5F9;
  --lw-slate-50: #F8FAFC;

  --lw-sky: #0EA5E9;
  --lw-sky-light: #38BDF8;
  --lw-sky-dark: #0284C7;
  --lw-sky-50: #F0F9FF;
  --lw-sky-100: #E0F2FE;

  --lw-teal: #14B8A6;
  --lw-teal-light: #2DD4BF;
  --lw-teal-dark: #0D9488;

  --lw-emerald: #10B981;
  --lw-emerald-light: #34D399;
  --lw-emerald-dark: #059669;
  --lw-emerald-50: #ECFDF5;

  --lw-amber: #F59E0B;
  --lw-amber-light: #FBBF24;
  --lw-amber-50: #FFFBEB;

  --lw-rose: #F43F5E;
  --lw-rose-light: #FB7185;
  --lw-rose-dark: #E11D48;
  --lw-rose-50: #FFF1F2;

  --lw-violet: #8B5CF6;
  --lw-violet-light: #A78BFA;

  --lw-bg: #F8FAFC;
  --lw-card: #FFFFFF;
  --lw-text: #0F172A;
  --lw-text-secondary: #475569;
  --lw-text-muted: #94A3B8;
  --lw-border: #E2E8F0;
  --lw-border-light: #F1F5F9;

  --lw-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --lw-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --lw-shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --lw-shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);

  --lw-radius-sm: 8px;
  --lw-radius: 12px;
  --lw-radius-lg: 16px;
  --lw-radius-xl: 20px;
  --lw-radius-full: 9999px;

  --lw-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --lw-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--lw-text);
  background: var(--lw-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--lw-sky); text-decoration: none; transition: color var(--lw-transition); }
a:hover { color: var(--lw-sky-dark); }

/* ===== NAVIGATION ===== */
.lw-nav {
  background: var(--lw-card);
  border-bottom: 1px solid var(--lw-border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}
.lw-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.lw-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--lw-navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lw-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--lw-sky) 0%, var(--lw-teal) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
}
.lw-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.lw-nav-links a {
  padding: 8px 14px;
  color: var(--lw-slate-600);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--lw-radius-sm);
  transition: all var(--lw-transition);
  text-decoration: none;
}
.lw-nav-links a:hover {
  background: var(--lw-slate-100);
  color: var(--lw-navy);
}
.lw-nav-links a.active {
  background: var(--lw-sky-50);
  color: var(--lw-sky-dark);
}
.lw-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--lw-slate-600);
  font-size: 24px;
}
.lw-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--lw-card);
  border-bottom: 1px solid var(--lw-border);
  padding: 16px 24px;
  box-shadow: var(--lw-shadow-lg);
  z-index: 999;
}
.lw-mobile-menu.open { display: block; }
.lw-mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--lw-slate-600);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--lw-radius-sm);
  text-decoration: none;
}
.lw-mobile-menu a:hover { background: var(--lw-slate-100); }

/* ===== MAIN LAYOUT ===== */
.lw-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.lw-main.wide {
  max-width: 1100px;
}

/* ===== HERO SECTION ===== */
.lw-hero {
  text-align: center;
  padding: 48px 24px 40px;
  margin-bottom: 36px;
}
.lw-badge {
  display: inline-block;
  background: var(--lw-sky-50);
  color: var(--lw-sky-dark);
  padding: 6px 16px;
  border-radius: var(--lw-radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(14, 165, 233, 0.15);
}
.lw-badge.green {
  background: var(--lw-emerald-50);
  color: var(--lw-emerald-dark);
  border-color: rgba(16, 185, 129, 0.15);
}
.lw-badge.amber {
  background: var(--lw-amber-50);
  color: #B45309;
  border-color: rgba(245, 158, 11, 0.15);
}
.lw-badge.rose {
  background: var(--lw-rose-50);
  color: var(--lw-rose-dark);
  border-color: rgba(244, 63, 94, 0.15);
}
.lw-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--lw-navy);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.lw-hero h1 .accent {
  background: linear-gradient(135deg, var(--lw-sky) 0%, var(--lw-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lw-hero .subtitle {
  font-size: 18px;
  color: var(--lw-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CARDS ===== */
.lw-card {
  background: var(--lw-card);
  border-radius: var(--lw-radius-lg);
  padding: 32px;
  box-shadow: var(--lw-shadow);
  border: 1px solid var(--lw-border-light);
  margin-bottom: 24px;
}
.lw-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.lw-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--lw-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.lw-card-icon.blue { background: var(--lw-sky-100); }
.lw-card-icon.green { background: var(--lw-emerald-50); }
.lw-card-icon.amber { background: var(--lw-amber-50); }
.lw-card-icon.rose { background: var(--lw-rose-50); }
.lw-card-icon.violet { background: #F3F0FF; }
.lw-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--lw-navy);
}
.lw-card-subtitle {
  font-size: 13px;
  color: var(--lw-text-muted);
  margin-top: 2px;
}

/* ===== FORM ELEMENTS ===== */
.lw-form-group {
  margin-bottom: 20px;
}
.lw-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--lw-slate-700);
  margin-bottom: 8px;
}
.lw-label-hint {
  font-weight: 400;
  color: var(--lw-text-muted);
  font-size: 13px;
  margin-left: 4px;
}
.lw-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--lw-slate-200);
  border-radius: var(--lw-radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--lw-text);
  background: var(--lw-card);
  transition: all var(--lw-transition);
  outline: none;
}
.lw-input:focus {
  border-color: var(--lw-sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.lw-input::placeholder {
  color: var(--lw-slate-400);
}
.lw-input-prefix {
  position: relative;
}
.lw-input-prefix .prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lw-slate-400);
  font-weight: 600;
  font-size: 16px;
  pointer-events: none;
}
.lw-input-prefix .lw-input {
  padding-left: 32px;
}
.lw-input-suffix {
  position: relative;
}
.lw-input-suffix .suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lw-slate-400);
  font-weight: 500;
  font-size: 14px;
  pointer-events: none;
}
.lw-input-suffix .lw-input {
  padding-right: 48px;
}

/* Select */
.lw-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--lw-slate-200);
  border-radius: var(--lw-radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--lw-text);
  background: var(--lw-card);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
  transition: all var(--lw-transition);
  outline: none;
}
.lw-select:focus {
  border-color: var(--lw-sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

/* Range Slider */
.lw-range-group {
  margin-bottom: 20px;
}
.lw-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.lw-range-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--lw-sky-dark);
  background: var(--lw-sky-50);
  padding: 4px 12px;
  border-radius: var(--lw-radius-full);
}
.lw-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--lw-slate-200);
  outline: none;
  transition: background var(--lw-transition);
}
.lw-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lw-sky);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lw-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.4);
}
.lw-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lw-sky);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

/* Toggle Buttons */
.lw-toggle-group {
  display: flex;
  background: var(--lw-slate-100);
  border-radius: var(--lw-radius);
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
}
.lw-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--lw-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--lw-slate-500);
  background: transparent;
  cursor: pointer;
  transition: all var(--lw-transition);
}
.lw-toggle-btn.active {
  background: var(--lw-card);
  color: var(--lw-navy);
  box-shadow: var(--lw-shadow-sm);
  font-weight: 600;
}
.lw-toggle-btn:hover:not(.active) {
  color: var(--lw-slate-700);
}

/* ===== BUTTONS ===== */
.lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--lw-radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--lw-transition);
}
.lw-btn-primary {
  background: linear-gradient(135deg, var(--lw-sky) 0%, var(--lw-sky-dark) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}
.lw-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}
.lw-btn-secondary {
  background: var(--lw-slate-100);
  color: var(--lw-slate-700);
}
.lw-btn-secondary:hover {
  background: var(--lw-slate-200);
}
.lw-btn-ghost {
  background: transparent;
  color: var(--lw-sky);
  padding: 8px 16px;
}
.lw-btn-ghost:hover {
  background: var(--lw-sky-50);
}

/* ===== RESULTS ===== */
.lw-result-hero {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--lw-navy) 0%, var(--lw-slate-800) 100%);
  border-radius: var(--lw-radius-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.lw-result-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
}
.lw-result-hero * { position: relative; }
.lw-result-label {
  font-size: 13px;
  color: var(--lw-slate-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lw-result-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  line-height: 1.1;
}
.lw-result-number .currency {
  font-size: 32px;
  font-weight: 600;
  opacity: 0.7;
  vertical-align: top;
  margin-right: 4px;
}
.lw-result-number .period {
  font-size: 18px;
  font-weight: 500;
  color: var(--lw-slate-400);
  margin-left: 4px;
}
.lw-result-sub {
  font-size: 14px;
  color: var(--lw-slate-400);
  margin-top: 8px;
}

/* Result Grid */
.lw-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.lw-result-item {
  background: var(--lw-card);
  border-radius: var(--lw-radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--lw-border-light);
}
.lw-result-item-label {
  font-size: 12px;
  color: var(--lw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.lw-result-item-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--lw-navy);
}
.lw-result-item-value.green { color: var(--lw-emerald); }
.lw-result-item-value.rose { color: var(--lw-rose); }
.lw-result-item-value.sky { color: var(--lw-sky); }

/* ===== DONUT CHART (CSS Only) ===== */
.lw-donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 24px;
}
.lw-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--lw-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lw-donut-center-label {
  font-size: 11px;
  color: var(--lw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lw-donut-center-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--lw-navy);
}

/* ===== BAR CHART ===== */
.lw-bar-chart {
  margin: 20px 0;
}
.lw-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.lw-bar-label {
  width: 120px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lw-text-secondary);
  text-align: right;
  flex-shrink: 0;
}
.lw-bar-track {
  flex: 1;
  height: 28px;
  background: var(--lw-slate-100);
  border-radius: var(--lw-radius-full);
  overflow: hidden;
  position: relative;
}
.lw-bar-fill {
  height: 100%;
  border-radius: var(--lw-radius-full);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-width: 60px;
}
.lw-bar-fill.blue { background: linear-gradient(90deg, var(--lw-sky), var(--lw-sky-light)); }
.lw-bar-fill.green { background: linear-gradient(90deg, var(--lw-emerald), var(--lw-emerald-light)); }
.lw-bar-fill.rose { background: linear-gradient(90deg, var(--lw-rose), var(--lw-rose-light)); }
.lw-bar-fill.amber { background: linear-gradient(90deg, var(--lw-amber), var(--lw-amber-light)); }
.lw-bar-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

/* ===== GAUGE ===== */
.lw-gauge-wrap {
  text-align: center;
  margin: 24px 0;
}
.lw-gauge {
  width: 220px;
  height: 120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* ===== TABLES ===== */
.lw-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--lw-radius);
  border: 1px solid var(--lw-border);
}
.lw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lw-table th {
  background: var(--lw-slate-50);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--lw-slate-600);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--lw-border);
}
.lw-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--lw-border-light);
  color: var(--lw-text-secondary);
}
.lw-table tr:last-child td { border-bottom: none; }
.lw-table tr:hover td { background: var(--lw-slate-50); }
.lw-table .num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--lw-navy);
}

/* ===== PROGRESS BAR ===== */
.lw-progress {
  width: 100%;
  height: 8px;
  background: var(--lw-slate-100);
  border-radius: var(--lw-radius-full);
  overflow: hidden;
  margin: 12px 0;
}
.lw-progress-fill {
  height: 100%;
  border-radius: var(--lw-radius-full);
  transition: width 0.6s ease;
  background: linear-gradient(90deg, var(--lw-sky), var(--lw-teal));
}

/* ===== SEO CONTENT ===== */
.lw-content {
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--lw-border);
}
.lw-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--lw-navy);
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.lw-content h2:first-child { margin-top: 0; }
.lw-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--lw-slate-700);
  margin-top: 28px;
  margin-bottom: 12px;
}
.lw-content p {
  color: var(--lw-text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.lw-content ul, .lw-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.lw-content li {
  color: var(--lw-text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.lw-content strong {
  color: var(--lw-navy);
}

/* ===== FAQ ACCORDION ===== */
.lw-faq {
  margin-top: 40px;
}
.lw-faq-item {
  border: 1px solid var(--lw-border);
  border-radius: var(--lw-radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--lw-transition);
}
.lw-faq-item:hover {
  border-color: var(--lw-slate-300);
}
.lw-faq-q {
  width: 100%;
  padding: 18px 20px;
  background: var(--lw-card);
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--lw-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lw-faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--lw-slate-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.lw-faq-item.open .lw-faq-q::after {
  transform: rotate(45deg);
}
.lw-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.lw-faq-item.open .lw-faq-a {
  max-height: 500px;
  padding: 0 20px 18px;
}
.lw-faq-a p {
  color: var(--lw-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== RELATED / CROSS-LINKS ===== */
.lw-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--lw-border);
}
.lw-related h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--lw-navy);
  margin-bottom: 20px;
}
.lw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lw-related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--lw-card);
  border-radius: var(--lw-radius);
  text-decoration: none;
  color: var(--lw-slate-700);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--lw-border-light);
  transition: all var(--lw-transition);
}
.lw-related-link:hover {
  border-color: var(--lw-sky);
  background: var(--lw-sky-50);
  color: var(--lw-sky-dark);
  transform: translateX(4px);
}
.lw-related-link .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lw-sky);
  flex-shrink: 0;
}

/* ===== DISCLAIMER ===== */
.lw-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--lw-text-muted);
  padding: 32px 24px;
  margin-top: 48px;
  border-top: 1px solid var(--lw-border);
}

/* ===== FOOTER ===== */
.lw-footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--lw-text-muted);
  font-size: 14px;
}
.lw-footer a {
  color: var(--lw-slate-500);
}
.lw-footer a:hover {
  color: var(--lw-sky);
}

/* ===== UTILITY CLASSES ===== */
.lw-mono { font-family: 'JetBrains Mono', monospace; }
.lw-flex { display: flex; }
.lw-flex-col { display: flex; flex-direction: column; }
.lw-items-center { align-items: center; }
.lw-justify-between { justify-content: space-between; }
.lw-gap-8 { gap: 8px; }
.lw-gap-16 { gap: 16px; }
.lw-gap-24 { gap: 24px; }
.lw-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lw-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lw-text-center { text-align: center; }
.lw-text-right { text-align: right; }
.lw-mt-16 { margin-top: 16px; }
.lw-mt-24 { margin-top: 24px; }
.lw-mb-16 { margin-bottom: 16px; }
.lw-mb-24 { margin-bottom: 24px; }
.lw-hidden { display: none; }

/* ===== ANIMATIONS ===== */
@keyframes lw-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lw-countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lw-slideRight {
  from { width: 0; }
}
.lw-animate-in {
  animation: lw-fadeIn 0.5s ease forwards;
}
.lw-animate-number {
  animation: lw-countUp 0.6s var(--lw-bounce) forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .lw-nav-links { display: none; }
  .lw-hamburger { display: block; }
  .lw-hero h1 { font-size: 32px; }
  .lw-hero .subtitle { font-size: 16px; }
  .lw-card { padding: 24px; }
  .lw-result-number { font-size: 40px; }
  .lw-result-grid { grid-template-columns: 1fr; gap: 10px; }
  .lw-grid-2, .lw-grid-3, .lw-related-grid { grid-template-columns: 1fr; }
  .lw-bar-label { width: 80px; font-size: 12px; }
  .lw-table { font-size: 13px; }
  .lw-table th, .lw-table td { padding: 10px 12px; }
  .lw-content h2 { font-size: 22px; }
}
@media (max-width: 480px) {
  .lw-main { padding: 16px 16px 60px; }
  .lw-hero { padding: 32px 16px 28px; }
  .lw-hero h1 { font-size: 28px; }
  .lw-result-hero { padding: 24px 16px; }
  .lw-result-number { font-size: 34px; }
  .lw-card { padding: 20px; border-radius: var(--lw-radius); }
}
