/* Quantum Contact Section - Conflict Free */
.quantum-contact-section {
  position: relative;
  padding: 15rem 0;
  background: 
    radial-gradient(ellipse at 30% 70%, rgba(10, 15, 30, 0.9) 0%, transparent 70%),
    linear-gradient(15deg, #0a0a15 0%, #101025 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Quantum Energy Network */
.q-energy-network {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.qen-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #6bc5f8;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px #6bc5f8);
}

.node-1 { top: 20%; left: 15%; }
.node-2 { top: 60%; left: 80%; }
.node-3 { bottom: 30%; right: 20%; }

.qen-connection {
  position: absolute;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(107, 197, 248, 0.3) 20%, 
    rgba(107, 197, 248, 0.1) 50%, 
    transparent 100%);
  left: 50%;
  animation: qen-pulse 3s infinite alternate;
}

@keyframes qen-pulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

/* Quantum Orbs */
.quantum-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.1;
  z-index: 0;
}

.q-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #6bc5f8 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation: q-orb-float 12s infinite alternate ease-in-out;
}

.q-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a162e8 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
  animation: q-orb-float 15s infinite alternate-reverse ease-in-out;
}

@keyframes q-orb-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}

/* Quantum Container */
.quantum-container {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Diamond Contact Header */
.diamond-contact-header {
  position: relative;
  margin-bottom: 6rem;
  text-align: center;
}

.dch-shard {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(107, 197, 248, 0.7));
}

.shard-1 { top: -15px; left: calc(50% - 100px); }
.shard-2 { bottom: -15px; right: calc(50% - 100px); }

.quantum-contact-title {
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.qct-underline {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
}

.qct-underline-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #6bc5f8, #a162e8, transparent);
  animation: qct-underline-flow 3s linear infinite;
}

@keyframes qct-underline-flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.quantum-contact-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Quantum Communication Grid */
.quantum-com-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1200px) {
  .quantum-com-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Quantum Transmission Form */
.quantum-transmission-form {
  position: relative;
  height: 100%;
}

.qtf-hologram {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(20, 25, 40, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(107, 197, 248, 0.2);
  z-index: 1;
}

.qt-form {
  position: relative;
  z-index: 2;
  padding: 3rem;
}

.qtf-group {
  position: relative;
  margin-bottom: 2rem;
}

.qtf-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.qtf-input-hologram {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(107, 197, 248, 0.05);
  border-radius: 10px;
  z-index: -1;
  transition: all 0.4s ease;
}

.qtf-input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(15, 20, 35, 0.7);
  border: 1px solid rgba(107, 197, 248, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  transition: all 0.4s ease;
}

.qtf-input:focus {
  outline: none;
  border-color: rgba(107, 197, 248, 0.5);
  box-shadow: 0 0 15px rgba(107, 197, 248, 0.2);
}

.qtf-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.qtf-input-aura {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #6bc5f8, #a162e8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.qtf-input:focus ~ .qtf-input-aura {
  transform: scaleX(1);
}

/* Quantum Submit Button */
.quantum-submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(90deg, rgba(107, 197, 248, 0.2), rgba(161, 98, 232, 0.2));
  border: 1px solid rgba(107, 197, 248, 0.3);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

.quantum-submit-btn:hover {
  background: linear-gradient(90deg, rgba(107, 197, 248, 0.3), rgba(161, 98, 232, 0.3));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(107, 197, 248, 0.2);
}

.qsb-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  animation: qsb-pulse 2s infinite;
}

@keyframes qsb-pulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Quantum Access Hub */
.quantum-access-hub {
  position: relative;
  height: 100%;
}

.qah-hologram {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(20, 25, 40, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(161, 98, 232, 0.2);
  z-index: 1;
}

.qah-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  height: 100%;
}

.qah-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qah-divider {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
}

.qah-divider-sparkle {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #6bc5f8, #a162e8);
  animation: qah-divider-sparkle 3s linear infinite;
}

@keyframes qah-divider-sparkle {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* QAH Nodes */
.qah-nodes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.qah-node {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.qah-node-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 197, 248, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(107, 197, 248, 0.2);
  color: #6bc5f8;
  flex-shrink: 0;
}

.qah-node-icon svg {
  width: 24px;
  height: 24px;
}

.qah-node-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.3rem;
}

.qah-node-info p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.qah-node-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qah-status-dot {
  width: 8px;
  height: 8px;
  background: #6bc5f8;
  border-radius: 50%;
  animation: qah-status-pulse 1.5s infinite;
}

@keyframes qah-status-pulse {
  0% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.5; transform: scale(0.8); }
}

.qah-node-status span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Quantum Spatial Map */
.quantum-spatial-map {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 2rem;
}

.qsm-hologram {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 197, 248, 0.05), rgba(161, 98, 232, 0.05));
  z-index: 1;
}

.qsm-iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}

.qsm-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(107, 197, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 197, 248, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 3;
  pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .quantum-contact-title {
    font-size: 3rem;
  }
  
  .quantum-contact-subtitle {
    font-size: 1rem;
  }
  
  .quantum-com-grid {
    grid-template-columns: 1fr;
  }
  
  .quantum-transmission-form, .quantum-access-hub {
    padding: 2rem;
  }
}