@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: #090a0f;
  --card: rgba(17, 20, 29, 0.7);
  --card-border: rgba(34, 197, 94, 0.15);
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --primary-glow: rgba(34, 197, 94, 0.35);
  --accent-emerald: #10b981;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090a0f;
}
::-webkit-scrollbar-thumb {
  background: #1f293d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #22c55e;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(17, 22, 33, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.15);
  transform: translateY(-2px);
}

.glass-card-featured {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 35px -5px rgba(34, 197, 94, 0.25);
}

/* Glow Elements */
.glow-primary {
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.4);
}

.glow-text {
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Floating Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* FAQ Accordion Transitions */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease-out;
  opacity: 0;
}

.faq-content.open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-trigger {
  color: #22c55e;
}

/* Buttons */
.btn-primary {
  background-color: #22c55e;
  color: #052e16;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  background-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

/* Review Carousel Animation */
.review-slide {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Target Anchor Glow Highlight for Terms Sections */
section:target {
  border-color: rgba(52, 211, 153, 0.8) !important;
  box-shadow: 0 0 35px rgba(52, 211, 153, 0.35) !important;
  transform: translateY(-2px);
  transition: all 0.4s ease;
}

/* Security Shield Class */
.shield-protected {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
