/* IDSearchMe Custom Styles — extends Tailwind */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Animated gradient hero */
.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(139,92,246,0.1) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* Glow effect on cards */
.card-glow {
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}
.card-glow:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 0 30px rgba(37,99,235,0.1), 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

/* Feature icon containers */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* Pricing cards */
.pricing-card {
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.pricing-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}
.pricing-popular {
  border: 2px solid #2563eb;
  position: relative;
}
.pricing-popular::before {
  content: 'Populaire';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  padding: 2px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
}

/* Counter Animation */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* Code block styling */
.code-block {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.code-header {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-body { padding: 20px; overflow-x: auto; }
.code-body pre { margin: 0; font-size: 13px; line-height: 1.6; }

/* Navigation */
.nav-blur {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(15,23,42,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Section separator */
.section-dark { background: #0f172a; }
.section-darker { background: #0a0f1a; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Tech stack logos shimmer */
.tech-logo {
  filter: grayscale(1) brightness(0.7);
  transition: all 0.3s ease;
  opacity: 0.5;
}
.tech-logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* Step connector line */
.step-line {
  position: absolute;
  top: 28px;
  left: calc(33.33% + 28px);
  right: calc(33.33% + 28px);
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #8b5cf6);
  z-index: 0;
}

/* Animate on scroll - initial state */
[x-intersect] { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* CTA pulse */
.cta-pulse {
  animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

/* FAQ accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-open .faq-content {
  max-height: 500px;
}

/* Stat card inner glow */
.stat-glow {
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.08) 0%, transparent 70%);
}
