/* ============================================================
   LoanMasta Website — Custom Stylesheet
   Brand: Green #22c55e · Blue #3b82f6 · Dark #0f172a
   ============================================================ */

:root {
  --lm-green:       #22c55e;
  --lm-green-dark:  #16a34a;
  --lm-green-light: #dcfce7;
  --lm-blue:        #3b82f6;
  --lm-blue-dark:   #1d4ed8;
  --lm-blue-light:  #dbeafe;
  --lm-dark:        #0f172a;
  --lm-dark-2:      #1e293b;
  --lm-gray:        #64748b;
  --lm-gray-light:  #f1f5f9;
  --lm-white:       #ffffff;
  --lm-border:      #e2e8f0;
  --lm-shadow:      0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --lm-shadow-lg:   0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --lm-radius:      12px;
  --lm-radius-sm:   8px;
  --font:           'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--lm-dark);
  background: var(--lm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.text-green  { color: var(--lm-green) !important; }
.text-blue   { color: var(--lm-blue)  !important; }
.text-dark   { color: var(--lm-dark)  !important; }
.text-gray   { color: var(--lm-gray)  !important; }
.gradient-text {
  background: linear-gradient(135deg, var(--lm-green), var(--lm-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-lm-green {
  background: var(--lm-green);
  color: #fff !important;
  border: none;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-lm-green:hover {
  background: var(--lm-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,197,94,.35);
}

.btn-lm-blue {
  background: var(--lm-blue);
  color: #fff !important;
  border: none;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-lm-blue:hover {
  background: var(--lm-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}

.btn-lm-outline {
  background: transparent;
  color: var(--lm-white) !important;
  border: 2px solid rgba(255,255,255,.35);
  padding: .75rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-lm-outline:hover {
  border-color: var(--lm-green);
  background: var(--lm-green);
}

/* ── Navbar ──────────────────────────────────────────────── */
.lm-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lm-border);
  padding: .65rem 0;
  transition: box-shadow .25s;
}
.lm-navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.09); }
.lm-navbar .nav-logo img { height: 38px; width: auto; }

.lm-navbar .navbar-nav .nav-link {
  color: var(--lm-dark-2) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .4rem .8rem !important;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.lm-navbar .navbar-nav .nav-link:hover,
.lm-navbar .navbar-nav .nav-link.active-nav {
  color: var(--lm-green) !important;
  background: var(--lm-green-light);
}

.nav-cta-login {
  color: var(--lm-dark) !important;
  font-weight: 600;
  font-size: .88rem;
  padding: .42rem 1.1rem !important;
  border-radius: 50px !important;
  border: 1.5px solid var(--lm-border) !important;
  transition: border-color .15s, color .15s;
}
.nav-cta-login:hover { border-color: var(--lm-green) !important; color: var(--lm-green) !important; }

.nav-cta-start {
  background: var(--lm-green) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: .88rem;
  padding: .42rem 1.2rem !important;
  border-radius: 50px !important;
  transition: background .15s, box-shadow .15s;
}
.nav-cta-start:hover {
  background: var(--lm-green-dark) !important;
  box-shadow: 0 4px 14px rgba(34,197,94,.4) !important;
}

/* ── Hero ────────────────────────────────────────────────── */
.lm-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0c1f3d 50%, #071a10 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.lm-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -5%;
  width: 55%; height: 80%;
  background: radial-gradient(circle, rgba(34,197,94,.14) 0%, transparent 65%);
  pointer-events: none;
}
.lm-hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: 0%;
  width: 45%; height: 60%;
  background: radial-gradient(circle, rgba(59,130,246,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(34,197,94,.13);
  border: 1px solid rgba(34,197,94,.28);
  color: var(--lm-green);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.lm-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}
.lm-hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-screenshot {
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
  transition: transform .45s;
}
.hero-screenshot:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
}

/* ── Stats bar ───────────────────────────────────────────── */
.lm-stats {
  background: var(--lm-dark);
  padding: 2.5rem 0;
}
.stat-item { text-align: center; padding: .5rem 0; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--lm-green), var(--lm-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-top: .25rem;
}

/* ── Section layout ─────────────────────────────────────── */
.section-pad { padding: 5.5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.bg-section { background: var(--lm-gray-light); }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lm-green);
  background: var(--lm-green-light);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--lm-dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--lm-gray);
  max-width: 580px;
  line-height: 1.75;
}
.divider-grad {
  height: 4px;
  width: 48px;
  background: linear-gradient(90deg, var(--lm-green), var(--lm-blue));
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

/* ── Feature cards ──────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lm-green), var(--lm-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--lm-shadow-lg); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }

.fc-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.fc-icon.g { background: var(--lm-green-light); color: var(--lm-green-dark); }
.fc-icon.b { background: var(--lm-blue-light);  color: var(--lm-blue-dark); }

.feature-card h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .55rem; color: var(--lm-dark); }
.feature-card p  { font-size: .88rem; color: var(--lm-gray); line-height: 1.65; margin: 0; }

/* ── Steps ──────────────────────────────────────────────── */
.step-item { display: flex; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--lm-border); }
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lm-green), var(--lm-blue));
  color: #fff; font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.step-text h5 { font-weight: 700; color: var(--lm-dark); margin-bottom: .3rem; font-size: .98rem; }
.step-text p  { font-size: .88rem; color: var(--lm-gray); line-height: 1.6; margin: 0; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-wrap { position: relative; }
.pricing-card {
  background: #fff;
  border: 2px solid var(--lm-border);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--lm-green);
  background: linear-gradient(155deg, #0a1628, #0f2044);
  transform: scale(1.02);
}
.pricing-card:not(.featured):hover { transform: translateY(-5px); box-shadow: var(--lm-shadow-lg); }
.popular-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--lm-green); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .8rem; border-radius: 50px;
}
.pricing-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .4rem; }
.pricing-card.featured h3 { color: #fff; }
.pricing-card > .price-desc { font-size: .88rem; color: var(--lm-gray); margin-bottom: 1.5rem; }
.pricing-card.featured > .price-desc { color: rgba(255,255,255,.6); }
.price-main { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .25rem; }
.price-main .currency { font-size: 1.4rem; font-weight: 700; }
.price-main .amount   { font-size: 3rem;   font-weight: 800; line-height: 1; }
.price-main .period   { font-size: .85rem; opacity: .65; }
.pricing-card.featured .price-main .currency,
.pricing-card.featured .price-main .amount { color: #fff; }
.price-gst { font-size: .78rem; color: var(--lm-gray); margin-bottom: 1.75rem; }
.pricing-card.featured .price-gst { color: rgba(255,255,255,.45); }

.setup-box {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.75rem;
}
.setup-box .lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--lm-green-dark); margin-bottom: .2rem; }
.setup-box .val { font-size: 1.25rem; font-weight: 800; color: var(--lm-dark); }
.pricing-card.featured .setup-box { background: rgba(34,197,94,.08); }
.pricing-card.featured .setup-box .val { color: #fff; }

.pricing-divider { height: 1px; background: var(--lm-border); margin: 1.5rem 0; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,.1); }
.pricing-card .inc-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--lm-gray); margin-bottom: .9rem; }
.pricing-card.featured .inc-label { color: rgba(255,255,255,.5); }
.inc-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.inc-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; padding: .4rem 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
  color: var(--lm-dark-2);
}
.inc-list li:last-child { border-bottom: none; }
.inc-list li i { color: var(--lm-green); margin-top: 2px; flex-shrink: 0; }
.pricing-card.featured .inc-list li { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.06); }

