* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #f5f8fa;
  color: #222;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 72px;
  background: linear-gradient(90deg, #1a237e 60%, #3949ab 100%);
  box-shadow: 0 2px 12px rgba(30,40,90,0.08);
  position: relative;
}

.navbar__brand {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex: 1;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar__toggle-line {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.navbar__toggle--active .navbar__toggle-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar__toggle--active .navbar__toggle-line:nth-child(2) {
  opacity: 0;
}

.navbar__toggle--active .navbar__toggle-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.navbar__menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__menu a {
  color: #e3e9f7;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}

.navbar__menu a:hover {
  background: #536dfe;
  color: #fff;
}

.navbar__menu a.active {
  background: #2979ff;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(41,121,255,0.18);
}

/* Finance Hero Section */
.finance-hero {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #2979ff 100%);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}

.finance-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.finance-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.finance-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.finance-hero p {
  font-size: 1.2rem;
  color: #b3c0e0;
  line-height: 1.5;
}

/* Finance Intro Section */
.finance-intro {
  padding: 48px 24px;
  background: #fff;
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.06);
}

.finance-intro__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.finance-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 24px;
  line-height: 1.3;
}

.finance-intro p {
  font-size: 1.1rem;
  color: #3a4a6d;
  line-height: 1.7;
}

/* Loan Details Section */
.loan-details {
  padding: 48px 24px;
  background: linear-gradient(90deg, #e3e9f7 60%, #f5f8fa 100%);
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.04);
}

.loan-details h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
}

.loan-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.loan-feature {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(41,121,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.loan-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(41,121,255,0.18);
}

.feature-icon {
  font-size: 1.5rem;
  color: #2979ff;
  font-weight: bold;
}

.feature-content h3 {
  font-size: 1.1rem;
  color: #1a237e;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.feature-content p {
  font-size: 1rem;
  color: #3a4a6d;
  margin: 0;
}

.loan-notes {
  text-align: center;
}

.note {
  font-size: 1rem;
  color: #3a4a6d;
  margin-bottom: 12px;
}

.highlight {
  font-size: 1.1rem;
  color: #2979ff;
  font-weight: 600;
  background: rgba(41,121,255,0.1);
  padding: 12px 24px;
  border-radius: 20px;
  display: inline-block;
}

/* Calculation Example Section */
.calculation-example {
  padding: 48px 24px;
  background: #fff;
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.06);
}

.calculation-example h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
}

.example-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #e3e9f7 100%);
  border-radius: 20px;
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(41,121,255,0.08);
}

.example-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.example-icon {
  font-size: 1.5rem;
}

.example-header h3 {
  font-size: 1.3rem;
  color: #1a237e;
  font-weight: 700;
  margin: 0;
}

.example-details {
  margin-bottom: 24px;
}

.example-details p {
  font-size: 1rem;
  color: #3a4a6d;
  margin-bottom: 8px;
}

.calculation-breakdown {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}

.calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e3e9f7;
}

.calc-item:last-child {
  border-bottom: none;
}

.calc-item.total {
  font-weight: 700;
  color: #1a237e;
  font-size: 1.1rem;
  background: rgba(41,121,255,0.05);
  margin: 12px -20px -20px -20px;
  padding: 16px 20px;
  border-radius: 0 0 16px 16px;
}

/* Key Features Section */
.key-features {
  padding: 48px 24px;
  background: linear-gradient(90deg, #e3e9f7 60%, #f5f8fa 100%);
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.04);
}

.key-features h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
}

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

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(41,121,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(41,121,255,0.18);
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #1a237e;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.feature-card p {
  font-size: 1rem;
  color: #3a4a6d;
  line-height: 1.6;
  margin: 0;
}

/* Why Choose Section */
.why-choose {
  padding: 48px 24px;
  background: #fff;
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.06);
}

.why-choose h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
}

.reasons-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e3e9f7 100%);
  border-radius: 16px;
  transition: transform 0.2s;
}

.reason-item:hover {
  transform: translateY(-2px);
}

.reason-icon {
  font-size: 1.5rem;
  color: #2979ff;
  flex-shrink: 0;
}

