/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #fdfdfd;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradient Text Animation */
.gradient-text {
  background: linear-gradient(135deg, #1e40af, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated Background Blobs */
.bg-animate-blob {
  position: fixed;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
  animation: float 25s ease-in-out infinite;
}

.bg-animate-blob:nth-child(1) {
  top: -15%;
  left: -10%;
}

.bg-animate-blob:nth-child(2) {
  bottom: -15%;
  right: -10%;
  animation-delay: -10s;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(6, 182, 212, 0) 70%);
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30%, 20%) scale(1.2); }
  66% { transform: translate(-20%, 40%) scale(0.8); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal.active .stagger-item:nth-child(1) { transition-delay: 0.1s; }
.reveal.active .stagger-item:nth-child(2) { transition-delay: 0.2s; }
.reveal.active .stagger-item:nth-child(3) { transition-delay: 0.3s; }
.reveal.active .stagger-item:nth-child(4) { transition-delay: 0.4s; }
.reveal.active .stagger-item:nth-child(5) { transition-delay: 0.5s; }
.reveal.active .stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Bounce Animation */
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.animate-bounce-subtle {
  animation: bounce-subtle 3s ease-in-out infinite;
}

/* Button Styles */
.btn {
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-weight: 800;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform 0.7s;
}

.btn-primary:hover::before {
  transform: translateX(100%) skewX(-12deg);
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  z-index: 50;
  transition: all 0.5s ease;
  padding: 1.25rem 0;
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

/* FAQ Accordion */
.faq-card {
  margin-bottom: 1rem;
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-button {
  width: 100%;
  padding: 2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-button:hover {
  background-color: rgba(239, 246, 255, 0.5);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  padding-right: 1rem;
}

.faq-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: #f1f5f9;
  color: #94a3b8;
  flex-shrink: 0;
}

.faq-icon.open {
  transform: rotate(180deg);
  background-color: #dbeafe;
  color: #2563eb;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.faq-answer.open {
  max-height: 500px;
  opacity: 1;
}

.faq-answer-content {
  padding: 0 2rem 2rem 2rem;
  color: #475569;
  border-top: 1px solid #f8fafc;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.75;
  white-space: pre-line;
}

/* Mobile Floating Button */
.mobile-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  transition: all 0.7s ease;
  transform: translateY(5rem);
  opacity: 0;
}

.mobile-floating-btn.visible {
  transform: translateY(0);
  opacity: 1;
}

.mobile-floating-btn .btn {
  width: 100%;
  box-shadow: 0 20px 60px rgba(22, 163, 74, 0.4);
  background-color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.mobile-floating-btn .btn:hover {
  background-color: #15803d;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Responsive Design */
@media (min-width: 768px) {
  header img {
    height: 3rem;
  }
  
  .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
  }
  
  .faq-question {
    font-size: 1.125rem;
  }
  
  .mobile-floating-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .btn-sm-hide {
    display: none;
  }
  
  .btn-sm-show {
    display: block;
  }
}

@media (min-width: 641px) {
  .btn-sm-hide {
    display: block;
  }
  
  .btn-sm-show {
    display: none;
  }
}
