/* Template 11 - Gradient/Colorful */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  --gradient-purple-pink: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-blue-teal: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-orange-red: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-green-blue: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);

  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-card: #1a1a24;

  --text-primary: #ffffff;
  --text-secondary: #b8b8d8;
  --text-muted: #7878a8;
}

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

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

body {
  font-family: "DM Sans", 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(circle at 20% 30%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(250, 112, 154, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(67, 233, 123, 0.15) 0%, transparent 60%);
  animation: colorShift 15s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes colorShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

/* Header - Colorful Gradient */
.site-header {
  background: rgba(26, 26, 36, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-purple-pink) 1;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.site-logo a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: gradientFlow 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

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

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.site-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue-teal);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

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

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

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

.section.head h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientPulse 4s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gradientPulse {
  0%,
  100% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.3);
  }
}

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

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

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

.section header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-orange-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
}

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

/* Footer */
.footer {
  background: var(--bg-card);
  padding: 3.5rem 0 1.5rem;
  border-top: 2px solid transparent;
  border-image: var(--gradient-green-blue) 1;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-green-blue);
}

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

.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;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue-teal);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

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

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

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

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

.fade-in {
  opacity: 0;
  animation: colorfulFadeIn 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;
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
