body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f7f6;
  color: #4a4a4a;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f4f7f6;
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #764ba2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #5c3a82;
}

.cta-button {
  background-color: #764ba2;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #5c3a82;
}

.main-content {
  padding: 40px 0;
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5em;
  color: #764ba2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #764ba2;
}

.feature i {
  font-size: 1.5em;
}

.hero-cta {
  display: inline-block;
  background-color: #764ba2;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #5c3a82;
}

.hero-image {
  flex: 1;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
}

.features-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.feature-card {
  flex: 1;
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 3em;
  color: #764ba2;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: #333;
}

.main-footer {
  background-color: #764ba2;
  color: white;
  padding: 40px 0;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

.footer-social a {
  color: white;
  font-size: 1.5em;
  margin-right: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

header {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3f?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 70px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.hero button,
.form-actions button,
#feeModal button {
  background-color: #ff6b6b;
  color: white;
  padding: 18px 35px;
  font-size: 1.3em;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: block;
  margin: 20px auto;
}

.hero button:hover,
.form-actions button:hover,
#feeModal button:hover {
  background-color: #f44336;
}

.steps {
  padding: 60px 20px;
  text-align: center;
}

.steps h2 {
  font-size: 2.4em;
  margin-bottom: 40px;
  color: #333;
}

.steps-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.step {
  width: 30%;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 1.8em;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.benefits {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.benefits h2 {
  font-size: 2.4em;
  margin-bottom: 40px;
  color: #333;
}

.benefits-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.benefit {
  width: 30%;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  color: #764ba2;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 25px;
  font-size: 0.9em;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 700px;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 2em;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1em;
  color: #444;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.payment-modal {
  text-align: center;
}

.payment-subtitle {
  color: #666;
  margin-bottom: 20px;
}

.payment-methods.enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.payment-method {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.payment-method.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f9f9f9;
}

.payment-method.disabled:hover {
  transform: none;
  border-color: #e0e0e0;
}

.payment-method:hover {
  border-color: #764ba2;
  background-color: rgba(118, 75, 162, 0.05);
  transform: scale(1.05);
}

.payment-method i {
  font-size: 3em;
  margin-bottom: 10px;
  color: #764ba2;
}

.payment-method span {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.payment-unavailable {
  color: #888;
  font-size: 0.8em;
  margin-top: 5px;
}

.payment-form {
  display: none;
  padding: 20px;
  width: 100%;
}

.payment-form .form-group {
  margin-bottom: 15px;
}

.payment-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.payment-form button {
  background-color: #764ba2;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  width: 100%;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.payment-form button:hover {
  background-color: #5c3a82;
}

.payment-methods {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

.payment-methods i {
  font-size: 4em;
  color: #555;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#simulationResult {
  text-align: center;
  font-size: 1.3em;
  margin-top: 30px;
  color: #444;
}

.company-intro {
  padding: 80px 20px;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto 30px;
  max-width: 800px;
}

.company-intro h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 20px;
}

.company-intro p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  margin: 20px auto;
}

.loading-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.loading-container {
  text-align: center;
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.loading-spinner-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.loading-spinner {
  width: 100px;
  height: 100px;
  border: 10px solid #f3f3f3;
  border-top: 10px solid #764ba2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: #764ba2;
  font-size: 1.2em;
  font-weight: bold;
}

.pre-approved-container {
  text-align: center;
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pre-approved-amount .amount {
  font-size: 3em;
  color: #764ba2;
  margin: 20px 0;
}

.continue-button {
  display: inline-block;
  background-color: #764ba2;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.continue-button:hover {
  background-color: #5c3a82;
  transform: translateY(-3px);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .payment-methods.enhanced {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-method {
    padding: 15px;
  }

  .payment-method i {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .payment-methods.enhanced {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .features-section,
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-features {
    justify-content: center;
  }

  .main-nav {
    flex-direction: column;
  }
}