/* ============================================================
   AutoAI Labs — Contact Page Stylesheet
   ============================================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.page-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}
.page-hero__blob--1 {
  width: 400px; height: 400px;
  background: var(--purple);
  top: 10%; left: 20%;
  animation: float1 14s ease-in-out infinite;
}
.page-hero__blob--2 {
  width: 350px; height: 350px;
  background: var(--cyan);
  top: 30%; right: 15%;
  animation: float2 18s ease-in-out infinite;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- CONTACT GRID ---------- */
.contact {
  padding: 60px 0 120px;
  position: relative;
  z-index: 1;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .contact__grid { grid-template-columns: 1.3fr 0.7fr; gap: 40px; }
}

/* ---------- FORM ---------- */
.contact__form-wrap {
  padding: 40px 32px;
}
.contact__form-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 28px;
}

/* Honeypot - hidden from real users */
.contact__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-required {
  color: var(--pink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple);
  background: rgba(108, 58, 255, 0.04);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238888A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option {
  background: #111118;
  color: var(--text);
}

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

/* Turnstile placeholder */
.cf-turnstile {
  margin-bottom: 20px;
  min-height: 65px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}
.cf-turnstile::before {
  content: 'Turnstile verification will appear here';
}

/* ---------- SIDEBAR ---------- */
.contact__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info {
  padding: 32px 28px;
}
.contact__info-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact__info-item:last-child { margin-bottom: 0; }
.contact__info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 2px;
  font-weight: 500;
}
.contact__info-value {
  font-size: 0.92rem;
  color: var(--text);
}
a.contact__info-value:hover {
  color: var(--purple);
}

/* ---------- NEXUS CTA ---------- */
.contact__nexus {
  padding: 28px 24px;
}
.contact__nexus-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact__nexus-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}
.contact__nexus-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.contact__nexus-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact__nexus-desc strong {
  color: var(--purple);
}

/* ---------- MAP PLACEHOLDER ---------- */
.contact__map {
  padding: 0;
  overflow: hidden;
}
.contact__map-inner {
  height: 200px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(108, 58, 255, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(26, 26, 36, 1), rgba(17, 17, 24, 1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact__map-pin {
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.contact__map-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact__map-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 639px) {
  .contact__form-wrap { padding: 28px 20px; }
}
