/* Additional Custom Styles for Atera Analytics */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Gradient Overlays */
.gradient-overlay {
  position: relative;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.1) 0%, rgba(124, 77, 255, 0.1) 100%);
  pointer-events: none;
}

/* Dashboard Mockup Styles */
.dashboard-preview {
  background: var(--bg-navy);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-cyan);
}

/* Project Status Badges */
.status-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-completed {
  background: #00ff88;
  color: var(--bg-dark);
}

.status-in-progress {
  background: var(--accent-orange);
  color: white;
}

.status-planned {
  background: var(--bg-slate);
  color: var(--text-light);
  border: 1px solid var(--primary-cyan);
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 0 2rem;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--primary-cyan);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Statistics Counter */
.stat-counter {
  font-size: 4rem;
  font-weight: bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Partner Logos */
.partner-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem 0;
}

.partner-logo {
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Feature Comparison Table */
.comparison-table {
  width: 100%;
  background: var(--bg-navy);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  text-align: left;
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table tr:hover {
  background: rgba(0, 206, 209, 0.05);
}

/* Testimonial Styles */
.testimonial {
  background: var(--bg-navy);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-cyan);
  position: relative;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.testimonial-author {
  color: var(--primary-cyan);
  font-weight: 600;
}

.testimonial-role {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Interactive Map Styles */
.map-container {
  position: relative;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--primary-cyan);
}

/* Data Visualization Cards */
.data-card {
  background: var(--bg-navy);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 206, 209, 0.2);
  transition: all 0.3s ease;
}

.data-card:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 206, 209, 0.2);
}

.data-value {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.data-label {
  color: var(--text-gray);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -1.5rem;
  top: 2rem;
  font-size: 2rem;
  color: var(--primary-cyan);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 1rem;
}

/* Accordion Styles */
.accordion-item {
  background: var(--bg-navy);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 206, 209, 0.2);
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: rgba(0, 206, 209, 0.1);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-content.active {
  max-height: 500px;
  padding: 1.5rem;
}

/* Loading Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 206, 209, 0.2);
  border-top-color: var(--primary-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 206, 209, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--text-gray);
}

.breadcrumbs a:hover {
  color: var(--primary-cyan);
}

.breadcrumbs .separator {
  color: var(--text-gray);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-navy);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-item {
    flex-direction: column !important;
  }
  
  .timeline-marker {
    left: 0;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .process-step::after {
    display: none;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* Accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-cyan);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
