/* ClosePerf — site styles */

html, body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Gradient text used in hero / section titles */
.gradient-text {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 55%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Soft blurred decorative blobs in the hero background */
.hero-blob {
  filter: blur(80px);
  pointer-events: none;
  border-radius: 50%;
  position: absolute;
}

/* Subtle grid-of-dots overlay used on the hero */
.grid-dots {
  background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Glassmorphic card */
.card-glass {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(15, 27, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.card-glass:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.1);
}

/* Featured pricing tier */
.pricing-popular {
  background: linear-gradient(160deg, #1e3a5f 0%, #152b4a 100%);
  border: 1px solid rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.18), 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Primary blue gradient button */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  display: inline-block;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
}

/* Secondary outline-style button */
.btn-secondary {
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.25);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(147, 197, 253, 0.06);
  border-color: rgba(147, 197, 253, 0.55);
  transform: translateY(-1px);
}

/* Integration chips (in the integrations section) */
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid;
  cursor: default;
  transition: all 0.3s;
  box-shadow: 0 0 0 0 transparent;
}
.integration-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.integration-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* Grade badges in the hero email mockup */
.grade-badge-a {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}
.grade-badge-b {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}
.grade-badge-c {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

/* Animations */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.anim-fadeInUp {
  opacity: 0;
  animation: 0.7s ease-out forwards fadeInUp;
}
.anim-float {
  animation: 5s ease-in-out infinite float;
}
.anim-pulse-ring {
  animation: 2.5s ease-out infinite pulse-ring;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
