:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --radius: 0.5rem;
}

* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

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

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

/* ---------------------------------------------------------------
   Scroll-reveal animation utilities.
   These replicate the original React site's framer-motion
   fade/slide-in effects using plain CSS transitions triggered by
   an IntersectionObserver in main.js (see .reveal / .is-visible).
   ----------------------------------------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal-left {
  transform: translateX(-30px);
}
.reveal.reveal-right {
  transform: translateX(30px);
}
.reveal.reveal-scale {
  transform: scale(0.85);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Hero entrance (always visible on load, no scroll trigger needed) */
.hero-enter {
  animation: heroEnter 0.8s ease both;
}
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast notifications (replace shadcn/ui toaster) */
.toast {
  pointer-events: auto;
  background: #111827;
  color: #fff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  width: 100%;
  animation: toastIn 0.25s ease both;
}
.toast strong { display: block; margin-bottom: 2px; font-size: 0.9rem; }
.toast p { font-size: 0.8rem; color: #d1d5db; margin: 0; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
