/**
 * Fund Reporting Landing Page Styles
 * Page-specific styles for /use-cases/fund-reporting/
 */

/* ============================================
   Contact Section - Enhanced Design
   ============================================ */

.contact-section {
  padding: 5rem 0;
}

.contact-wrapper {
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--theme-shadow-lg);
}

.contact-wrapper > .row {
  min-height: 100%;
}

.contact-wrapper > .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.contact-wrapper > .row > [class*="col-"] > * {
  flex: 1;
}

/* Left Side - Info & Benefits */
.contact-info-side {
  padding: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, 
    rgba(30, 79, 226, 0.08) 0%, 
    rgba(30, 79, 226, 0.02) 100%);
  border-right: 1px solid var(--theme-border-secondary);
}

[data-theme="dark"] .contact-info-side {
  background: linear-gradient(135deg, 
    rgba(30, 79, 226, 0.15) 0%, 
    rgba(30, 79, 226, 0.05) 100%);
}

.contact-info-side h2 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--theme-text-primary);
  margin: 1.25rem 0 1rem;
  line-height: 1.3;
}

.contact-intro {
  color: var(--theme-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Benefits List */
.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.benefit-text strong {
  color: var(--theme-text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.benefit-text span {
  color: var(--theme-text-tertiary);
  font-size: 0.85rem;
}

/* Trust Section */
.contact-trust {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--theme-border-secondary);
}

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--theme-text-tertiary);
  margin-bottom: 0.75rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-logo-placeholder {
  padding: 0.4rem 0.8rem;
  background: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border-secondary);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--theme-text-tertiary);
  font-weight: 500;
}

/* Right Side - Form */
.contact-form-side {
  padding: 3rem;
  background: var(--theme-bg-primary);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

[data-theme="dark"] .contact-form-side {
  background: rgba(0, 0, 0, 0.2);
}

.contact-form-enhanced {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--theme-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border-secondary);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--theme-text-primary);
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--theme-text-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--octigen-blue);
  box-shadow: 0 0 0 3px rgba(30, 79, 226, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Form Footer */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--theme-border-secondary);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--octigen-blue);
}

.form-consent label {
  font-size: 0.8rem;
  color: var(--theme-text-tertiary);
  cursor: pointer;
}

.form-consent label a {
  color: var(--octigen-blue);
  text-decoration: none;
}

.form-consent label a:hover {
  text-decoration: underline;
}

/* Submit Button */
.contact-submit-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--octigen-blue), #1a45c7);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 79, 226, 0.35);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.contact-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  padding: 0.5rem;
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 991px) {
  /* Contact Section Mobile */
  .contact-info-side {
    padding: 2rem;
    border-right: none;
    border-bottom: 1px solid var(--theme-border-secondary);
  }
  
  .contact-info-side h2 {
    font-size: 1.6rem;
  }
  
  .contact-form-side {
    padding: 2rem;
  }
  
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .contact-trust {
    display: none;
  }
}
