/* Template 30 - Midnight Moonlight / Nocturnal Elegance */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #1a1a3e 0%, #0f0f2e 100%);
  --gradient-2: linear-gradient(135deg, #2a2a5e 0%, #1a1a4e 100%);
  --gradient-3: linear-gradient(135deg, #3a3a6e 0%, #2a2a5e 100%);
  --gradient-4: linear-gradient(135deg, #4a4a7e 0%, #3a3a6e 100%);
  --gradient-5: linear-gradient(135deg, #5a5a8e 0%, #4a4a7e 100%);

  --bg-primary: #0a0a1e;
  --bg-secondary: #15152e;
  --glass-bg: rgba(20, 20, 50, 0.7);
  --glass-border: rgba(192, 192, 232, 0.2);

  --text-primary: #e8e8f8;
  --text-secondary: #c0c0e8;
  --text-muted: #9090b8;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(100, 100, 200, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(150, 150, 220, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(192, 192, 232, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: starShimmer 10s ease-in-out infinite;
}

@keyframes starShimmer {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

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

/* Header with Elegant Design */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.site-logo a {
  font-family: "Cinzel", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #c0c0e8;
  text-decoration: none;
  transition: all 0.4s ease;
  letter-spacing: 3px;
}

.site-logo a:hover {
  color: #e8e8f8;
  text-shadow: 0 0 20px rgba(192, 192, 232, 0.6);
}

.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: 400;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 1px;
}

.site-nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c0c0e8, transparent);
  transition: all 0.3s ease;
}

.site-nav a:hover {
  color: var(--text-primary);
}

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

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section.head h1 {
  font-family: "Cinzel", serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #e8e8f8;
  animation: moonGlow 4s ease-in-out infinite alternate;
  letter-spacing: 4px;
}

@keyframes moonGlow {
  0% {
    text-shadow: 0 0 20px rgba(192, 192, 232, 0.4);
  }
  100% {
    text-shadow: 0 0 40px rgba(232, 232, 248, 0.6);
  }
}

.section.head p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

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

.section header h2 {
  font-family: "Cinzel", serif;
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #c0c0e8;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.section header h2::after {
  content: "✦";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: #9090b8;
  font-size: 1.2rem;
}

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

/* Footer */
.footer {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 5rem;
}

.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.9;
}

.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;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(192, 192, 232, 0.4);
}

.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;
}

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

.fade-in {
  opacity: 0;
  animation: floatIn 1s 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: #c0c0e8;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Cinzel", serif;
}
