/* Modern UI Components */

/* Gradient CTA Button */
.btn-cta {
  position: relative;
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition-normal);
  overflow: hidden;
  z-index: 1;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 255, 255, 0.2) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 75%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-cta:hover::before {
  transform: translateX(100%);
}

/* Modern Cards */
.modern-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.modern-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.modern-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
}

.modern-card:hover::before {
  opacity: 0.1;
}

/* Animated FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  transition: all var(--transition-normal);
}

.faq-question:hover {
  background: var(--gradient-surface);
}

.faq-answer {
  padding: 0;
  height: 0;
  opacity: 0;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  height: auto;
  opacity: 1;
}

.faq-icon {
  transition: transform var(--transition-normal);
}

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

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

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

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    var(--primary) 0%,
    transparent 70%
  );
  opacity: 0.1;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Section Transitions */
.section {
  position: relative;
  z-index: 1;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-surface);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.section:hover::before {
  opacity: 1;
}
