/* ==========================================================================
   LAIMEIWEE B2B Partnership Page Styles
   ========================================================================== */

/* Hero Section */
.b2b-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/image/b2b-partnership/hero-bg.jpg'), linear-gradient(135deg, #1f2937 0%, #111827 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
  margin-bottom: 3rem;
}

.b2b-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 1;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  padding: 14px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  background: white;
  color: #1f2937;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #f3f4f6;
  color: #1f2937;
}

/* Cooperation Modes Section */
.cooperation-modes {
  padding: 80px 0;
  background: #f9fafb;
}

.section-title-main {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #1f2937;
}

.mode-card {
  background: white;
  border-radius: 12px;
  padding: 35px 30px;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #4A5568;
}

.mode-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.mode-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1f2937;
}

.mode-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
}

/* Form Section */
.application-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

#application-card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#application-card .card-body {
  padding: 50px 45px;
}

/* Form Sections */
.form-section {
  margin-bottom: 45px;
  padding-bottom: 35px;
  border-bottom: 2px solid #e5e7eb;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4A5568 0%, #2D3748 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Form Controls */
.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-label .required {
  color: #ef4444;
  margin-left: 3px;
}

.form-control,
.form-select {
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #4A5568;
  box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
  outline: none;
}

.form-text {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Checkboxes */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.form-check {
  margin-bottom: 0;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid #d1d5db;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #4A5568;
  border-color: #4A5568;
}

.form-check-label {
  margin-left: 8px;
  cursor: pointer;
  color: #374151;
  font-size: 0.95rem;
}

/* Privacy Agreement */
.privacy-section {
  background: #f9fafb;
  padding: 25px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
}

.privacy-section .form-check {
  display: flex;
  align-items: start;
  gap: 10px;
}

.privacy-section .form-check-input {
  margin-top: 4px;
  flex-shrink: 0;
}

.privacy-section .form-check-label {
  margin-left: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 16px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, #4A5568 0%, #2D3748 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
  background: linear-gradient(135deg, #2D3748 0%, #1a202c 100%);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer Process Info */
.process-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 40px;
  border-radius: 12px;
  margin-top: 50px;
  border-left: 5px solid #4A5568;
}

.process-info-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
}

.process-info-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Success Message */
.alert-success {
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  padding: 20px 25px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.alert-success i {
  font-size: 1.5rem;
  margin-right: 10px;
}

/* Loading State */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Responsive Design */
@media (max-width: 991px) {
  .b2b-hero {
    height: 60vh;
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .cooperation-modes {
    padding: 60px 0;
  }
  
  .mode-card {
    margin-bottom: 20px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .b2b-hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  #application-card .card-body {
    padding: 35px 25px;
  }
  
  .form-section-title {
    font-size: 1.3rem;
  }
  
  .section-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .section-title-main {
    font-size: 2rem;
  }
  
  .cooperation-modes {
    padding: 50px 0;
  }
  
  .application-section {
    padding: 50px 0;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .b2b-hero {
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-cta {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  #application-card .card-body {
    padding: 25px 20px;
  }
  
  .btn-submit {
    font-size: 1.1rem;
    padding: 14px 25px;
  }
}

