/* SpeechCut Website Styles v2.0
 * Clean, minimal styling for the redesigned landing page.
 * Uses Tailwind CSS for most styling, with custom additions here.
 */

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

/* Body base styles */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom selection color */
::selection {
  background-color: rgba(34, 197, 94, 0.3);
  color: white;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

/* Modern button effects */
.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 300ms;
}

.btn-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 300ms;
  transform: translateX(-100%);
}

.btn-modern:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

/* FAQ toggle animation */
.faq-toggle i {
  transition: transform 0.3s ease;
}

/* Strike-through example styling */
.strike-example {
  text-decoration: line-through;
  text-decoration-color: #22c55e;
  text-decoration-thickness: 2px;
  opacity: 0.5;
}

/* Glassmorphism effect for cards if needed */
.glass-effect {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #171717;
}

::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #525252;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile optimizations */
@media (max-width: 640px) {
  /* Ensure tap targets are large enough */
  .faq-toggle {
    min-height: 48px;
  }

  /* Better touch scrolling */
  .scrollable-container {
    -webkit-overflow-scrolling: touch;
  }
}


/* Print styles */
@media print {
  nav,
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}
