/* SITENAME Main Styles */
:root {
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --animation-duration: 0.3s;
  --animation-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme variables */
.dark {
  color-scheme: dark;
}

/* Enhanced animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 40px rgba(139, 92, 246, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animation classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--animation-ease) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s var(--animation-ease) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s var(--animation-ease) forwards;
}

.animate-pulse-custom {
  animation: pulse 2s infinite;
}

.animate-bounce-custom {
  animation: bounce 1s infinite;
}

/* Enhanced interactive elements */
.group:hover {
  transition: all var(--animation-duration) var(--animation-ease);
}

/* Button hover effects */
button:hover,
.btn:hover,
a[class*='bg-']:hover {
  transition: all var(--animation-duration) var(--animation-ease);
}

/* Card hover effects */
.shadow-lg:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all var(--animation-duration) var(--animation-ease);
}

.dark .shadow-lg:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Smooth transitions - removed global selector to prevent initial render issues */

body {
  transition: background-color var(--animation-duration) var(--animation-ease);
}

.main-content {
  align-items: center;
}

.price-section {
  text-align: center;
  margin-bottom: 3rem;
}

.price-display {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--animation-duration) var(--animation-ease);
}

.dark .price-display {
  background: rgb(31, 41, 55);
  border: 1px solid rgb(55, 65, 81);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.price-display:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.dark .price-display:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.price-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f59e0b;
  transition: color var(--animation-duration) var(--animation-ease);
}

.dark .price-label {
  color: #fbbf24;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  transition: color var(--animation-duration) var(--animation-ease);
}

.dark .price-value {
  color: #f9fafb;
}

.hero-section {
  text-align: center;
  padding: 2rem 0;
}

.hero-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2d3748;
  line-height: 1.4;
  transition: color var(--animation-duration) var(--animation-ease);
}

.dark .hero-content h1 {
  color: #f9fafb;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a202c;
  transition: color var(--animation-duration) var(--animation-ease);
}

.dark .hero-content h2 {
  color: #ffffff;
}

.hero-content p {
  font-size: 1.1rem;
  color: #718096;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  transition: color var(--animation-duration) var(--animation-ease);
}

.dark .hero-content p {
  color: #d1d5db;
}

.footer {
  background: #2d3748;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 0;
  border-radius: 12px;
  width: 80%;
  max-width: 600px;
  max-height: 70vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all var(--animation-duration) var(--animation-ease);
}

.dark .modal-content {
  background-color: rgb(31, 41, 55);
  border: 1px solid rgb(55, 65, 81);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-header {
  background: #4c6ef5;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--animation-duration) var(--animation-ease);
}

.dark .modal-header {
  background: #3b82f6;
}

.modal-header h3 {
  margin: 0;
  transition: color var(--animation-duration) var(--animation-ease);
}

.close {
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity var(--animation-duration) var(--animation-ease);
  border: none;
  background: none;
  color: inherit;
}

.close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.modal-body {
  padding: 1.5rem;
  max-height: 50vh;
  overflow-y: auto;
  line-height: 1.6;
  color: #374151;
  transition: color var(--animation-duration) var(--animation-ease);
}

.dark .modal-body {
  color: #d1d5db;
}

/* Enhanced modal animation */
.modal {
  animation: modalFadeIn var(--animation-duration) var(--animation-ease);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .price-display {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links {
    flex-direction: column;
  }
}
