/* CSS imports removed since we're using CDN Tailwind with proper configuration */

/* CSS Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  font-size: 16px;
}

/* Base theme styles without @apply directives */
body {
  color: #111827;
  background-color: #ffffff;
}

/* Dark mode styles */
html.dark body {
  color: #ffffff;
  background-color: #111827;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  line-height: 1.4;
}

#root {
  isolation: isolate;
}

/* Custom animations and utilities that don't conflict with Tailwind */
img.loaded {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.5), 0 0 10px rgba(99, 102, 241, 0.3), 0 0 15px rgba(99, 102, 241, 0.1);
  }
  50% {
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8), 0 0 20px rgba(99, 102, 241, 0.6), 0 0 30px rgba(99, 102, 241, 0.4);
  }
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.glow-indigo {
  background-color: #e0e7ff;
  color: #3730a3;
}

html.dark .glow-indigo {
  background-color: rgba(79, 70, 229, 0.3);
  color: #a5b4fc;
}

.glow-purple {
  background-color: #f3e8ff;
  color: #6b21a8;
}

html.dark .glow-purple {
  background-color: rgba(147, 51, 234, 0.3);
  color: #c4b5fd;
}

.glow-blue {
  background-color: #dbeafe;
  color: #1d4ed8;
}

html.dark .glow-blue {
  background-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.glow-cyan {
  background-color: #cffafe;
  color: #0e7490;
}

html.dark .glow-cyan {
  background-color: rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}

@keyframes glow-indigo {
  0%, 100% {
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
  }
}

@keyframes glow-purple {
  0%, 100% {
    box-shadow: 0 0 5px rgba(147, 51, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.8);
  }
}

@keyframes glow-blue {
  0%, 100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
  }
}

@keyframes glow-cyan {
  0%, 100% {
    box-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
  }
}

/* Custom responsive utilities */
@media (min-width: 475px) {
  .xs\:block {
    display: block;
  }
  .xs\:hidden {
    display: none;
  }
}

/* Custom component styles */
.card-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.card-shadow:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-hover {
  transition: transform 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-0.25rem);
}

.section-spacing {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.content-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .content-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .content-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.header-scrolled {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-0.25rem);
}

@supports (backdrop-filter: blur(10px)) {
  .backdrop-blur-md {
    backdrop-filter: blur(10px);
  }
}

.animated-underline {
  position: relative;
  text-decoration: none;
}

.animated-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.animated-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

