/* Why AIROMOB Section Styles */
.tabs-container {
  margin-top: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 500;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.tab-button.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-button:hover {
  color: var(--primary-color);
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

.tab-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.tab-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tab-visual-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  perspective: 1000px;
}

.tab-visual {
  max-width: 100%;
  transition: transform 0.6s ease, opacity 0.4s ease;
  transform-style: preserve-3d;
}

.tab-visual.entering {
  opacity: 0;
  transform: rotateY(-30deg) translateZ(-100px);
}

.tab-visual.active {
  opacity: 1;
  transform: rotateY(0) translateZ(0);
}

.tab-visual.exiting {
  opacity: 0;
  transform: rotateY(30deg) translateZ(-100px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Original Tab Animations */
.original-tab .network-node {
  animation: nodeGlow 3s infinite alternate;
  filter: drop-shadow(0 0 3px rgba(0, 85, 164, 0.5));
}

.original-tab .network-node.central {
  animation: centralNodePulse 2s infinite alternate;
  filter: drop-shadow(0 0 5px rgba(0, 134, 209, 0.6));
}

.original-tab .network-line.main {
  animation: lineFlow 3s infinite;
  stroke-dasharray: 100;
  stroke-dashoffset: 200;
}

.original-tab .data-point {
  animation: dataPointOrbit 8s infinite linear;
  transform-origin: 150px 150px;
}

.original-tab .burst {
  animation: burstPulse 3s infinite alternate;
}

@keyframes nodeGlow {
  0% { r: 8; filter: drop-shadow(0 0 2px rgba(0, 85, 164, 0.3)); }
  100% { r: 9; filter: drop-shadow(0 0 4px rgba(0, 85, 164, 0.6)); }
}

@keyframes centralNodePulse {
  0% { r: 12; filter: drop-shadow(0 0 4px rgba(0, 134, 209, 0.5)); }
  100% { r: 14; filter: drop-shadow(0 0 8px rgba(0, 134, 209, 0.8)); }
}

@keyframes lineFlow {
  0% { stroke-dashoffset: 200; }
  50% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes dataPointOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes burstPulse {
  0% { r: 20; opacity: 0.7; stroke-width: 2; }
  50% { r: 35; opacity: 0.3; stroke-width: 1; }
  100% { r: 20; opacity: 0.7; stroke-width: 2; }
}

/* Simple Tab Animations */
.simple-tab .lens {
  animation: rotateLens 8s infinite linear;
  filter: drop-shadow(0 0 8px rgba(0, 134, 209, 0.3));
}

.simple-tab .complex-data {
  animation: jitter 3s infinite alternate;
  opacity: 0.9;
  stroke: #FFB84D;
}

.simple-tab .clear-data {
  animation: fadeInOut 4s infinite alternate;
  filter: drop-shadow(0 0 5px rgba(0, 134, 209, 0.5));
}

.simple-tab .transform-path {
  animation: flowPath 3s infinite;
  stroke-dasharray: 5,3;
  stroke-width: 3;
}

.simple-tab .transform-point {
  animation: moveAlongPath 3s infinite;
  filter: drop-shadow(0 0 10px rgba(255, 130, 0, 0.6));
}

@keyframes rotateLens {
  0% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(225deg) scale(1.05); }
  100% { transform: rotate(405deg) scale(1); }
}

@keyframes jitter {
  0% { transform: translate(-2px, -2px); }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(-1px, 2px); }
  75% { transform: translate(3px, 1px); }
  100% { transform: translate(-2px, -2px); }
}

@keyframes fadeInOut {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

@keyframes flowPath {
  0% { stroke-dashoffset: 20; }
  100% { stroke-dashoffset: 0; }
}

@keyframes moveAlongPath {
  0% { transform: translate(0, -30px); }
  50% { transform: translate(0, 0); }
  100% { transform: translate(0, 30px); }
}

/* Secure Tab Animations */
.secure-tab .shield-outer {
  animation: pulseShield 4s infinite alternate;
}

.secure-tab .shield-middle {
  animation: pulseShield 4s infinite alternate 1s;
}

.secure-tab .shield-inner {
  animation: pulseShield 4s infinite alternate 2s;
}

.secure-tab .force-field {
  animation: expandField 8s infinite alternate;
}

.secure-tab .data-point.secure {
  animation: securePulse 3s infinite alternate;
}

.secure-tab .lock {
  animation: lockGlow 2s infinite alternate;
}

@keyframes pulseShield {
  0% { stroke-opacity: 0.8; stroke-width: 2; }
  100% { stroke-opacity: 1; stroke-width: 3; }
}

@keyframes expandField {
  0% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.05); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.1; }
}

@keyframes securePulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

@keyframes lockGlow {
  0% { filter: drop-shadow(0 0 2px #FF8200); }
  100% { filter: drop-shadow(0 0 5px #FF8200); }
}

/* Advantage Tab Animations */
.advantage-tab .after-line {
  animation: drawLine 3s ease-out forwards;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  filter: drop-shadow(0 0 3px rgba(255, 184, 77, 0.7));
  stroke-width: 3;
  stroke: #FF9933;
}

.advantage-tab .comparison {
  animation: fadeIn 4s forwards 2s, glowEffect 2s infinite alternate;
  opacity: 0;
}

.advantage-tab .roi-indicator {
  animation: scaleIn 2s ease-out forwards 3s;
  transform: scale(0);
  transform-origin: center;
  filter: drop-shadow(0 0 5px rgba(0, 134, 209, 0.4));
}

@keyframes glowEffect {
  0% { filter: drop-shadow(0 0 2px rgba(0, 134, 209, 0.3)); }
  100% { filter: drop-shadow(0 0 6px rgba(0, 134, 209, 0.6)); }
}

.advantage-tab .roi-text {
  animation: fadeIn 1s forwards 3.5s;
  opacity: 0;
}

.advantage-tab .advantage-arrow {
  animation: bounceArrow 2s infinite;
  transform-origin: center;
}

@keyframes drawLine {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes bounceArrow {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .tabs-header {
    flex-wrap: wrap;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .tab-content.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tab-visual-container {
    order: -1;
    min-height: 250px;
  }
}

.flow { 
  fill: none; 
  stroke: url(#flowGrad); 
  stroke-width: 2; 
  stroke-linecap: round; 
  marker-end: url(#arrow); 
  stroke-dasharray: 10,5;
  animation: flowPath 3s linear infinite;
}

.flow-dot {
  fill: #FF8200;
  animation: flowDot 3s linear infinite;
}

@keyframes flowPath {
  to { stroke-dashoffset: -15; }
}

@keyframes flowDot {
  0% { transform: translateX(0) translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(var(--tx)) translateY(var(--ty)); opacity: 0; }
}