/* ==========================================================================
   Chickens & Unicorns - Modern Landing, Support & Marketing Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-pink: #FF6B8B;
  --primary-pink-hover: #ff5277;
  --accent-orange: #FF9F43;
  --accent-yellow: #FECA57;
  --accent-blue: #48DBFB;
  --accent-purple: #9B59B6;
  --sky-top: #87CEEB;
  --sky-mid: #C5E3F6;
  --sky-bottom: #FDEBF7;
  --text-dark: #2C3E50;
  --text-muted: #6C7A89;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(255, 255, 255, 0.8);
  --shadow-soft: 0 10px 30px rgba(255, 107, 139, 0.12);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.06);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, var(--sky-bottom) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, .font-heading {
  font-family: 'Fredoka', cursive, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-pink);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-pink-hover);
}

/* Background Animated Clouds */
.sky-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 140px;
  height: 45px;
  top: 12%;
  left: -150px;
  animation: floatCloud 38s linear infinite;
}
.cloud-1::before { width: 55px; height: 55px; top: -25px; left: 20px; }
.cloud-1::after { width: 45px; height: 45px; top: -18px; right: 25px; }

.cloud-2 {
  width: 180px;
  height: 55px;
  top: 35%;
  left: -200px;
  animation: floatCloud 52s linear infinite 12s;
}
.cloud-2::before { width: 70px; height: 70px; top: -32px; left: 28px; }
.cloud-2::after { width: 55px; height: 55px; top: -22px; right: 30px; }

.cloud-3 {
  width: 120px;
  height: 40px;
  top: 65%;
  left: -130px;
  animation: floatCloud 44s linear infinite 5s;
}
.cloud-3::before { width: 50px; height: 50px; top: -22px; left: 18px; }
.cloud-3::after { width: 40px; height: 40px; top: -15px; right: 20px; }

@keyframes floatCloud {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 350px)); }
}

/* Header / Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 24px;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 107, 139, 0.25);
  object-fit: cover;
}

.brand-name {
  font-size: 1.35rem;
  color: var(--primary-pink);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-pink);
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--border-glass);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 15px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary-pink);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 107, 139, 0.3);
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-pink);
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 107, 139, 0.1);
}

.hero-title {
  font-size: 3.2rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  background: linear-gradient(135deg, #2C3E50 0%, #FF6B8B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 520px;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--accent-orange) 100%);
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 107, 139, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 107, 139, 0.45);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
  color: var(--primary-pink);
}

/* Hero Showcase Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
}

.characters-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  min-height: 160px;
}

.stage-img {
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.12));
  transition: transform 0.3s ease;
}

.stage-chick {
  width: 90px;
  animation: bounceSoft 3s ease-in-out infinite;
}

.stage-unicorn {
  width: 110px;
  animation: floatSoft 3.5s ease-in-out infinite 0.5s;
}

.stage-rainbow {
  width: 95px;
  animation: bounceSoft 4s ease-in-out infinite 1s;
}

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.04); }
}

/* Features Section */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 139, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 107, 139, 0.15) 0%, rgba(255, 159, 67, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-pink);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

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

/* Gameplay Steps */
.gameplay-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 240, 245, 0.85) 100%);
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-pink);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 107, 139, 0.3);
}

.step-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.step-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary-pink);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* Support Form Section */
.support-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 760px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Privacy Policy Box */
.privacy-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  color: var(--text-dark);
}

.privacy-box h3 {
  font-size: 1.4rem;
  color: var(--primary-pink);
  margin: 24px 0 12px;
}

.privacy-box h3:first-child {
  margin-top: 0;
}

.privacy-box p, .privacy-box ul {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.privacy-box ul {
  padding-left: 20px;
}

.privacy-box li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid var(--border-glass);
  padding: 40px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .nav-links {
    display: none; /* Mobile menu can be toggled */
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .gameplay-box, .support-box, .privacy-box {
    padding: 24px;
  }
}
