/* ========================================
   ClawdBot Setup - Custom Styles
   (Supplements Tailwind CSS CDN)
   ======================================== */

/* Smooth scrolling globally */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

/* Custom selection color */
::selection {
  background-color: #3b82f6;
  color: white;
}

/* Details/Summary FAQ animation */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] > div {
  animation: fadeSlideIn 0.25s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle hover lift for pricing cards */
#pricing .grid > div {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#pricing .grid > div:hover {
  transform: translateY(-4px);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Animated gradient for the hero heading accent */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

h1 .bg-gradient-to-r {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem !important;
  }

  #pricing .grid > div {
    padding: 1.5rem;
  }
}

/* Print styles */
@media print {
  nav, footer, .animate-ping, form {
    display: none !important;
  }

  section {
    page-break-inside: avoid;
  }
}
