@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Basic Colors and Layout Settings */
body {
  font-family: 'Inter', sans-serif;
  background-color: #050505;
  color: white;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Outfit', sans-serif;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient {
  background: linear-gradient(-45deg, #050505, #1a1a1a, #0a0a0a, #050505);
  background-size: 400% 400%;
  animation: gradient-move 15s ease infinite;
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

/* Animations */
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.spin-slow {
  animation: spin-slow 8s linear infinite;
}

@keyframes loading-bar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(300%);
  }
}

.loading-bar {
  animation: loading-bar 2s linear infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-container {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-container:hover {
  animation-play-state: paused;
}

/* Blog Typography Styles */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.prose h1 {
  font-size: 2.5em;
  color: #ffffff;
}

.prose h2 {
  font-size: 2em;
  color: #f97316;
  /* Orange color to make headings pop nicely! */
}

.prose h3 {
  font-size: 1.75em;
  color: #ffffff;
}

.prose h4 {
  font-size: 1.5em;
}

.prose h5 {
  font-size: 1.25em;
}

.prose h6 {
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prose p {
  margin-bottom: 0.8em;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  color: #f97316;
  text-decoration: underline;
}

.prose strong,
.prose b {
  color: #ffffff;
  font-weight: 700;
}

.prose blockquote {
  border-left: 4px solid #f97316;
  padding-left: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.prose img {
  border-radius: 1rem;
  margin: 1.5em 0;
  max-width: 100%;
}

/* Custom Table of Contents format (.custom-toc) */
.custom-toc {
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #f97316;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.custom-toc .toc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-toc ul {
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

.custom-toc li {
  margin-bottom: 0.75rem !important;
  padding-left: 1.5rem;
  position: relative;
}

.custom-toc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f97316;
  box-shadow: 0 0 8px #f97316;
}

.custom-toc a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.custom-toc a:hover {
  color: #f97316 !important;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

/* Custom FAQ format (.custom-faq) */
.custom-faq {
  margin: 3rem 0;
}

.custom-faq .faq-item {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.custom-faq .faq-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 4px 20px -5px rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
}

.custom-faq .faq-question {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  display: flex;
  gap: 1rem;
}

.custom-faq .faq-question::before {
  content: 'Q.';
  color: #f97316;
  font-size: 1.25rem;
}

.custom-faq .faq-answer {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  margin-left: 0.5rem;
}

.custom-faq .faq-item:hover .faq-answer {
  border-left-color: rgba(249, 115, 22, 0.5);
}

/* Data Table Formatting Within Prose */
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2.5rem 0;
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.prose thead {
  background-color: rgba(249, 115, 22, 0.1);
}

.prose th {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 1.25rem 1rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  border-bottom: 2px solid rgba(249, 115, 22, 0.5);
}

.prose th:not(:last-child), .prose td:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.prose td {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s;
}

.prose tbody tr:last-child td {
  border-bottom: none;
}

.prose tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.01);
}

.prose tbody tr:hover td {
  background-color: rgba(249, 115, 22, 0.08);
}