/* ── Feature list (features page) ──────────────────────── */
.feat-category {
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.feat-cat-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--lm-gray-light);
  border-bottom: 1px solid var(--lm-border);
}
.feat-cat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.feat-cat-head h4 { font-weight: 700; font-size: 1rem; margin: 0; color: var(--lm-dark); }
.feat-cat-head span { font-size: .8rem; color: var(--lm-gray); margin-left: auto; }
.feat-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.feat-item {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .8rem 1.4rem;
  font-size: .86rem;
  color: var(--lm-dark-2);
  border-right: 1px solid var(--lm-border);
  border-bottom: 1px solid var(--lm-border);
  transition: background .15s;
}
.feat-item:hover { background: var(--lm-green-light); }
.feat-item i { color: var(--lm-green); margin-top: 3px; flex-shrink: 0; font-size: .8rem; }

/* ── Testimonial ────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  padding: 2.25rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: .5rem; left: 1.5rem;
  font-size: 5rem; line-height: 1;
  color: var(--lm-green); opacity: .25;
  font-family: Georgia, serif; font-weight: 900;
}
.testimonial-card .t-body {
  font-size: .98rem; color: var(--lm-dark-2);
  line-height: 1.8; font-style: italic;
  margin-bottom: 1.5rem; margin-top: 1rem;
}
.t-author { display: flex; align-items: center; gap: .75rem; }
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lm-green), var(--lm-blue));
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.t-name  { font-weight: 700; font-size: .9rem; color: var(--lm-dark); }
.t-role  { font-size: .8rem; color: var(--lm-gray); }

/* ── CTA section ────────────────────────────────────────── */
.lm-cta {
  background: linear-gradient(135deg, #071a10, #0a1628, #0c1f3d);
  padding: 5.5rem 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.lm-cta::before {
  content: '';
  position: absolute;
  top: -40%; left: 30%;
  width: 40%; height: 180%;
  background: radial-gradient(ellipse, rgba(34,197,94,.12) 0%, transparent 65%);
  pointer-events: none;
}
.lm-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: #fff; margin-bottom: 1rem;
}
.lm-cta p { font-size: 1.05rem; color: rgba(255,255,255,.68); margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ── Inner page hero ────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a1628, #0f2044);
  padding: 4rem 0 3.5rem;
}
.page-hero .ph-tag {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lm-green); margin-bottom: .75rem;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; color: #fff; margin-bottom: .75rem;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.68); max-width: 600px;
}
.breadcrumb-lm {
  display: flex; gap: .4rem; align-items: center;
  font-size: .85rem; margin-top: 1rem;
}
.breadcrumb-lm a { color: var(--lm-green); }
.breadcrumb-lm .sep { color: rgba(255,255,255,.3); }
.breadcrumb-lm .cur { color: rgba(255,255,255,.55); }

