/* Landing Page Styles for PingToPass */

/* Hero Section */
.hero-section {
  padding-top: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-content {
  animation: fadeIn 1s ease;
}

/* Stats Cards */
.stat-card {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  color: #6c757d;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Value Props */
.value-prop-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.value-prop-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(5px);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTA Buttons */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

/* Trust Indicators */
.trust-indicators {
  animation: fadeIn 1.5s ease;
}

/* Navigation */
.landing-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.landing-nav.scrolled {
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Screenshot Section */
.screenshot-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.screenshot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 15px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
}

.feature-icon i {
  color: white !important;
}

/* Certification Cards */
.cert-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cert-header {
  padding: 1.5rem;
  text-align: center;
}

.cert-body {
  padding: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .stat-card {
    margin-bottom: 1rem;
  }
  
  .hero-section {
    padding-top: 80px;
  }
  
  .screenshot-card {
    margin-bottom: 2rem;
  }
}

/* Hero Image */
.hero-image img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* HTMX Loading States */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.htmx-settling {
  opacity: 0.5;
}

/* View Transitions */
::view-transition-old(root) {
  animation: fade-out 0.3s;
}

::view-transition-new(root) {
  animation: fade-in 0.3s;
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}