@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
  --primary-purple: #380259;
  --deep-background: #0D0017;
  --accent-gold: #F0D8A8;
  --surface-color: #6A3B6F;
  --surface-glass: rgba(106, 59, 111, 0.2);
  --border-glass: rgba(240, 216, 168, 0.3);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--deep-background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 15% 15%, var(--primary-purple) 0%, transparent 40%),
                    radial-gradient(circle at 85% 85%, var(--surface-color) 0%, transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 3rem 4rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(106, 59, 111, 0.4);
}


nav {
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(13, 0, 23, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent-gold);
}


.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem 1.5rem;
}


.hero {
  text-align: center;
  padding: 2rem 0 4rem 0;
}
.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(240, 216, 168, 0.4);
}
.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}
.badges {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.badges img {
  height: 32px;
  border-radius: 4px;
  transition: transform 0.3s ease;
  box-shadow: none !important;
  margin: 0 !important;
}
.badges img:hover {
  transform: scale(1.05);
}

.content-section {
  margin-bottom: 5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem !important;
}
.feature-card h3 {
  font-size: 1.6rem;
  margin-top: 0 !important;
  margin-bottom: 1rem;
}
.feature-card p, .feature-card ul {
  font-size: 1.1rem !important;
}


.prose {
  width: 100%;
}

.prose h1 {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  text-shadow: 0 0 20px rgba(240, 216, 168, 0.3);
}

.prose h2 {
  font-size: 2.2rem;
  margin-top: 3.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.8rem;
}

.prose h3 {
  font-size: 1.6rem;
  margin-top: 2rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: inherit;
  gap: 0.5rem;
}
.prose [align="center"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.prose p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.prose strong {
  color: var(--text-primary);
}

.prose ul, .prose ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.prose li {
  margin-bottom: 0.8rem;
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--border-glass);
  margin: 3.5rem 0;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.prose blockquote {
  border-left: 4px solid var(--accent-gold);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}


footer {
  text-align: center;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border-glass);
  margin-top: 2rem;
  background: rgba(13, 0, 23, 0.5);
  backdrop-filter: blur(10px);
}

footer p {
  color: var(--text-secondary);
}


.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 1.5rem;
  margin: 2rem -1.5rem;
}
.prose td {
  background: rgba(106, 59, 111, 0.1);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prose td:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(106, 59, 111, 0.4);
}
.prose td h3 {
  margin-top: 0;
  font-size: 1.5rem;
}


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .nav-links { gap: 1.5rem; }
  .container { padding-top: 7rem; }
  .glass-panel { padding: 2rem 1.5rem; }
  .prose h1 { font-size: 2.5rem; }
  .hero h1 { font-size: 3rem; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose td { margin-bottom: 1.5rem; padding: 1.8rem; }
  .prose table { margin: 2rem 0; padding: 0; border-spacing: 0; }
}
