/*
Theme Name: Private Lenders LLC Theme
Theme URI: https://privatelendersllc.com
Author: Alex reza
Author URI: https://www.fiverr.com/f_rezawl
Description: A custom Elementor-powered WordPress theme for Private Lenders LLC.
Version: 1.1.2
Text Domain: privatelenders
*/

/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  --navy-950: #060E1A;
  --navy-900: #0B1929;
  --navy-800: #0F2340;
  --navy-700: #183459;
  --steel:    #2A6BAC;
  --sky:      #5EB0F0;
  --gold:     #C4943A;
  --gold-lt:  #E8C07A;
  --white:    #FFFFFF;
  --mist:     rgba(255,255,255,0.60);
  --smoke:    rgba(255,255,255,0.30);
  --hairline: rgba(255,255,255,0.10);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  background: rgba(6,14,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s;
}

/* WP Admin Bar Fix */
body.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--navy-950);
  font-weight: 700;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 15px; font-weight: 500; color: var(--white);
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 10px; color: var(--smoke); font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a { font-size: 13px; color: var(--mist); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5vw 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(42,107,172,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 90% 80%, rgba(196,148,58,0.08) 0%, transparent 50%),
    linear-gradient(175deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
/* Signature element: architectural grid lines suggesting a building under construction */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07;
  background-image:
    linear-gradient(to right, var(--sky) 1px, transparent 1px),
    linear-gradient(to bottom, var(--sky) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, black 30%, transparent 80%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--sky);
}
.hero-sub {
  font-size: 16px;
  color: var(--mist);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 14px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--mist);
  font-size: 14px; font-weight: 400;
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--smoke); color: var(--white); }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px; color: var(--white);
}
.hero-stat-lbl {
  font-size: 11px; color: var(--smoke);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 2px;
}

/* ─── LEAD FORM CARD ────────────────────────────────────── */
.hero-form-card {
  background: rgba(15,35,64,0.70);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  padding: 32px 28px;
  position: relative;
}
.hero-form-card::before {
  content: '';
  position: absolute; top: 0; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  border-radius: 0 0 2px 2px;
}
.form-heading {
  font-size: 17px; font-weight: 500; color: var(--white);
  margin-bottom: 4px;
}
.form-sub {
  font-size: 12px; color: var(--smoke);
  margin-bottom: 22px;
}
/* Audience selector tabs */
.audience-tabs {
  display: flex; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--hairline);
  margin-bottom: 22px;
}
.aud-btn {
  flex: 1; padding: 9px 6px;
  background: transparent;
  color: var(--smoke);
  font-size: 12px; font-weight: 500;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.aud-btn.active {
  background: var(--steel);
  color: var(--white);
}

/* Step containers */
.form-step { display: none; }
.form-step.active { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.field-row.full { grid-template-columns: 1fr; }
.field {
  display: flex; flex-direction: column; gap: 5px;
}
.field label {
  font-size: 11px; color: var(--smoke);
  text-transform: uppercase; letter-spacing: 1px;
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline);
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 13px; color: var(--white);
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--smoke); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel);
}
.field select option { background: var(--navy-800); color: var(--white); }
.field textarea { resize: vertical; min-height: 72px; }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 14px; font-weight: 600;
  padding: 13px;
  border: none; border-radius: 8px;
  margin-top: 14px;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--gold-lt); transform: translateY(-1px); }
.form-disclaimer {
  font-size: 11px; color: var(--smoke);
  text-align: center; margin-top: 10px; line-height: 1.5;
}
.step-nav {
  display: flex; gap: 8px; margin-top: 12px;
}
.step-back {
  flex: 1; padding: 11px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--mist);
  font-size: 13px;
  transition: border-color 0.2s;
}
.step-back:hover { border-color: var(--smoke); }
.step-next {
  flex: 2; padding: 11px;
  background: var(--steel);
  border: none; border-radius: 8px;
  color: var(--white);
  font-size: 13px; font-weight: 500;
  transition: background 0.2s;
}
.step-next:hover { background: #3578BE; }

/* progress dots */
.step-dots {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 18px;
}
.step-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hairline);
  transition: background 0.2s;
}
.step-dot.active { background: var(--gold); }

