:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color-scheme: dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #030712;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100vh;
}

body {
  background: radial-gradient(circle at top right, #1e1b4b, #030712);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fill-yellow-500 {
  fill: #eab308;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Glass morphism card, matches original .glass utility */
.glass {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text, matches original .gradient-text utility */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow CTA button, matches original .glow-button utility */
.glow-button {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  transition: all 0.3s ease;
}

.glow-button:hover {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
  transform: translateY(-2px);
}

.blob-bg {
  position: absolute;
  border-radius: 9999px;
  filter: blur(100px);
  z-index: -10;
  pointer-events: none;
}

/* Simple fade/slide-in used across pages */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease both;
}

/* Blog article typography */
.blog-prose h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-prose p { margin: 0; }
.blog-prose ul,
.blog-prose ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}
.blog-prose li { margin-bottom: 0.4rem; }
.blog-prose a {
  color: #60a5fa;
  text-decoration: underline;
}
.blog-prose a:hover { color: #93c5fd; }

/* FAQ accordion */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 800px;
}

.faq-item .faq-chevron {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Mobile nav */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileMenu.open {
  max-height: 100vh;
}

/* Dashboard upload / progress simulation */
.progress-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  height: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.2s linear;
}

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dropzone.dragover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}

/* Table styling for admin panel */
table.data-table {
  width: 100%;
  border-collapse: collapse;
}

table.data-table th, table.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

table.data-table th {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}
