/* Template 9 - Midnight Purple / Dark Luxury */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
  --gradient-2: linear-gradient(135deg, #aa76ff 0%, #6a1b9a 100%);
  --gradient-3: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
  --gradient-4: linear-gradient(135deg, #ce93d8 0%, #ba68c8 100%);
  --gradient-5: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);

  --bg-primary: #0d0221;
  --bg-secondary: #1a0b2e;
  --glass-bg: rgba(138, 43, 226, 0.08);
  --glass-border: rgba(168, 85, 247, 0.25);

  --text-primary: #f0e6ff;
  --text-secondary: #c1a7e0;
  --text-muted: #9581b8;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* Mystical purple nebula background */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(142, 45, 226, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(74, 0, 224, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(156, 39, 176, 0.15) 0%, transparent 40%);
  animation: nebulaDrift 40s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes nebulaDrift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(3%, -3%) rotate(180deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Luxurious header with gold accents */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f0e6ff 0%, #d4a5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.4s ease;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-logo a:hover {
  filter: brightness(1.3);
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
  transform: scale(1.05);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.4s ease;
  position: relative;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.site-nav a::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.4s ease;
}

.site-nav a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.site-nav a:hover::before {
  width: 100%;
}

/* Hero with royal typography */
.section.head {
  padding: 9rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section.head h1 {
  font-family: "Cinzel", serif;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f0e6ff 0%, #aa76ff 50%, #8e2de2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: royalGlow 4s ease-in-out infinite alternate;
  letter-spacing: 2px;
}

@keyframes royalGlow {
  0% {
    filter: brightness(1) drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
  }
  100% {
    filter: brightness(1.2) drop-shadow(0 0 40px rgba(168, 85, 247, 0.5));
  }
}

.section.head p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: "Cinzel", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f0e6ff 0%, #c1a7e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.section header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Footer with deep purple gradient */
.footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #0d0118 100%);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 5rem;
  box-shadow: 0 -10px 40px rgba(138, 43, 226, 0.15);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.copyright a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: floatIn 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.7rem;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Cinzel", serif;
  font-weight: 600;
}
