/* ==================== */
/* OUR TECHNOLOGY SECTION */
/* ==================== */
.tech-section {
  position: relative;
  padding: 8rem 2rem;
  background: 
    radial-gradient(circle at 50% 50%, #354976 0%, #020308 100%),
    linear-gradient(45deg, #020308 0%, #0a1025 100%);
  overflow: hidden;
}

.tech-gradient-overlay {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(37, 99, 235, 0.1) 0%, 
    transparent 60%);
  animation: gradient-pulse 15s infinite alternate;
}

.tech-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.tech-header {
  text-align: center;
  margin-bottom: 6rem;
}

.tech-glitch {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  color: #fff;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 0 rgba(255,0,0,0.1),
               -2px -2px 0 rgba(0,255,255,0.1);
}

.tech-glitch::before,
.tech-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.tech-glitch::before {
  color: rgba(255,0,0,0.5);
  animation: glitch-1 2s infinite linear;
}

.tech-glitch::after {
  color: rgba(0,255,255,0.5);
  animation: glitch-2 2s infinite linear;
}

.tech-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  position: relative;
}

.tech-node {
  position: relative;
  padding: 2.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-node:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.node-orb {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: -8px;
  left: -8px;
  box-shadow: 0 0 20px var(--primary);
  animation: orb-pulse 2s infinite;
}

.node-content {
  position: relative;
  z-index: 1;
}

.node-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.tech-node h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.tech-node h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.tech-node p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.tech-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
}

.core-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  animation: core-pulse 4s infinite;
}

.core-interface {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animations */
@keyframes gradient-pulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes core-pulse {
  0% { transform: scale(0.8); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.05; }
  100% { transform: scale(0.8); opacity: 0.2; }
}

@keyframes glitch-1 {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes glitch-2 {
  0% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(-2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0); }
}

/* Comparison Section */
.tech-comparison {
  margin-top: 8rem;
  position: relative;
}

.comparison-header {
  text-align: center;
  margin-bottom: 4rem;
}

.comparison-glitch {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: #fff;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 0 rgba(255,0,0,0.1),
               -1px -1px 0 rgba(0,255,255,0.1);
}

.comparison-glitch::before,
.comparison-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.comparison-glitch::before {
  color: rgba(255,0,0,0.5);
  animation: glitch-1 2s infinite linear;
}

.comparison-glitch::after {
  color: rgba(0,255,255,0.5);
  animation: glitch-2 2s infinite linear;
}

.comparison-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.comparison-matrix {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.matrix-column {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.matrix-header h4 {
  font-size: 1.4rem;
  color: #fff;
  margin: 0;
}

.matrix-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.matrix-status.offline {
  background: #ff4d4d;
  animation: status-pulse 1.5s infinite;
}

.matrix-status.online {
  background: #00ff88;
  animation: status-pulse 1.5s infinite;
}

.matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.matrix-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.matrix-item:last-child {
  border-bottom: 0;
}

.matrix-label {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.matrix-risk {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 4px;
}

.matrix-risk.high {
  background: rgba(255,77,77,0.15);
  color: #ff4d4d;
}

.matrix-risk.critical {
  background: rgba(255,0,0,0.2);
  color: #ff0000;
}

.matrix-security {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 4px;
}

.matrix-security.verified {
  background: rgba(0,255,136,0.15);
  color: #00ff88;
}

.matrix-security.fortified {
  background: rgba(37,99,235,0.2);
  color: var(--primary);
}

.matrix-security.quantum {
  background: rgba(155,81,224,0.2);
  color: #9b51e0;
}

.matrix-core {
  position: relative;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-arc {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(37,99,235,0.3);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(45deg);
  animation: core-rotate 8s infinite linear;
}

.core-vs {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--primary);
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(37,99,235,0.5);
  backdrop-filter: blur(5px);
}

.core-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, 
    rgba(37,99,235,0.1) 0%, 
    transparent 60%);
  animation: gradient-pulse 15s infinite alternate;
}

/* Animations */
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes core-rotate {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ==================== */
/* MOBILE RESPONSIVENESS */
/* ==================== */
@media (max-width: 768px) {
  .tech-section {
      padding: 4rem 1rem !important;
  }

  .tech-header {
      margin-bottom: 4rem !important;
  }

  .tech-glitch {
      font-size: 2.5rem !important;
      text-shadow: 1px 1px 0 rgba(255,0,0,0.1),
                 -1px -1px 0 rgba(0,255,255,0.1) !important;
  }

  .tech-subtitle {
      font-size: 1rem !important;
      letter-spacing: 1px !important;
  }

  .tech-grid {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
  }

  .tech-node {
      padding: 1.5rem !important;
      backdrop-filter: blur(8px) !important;
  }

  .tech-node:hover {
      transform: none !important;
  }

  .tech-node h3 {
      font-size: 1.2rem !important;
  }

  .tech-node p {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
  }

  .tech-core {
      display: none !important;
  }

  .tech-comparison {
      margin-top: 4rem !important;
  }

  .comparison-matrix {
      grid-template-columns: 1fr !important;
      gap: 2rem !important;
  }

  .matrix-column {
      width: 100% !important;
      max-width: 100% !important;
      padding: 1.5rem !important;
  }

  .matrix-header h4 {
      font-size: 1.2rem !important;
  }

  .matrix-label {
      font-size: 0.9rem !important;
  }

  .core-vs {
      width: 50px !important;
      height: 50px !important;
      font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .tech-glitch {
      font-size: 2rem !important;
  }

  .tech-subtitle {
      font-size: 0.9rem !important;
  }

  .node-number {
      font-size: 1.2rem !important;
  }

  .tech-node {
      padding: 1rem !important;
  }

  .matrix-item {
      padding: 1rem 0 !important;
      flex-direction: column !important;
      gap: 0.5rem !important;
      align-items: flex-start !important;
  }

  .matrix-risk,
  .matrix-security {
      font-size: 0.8rem !important;
      padding: 3px 8px !important;
  }
}

/* Partnership Section Mobile Fixes */
@media (max-width: 768px) {
  .partner-banner {
      padding: 2rem 1rem !important;
  }

  .partner-content {
      flex-direction: column !important;
      text-align: center !important;
      gap: 1.5rem !important;
  }

  .partner-logo {
      max-width: 100px !important;
      flex: 0 0 100px !important;
  }

  .partner-text h2 {
      font-size: 1.5rem !important;
  }

  .partner-text p {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
  }

  .partner-banner::before {
      opacity: 0.1 !important;
  }
}