/* ─── LendLeap Article Shared Stylesheet ──────────────────── */

/* Skip Link */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 0 0 8px 8px; font-size: 0.85rem; font-weight: 600; text-decoration: none; z-index: 10001; transition: top 0.2s; }
.skip-link:focus { top: 0; }
:root {
  --bg:#040e2e; --bg-s:#060f30; --accent:#3898EC; --accent-rgb:56,152,236;
  --accent-light:#6db8f5; --text:#f0f4ff; --text-muted:rgba(240,244,255,0.75);
  --border:rgba(56,152,236,0.12); --font-head:'Montserrat',sans-serif;
  --font-body:'Open Sans',sans-serif;
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--bg); color:var(--text); font-family:var(--font-body); font-size:17px; line-height:1.75; overflow-x:hidden; }
::selection { background:var(--accent); color:#fff; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:linear-gradient(var(--accent),var(--accent-light)); border-radius:3px; }

/* Navbar */
#navbar { position:fixed; top:12px; left:0; right:0; z-index:1000; display:flex; justify-content:center; }
.nav-inner { width:100%; padding:14px 40px; display:flex; justify-content:space-between; align-items:center; transition:all 0.4s cubic-bezier(0.16,1,0.3,1); }
#navbar.nav-scrolled .nav-inner { max-width:920px; background:rgba(4,14,46,0.88); border:1px solid var(--border); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-radius:100px; padding:10px 28px; }
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-logo img { height:28px; filter:brightness(0) invert(1); }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-links a { color:var(--text-muted); text-decoration:none; font-size:0.88rem; font-weight:500; transition:color 0.2s; }
.nav-links a:hover, .nav-links a.active { color:var(--text); }
.nav-cta { background:var(--accent)!important; color:#fff!important; padding:8px 20px; border-radius:100px; font-weight:700!important; box-shadow:0 0 16px rgba(var(--accent-rgb),0.3); }
.nav-cta:hover { box-shadow:0 0 28px rgba(var(--accent-rgb),0.5)!important; transform:translateY(-1px); }
.lang-toggle { display:flex; align-items:center; background:rgba(255,255,255,0.05); border:1px solid var(--border); border-radius:100px; padding:3px; margin-left:12px; }
.lang-btn { padding:4px 13px; border-radius:100px; font-size:0.75rem; font-weight:700; cursor:pointer; border:none; background:transparent; color:var(--text-muted); transition:all 0.2s; font-family:var(--font-head); }
.lang-btn.active { background:var(--accent); color:#fff; }
.lang-btn:hover:not(.active) { color:var(--text); }
@media(max-width:768px) { .nav-links { display:none; } .nav-inner { padding:10px 24px; } }

/* Article Hero */
.article-hero { padding:140px 32px 60px; border-bottom:1px solid var(--border); position:relative; overflow:hidden; }
.article-hero-orb { position:absolute; width:500px; height:500px; border-radius:50%; background:var(--accent); filter:blur(120px); opacity:0.07; top:50%; left:50%; transform:translate(-50%,-50%); pointer-events:none; }
.article-hero-inner { max-width:740px; margin:0 auto; position:relative; z-index:1; }
.back-btn { display:inline-flex; align-items:center; gap:7px; color:var(--text-muted); text-decoration:none; font-size:0.82rem; font-weight:600; margin-bottom:28px; transition:color 0.2s; }
.back-btn:hover { color:var(--accent); }
.back-btn::before { content:'←'; }
.article-tag { display:inline-flex; align-items:center; background:rgba(56,152,236,0.1); border:1px solid rgba(56,152,236,0.25); border-radius:100px; padding:4px 14px; font-size:0.75rem; font-weight:700; color:var(--accent); margin-bottom:18px; letter-spacing:0.5px; text-transform:uppercase; }
.article-title { font-family:var(--font-head); font-size:clamp(1.8rem,4vw,2.8rem); font-weight:800; line-height:1.15; letter-spacing:-0.02em; margin-bottom:18px; }
.article-meta { font-size:0.85rem; color:var(--text-muted); }

/* Article image */
.article-img-wrap { max-width:740px; margin:0 auto; padding:32px 32px 0; }
.article-img-wrap img { width:100%; border-radius:14px; display:block; object-fit:cover; max-height:380px; border:1px solid var(--border); }
@media(max-width:600px) { .article-img-wrap { padding:20px 20px 0; } .article-img-wrap img { max-height:220px; } }

/* Article body */
.article-body-wrap { max-width:740px; margin:0 auto; padding:60px 32px 100px; }
.article-body { color:var(--text); }
.article-body p { margin-bottom:22px; font-size:1rem; line-height:1.8; color:rgba(240,244,255,0.88); }
.article-body h2 { font-family:var(--font-head); font-size:1.45rem; font-weight:800; margin:44px 0 16px; line-height:1.2; letter-spacing:-0.01em; }
.article-body h3 { font-family:var(--font-head); font-size:1.1rem; font-weight:700; margin:30px 0 12px; color:var(--accent); }
.article-body blockquote { border-left:3px solid var(--accent); padding:16px 24px; margin:28px 0; background:rgba(56,152,236,0.05); border-radius:0 12px 12px 0; font-size:1.02rem; font-style:italic; color:rgba(240,244,255,0.85); line-height:1.7; }
.article-body ul, .article-body ol { padding-left:24px; margin-bottom:22px; }
.article-body li { margin-bottom:8px; font-size:1rem; color:rgba(240,244,255,0.85); line-height:1.7; }
.article-body a { color:var(--accent); text-decoration:none; border-bottom:1px solid rgba(56,152,236,0.3); transition:border-color 0.2s; }
.article-body a:hover { border-color:var(--accent); }
.article-body strong { color:var(--text); font-weight:700; }

/* Related */
.related-section { margin-top:60px; padding-top:48px; border-top:1px solid var(--border); }
.related-title { font-family:var(--font-head); font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:3px; color:var(--accent); margin-bottom:22px; }
.related-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.related-card { display:flex; align-items:flex-start; gap:16px; background:rgba(56,152,236,0.04); border:1px solid var(--border); border-radius:14px; padding:20px; text-decoration:none; color:var(--text); transition:border-color 0.3s,background 0.3s,transform 0.2s; }
.related-card:hover { border-color:rgba(var(--accent-rgb),0.3); background:rgba(56,152,236,0.08); transform:translateY(-3px); }
.related-card-icon { font-size:1.6rem; flex-shrink:0; }
.related-card-meta { font-size:0.75rem; color:var(--text-muted); margin-bottom:5px; }
.related-card-title { font-family:var(--font-head); font-size:0.9rem; font-weight:700; line-height:1.35; }
@media(max-width:600px) { .related-grid { grid-template-columns:1fr; } .article-body-wrap { padding:40px 20px 60px; } .article-hero { padding:120px 20px 40px; } }

/* Footer */
footer { border-top:1px solid var(--border); padding:48px 32px 32px; text-align:center; background:var(--bg); }
.footer-logo img { height:28px; filter:brightness(0) invert(1); margin-bottom:10px; }
.footer-tagline { font-size:0.92rem; color:var(--text-muted); margin-bottom:24px; }
.footer-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(56,152,236,0.06); border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px; font-size: 0.78rem; color: var(--text-muted); }
.footer-badge-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto 40px; text-align: left; }
.footer-newsletter { max-width: none; margin: 0; }
.footer-newsletter-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.footer-newsletter-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.footer-newsletter-form { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.footer-newsletter-input { flex: 1; padding: 10px 14px; background: rgba(56,152,236,0.04); border: none; outline: none; color: var(--text); font-size: 0.85rem; font-family: var(--font-body); }
.footer-newsletter-input::placeholder { color: rgba(240,244,255,0.3); }
.footer-newsletter-btn { padding: 10px 20px; background: var(--accent); color: #fff; border: none; font-size: 0.85rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: background 0.2s; }
.footer-newsletter-btn:hover { background: #2080d0; }
.footer-link-col { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.footer-link-heading { font-size: 0.8rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; font-family: var(--font-head); }
.footer-link-col a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-link-col a:hover { color: var(--accent); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; } .footer-link-col { align-items: center; } }
.footer-copy { color:rgba(240,244,255,0.3); font-size:0.78rem; }
