/* ===========================================================
   LendScore — Official Site Stylesheet
   Light fintech theme · blue #1B7BF5 / green #6FDB56 (from logo)
   =========================================================== */

:root {
  --bg: #f6f9ff;
  --bg-alt: #eef3fb;
  --surface: #ffffff;
  --line: #e3eaf5;
  --text: #10192b;
  --muted: #5b6b85;
  --blue: #1b7bf5;
  --green: #6fdb56;
  --orange: #f57e20;
  --red: #e5484d;
  --grad: linear-gradient(100deg, #1b7bf5 0%, #4aa3ff 55%, #6fdb56 100%);
  --radius: 18px;
  --shadow: 0 18px 44px -18px rgba(27, 123, 245, .22);
  --maxw: 1140px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-text { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; text-decoration: none !important;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -10px rgba(27,123,245,.55); }
.btn-primary:hover { transform: translateY(-2px); background: #0f6ae0; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { transform: translateY(-2px); background: #cf3a3f; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; }
.brand-text { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.brand-accent { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { color: var(--muted); font-size: .93rem; font-weight: 500; text-decoration: none !important; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob-1 { width: 460px; height: 460px; background: #bcd8ff; top: -120px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #cdf5c4; bottom: -140px; right: -80px; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: rgba(27,123,245,.08); border: 1px solid rgba(27,123,245,.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); line-height: 1.08; font-weight: 700; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px 0 30px; font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.hero-points li { color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero-shot { display: flex; justify-content: center; }
.hero-shot img {
  width: min(300px, 80%); border-radius: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--line); animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.tag {
  display: inline-block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); border: 1px solid rgba(27,123,245,.3); padding: 5px 12px; border-radius: 999px;
}
.tag-danger { color: var(--red); border-color: rgba(229,72,77,.35); background: rgba(229,72,77,.05); }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(27,123,245,.12), rgba(111,219,86,.15));
  border-radius: 14px; margin-bottom: 16px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Score bands ---------- */
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band {
  background: var(--surface); border-radius: var(--radius); padding: 26px 22px;
  border-top: 5px solid; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band strong { font-family: 'Space Grotesk'; font-size: 1.05rem; }
.band h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.band p { color: var(--muted); font-size: .92rem; }
.band-poor { border-top-color: #f5c17e; } .band-poor h3 { color: #e08b2d; }
.band-fair { border-top-color: var(--orange); } .band-fair h3 { color: var(--orange); }
.band-good { border-top-color: var(--green); } .band-good h3 { color: #3fb32b; }
.band-exc { border-top-color: var(--blue); } .band-exc h3 { color: var(--blue); }

/* ---------- Screens ---------- */
.screens-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shot img { border-radius: 14px; width: 100%; }
.shot figcaption { text-align: center; font-size: .88rem; color: var(--muted); padding: 10px 4px 6px; font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 16px;
  font-family: 'Space Grotesk';
}
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Delete account ---------- */
.delete-section { background: linear-gradient(180deg, #fff5f5, #fdf1f1); }
.delete-wrap { max-width: 860px; }
.delete-info h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 16px 0 14px; }
.delete-info > p { color: var(--muted); margin-bottom: 22px; }
.delete-steps { margin: 0 0 22px 20px; display: grid; gap: 12px; color: var(--text); }
.delete-note { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; }
.faq-list { display: grid; gap: 14px; }
.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; cursor: pointer;
}
.faq summary { font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.3rem; color: var(--blue); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 12px; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 16px 0 14px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; text-align: center; box-shadow: var(--shadow); display: grid; gap: 12px; justify-items: center;
}
.contact-card img { border-radius: 12px; }
.contact-card h3 { font-size: 1.25rem; }
.contact-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 32px; background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand img { border-radius: 9px; }
.footer-brand p { width: 100%; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--blue); }
.copyright { color: var(--muted); font-size: .84rem; width: 100%; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- Policy page ---------- */
.policy-page { padding: 140px 0 80px; }
.policy-wrap { max-width: 820px; }
.policy-wrap h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 16px 0 8px; }
.policy-updated { color: var(--muted); margin-bottom: 34px; font-size: .92rem; }
.policy-wrap h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.policy-wrap p, .policy-wrap li { color: #38465e; }
.policy-list { margin: 0 0 10px 22px; display: grid; gap: 10px; }
.mail-box {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 20px 24px; margin: 16px 0; display: grid; gap: 6px;
}
.policy-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue);
  color: #fff; font-size: 1.25rem; font-weight: 700; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 90; text-decoration: none !important;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .screens-grid { grid-template-columns: repeat(3, 1fr); }
  .bands { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .cards-3, .steps, .contact-wrap { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px); padding: 10px 0 16px;
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 13px 24px; }
  .nav-links .btn { margin: 10px 24px 0; justify-content: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .bands { grid-template-columns: 1fr; }
}
