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

:root {
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

  --bg-primary: #0a0015;
  --bg-secondary: #1a0f2e;
  --glass-bg: rgba(102, 126, 234, 0.1);
  --glass-border: rgba(102, 126, 234, 0.3);

  --text-primary: #e0d9ff;
  --text-secondary: #a78bfa;
  --text-muted: #6b5b95;
}

* {
  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.7;
  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-image: 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%;
  background-position: 0% 0%;
  animation: stars 200s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

@keyframes stars {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

body::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(167, 139, 250, 0.15) 0%, transparent 40%);
  animation: nebula 30s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes nebula {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(5%, 5%) scale(1.1);
  }
}

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

/* Header - Futuristic */
.site-header {
  background: rgba(26, 15, 46, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-logo a {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
  position: relative;
}

.site-logo a::before {
  content: "◆";
  position: absolute;
  left: -1.5rem;
  color: var(--text-secondary);
  animation: pulse 2s ease-in-out infinite;
}

.site-logo a::after {
  content: "◆";
  position: absolute;
  right: -1.5rem;
  color: var(--text-secondary);
  animation: pulse 2s ease-in-out infinite 1s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.site-logo a:hover {
  color: #ffffff;
  text-shadow: 0 0 30px rgba(167, 139, 250, 1);
  transform: scale(1.05);
}

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

.site-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}



.site-nav a:hover {
  color: #ffffff;
  border-color: var(--glass-border);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.site-nav a:hover::before {
  left: 0;
}

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

.section.head::before {
  content: "★";
  position: absolute;
  font-size: 20rem;
  color: rgba(167, 139, 250, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.section.head h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: brightness(1) drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
  }
  to {
    filter: brightness(1.3) drop-shadow(0 0 40px rgba(102, 126, 234, 0.8));
  }
}

.section.head p {
  font-size: 1.3rem;
  color: var(--text-primary);
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.05em;
}

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

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

.section header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Footer - Cosmic */
.footer {
  background: rgba(26, 15, 46, 0.8);
  backdrop-filter: blur(15px);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
  margin-top: 6rem;
}

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

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

.footer-tagline {
  color: var(--text-primary);
  line-height: 1.9;
  font-weight: 300;
}

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

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--glass-border);
}

.footer-links a:hover {
  color: #ffffff;
  background: var(--gradient-1);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(102, 126, 234, 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;
  letter-spacing: 0.05em;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInSpace 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.8rem;
  color: var(--text-secondary);
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: left;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 0 15px rgba(167, 139, 250, 0.4);
}
