/* Homepage Styles - Converted from React */
:root {
  --accent: #5AE0E7;
  --background: #000000;
  --foreground: #e5e5e5;
  --muted-foreground: #888888;
  --card: #111111;
  --secondary: #333333;
}

/* Animated Background */
.animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-up linear infinite;
}

@keyframes float-up {
  from {
    transform: translateY(100vh);
  }
  to {
    transform: translateY(-100px);
  }
}

.accent-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

.accent-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(90, 224, 231, 0.3), transparent);
  animation: line-pulse 3s ease-in-out infinite;
}

@keyframes line-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.5);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-accent {
  color: var(--accent);
  display: inline-block;
  animation: slideInRight 0.8s ease-out 0.8s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn {
  padding: 0.875rem 3rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 10px 15px -3px rgba(90, 224, 231, 0.2);
}

.btn-primary:hover {
  background: rgba(90, 224, 231, 0.9);
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(90, 224, 231, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 10px 15px -3px rgba(90, 224, 231, 0.2);
}

.btn-outline:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(90, 224, 231, 0.3);
}

/* Performance Tiers Section */
.tiers-section {
  padding: 5rem 1rem;
  background: #000;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.tier-card {
  background: var(--card);
  border: 1px solid var(--secondary);
  border-radius: 0.625rem;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out both;
  cursor: pointer;
}

.tier-card:hover {
  border-color: rgba(90, 224, 231, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(90, 224, 231, 0.15);
}

.tier-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  position: relative;
}

.tier-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
}

.tier-content {
  padding: 1.5rem;
}

.tier-title {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.tier-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background: var(--secondary);
  border-radius: 0.25rem;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.5s ease;
}

.tier-price {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 1rem 0;
  font-weight: 500;
}

.tier-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.tier-specs li {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.tier-specs li::before {
  content: '';
  width: 0.25rem;
  height: 0.25rem;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.tier-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Tech Grid Background */
.tech-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    linear-gradient(rgba(90, 224, 231, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 224, 231, 0.3) 1px, transparent 1px);
  background-size: 100px 100px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation delays for staggered effect */
.tier-card:nth-child(1) { animation-delay: 0.1s; }
.tier-card:nth-child(2) { animation-delay: 0.2s; }
.tier-card:nth-child(3) { animation-delay: 0.3s; }
.tier-card:nth-child(4) { animation-delay: 0.4s; }
.tier-card:nth-child(5) { animation-delay: 0.5s; }
