/* assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  body {
    @apply bg-[#0B0F19] text-gray-200 font-sans antialiased overflow-x-hidden;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    @apply font-heading text-white;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #0B0F19;
  }

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

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

@layer components {
  .btn-primary {
    @apply no-underline bg-cyan-500 hover:bg-cyan-400 text-darker font-bold py-3 px-6 rounded-lg transition-all duration-300 transform hover:-translate-y-1 hover:shadow-[0_10px_20px_-10px_rgba(6, 182, 212, 0.5)];
    text-decoration: none;
  }

  .btn-secondary {
    @apply no-underline bg-transparent border-2 border-violet-500 text-violet-400 hover:bg-violet-500 hover:text-white font-bold py-3 px-6 rounded-lg transition-all duration-300 transform hover:-translate-y-1 hover:shadow-[0_10px_20px_-10px_rgba(139, 92, 246, 0.3)];
    text-decoration: none;
  }

  .nav-link {
    @apply text-gray-300 hover:text-cyan-400 font-medium transition-colors duration-200;
  }

  .glass-card {
    background-color: rgba(31, 41, 55, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    /* Removed fixed padding here because we use p-0 and p-6 md:p-8 in HTML */
  }

  .glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    transition: all 0.5s ease;
  }

  .glass-card:hover {
    background-color: rgba(31, 41, 55, 0.65);
    transform: translateY(-8px) scale(1.01);
    z-index: 10;
  }
  
  .glass-card:hover::after {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  }

  .section-padding {
    padding-top: 6rem;
    /* py-24 */
    padding-bottom: 6rem;
  }

  .site-container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    /* px-6 */
    padding-right: 1.5rem;
    width: 100%;
  }

  .prose-width {
    max-width: 65ch;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 8rem;
    /* md:py-32 */
    padding-bottom: 8rem;
  }
}

/* Animations */
.hero-gradient {
  background: radial-gradient(circle at top center, rgba(139, 92, 246, 0.15) 0%, rgba(11, 15, 25, 1) 50%);
}

.text-gradient {
  @apply bg-clip-text text-transparent bg-gradient-to-r from-cyan-400 to-violet-500;
}