/* ScriptsHub AI Pods - Main Stylesheet */

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, ui-sans-serif, 'Segoe UI', sans-serif;
}

/* Navigation Styles */
.nav-link {
  position: relative;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  transition: color 0.2s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,127,33,0.1) 0%, rgba(255,127,33,0.9) 100%);
  opacity: 0;
  transition: opacity 0.2s ease, height 0.2s ease;
}

.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::before,
.nav-link:focus-visible::before {
  height: 130%;
  opacity: 1;
}

/* Hero Section Gradients */
.hero-gradient-left {
  background: radial-gradient(circle at top right, rgba(255,148,64,0.18), transparent 60%);
}

.hero-gradient-right {
  background: radial-gradient(circle at bottom left, rgba(12,18,32,0.4), transparent 55%);
}

/* Pod Cards */
.pod-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.pod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,127,33,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pod-card .pod-icon {
  background: linear-gradient(135deg, #ff7f21 0%, #e16918 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

/* Feature Cards */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,127,33,0.2);
}

/* ROI Calculator */
.roi-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: white;
  transition: all 0.2s ease;
}

.roi-input:focus {
  outline: none;
  border-color: #ff7f21;
  box-shadow: 0 0 0 3px rgba(255,127,33,0.1);
}

.roi-result-card {
  background: linear-gradient(135deg, rgba(255,127,33,0.1) 0%, rgba(255,127,33,0.05) 100%);
  border: 1px solid rgba(255,127,33,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

/* Testimonial Cards */
.testimonial-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,127,33,0.2);
}

/* Comparison Table */
.comparison-table {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.comparison-header {
  background: linear-gradient(135deg, #ff7f21 0%, #e16918 100%);
  color: #0b1120;
  font-weight: 600;
  padding: 1rem;
  text-align: center;
}

.comparison-row {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 1rem;
  text-align: center;
}

.comparison-advantage {
  color: #10b981;
  font-weight: 500;
}

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

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

/* Cookie Banner */
.cookie-banner {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-link::before {
    left: -0.5rem;
  }

  .pod-card {
    margin-bottom: 1rem;
  }

  .hero-gradient-left,
  .hero-gradient-right {
    display: none;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-cell {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .roi-result-card {
    padding: 1rem;
  }

  .comparison-table {
    font-size: 0.75rem;
  }

  .comparison-cell {
    padding: 0.5rem 0.25rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #ff7f21;
  animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.glass-effect {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.gradient-text {
  background: linear-gradient(135deg, #ff7f21 0%, #e16918 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-shadow {
  box-shadow: 0 4px 20px rgba(255,127,33,0.2);
}