/* success state */
.form-success {
  display: none; text-align: center; padding: 20px 0;
}
.form-success .check {
  width: 56px; height: 56px;
  background: rgba(94,176,240,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.form-success h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.form-success p { font-size: 13px; color: var(--mist); }

/* ─── TRUST BAR ─────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 5vw;
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--smoke);
}
.trust-item svg { flex-shrink: 0; }

/* ─── AUDIENCES SECTION ─────────────────────────────────── */
.section {
  padding: 96px 5vw;
}
.section-inner {
  max-width: 1140px; margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 16px; color: var(--mist); max-width: 560px; line-height: 1.7;
  margin-bottom: 56px;
}

.audiences-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.aud-card {
  background: var(--navy-800);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.aud-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.aud-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.aud-card.dev::before { background: var(--sky); }
.aud-card.inv::before { background: var(--gold); }
.aud-card.bor::before { background: #7EC8A4; }

.aud-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.aud-card.dev .aud-icon { background: rgba(94,176,240,0.12); }
.aud-card.inv .aud-icon { background: rgba(196,148,58,0.12); }
.aud-card.bor .aud-icon { background: rgba(126,200,164,0.12); }

.aud-card-title { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.aud-card-desc { font-size: 13px; color: var(--mist); line-height: 1.7; margin-bottom: 22px; }
.aud-card-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.aud-card-features li {
  font-size: 12px; color: var(--smoke);
  display: flex; align-items: flex-start; gap: 8px;
}
.aud-card-features li::before {
  content: '✓';
  color: var(--sky); flex-shrink: 0;
}
.aud-card.inv .aud-card-features li::before { color: var(--gold); }
.aud-card.bor .aud-card-features li::before { color: #7EC8A4; }
.aud-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  margin-top: 24px;
  color: var(--sky);
  border: none; background: none; padding: 0;
  transition: gap 0.2s;
}
.aud-card.inv .aud-card-link { color: var(--gold); }
.aud-card.bor .aud-card-link { color: #7EC8A4; }
.aud-card-link:hover { gap: 10px; }

/* ─── STATS SECTION ─────────────────────────────────────── */
.stats-section {
  padding: 80px 5vw;
  background: var(--navy-900);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stats-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px; overflow: hidden;
}
.stat-block {
  background: var(--navy-900);
  padding: 36px 32px;
  text-align: center;
}
.stat-block-num {
  font-family: var(--font-display);
  font-size: 42px; color: var(--white);
  line-height: 1;
}
.stat-block-num span { color: var(--gold); }
.stat-block-lbl {
  font-size: 12px; color: var(--smoke);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 8px;
}

/* ─── LOAN TYPES ────────────────────────────────────────── */
.loan-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.loan-card {
  background: var(--navy-800);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.loan-card:hover { border-color: rgba(255,255,255,0.2); }
.loan-card-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 10px;
}
.loan-card-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.loan-card-desc { font-size: 12px; color: var(--mist); line-height: 1.6; }
.loan-card-meta {
  display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap;
}
.loan-meta-item {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--smoke);
}
.loan-meta-item strong { color: var(--sky); font-weight: 400; }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-section { padding: 96px 5vw; background: var(--navy-900); border-top: 1px solid var(--hairline); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 0;
}
.testimonial-card {
  background: var(--navy-800);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 28px;
}
.testimonial-stars {
  color: var(--gold); font-size: 14px; letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.5;
  color: var(--white);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author { font-size: 12px; color: var(--smoke); }
.testimonial-author strong { color: var(--mist); display: block; margin-bottom: 2px; }
.testimonial-amount {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--sky);
  background: rgba(94,176,240,0.1);
  padding: 3px 10px; border-radius: 20px;
  margin-top: 8px;
}

/* ─── PROCESS ───────────────────────────────────────────── */
.process-section { padding: 96px 5vw; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 22px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
}
.process-step { padding: 0 16px; text-align: center; }
.process-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--gold);
  margin: 0 auto 18px;
  position: relative; z-index: 1;
}
.process-step-title { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.process-step-desc { font-size: 12px; color: var(--mist); line-height: 1.6; }

/* ─── BOTTOM CTA ────────────────────────────────────────── */
.cta-section {
  padding: 96px 5vw;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(42,107,172,0.22) 0%, transparent 70%),
    var(--navy-950);
  border-top: 1px solid var(--hairline);
}
.cta-section .section-h2 { max-width: 600px; margin: 0 auto 16px; }
.cta-section .section-lead { margin: 0 auto 36px; }
.cta-section .btn-primary { font-size: 15px; padding: 16px 36px; }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer {
  padding: 48px 5vw 32px;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}
.footer-brand-desc { font-size: 13px; color: var(--smoke); margin-top: 12px; line-height: 1.7; max-width: 240px; }
.footer-col-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--smoke); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--mist); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--smoke); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.2); max-width: 600px; line-height: 1.5; }

/* ─── MOBILE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .audiences-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .loan-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Fix Elementor specifics */
.elementor-widget-container { width: 100%; }