.reason-content h3 {
  font-size: 1.1rem;
  color: #1a237e;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.reason-content p {
  font-size: 1rem;
  color: #3a4a6d;
  line-height: 1.5;
  margin: 0;
}

/* Important Notice Section */
.important-notice {
  padding: 48px 24px;
  background: linear-gradient(90deg, #fff3cd 60%, #ffeaa7 100%);
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.04);
  border-left: 4px solid #f39c12;
}

.important-notice h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.notice-content {
  max-width: 800px;
  margin: 0 auto;
}

.notice-content p {
  font-size: 1rem;
  color: #3a4a6d;
  line-height: 1.7;
  text-align: center;
}

/* Finance Contact Section */
.finance-contact {
  padding: 48px 24px;
  background: linear-gradient(90deg, #e3e9f7 60%, #f5f8fa 100%);
  border-radius: 24px;
  margin: 24px auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 2px 16px rgba(30,40,90,0.04);
}

.finance-contact h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.finance-contact > p {
  text-align: center;
  font-size: 1.1rem;
  color: #3a4a6d;
  margin-bottom: 32px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(41,121,255,0.08);
  transition: transform 0.2s;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.5rem;
  color: #2979ff;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  color: #1a237e;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.contact-details p {
  font-size: 1rem;
  color: #3a4a6d;
  line-height: 1.5;
  margin: 0;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #1a237e 60%, #3949ab 100%);
  color: #fff;
  padding: 0 24px;
  margin-top: 32px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 12px rgba(30,40,90,0.08);
}

.footer__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 0 20px 0;
  gap: 24px;
}

.footer__brand {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.footer__info {
  font-size: 0.95rem;
  color: #b3c0e0;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  color: #e3e9f7;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 16px;
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
}

.footer__nav a:hover {
  background: #536dfe;
  color: #fff;
}

.footer__copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #b3c0e0;
  padding-bottom: 16px;
}

.footer-icon {
  padding-top: 10px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 2px;
  margin-right: 8px;
}

/* Mobile styles */
@media (max-width: 600px) {
  * {
    max-width: 100vw;
  }
  
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .navbar {
    padding: 0 16px;
    height: 64px;
    width: 100%;
    max-width: 100vw;
  }
  
  .navbar__brand {
    font-size: 1rem;
    letter-spacing: 0.3px;
  }
  
  .navbar__toggle {
    display: flex;
  }
  
  .navbar__menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #1a237e 60%, #3949ab 100%);
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(30,40,90,0.2);
    z-index: 1000;
  }
  
  .navbar__menu--active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar__menu li {
    width: 100%;
  }
  
  .navbar__menu a {
    display: block;
    padding: 16px 24px;
    border-radius: 0;
    text-align: center;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .navbar__menu a:last-child {
    border-bottom: none;
  }
  
  .finance-hero {
    padding: 40px 16px;
  }
  
  .finance-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }
  
  .finance-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .finance-hero p {
    font-size: 1rem;
  }
  
  .finance-intro,
  .loan-details,
  .calculation-example,
  .key-features,
  .why-choose,
  .important-notice,
  .finance-contact {
    padding: 32px 16px;
    margin: 16px auto 0 auto;
    border-radius: 20px;
  }
  
  .finance-intro h2,
  .loan-details h2,
  .calculation-example h2,
  .key-features h2,
  .why-choose h2,
  .important-notice h2,
  .finance-contact h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }
  
  .loan-features,
  .features-grid,
  .reasons-list,
  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .loan-feature,
  .feature-card,
  .reason-item,
  .contact-item {
    padding: 20px 16px;
  }
  
  .example-card {
    padding: 24px 20px;
  }
  
  .footer {
    padding: 0 16px;
    margin-top: 24px;
    border-radius: 20px 20px 0 0;
  }
  
  .footer__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0 16px 0;
  }
  
  .footer__brand {
    font-size: 1.1rem;
  }
  
  .footer__info {
    font-size: 0.9rem;
  }
  
  .footer__nav {
    width: 100%;
  }
  
  .footer__nav a {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
  
  .footer__copyright {
    font-size: 0.85rem;
    padding-bottom: 12px;
  }
}
