/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4f46e5;
  --secondary-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
}

body {
  font-family: "Mukta", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Pridi", serif;
}

h1 {
  font-size: 5rem;
  line-height: 1;
  margin: 0;
  margin-bottom: -0.5rem;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.05;
  margin: 0 0 1rem;
}

/* Header & Navigation */
.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.main_wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  height: 27px;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.button-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background-color: #000000;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #333333;
}

.btn-secondary {
  display: inline-block;
  background-color: #edf1ff;
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #d8b4fe;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #7e2fb9;
  color: white;
  min-height: 585px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Right-half container: image starts at the horizontal center and flows
   right, clipped at the screen edge (overflow hidden on .hero). */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url("images/hom-main.jpg");
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-content {
  grid-column: 1 / 7;
  position: relative;
  z-index: 2;
}

.hero-heading-wrapper {
  margin-bottom: 2rem;
}

.black-highlight {
  background-color: #000000;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}

.hero-content p {
  font-size: 1.5rem;
  margin-top: 3rem;
  opacity: 1;
  max-width: 438px;
}

.cta-button-primary {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button-primary:hover {
  background-color: #059669;
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 0.75rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Pricing Section */
.pricing {
  background-color: var(--bg-light);
  padding: 4rem 2rem;
  text-align: center;
}

.pricing h2 {
  margin-bottom: 3rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.1);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.price-card .price {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: bold;
}

/* App Showcase Section */
.app-showcase {
  background-color: #e2e65a;
  background-image: url("images/clouds.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0 0 0;
  position: relative;
  overflow: hidden;
}

.showcase-container {
  text-align: center;
}

.showcase-subtitle {
  font-size: 1.25rem;
  color: #000000;
  margin-bottom: 3rem;
  font-family: "Mukta", sans-serif;
}

.app-display-wrapper {
  position: relative;
  margin: 3rem auto 0 auto;
}

.app-display-image {
  width: 100%;
  height: auto;
  display: block;
}

.quick-calculations {
  padding: 4rem 0;
  background-color: #edf1ff;
}

.quick-calculations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.quick-calculations-copy {
  max-width: 540px;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: "Mukta", sans-serif;
}

.save-text {
  font-family: "SoCake", sans-serif;
}

.quick-calculations-description {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-family: "Mukta", sans-serif;
}

.quick-feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon img {
  width: 24px;
  height: 24px;
}

.feature-item h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.feature-item p {
  margin: 0.35rem 0 0;
  color: var(--text-light);
  line-height: 1.6;
  font-family: "Mukta", sans-serif;
}

.quick-calculations-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .quick-calculations-grid {
    grid-template-columns: 1fr;
  }

  .quick-calculations-copy {
    text-align: center;
  }

  .feature-item {
    justify-content: center;
  }

  .feature-item h3,
  .feature-item p {
    text-align: left;
  }
}

/* Fast Loans Full Width Section (compact overlay panel) */
.fast-loans-section {
  position: relative;
  width: 100%;
  background: #edf1ff;
  padding: 20px;
  min-height: auto;
  overflow: visible;
}

.fast-loans-background {
  background-image: url("images/fast-loans-img.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem 0;
  min-height: auto;
  border-radius: 12px;
  overflow: visible;
}

.fast-loans-panel {
  max-width: 50%;
  z-index: 10;
}

.panel-top {
  background: #7e2fb9;
  color: #ffffff;
  padding: 40px;
}

.panel-top p {
  margin: 0;
  font-family: "Mukta", sans-serif;
  font-size: 20px;
  opacity: 0.95;
}

.panel-bottom {
  background: #ffffff;
  padding: 20px 24px 32px 24px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.feature-icon-box {
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.feature-icon-box img {
  width: 22px;
  height: 22px;
}

.feature-text h3 {
  margin: 0;
  font-family: "Pridi", serif;
  font-size: 20px;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .fast-loans-panel {
    position: static;
    width: calc(100% - 4rem);
    margin: 1.5rem auto 0 auto;
  }

  .panel-top,
  .panel-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .fast-loans-container {
    padding: 3rem 1rem;
    justify-content: center;
  }

  .fast-loans-panel {
    max-width: 100%;
  }
}

/* Broker Portal CTA Section */
.portal-cta {
  background-color: var(--bg-white);
  padding: 5rem 0;
}

.portal-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.portal-cta-accent {
  font-family: "SoCake", "Pridi", serif;
  color: #7e2fb9;
}

.portal-cta-copy p {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-dark);
  font-family: "Mukta", sans-serif;
}

.portal-cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.portal-cta-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .portal-cta-grid {
    grid-template-columns: 1fr;
  }

  .portal-cta-image {
    order: -1;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.footer-links li:not(:last-child)::after {
  content: "|";
  margin-left: 0.5rem;
  color: var(--text-light);
}

.footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Responsive adjustments for app showcase */
@media (max-width: 1024px) {
  .feature-label {
    position: static;
    display: block;
    margin: 1rem 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    order: 3;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
