/* 
 * Schoolenco & TheSchoolERP Complete UI Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  font-family: var(--font-sans);
  background-color: #0b0f19;
  color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* Responsive Helper Utilities for Extra Small Screens */
@media (max-width: 480px) {
  .xs\:flex-col { flex-direction: column !important; }
  .xs\:items-start { align-items: flex-start !important; }
  .xs\:text-left { text-align: left !important; }
}

@media (min-width: 420px) {
  .xs\:flex-row { flex-direction: row !important; }
  .xs\:items-center { align-items: center !important; }
  .xs\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Gradient Text Utilities */
.text-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(241, 245, 249, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.glass-card-dark {
  background: rgba(17, 22, 37, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  border-radius: 2.5rem;
}

.hero-dashboard-card {
  background: rgba(17, 22, 37, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 50px -10px rgba(79, 70, 229, 0.25);
}

/* Button & Card Hover Animations */
.glow-button {
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.6);
  transition: all 0.3s ease;
}

.glow-button:hover {
  box-shadow: 0 15px 35px -3px rgba(99, 102, 241, 0.8);
  transform: translateY(-2px);
}

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

.animate-float-slow {
  animation: floatUp 5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

.animate-pulse-slow {
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Shape Dividers & Waves - Seamless Positioning */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 20;
  pointer-events: none;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

@media (min-width: 768px) {
  .custom-shape-divider-bottom svg {
    height: 130px;
  }
}

.shape-fill-slate { fill: #f8fafc; }
.shape-fill-white { fill: #ffffff; }
.shape-fill-gray-900 { fill: #0b0f19; }
.shape-fill-black { fill: #000000; }

/* 3D Icon Box Styles */
.icon-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 10px 20px rgba(0, 0, 0, 0.08);
}

.icon-3d-indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); color: #ffffff; }
.icon-3d-emerald { background: linear-gradient(135deg, #34d399, #10b981); color: #ffffff; }
.icon-3d-sky { background: linear-gradient(135deg, #38bdf8, #0284c7); color: #ffffff; }
.icon-3d-teal { background: linear-gradient(135deg, #2dd4bf, #0d9488); color: #ffffff; }
.icon-3d-rose { background: linear-gradient(135deg, #fb7185, #e11d48); color: #ffffff; }
.icon-3d-amber { background: linear-gradient(135deg, #fbbf24, #d97706); color: #ffffff; }
.icon-3d-purple { background: linear-gradient(135deg, #c084fc, #9333ea); color: #ffffff; }
.icon-3d-orange { background: linear-gradient(135deg, #fb923c, #ea580c); color: #ffffff; }
.icon-3d-cyan { background: linear-gradient(135deg, #22d3ee, #0891b2); color: #ffffff; }
.icon-3d-pink { background: linear-gradient(135deg, #f472b6, #db2777); color: #ffffff; }
.icon-3d-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); color: #ffffff; }
.icon-3d-violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #ffffff; }

/* FAQ Accordions */
.faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  display: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.12) !important;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-item.active .faq-icon {
  background: linear-gradient(135deg, #4f46e5, #3b82f6) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4) !important;
}
