/* Template 45 - Crystal Clear / Icy Minimal */
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Questrial&family=Tenor+Sans&display=swap');

:root {
  --ice-white: #FAFCFF;
  --frost: #E8F4F8;
  --glacier-blue: #B8D4E3;
  --arctic-blue: #7EB6D9;
  --deep-ice: #4A90B5;
  --polar-night: #1A3A4A;
  --midnight-frost: #0D2633;
  --crystal-clear: rgba(255, 255, 255, 0.7);
  --silver-edge: #C0D6E4;
  --diamond-shine: rgba(255, 255, 255, 0.9);
}

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

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

body {
  font-family: 'Questrial', sans-serif;
  line-height: 1.8;
  color: var(--polar-night);
  background: var(--ice-white);
  font-weight: 400;
  font-size: 1rem;
}

/* Crystalline shimmer effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(126, 182, 217, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(184, 212, 227, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

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

/* Header - Frosted Glass */
.site-header {
  background: var(--crystal-clear);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--silver-edge);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1.25rem;
}

.site-logo a {
  font-family: 'Tenor Sans', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--polar-night);
  text-decoration: none;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

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

.site-nav a {
  color: var(--deep-ice);
  text-decoration: none;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--arctic-blue);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.site-nav a:hover {
  color: var(--polar-night);
}

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

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

.section.head::before {
  content: '\2736';
  display: block;
  font-size: 2rem;
  color: var(--glacier-blue);
  margin-bottom: 2.5rem;
  letter-spacing: 1em;
  animation: crystalPulse 3s ease infinite;
}

@keyframes crystalPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.section.head h1 {
  font-family: 'Tenor Sans', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--polar-night);
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section.head p {
  font-size: 1.05rem;
  color: var(--deep-ice);
  max-width: 700px;
  margin: 0 auto;
  line-height: 2;
  padding: 2rem;
  background: var(--diamond-shine);
  border: 1px solid var(--silver-edge);
  border-radius: 2px;
}

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

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

.section header h2 {
  font-family: 'Tenor Sans', serif;
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--polar-night);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section header h2::before,
.section header h2::after {
  content: '\2014\2014';
  color: var(--glacier-blue);
  margin: 0 1rem;
  font-weight: 300;
}

.section header p {
  font-size: 1rem;
  color: var(--deep-ice);
  max-width: 550px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'Tenor Sans', serif;
  font-size: 1.5rem;
  color: var(--deep-ice);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Footer - Ice Edge */
.footer {
  background: var(--midnight-frost);
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--ice-white), 
    var(--glacier-blue), 
    var(--arctic-blue), 
    var(--glacier-blue), 
    var(--ice-white));
}

.footer-columns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.footer-about {
  max-width: 500px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.9;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.footer-links a:hover {
  color: var(--glacier-blue);
}

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

.copyright,
.copyright a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  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; }

/* Crystal sparkle animation */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

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

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

main {
  flex: 1;
}
