/* Play Post Marketing Website - Black & White with Animated Clouds */

:root {
  --primary: #000000;
  --primary-dark: #1a1a1a;
  --secondary: #333333;
  --accent: #000000;
  --text: #000000;
  --text-light: #555555;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --border: #e0e0e0;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --cloud-color: #e8e8e8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}

/* Chewy font for headings */
h1, h2, h3, .logo {
  font-family: "Chewy", system-ui;
  font-weight: 400;
  font-style: normal;
}

/* Cloud Animation Keyframes */
@keyframes float-cloud {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(30px);
  }
}

@keyframes float-cloud-slow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
}

@keyframes float-cloud-reverse {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-40px);
  }
}

/* Cloud shape using multiple circles */
.cloud {
  position: absolute;
  background: var(--cloud-color);
  border-radius: 50%;
  z-index: -1;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: var(--cloud-color);
  border-radius: 50%;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 2px solid var(--primary);
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.6;
}

.github-link {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.github-link:hover {
  background: var(--secondary) !important;
}

/* Hero Section - with animated clouds */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
  position: relative;
}

/* Cloud 1 - top right */
.hero::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 50px;
  width: 120px;
  height: 60px;
  background: var(--cloud-color);
  border-radius: 60px;
  z-index: -1;
  animation: float-cloud 8s ease-in-out infinite;
  box-shadow: 
    -40px 20px 0 20px var(--cloud-color),
    40px 10px 0 10px var(--cloud-color),
    -20px -10px 0 30px var(--cloud-color),
    30px -5px 0 25px var(--cloud-color);
}

/* Cloud 2 - bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 30px;
  width: 100px;
  height: 50px;
  background: var(--cloud-color);
  border-radius: 50px;
  z-index: -1;
  animation: float-cloud-slow 10s ease-in-out infinite;
  box-shadow: 
    -30px 15px 0 15px var(--cloud-color),
    30px 8px 0 8px var(--cloud-color),
    -15px -8px 0 25px var(--cloud-color),
    25px -3px 0 20px var(--cloud-color);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid var(--border);
}

/* Section with cloud accents */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

/* Mascot Showcase - with cloud */
.mascot-showcase {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.mascot-showcase::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 80px;
  height: 40px;
  background: var(--cloud-color);
  border-radius: 40px;
  z-index: 0;
  animation: float-cloud-reverse 12s ease-in-out infinite;
  box-shadow: 
    -25px 12px 0 12px var(--cloud-color),
    25px 6px 0 6px var(--cloud-color),
    -10px -6px 0 18px var(--cloud-color),
    18px -2px 0 15px var(--cloud-color);
}

.mascot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.mascot-card {
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.mascot-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.mascot-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.mascot-card p {
  font-weight: 600;
  color: var(--text-light);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Features - with cloud accent */
.features {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  bottom: 40px;
  right: 5%;
  width: 100px;
  height: 50px;
  background: var(--cloud-color);
  border-radius: 50px;
  z-index: 0;
  animation: float-cloud 9s ease-in-out infinite;
  box-shadow: 
    -30px 15px 0 15px var(--cloud-color),
    30px 8px 0 8px var(--cloud-color),
    -15px -8px 0 22px var(--cloud-color),
    22px -3px 0 18px var(--cloud-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.feature:hover {
  border-color: var(--primary);
}

.feature h3 {
  margin-bottom: 0.75rem;
}

/* Setup Options */
.setup-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.setup-option {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.setup-option.hosted {
  border: 3px solid var(--primary);
}

.setup-option h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.setup-option ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.setup-option li {
  margin-bottom: 0.5rem;
}

/* Footer Logo */
.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

/* Setup */
.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.setup-step {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.setup-step h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.setup-step ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.setup-step li {
  margin-bottom: 0.5rem;
}

pre {
  background: #1a1a1a;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-top: 1rem;
}

code {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
}

/* Privacy */
.privacy-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.privacy-point {
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.privacy-point h3 {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  font-family: "Chewy", system-ui;
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: #aaa;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #444;
  text-align: center;
  color: #888;
}

.footer-bottom a {
  color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .mascot-grid {
    grid-template-columns: 1fr;
  }
  
  .setup-options {
    grid-template-columns: 1fr;
  }
  
  .privacy-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}
