/* ====================================
   CONTACT PAGE - APP-CENTER DARK THEME
   ==================================== */

:root {
  --color-bg-dark: #0b0f14;
  --color-bg-subtle: #0f141b;
  --color-bg-card: #111820;
  --color-accent: #64b6b8;
  --color-accent-subtle: rgba(58, 143, 149, 0.16);
  --color-text: rgba(255, 255, 255, 0.92);
  --color-text-secondary: rgba(255, 255, 255, 0.65);
  --color-text-tertiary: rgba(255, 255, 255, 0.5);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-focus: rgba(58, 143, 149, 0.45);
  --color-success: #64b6b8;
  --color-error: #ff6b6b;
}

.contact-founder-page {
  background: var(--color-bg-dark);
  min-height: 100vh;
}

.founder-contact-title {
  color: var(--color-text);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.founder-contact-subtext {
  color: var(--color-text-secondary);
  font-size: 16px;
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}

/* MAIN LAYOUT */
.founder-contact-section {
  padding: 40px 0;
  background: var(--color-bg-dark);
}

.founder-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* LEFT COLUMN */
.founder-contact-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Delivery commitments */
.founder-protection-mini {
  background: rgba(58, 143, 149, 0.09);
  border: 1px solid var(--color-accent-subtle);
  border-radius: 8px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.protection-title {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
}

.protection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.protection-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.protection-icon {
  min-width: 16px;
  min-height: 16px;
}

/* Direct Contact Block */
.founder-contact-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
}

.contact-info-title {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 18px 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.contact-method:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
  opacity: 0.6;
}

.contact-method-text {
  flex: 1;
}

.contact-label {
  font-size: 12px;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 4px 0;
}

.contact-value {
  color: var(--color-text);
  font-size: 15px;
  margin: 0;
  word-break: break-all;
}

.contact-location {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.location-text {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Hint Text */
.founder-contact-hint {
  background: rgba(58, 143, 149, 0.06);
  border-left: 2px solid var(--color-accent);
  padding: 14px 16px;
  border-radius: 4px;
}

.founder-contact-hint p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* RIGHT COLUMN - FORM */
.founder-contact-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Application Form Container */
.founder-application-form {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px;
}

.form-title {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.form-helper {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

/* Form Elements */
.founder-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.optional {
  color: var(--color-text-tertiary);
  font-weight: 400;
}

.founder-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.founder-input::placeholder {
  color: rgba(255, 255, 255, 0.66);
  opacity: 1;
}

.founder-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-border-focus);
}

.founder-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Select dropdown styling */
.founder-input[type='select'],
.founder-input select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 36px;
}

.founder-input select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 18px !important;
  padding-right: 36px !important;
}

/* Captcha styling */
.founder-captcha {
  margin-top: 4px;
}

.founder-captcha .g-recaptcha {
  transform: scale(0.92);
  transform-origin: 0 0;
}

/* Submit Section */
.form-submit-section {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-btn-primary {
  background: var(--color-accent);
  color: #0b0f14;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.founder-btn-primary:hover:not(:disabled) {
  background: #7ac6c8;
  transform: translateY(-1px);
}

.founder-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.founder-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.founder-btn-primary.btn-success {
  background: rgba(58, 143, 149, 0.3);
  color: var(--color-accent);
}

/* Trust Lines */
.founder-trust-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-tertiary);
  text-align: center;
}

.founder-trust-lines li {
  line-height: 1.5;
}

/* Submit Message / Confirmation */
.submit-message {
  min-height: 0;
}

.founder-confirmation {
  background: rgba(58, 143, 149, 0.09);
  border: 1px solid var(--color-accent-subtle);
  border-radius: 6px;
  padding: 18px;
  animation: slideInConfirm 0.3s ease forwards;
}

.founder-confirmation h4 {
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.founder-confirmation p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.founder-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 6px;
  padding: 12px 16px;
  color: #ff8a8a;
  font-size: 14px;
  animation: slideInConfirm 0.3s ease forwards;
}

/* What Happens Next Section */
.founder-next-section {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border);
  padding: 32px;
  border-radius: 8px;
}

.next-title {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 24px 0;
  letter-spacing: -0.3px;
}

