/* Template 6 - Modern Purple with Card Grid */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;700;900&display=swap");

:root {
  --bg-primary: #1a1625;
  --bg-secondary: #251e35;
  --bg-tertiary: #2f2640;
  --accent-primary: #a855f7;
  --accent-secondary: #ec4899;
  --accent-tertiary: #8b5cf6;
  --text-primary: #f5f3ff;
  --text-secondary: #c4b5fd;
  --text-muted: #9333ea;
  --border-color: #3f3351;
  --shadow: 0 4px 24px rgba(168, 85, 247, 0.15);
}

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

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

body {
  font-family: "Work Sans", sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

/* Modern Header */
.site-header {
  background: rgba(37, 30, 53, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border-color);
}

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

.site-logo a {
  font-family: "DM Sans", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  position: relative;
}

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

main {
  flex: 1;
}

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

.section.head h1 {
  font-family: "DM Sans", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: purpleGlow 1s ease;
  line-height: 1.2;
}

@keyframes purpleGlow {
  from {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.section.head p {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 850px;
  margin: 0 auto;
  animation: purpleGlow 1s ease 0.2s backwards;
}

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

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

.section header h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: 2px;
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: 5rem;
  box-shadow: 0 -4px 24px rgba(168, 85, 247, 0.1);
}

.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: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

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

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

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

.fade-in {
  opacity: 0;
  animation: floatUp 0.7s 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;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.625rem;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 700;
}
