:root {
  --primary: #8b28ff;
  --primary-2: #5c18d8;
  --accent: #ffb020;
  --green: #13c296;
  --ink: #0b1f35;
  --text: #526173;
  --muted: #7a8796;
  --soft: #fff8ee;
  --light: #f7f8fb;
  --white: #ffffff;
  --border: #e5e8ef;
  --shadow: 0 24px 70px rgba(11, 31, 53, 0.13);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,232,239,0.9);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 24px; color: var(--ink); letter-spacing: -0.04em; }
.brand-mark { width: 40px; height: 40px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), #ff7b2c); color: #fff; box-shadow: 0 12px 30px rgba(139,40,255,0.25); }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 700; color: var(--text); }
.nav a:hover { color: var(--primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 15px 24px; font-weight: 900; transition: .22s ease; border: none; cursor: pointer; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 16px 34px rgba(139,40,255,0.28); }
.btn-primary:hover, .btn-ghost:hover, .apply-btn:hover, .store-btn:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--ink); background: #fff; border: 1px solid var(--border); }
.hero {
  overflow: hidden;
  background: radial-gradient(circle at 8% 18%, rgba(255,176,32,0.18), transparent 28%), radial-gradient(circle at 88% 20%, rgba(139,40,255,0.22), transparent 32%), linear-gradient(180deg, #fff8ee 0%, #ffffff 100%);
  padding: 86px 0 82px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; color: #78350f; background: #fff0cf; font-weight: 900; font-size: 14px; margin-bottom: 18px; }
.eyebrow.light { background: rgba(255,255,255,.18); color: #fff; }
.hero h1, .section-head h2, .terms-intro h2, .eligibility h2, .app-box h2, .text-block h2, .offers-head h2 { color: var(--ink); margin: 0 0 16px; font-size: clamp(34px, 5vw, 66px); line-height: 1.02; letter-spacing: -0.06em; }
.hero p { margin: 0 0 28px; color: var(--text); font-size: 19px; max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points span { padding: 10px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--ink); font-weight: 800; font-size: 14px; }
.hero-visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.hero-blob { position: absolute; width: 460px; height: 460px; border-radius: 38% 62% 54% 46%; background: linear-gradient(135deg, #8b28ff, #ff8a00); filter: drop-shadow(0 34px 65px rgba(139,40,255,0.25)); animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }
.phone-card { position: relative; width: 310px; padding: 16px; border-radius: 42px; background: #0e1324; border: 8px solid #080d19; box-shadow: var(--shadow); }
.phone-top { background: #fff; border-radius: 30px 30px 0 0; padding: 16px 18px 0; min-height: 56px; display: flex; justify-content: space-between; }
.phone-top span { width: 72px; height: 8px; border-radius: 99px; background: #dbe2ec; }
.phone-top i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.loan-preview { background: linear-gradient(180deg, #fff, #f6f7fb); padding: 22px 18px; }
.loan-preview small { font-weight: 900; color: var(--muted); }
.loan-preview strong { display: block; color: var(--ink); font-size: 34px; line-height: 1.1; margin: 8px 0; }
.loan-preview p { margin: 0; font-size: 13px; color: var(--text); }
.app-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; background: #fff; border-top: 1px solid var(--border); font-weight: 800; }
.app-row:last-child { border-radius: 0 0 30px 30px; }
.app-row b { color: var(--green); }
.floating { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px 18px; color: var(--ink); font-weight: 900; box-shadow: var(--shadow); }
.floating.one { left: 10px; top: 92px; }
.floating.two { right: 14px; bottom: 94px; }
.partner-offers { background: linear-gradient(135deg, #7b22f2 0%, #a326ff 100%); color: #fff; padding: 66px 0 78px; }
.offers-head { text-align: left; margin-bottom: 30px; max-width: 780px; }
.offers-head h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); }
.offers-head p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }
.offer-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer-card { background: #fff; border-radius: 10px; padding: 28px 30px 30px; min-height: 330px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 18px 50px rgba(32,0,77,.18); }
.logo-box { width: 100%; height: 92px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.logo-box img { max-height: 68px; width: auto; }
.loan-up { color: #111827; font-size: 15px; margin-bottom: 4px; }
.loan-max { color: var(--primary); font-size: clamp(32px, 3.5vw, 48px); line-height: 1; letter-spacing: -0.06em; margin-bottom: 20px; }
.loan-range { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; background: #f7f7fa; border-radius: 8px; padding: 18px 20px; margin-top: auto; margin-bottom: 16px; color: #243449; }
.loan-range span { font-size: 15px; }
.loan-range b { color: #05060a; line-height: 1.25; }
.apply-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #9829ff, #8320ed); color: #fff; border-radius: 8px; min-height: 50px; font-weight: 900; text-transform: uppercase; }
.stats-section { position: relative; z-index: 2; margin-top: -34px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #fff; border: 1px solid var(--border); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat { background: var(--light); border-radius: 18px; padding: 20px; text-align: center; }
.stat strong { display: block; color: var(--ink); font-size: 30px; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-weight: 800; font-size: 14px; }
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.steps-grid, .feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 14px 36px rgba(11,31,53,.06); }
.card h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; line-height: 1.24; }
.card p { margin: 0; color: var(--muted); }
.num { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; background: #f0e6ff; color: var(--primary); font-size: 20px; font-weight: 900; margin-bottom: 18px; }
.icon { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; background: #fff3dd; font-size: 24px; margin-bottom: 16px; }
.soft { background: var(--soft); }
.terms-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
.terms-intro h2, .eligibility h2, .app-box h2, .text-block h2 { font-size: clamp(32px, 4vw, 48px); }
.terms-intro p, .eligibility p, .app-box p, .text-block p { font-size: 17px; color: var(--text); margin: 0 0 22px; }
.terms-table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.term-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); align-items: center; }
.term-row:last-child { border-bottom: 0; }
.term-row span { color: var(--muted); font-weight: 800; }
.term-row strong { color: var(--ink); }
.eligibility { background: #fff; }
.eligibility-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-list article { background: var(--light); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.info-list h3 { margin: 0 0 8px; color: var(--ink); }
.info-list p { margin: 0; color: var(--text); }
.app-section { background: linear-gradient(135deg, var(--primary), #ff8a00); color: #fff; }
.app-box { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; padding: 42px; border-radius: 34px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.app-box h2 { color: #fff; }
.app-box p { color: rgba(255,255,255,.86); }
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.store-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 168px; min-height: 54px; padding: 14px 18px; background: #0b1f35; color: #fff; border-radius: 16px; font-weight: 900; }
.text-block { max-width: 920px; background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 38px; box-shadow: 0 16px 46px rgba(11,31,53,.07); }
.text-block p { line-height: 1.78; }
.faq-list { max-width: 920px; margin: 0 auto; display: grid; gap: 14px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 21px 24px; color: var(--ink); font-weight: 900; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: #f0e6ff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
details[open] summary:after { content: "–"; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.site-footer { background: #071426; color: #fff; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .9fr; gap: 30px; margin-bottom: 34px; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.site-footer h3 { margin: 0 0 14px; font-size: 18px; }
.site-footer p, .site-footer a { display: block; color: #b8c4d4; margin: 0 0 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #91a1b6; font-size: 14px; }
@media (max-width: 1050px) {
  .nav { display: none; }
  .hero-grid, .terms-grid, .eligibility-grid, .app-box, .footer-grid { grid-template-columns: 1fr; }
  .offer-cards, .stats-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .store-buttons { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .header-inner { height: 70px; }
  .brand { font-size: 20px; }
  .header-inner > .btn { display: none; }
  .hero { padding: 56px 0 62px; }
  .hero-actions, .store-buttons { flex-direction: column; }
  .btn, .store-btn { width: 100%; }
  .hero-visual { min-height: 455px; }
  .hero-blob { width: 320px; height: 320px; }
  .phone-card { width: 270px; }
  .floating { display: none; }
  .partner-offers { padding: 54px 0 64px; }
  .offer-cards, .stats-grid, .steps-grid, .feature-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: auto; }
  .loan-range { grid-template-columns: 1fr; text-align: center; }
  .section { padding: 64px 0; }
  .card, .text-block, .app-box { padding: 24px; }
  .term-row { grid-template-columns: 1fr; gap: 6px; }
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.lang-switch a { padding: 8px 11px; border-radius: 999px; font-size: 13px; line-height: 1; font-weight: 900; color: var(--text); }
.lang-switch a.active { background: #f0e6ff; color: var(--primary); }
@media (max-width: 640px) {
  .header-actions { gap: 8px; }
  .lang-switch a { padding: 7px 9px; font-size: 12px; }
}
@media (max-width: 640px) {
  .header-actions .btn { display: none; }
}
