:root {
  --primary: #1f4fff;
  --gradient: linear-gradient(135deg, #1f4fff, #5f9cff);
  --text-dark: #0f172a;
  --text-light: #475569;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(0,0,0,0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  color: var(--text-dark);
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
:root { --primary: #1f4fff; --gradient: linear-gradient(135deg, #1f4fff, #5f9cff); --text-dark: #0f172a; --text-light: #475569; --bg-soft: #f8fafc; --radius: 16px; --shadow: 0 20px 40px rgba(0,0,0,0.06);
     /* Glass vars (adjusted for white background) */ --glass-bg: linear-gradient( 135deg, rgba(31, 79, 255, 0.08), rgba(95, 156, 255, 0.06) ); --glass-border: rgba(31, 79, 255, 0.18);
      /* CTA gradient (unchanged, reused for text) */ --cta-bg: linear-gradient(135deg, #7c3aed, #4f46e5); }









/* Floating Navbar */
.floating-navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px; /* reduced height */
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Logo */
/* Logo container */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo image */
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.nav-logo span {
  color: var(--primary);
}
/* Logo text */
.nav-logo span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 8px;
}

.nav-item {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-item:hover {
  background: rgba(31, 79, 255, 0.08);
}

/* Active Capsule */
.nav-item.active {
  background: rgba(31, 79, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(31,79,255,0.25);
}

/* CTA Button */
.nav-cta {
  padding: 10px 20px; /* reduced height */
  border-radius: 999px;
  border: none;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;

  background-image: var(--cta-bg);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  box-shadow: 0 8px 24px rgba(31, 79, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(31, 79, 255, 0.35);
}

.nav-inner {
  padding: 10px 16px;
}

.hero {
  padding: 120px 0;
  background: #71c9ff;
  color: #fff;
  text-align: center;
}


.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: auto;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-gradient {
  padding: 16px 36px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.section {
  padding: 100px 0;
}

.soft-bg {
  background: var(--bg-soft);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 60px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
}

.step span {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.step p {
  color: var(--text-light);
}

.footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 60px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #cbd5f5;
  margin-right: 20px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 80px 0;
  }
}

/* Smooth transition for navbar text */
.nav-logo span,
.nav-item {
  transition: color 0.3s ease;
}

/* Default (hero section) */
.floating-navbar .nav-logo span,
.floating-navbar .nav-item {
  color: #ffffff;
}

/* Scrolled state (past hero) */
.floating-navbar.scrolled .nav-logo span,
.floating-navbar.scrolled .nav-item {
  color: #0f172a;
}


/* Loan cards grid */
.loan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.loan-card {
  position: relative;
  height: 280px;
  padding: 32px;
  border-radius: 20px;
  cursor: pointer;

  background: linear-gradient(
    135deg,
    rgba(113, 201, 255, 0.22),
    rgba(113, 201, 255, 0.12)
  );
  
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(113, 201, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease-out;
}

/* Hover scale */
.loan-card:hover {
  transform: scale(1.05);
}

/* Text */
.loan-card h3 {
  margin-bottom: 12px;
}

.loan-card p {
  color: var(--text-light);
}

/* Apply button */
.loan-btn {
  position: absolute;
  bottom: 24px;
  left: 32px;

  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;

  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

/* Button reveal on hover */
.loan-card:hover .loan-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .loan-grid {
    grid-template-columns: 1fr;
  }

  .loan-card {
    height: auto;
  }

  .loan-btn {
    position: static;
    margin-top: 20px;
    opacity: 1;
    transform: none;
  }
}

/* ============================= */
/* WHY CHOOSE CRDTLIN – FEATURES */
/* ============================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  position: relative;
  padding: 38px 34px 40px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(113, 201, 255, 0.08),
    rgba(124, 58, 237, 0.04)
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(31, 79, 255, 0.12);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Subtle top accent */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #1f4fff, #7c3aed);
  opacity: 0.8;
}

/* Section label */
.feature-label {
  font-size: 12px;
  font-weight: 600;
  color: #4f46e5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Title */
.feature-card h3 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--text-dark);
}

/* Description */
.feature-card p {
  color: var(--text-light);
  line-height: 1.65;
  max-width: 95%;
}

/* Benefits list */
.feature-card ul {
  margin-top: 10px;
  padding-left: 18px;
}

.feature-card li {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================= */
/* SIMPLE LOAN PROCESS – PREMIUM */
/* ============================= */

.process-section {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    #71c9ff 0%,
    #5bb6f0 100%
  );
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left content */
.process-content {
  max-width: 520px;
}

.process-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
}

.process-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.process-cta {
  padding: 14px 34px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* Steps */
.process-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Vertical connector */
.process-steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.4);
}

/* Individual step */
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.step-indicator {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #ffffff;
}

.step-text p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Responsive */
@media (max-width: 768px) {
  .process-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-steps::before {
    left: 21px;
  }
}

/* ============================= */
/* PREMIUM FINTECH FOOTER */
/* ============================= */

.footer-premium {
  background: #0f172a;
  color: #cbd5f5;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

/* Brand */
.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(203,213,245,0.8);
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-brand address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(203,213,245,0.7);
}

/* Link groups */
.footer-links-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links-group a {
  display: block;
  font-size: 14px;
  color: rgba(203,213,245,0.75);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.footer-links-group a:hover {
  color: #ffffff;
}

/* CTA */
.footer-cta h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 14px;
  color: rgba(203,213,245,0.75);
  margin-bottom: 18px;
}

.footer-btn {
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(203,213,245,0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-premium {
    padding: 60px 0 24px;
  }
}
/* ============================= */
/* MOBILE NAVBAR REFINEMENT */
/* ============================= */
@media (max-width: 768px) {
  .nav-inner {
    padding: 8px 14px;
    gap: 10px;
  }

  .nav-logo span {
    font-size: 14px;
  }

  .nav-links {
    gap: 6px;
  }

  /* Hide unwanted links */
  .nav-home,
  .nav-about {
    display: none;
  }

  /* Keep only Loans & Contact */
  .nav-item {
    padding: 6px 12px;
    font-size: 13px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }
}
/* ============================= */
/* CRM MODAL – FINTECH STYLE */
/* ============================= */

.crm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2000;
}

.crm-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.crm-modal {
  width: 92%;
  max-width: 420px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.92),
    rgba(255,255,255,0.86)
  );
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s ease;
}

.crm-overlay.active .crm-modal {
  transform: translateY(0) scale(1);
}

/* Close button */
.crm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #475569;
}

/* Headings */
.crm-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.crm-subtitle {
  font-size: 14px;
  color: #475569;
  margin-bottom: 22px;
}

/* Form fields */
.crm-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.crm-field label {
  font-size: 13px;
  margin-bottom: 6px;
  color: #334155;
}

.crm-field span {
  color: #94a3b8;
  font-weight: 400;
}

.crm-field input,
.crm-field select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 14px;
  outline: none;
}

.crm-field input:focus,
.crm-field select:focus {
  border-color: var(--primary);
}

/* Submit */
.crm-submit {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.crm-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(31,79,255,0.35);
}

/* Mobile optimization */
@media (max-width: 480px) {
  .crm-modal {
    padding: 26px 22px;
  }
}

/* FORCE CRM MODAL VISIBILITY */
.crm-overlay {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
}

.crm-overlay:not(.active) {
  opacity: 0 !important;
  pointer-events: none !important;
}

.crm-overlay.active {
  opacity: 1 !important;
  pointer-events: all !important;
}



html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 120px;
}


/* === CRM RESPONSIVE HARDENING === */

.crm-modal {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* Smooth scrolling inside modal */
.crm-modal::-webkit-scrollbar {
  width: 6px;
}

.crm-modal::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.25);
  border-radius: 10px;
}

/* Prevent zoom distortion */
.crm-field input,
.crm-field select {
  width: 100%;
  min-width: 0;
}


@media (max-height: 700px) {
  .crm-modal {
    align-self: flex-start;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}


