/* Template 24 - Space/Cosmic Theme */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Exo+2:wght@300;400;500;600&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #1a0033 0%, #330066 100%);
  --gradient-2: linear-gradient(135deg, #4a148c 0%, #7b1fa2 100%);
  --gradient-3: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  --gradient-4: linear-gradient(135deg, #311b92 0%, #512da8 100%);
  --gradient-5: linear-gradient(135deg, #1a237e 0%, #283593 100%);

  --bg-primary: #0a0015;
  --bg-secondary: #1a0033;
  --glass-bg: rgba(26, 0, 51, 0.6);
  --glass-border: rgba(123, 31, 162, 0.3);

  --text-primary: #e1bee7;
  --text-secondary: #ce93d8;
  --text-muted: #ba68c8;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent), radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent), radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent);
  background-size: 200% 200%;
  animation: stars 200s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

@keyframes stars {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(123, 31, 162, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(25, 118, 210, 0.1) 0%, transparent 50%);
  animation: gradientShift 30s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gradientShift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(5%, 5%) rotate(180deg);
  }
}

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

.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(123, 31, 162, 0.3);
}

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

.site-logo a {
  font-family: "Orbitron", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(123, 31, 162, 0.8), 0 0 40px rgba(123, 31, 162, 0.5);
  letter-spacing: 3px;
}

.site-logo a:hover {
  color: #fff;
  text-shadow: 0 0 30px rgba(123, 31, 162, 1), 0 0 60px rgba(123, 31, 162, 0.7);
  transform: scale(1.05);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  letter-spacing: 1px;
}

.site-nav a:hover {
  color: var(--text-primary);
  border-color: var(--glass-border);
  background: rgba(123, 31, 162, 0.1);
  box-shadow: 0 0 15px rgba(123, 31, 162, 0.5);
}

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

.section.head h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: textGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(123, 31, 162, 0.8), 0 0 60px rgba(123, 31, 162, 0.5);
  letter-spacing: 4px;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 30px rgba(123, 31, 162, 0.8), 0 0 60px rgba(123, 31, 162, 0.5);
  }
  100% {
    text-shadow: 0 0 40px rgba(123, 31, 162, 1), 0 0 80px rgba(123, 31, 162, 0.7), 0 0 120px rgba(123, 31, 162, 0.4);
  }
}

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

.section {
  padding: 5rem 0;
}

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

.section header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(123, 31, 162, 0.6);
  letter-spacing: 2px;
}

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

.footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  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.8;
}

.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: 1rem;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(123, 31, 162, 0.8);
}

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

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

@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: "Orbitron", sans-serif;
}