.next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.next-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.next-number {
  min-width: 28px;
  width: 28px;
  height: 28px;
  background: #3a8f95;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

.next-text {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  padding-top: 4px;
}

/* ANIMATIONS */
@keyframes slideInConfirm {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
  .founder-contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-contact-title {
    font-size: 40px;
  }

  .founder-application-form {
    padding: 24px;
  }

  .founder-next-section {
    padding: 24px;
  }
}

/* RESPONSIVE - TABLET SMALL */
@media (max-width: 768px) {
  .founder-contact-header {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .founder-contact-title {
    font-size: 32px;
  }

  .founder-contact-subtext {
    font-size: 15px;
  }

  .founder-contact-section {
    padding: 30px 0;
  }

  .founder-contact-layout {
    gap: 30px;
  }

  .founder-contact-left {
    gap: 24px;
  }

  .founder-protection-mini,
  .founder-contact-info {
    padding: 20px;
  }

  .protection-title,
  .contact-info-title {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .protection-list li {
    font-size: 14px;
  }

  .contact-method {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .contact-value {
    font-size: 14px;
  }

  .form-title {
    font-size: 20px;
  }

  .founder-application-form {
    padding: 20px;
  }

  .founder-form {
    gap: 16px;
  }

  .founder-btn-primary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .next-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .next-list li {
    gap: 12px;
  }

  .next-text {
    font-size: 14px;
  }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .founder-contact-header {
    padding: 30px 0;
    margin-bottom: 24px;
  }

  .founder-contact-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .founder-contact-subtext {
    font-size: 14px;
  }

  .founder-contact-section {
    padding: 20px 0;
  }

  .founder-contact-layout {
    gap: 24px;
  }

  .founder-contact-left {
    gap: 18px;
  }

  .founder-protection-mini,
  .founder-contact-info {
    padding: 16px;
  }

  .protection-title,
  .contact-info-title {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .protection-list li {
    font-size: 13px;
    gap: 10px;
  }

  .contact-icon {
    min-width: 16px;
    min-height: 16px;
  }

  .contact-method {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .contact-value {
    font-size: 13px;
  }

  .location-text {
    font-size: 13px;
  }

  .form-title {
    font-size: 18px;
  }

  .form-helper {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .founder-application-form {
    padding: 16px;
  }

  .founder-form {
    gap: 14px;
  }

  .form-label {
    font-size: 13px;
  }

  .founder-input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .founder-input select {
    font-size: 14px;
  }

  .form-submit-section {
    margin-top: 18px;
    gap: 12px;
  }

  .founder-btn-primary {
    padding: 11px 16px;
    font-size: 13px;
  }

  .founder-trust-lines {
    font-size: 12px;
  }

  .founder-next-section {
    padding: 16px;
  }

  .next-title {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .next-list {
    gap: 12px;
  }

  .next-list li {
    gap: 10px;
  }

  .next-number {
    min-width: 24px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .next-text {
    font-size: 13px;
  }

  .founder-contact-hint {
    padding: 12px 14px;
  }

  .founder-contact-hint p {
    font-size: 13px;
  }
}

/* Match the 3D Pros homepage and case-study surfaces */
.contact-founder-page {
  --color-bg-dark: #0b0f14;
  --color-bg-subtle: #0f141b;
  --color-bg-card: #111820;
  --color-accent: #64b6b8;
  --color-accent-subtle: rgba(58, 143, 149, 0.16);
  --color-text: rgba(255, 255, 255, 0.94);
  --color-text-secondary: rgba(255, 255, 255, 0.66);
  --color-text-tertiary: rgba(255, 255, 255, 0.46);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-focus: rgba(58, 143, 149, 0.45);
}

.founder-contact-section {
  padding: 86px 0 96px;
  background: transparent;
}

.founder-protection-mini,
.founder-contact-info,
.founder-application-form,
.founder-next-section {
  border-color: var(--color-border);
  background:
    linear-gradient(145deg, rgba(58, 143, 149, 0.1), transparent 34%),
    var(--color-bg-card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.founder-btn-primary {
  min-height: 46px;
  border-radius: 5px;
  background: #3a8f95;
  color: #071214;
  font-weight: 700;
}

.founder-btn-primary:hover:not(:disabled) {
  background: var(--color-accent);
  color: #071214;
}

/* Direct-contact rows use one separator each and reliable stroke icons. */
.contact-method,
.contact-method:last-of-type {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-title + .contact-method {
  padding-top: 0;
}

.contact-location {
  margin: 0;
  padding-top: 18px;
  border-top: 0;
}

.contact-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  color: var(--color-text-tertiary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}

.contact-note {
  margin: 5px 0 0;
  color: var(--color-text-tertiary);
  font-size: 12px;
  line-height: 1.5;
}

select.founder-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  padding-right: 40px;
}

@media (max-width: 767px) {
  .founder-contact-section {
    padding: 64px 0 72px;
  }
}

@media (max-width: 575px) {
  .founder-contact-section {
    padding: 52px 0 62px;
  }
}
