/* ===== CORPORATE CONTACT FORM - C-LEVEL DESIGN ===== */

/* Section Background */
.corporate-contact-bg {
  background: 
    linear-gradient(135deg, 
      #f8fafc 0%,     /* Pure white start */
      #f1f5f9 25%,    /* Subtle slate tint */
      #e2e8f0 50%,    /* Light slate */
      #cbd5e1 75%,    /* Medium slate */
      #94a3b8 100%    /* Stronger slate */
    ),
    radial-gradient(circle at 25% 25%, rgba(30, 41, 59, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(71, 85, 105, 0.02) 0%, transparent 50%);
  position: relative;
}

.corporate-contact-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(148, 163, 184, 0.005) 2px,
      rgba(148, 163, 184, 0.005) 4px
    );
  pointer-events: none;
}

/* Typography */
.corporate-contact-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 12px rgba(30, 41, 59, 0.1);
}

.corporate-contact-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  opacity: 0.9;
}

/* Tab System */
.corporate-tab-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 
    0 8px 32px rgba(30, 41, 59, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.corporate-tab-btn {
  display: flex;
  align-items: center;
  color: #64748b;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.corporate-tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.corporate-tab-btn svg {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.corporate-tab-btn span,
.corporate-tab-btn {
  position: relative;
  z-index: 2;
}

.corporate-tab-btn span {
  color: inherit;
  transition: color 0.3s ease;
}

.corporate-tab-active {
  color: white !important;
}

.corporate-tab-active span {
  color: white !important;
}

.corporate-tab-active svg {
  color: white !important;
}

.corporate-tab-active::before {
  opacity: 1 !important;
}

.corporate-tab-btn:hover:not(.corporate-tab-active) {
  color: #334155;
  background: rgba(30, 41, 59, 0.05);
}

/* Form Wrapper */
.corporate-form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px rgba(30, 41, 59, 0.15),
    0 8px 32px rgba(51, 65, 85, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.corporate-form-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(30, 41, 59, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(71, 85, 105, 0.01) 0%, transparent 50%);
  pointer-events: none;
}

/* Form Header */
.corporate-form-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.corporate-form-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
}

.corporate-form-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}

.corporate-form-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  z-index: 1;
}

/* Form Layout */
.corporate-form {
  padding: 32px;
}

.corporate-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.corporate-form-group-full {
  grid-column: 1 / -1;
}

/* Form Group */
.corporate-form-group {
  position: relative;
}

.corporate-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* Input Wrapper */
.corporate-input-wrapper {
  position: relative;
}

.corporate-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #64748b;
  z-index: 2;
  transition: color 0.3s ease;
}

.corporate-input-icon-top {
  top: 16px;
  transform: none;
}

/* Input Styles */
.corporate-input, .corporate-textarea {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  color: #1e293b;
}

.corporate-textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 16px;
}

.corporate-input:focus, .corporate-textarea:focus {
  border-color: #334155;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 0 0 4px rgba(51, 65, 85, 0.1),
    0 8px 25px rgba(30, 41, 59, 0.1);
  transform: translateY(-1px);
}

.corporate-input:focus + .corporate-input-icon,
.corporate-textarea:focus + .corporate-input-icon {
  color: #334155;
}

.corporate-input::placeholder, .corporate-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Consent Section */
.corporate-consent-wrapper {
  margin: 20px 0;
  padding: 20px;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.corporate-consent-group {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.corporate-checkbox {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.corporate-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.corporate-checkbox:checked + .corporate-consent-label .corporate-checkbox-custom {
  background: #334155;
  border-color: #334155;
}

.corporate-checkbox:checked + .corporate-consent-label .corporate-checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.corporate-consent-label {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.corporate-link {
  color: #334155;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline;
  white-space: nowrap;
}

.corporate-link:hover {
  color: #1e293b;
}

/* Submit Section */
.corporate-submit-wrapper {
  text-align: center;
  margin-top: 24px;
}

.corporate-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 20px 40px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  letter-spacing: 0.025em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(30, 41, 59, 0.25),
    0 4px 16px rgba(51, 65, 85, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.corporate-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.corporate-submit-btn svg {
  position: relative;
  z-index: 2;
}

.corporate-submit-btn span {
  position: relative;
  z-index: 2;
}

.corporate-submit-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(30, 41, 59, 0.35),
    0 8px 24px rgba(51, 65, 85, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.corporate-submit-btn:hover::before {
  opacity: 1;
}

.corporate-submit-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.corporate-submit-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #64748b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .corporate-form-header {
    padding: 24px 20px;
  }
  
  .corporate-form {
    padding: 24px 20px;
  }
  
  .corporate-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .corporate-form-title {
    font-size: 1.75rem;
  }
  
  .corporate-tab-btn {
    padding: 12px 16px;
    font-size: 0.875rem;
  }
  
  .corporate-tab-btn svg {
    width: 16px;
    height: 16px;
  }
  
  /* Fix mobile text wrapping for privacy consent - better approach */
  .corporate-form .corporate-consent-label {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    word-spacing: normal;
  }
  
  .corporate-form .corporate-consent-label .corporate-link {
    white-space: nowrap !important;
    display: inline !important;
  }
  
  /* Ensure text flows properly on mobile */
  .corporate-form .corporate-consent-label .corporate-checkbox-custom {
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  /* Better mobile layout for consent */
  .corporate-form .corporate-consent-wrapper {
    padding: 24px 16px;
  }
  
  .corporate-form .corporate-consent-group {
    width: 100%;
  }
  
  /* Mobile specific - allow natural text wrapping */
  .corporate-form .corporate-consent-label {
    flex-wrap: wrap;
    max-width: 100%;
  }
}