/* ==========================================================================
   08. CONTACT SECTION & INTERACTIVE FORM
   ========================================================================== */

.contact-section {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px 80px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 255, 102, 0.05), transparent 65%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  width: 100%;
  max-width: 1040px;
  margin-top: 12px;
}

.contact-pixel-panel {
  position: relative;
  background-color: rgba(10, 14, 11, 0.9);
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.03) 1px, transparent 1px);
  background-size: 8px 8px;
  border: 2px solid rgba(0, 217, 89, 0.35);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 255, 102, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(0px 8px, 8px 8px, 8px 0px,
      calc(100% - 8px) 0px, calc(100% - 8px) 8px, 100% 8px,
      100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
      8px 100%, 8px calc(100% - 8px), 0px calc(100% - 8px));
}

.contact-pixel-panel:hover {
  border-color: rgba(0, 255, 102, 0.65);
  box-shadow: 0 10px 40px rgba(0, 255, 102, 0.1), inset 0 0 24px rgba(0, 255, 102, 0.06);
}

.contact-pixel-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 217, 89, 0.6), rgba(0, 217, 89, 0.6)) 0 0 / 8px 8px no-repeat,
    linear-gradient(rgba(0, 217, 89, 0.6), rgba(0, 217, 89, 0.6)) 100% 0 / 8px 8px no-repeat,
    linear-gradient(rgba(0, 217, 89, 0.6), rgba(0, 217, 89, 0.6)) 0 100% / 8px 8px no-repeat,
    linear-gradient(rgba(0, 217, 89, 0.6), rgba(0, 217, 89, 0.6)) 100% 100% / 8px 8px no-repeat;
}

.contact-talk-title {
  font-family: 'Silkscreen', monospace;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0px #063818;
}

.contact-talk-desc {
  font-family: 'Share Tech Mono', monospace;
  font-size: 16.5px;
  line-height: 1.6;
  color: #b8c4bc;
  margin-bottom: 28px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.contact-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(14, 24, 17, 0.9);
  border: 1.5px solid rgba(0, 217, 89, 0.35);
  padding: 10px 18px 10px 12px;
  text-decoration: none;
  color: #e8f0ea;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  transition: transform 0.2s steps(2), border-color 0.2s ease, box-shadow 0.2s ease;
  clip-path: polygon(0px 5px, 5px 5px, 5px 0px,
      calc(100% - 5px) 0px, calc(100% - 5px) 5px, 100% 5px,
      100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%,
      5px 100%, 5px calc(100% - 5px), 0px calc(100% - 5px));
}

.contact-info-pill:hover {
  transform: translateX(4px);
  border-color: var(--neon);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid rgba(0, 255, 102, 0.4);
  display: grid;
  place-items: center;
  color: var(--neon);
  flex-shrink: 0;
  clip-path: polygon(0px 4px, 4px 4px, 4px 0px,
      calc(100% - 4px) 0px, calc(100% - 4px) 4px, 100% 4px,
      100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
      4px 100%, 4px calc(100% - 4px), 0px calc(100% - 4px));
}

.contact-icon-box svg {
  width: 18px;
  height: 18px;
  stroke: var(--neon);
  fill: none;
  stroke-width: 2;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.social-pixel-btn {
  width: 42px;
  height: 42px;
  background: rgba(18, 24, 20, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: #d8e2dc;
  text-decoration: none;
  transition: transform 0.15s steps(2), border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  clip-path: polygon(0px 5px, 5px 5px, 5px 0px,
      calc(100% - 5px) 0px, calc(100% - 5px) 5px, 100% 5px,
      100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%,
      5px 100%, 5px calc(100% - 5px), 0px calc(100% - 5px));
}

.social-pixel-btn:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}

.social-pixel-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-label {
  font-family: 'Silkscreen', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #9aa89f;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pixel-input,
.pixel-textarea {
  width: 100%;
  background: rgba(18, 22, 19, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  clip-path: polygon(0px 5px, 5px 5px, 5px 0px,
      calc(100% - 5px) 0px, calc(100% - 5px) 5px, 100% 5px,
      100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%,
      5px 100%, 5px calc(100% - 5px), 0px calc(100% - 5px));
}

.pixel-input::placeholder,
.pixel-textarea::placeholder {
  color: #5a665e;
}

.pixel-input:focus,
.pixel-textarea:focus {
  border-color: var(--neon);
  background: rgba(12, 26, 16, 0.95);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.18);
}

.pixel-textarea {
  min-height: 135px;
  resize: vertical;
}

.send-pixel-btn {
  align-self: flex-start;
  background: linear-gradient(180deg, #38e565 0%, #17c94b 100%);
  color: #041408;
  font-family: 'Silkscreen', monospace;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border: 2px solid #8aff9e;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4), inset 0 -3px 0 #0e8a31;
  transition: transform 0.15s steps(2), filter 0.15s ease, box-shadow 0.2s ease;
  clip-path: polygon(0px 6px, 6px 6px, 6px 0px,
      calc(100% - 6px) 0px, calc(100% - 6px) 6px, 100% 6px,
      100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
      6px 100%, 6px calc(100% - 6px), 0px calc(100% - 6px));
}

.send-pixel-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.65), inset 0 -3px 0 #0e8a31;
}

.send-pixel-btn:active {
  transform: translateY(1px);
}

.send-pixel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.form-status {
  color: #e7f7ec;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  padding: 10px 14px;
  border-radius: 4px;
  display: none;
}

.form-status.active {
  display: block;
}

.form-status.success {
  background: rgba(0, 255, 102, 0.12);
  border: 1.5px solid var(--neon);
  color: #a6ffc6;
}

.form-status.error {
  background: rgba(255, 68, 68, 0.12);
  border: 1.5px solid #ff4444;
  color: #ff9999;
}

.form-status.info {
  background: rgba(255, 204, 0, 0.12);
  border: 1.5px solid var(--gold);
  color: #ffe680;
}