/* ── Footer ─────────────────────────────────────────────── */
.lm-footer {
  background: var(--lm-dark);
  padding: 4.5rem 0 0;
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); max-width: 260px; line-height: 1.75; }
.lm-footer .f-heading {
  color: #fff; font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.lm-footer ul { list-style: none; padding: 0; margin: 0; }
.lm-footer ul li { margin-bottom: .55rem; }
.lm-footer ul li a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .15s; }
.lm-footer ul li a:hover { color: var(--lm-green); }
.f-contact-item {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: .85rem;
}
.f-contact-item i { color: var(--lm-green); margin-top: 3px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .85rem;
  transition: background .15s, color .15s, border-color .15s;
  margin-right: .35rem;
}
.footer-social a:hover { background: var(--lm-green); border-color: var(--lm-green); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ── Contact ────────────────────────────────────────────── */
.contact-info-box {
  background: var(--lm-gray-light);
  border-radius: var(--lm-radius);
  padding: 2.25rem;
}
.ci-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.ci-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 10px; background: var(--lm-green-light); color: var(--lm-green-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.ci-text h6 { font-weight: 700; color: var(--lm-dark); margin-bottom: .2rem; font-size: .9rem; }
.ci-text p  { font-size: .88rem; color: var(--lm-gray); margin: 0; }
.contact-form-box {
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  padding: 2.5rem;
}
.contact-form-box .form-control,
.contact-form-box textarea {
  border: 1.5px solid var(--lm-border);
  border-radius: var(--lm-radius-sm);
  padding: .7rem 1rem;
  font-size: .9rem;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  font-family: var(--font);
  outline: none;
}
.contact-form-box .form-control:focus,
.contact-form-box textarea:focus {
  border-color: var(--lm-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}
.form-label { font-size: .85rem; font-weight: 600; color: var(--lm-dark-2); margin-bottom: .4rem; display: block; }

/* ── Back to top ────────────────────────────────────────── */
.btt {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 38px; height: 38px;
  background: var(--lm-green); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(34,197,94,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 9999;
}
.btt.show { opacity: 1; pointer-events: all; }
.btt:hover { background: var(--lm-green-dark); color: #fff; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .lm-hero { min-height: auto; padding: 3.5rem 0 3rem; }
  .hero-screenshot { transform: none !important; margin-top: 2.5rem; }
  .pricing-card.featured { transform: none; }
  .lm-navbar .navbar-collapse {
    background: #fff; border-radius: 12px; padding: 1rem 1.25rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.12); margin-top: .5rem;
  }
}
@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
  .feat-items { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .feat-items { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
}
