/* Template 18 - Midnight Aurora / Northern Lights */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --midnight: #0a0a1a;
  --deep-space: #12122a;
  --aurora-green: #00d4aa;
  --aurora-blue: #00a8cc;
  --aurora-purple: #7b68ee;
  --aurora-pink: #ff6b9d;
  --star-white: #e8e8ff;
  --moon-gray: #9999bb;
  --ice-blue: #a8d8ea;
}

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

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

body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.7;
  color: var(--star-white);
  background: var(--midnight);
  font-weight: 400;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(0,212,170,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(123,104,238,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0,168,204,0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: auroraShift 15s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

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

/* Header - Floating with glow effect */
.site-header {
  background: rgba(10,10,26,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  position: sticky;
  top: 20px;
  z-index: 1000;
  margin: 20px 2rem 0;
  border-radius: 50px;
  border: 1px solid rgba(0,212,170,0.2);
  box-shadow: 0 0 40px rgba(0,212,170,0.1);
}

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

.site-logo a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: 0.05em;
}

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

.site-nav a {
  color: var(--moon-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 25px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.site-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-purple));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 25px;
  z-index: -1;
}

.site-nav a:hover {
  color: var(--star-white);
}

.site-nav a:hover::before {
  opacity: 1;
}

/* Hero Section - Centered with aurora glow */
.section.head {
  padding: 10rem 0 8rem;
  text-align: center;
  position: relative;
}

.section.head::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: linear-gradient(180deg, var(--aurora-green) 0%, var(--aurora-blue) 50%, var(--aurora-purple) 100%);
  filter: blur(100px);
  opacity: 0.3;
  border-radius: 50%;
  animation: aurroraPulse 5s ease-in-out infinite alternate;
}

@keyframes aurroraPulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.3; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 0.5; }
}

.section.head h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--star-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 60px rgba(0,212,170,0.3);
}

.section.head p {
  font-size: 1.3rem;
  color: var(--moon-gray);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.section header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--star-white);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--star-white), var(--aurora-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Footer - Gradient border top */
.footer {
  background: var(--deep-space);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-blue), var(--aurora-purple), var(--aurora-pink));
}

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

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

.footer-tagline {
  color: var(--moon-gray);
  line-height: 1.8;
}

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

.footer-links a {
  color: var(--moon-gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-blue));
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--aurora-green);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright,
.copyright a {
  color: var(--moon-gray);
  font-size: 0.9rem;
  opacity: 0.6;
}

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

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

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

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-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--star-white);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
