/* Template 20 - Candy Pop */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600&display=swap");

:root {
  --candy-pink: #ff6b9d;
  --candy-blue: #4ecdc4;
  --candy-yellow: #ffe66d;
  --candy-purple: #a8dadc;
  --candy-orange: #ff8c42;
  
  --bg-primary: #fff4f9;
  --bg-secondary: #ffe8f0;
  --bg-accent: #ffffff;
  
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-muted: #b2bec3;
}

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

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

body {
  font-family: "Quicksand", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 500;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 230, 109, 0.08) 0%, transparent 50%);
  animation: candyFloat 15s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes candyFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 3%) scale(1.05); }
}

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

/* Header - Candy Style */
.site-header {
  background: var(--bg-accent);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--candy-pink), var(--candy-blue), var(--candy-yellow)) 1;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
}

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

.site-logo a {
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.site-logo a:hover {
  transform: scale(1.1) rotate(-2deg);
}

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

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

.site-nav a:hover {
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-blue));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

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

.section.head h1 {
  font-family: "Fredoka", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple), var(--candy-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 5s ease-in-out infinite;
  line-height: 1.2;
}

@keyframes colorShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(15deg); }
}

.section.head p {
  font-size: 1.3rem;
  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: "Fredoka", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--candy-blue), var(--candy-yellow), var(--candy-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-accent));
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--candy-blue), var(--candy-pink), var(--candy-yellow)) 1;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.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: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "●";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  color: var(--candy-pink);
  transition: transform 0.3s ease;
}

.footer-links a:hover::after {
  transform: translateX(-50%) scale(1);
}

.footer-links a:hover {
  color: var(--candy-pink);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px dashed var(--candy-purple);
}

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

/* Animations */
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: popIn 0.6s 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-family: "Fredoka", sans-serif;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--candy-pink), var(--candy-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
