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

:root {
  --teal: #00C8E0;
  --teal-dark: #0098AA;
  --midnight: #0A1628;
  --midnight-mid: #112240;
  --midnight-light: #1A3354;
  --aurora1: #00C8E0;
  --aurora2: #7B3FE4;
  --aurora3: #00E5A0;
  --text-primary: #E8F4F8;
  --text-secondary: #A8C8D8;
  --chip: #FFD700;
}

* { box-sizing: border-box; }

body {
  background-color: var(--midnight);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

@keyframes aurora-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(0,200,224,0.4); }
  50% { box-shadow: 0 0 22px 6px rgba(0,200,224,0.8); }
}

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

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.aurora-bg {
  background: linear-gradient(135deg, var(--midnight) 0%, #0D2040 30%, #1A1040 60%, #0A1628 100%);
  position: relative;
  overflow: hidden;
}

.aurora-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(0,200,224,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: float-up 8s ease-in-out infinite;
}

.aurora-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(123,63,228,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.glow-btn {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Prose styling for markdown pages */
.prose {
  max-width: 100%;
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1rem;
}

.prose h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0,200,224,0.25);
  padding-bottom: 0.4rem;
}

.prose h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #A8E6EF;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: #CBD8E4;
}

.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #fff;
}

.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #CBD8E4;
}

.prose ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.85rem;
  top: 0.15rem;
}

.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  counter-reset: list-counter;
  list-style: none;
}

.prose ol li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
  color: #CBD8E4;
}

.prose ol li::before {
  content: counter(list-counter) '.';
  color: var(--teal);
  font-weight: 700;
  margin-right: 0.5rem;
}

.prose blockquote {
  border-left: 3px solid var(--teal);
  margin-left: 0;
  padding: 0.75rem 1.25rem;
  background: rgba(0,200,224,0.06);
  border-radius: 0 8px 8px 0;
  color: #A8C8D8;
  font-style: italic;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.prose table thead th {
  background: var(--midnight-light);
  color: var(--teal);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,200,224,0.3);
}

.prose table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.prose table tbody tr:hover {
  background: rgba(0,200,224,0.04);
}

.prose table tbody td {
  padding: 0.65rem 1rem;
  color: #CBD8E4;
}

.prose .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose .table-wrap table {
  min-width: max-content;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1.5rem auto;
  border: 1px solid rgba(0,200,224,0.15);
}

.card-aurora {
  background: linear-gradient(135deg, var(--midnight-mid) 0%, var(--midnight-light) 100%);
  border: 1px solid rgba(0,200,224,0.18);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-aurora:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,200,224,0.18);
}

.chip-accent {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
}

.provider-cloud span {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin: 0.3rem;
  border-radius: 999px;
  background: rgba(0,200,224,0.1);
  border: 1px solid rgba(0,200,224,0.25);
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}

.provider-cloud span:hover {
  background: rgba(0,200,224,0.22);
  color: #fff;
}
