/*
 * Foggy Landing Page Styles
 * Brand: Frog and Toad inspired - warm, cozy, storybook feel
 * Colors: Moss (#7D8B69), Parchment (#FAF8F0), Toad Brown (#8B7355)
 */

:root {
  /* Primary */
  --moss: #7D8B69;
  --sage: #9BA88C;
  --forest: #5C6B4A;

  /* Backgrounds */
  --parchment: #FAF8F0;
  --cream: #FFFEF5;
  --warm-white: #F5F2E8;
  --antique-paper: #E8E2D4;

  /* Accents */
  --toad-brown: #8B7355;
  --bark: #6B5A47;
  --acorn: #A68B6A;
  --honey: #C4A882;

  /* Semantic */
  --rain-blue: #8FA5B8;
  --autumn-red: #C47D6D;
  --pumpkin: #D4956B;
  --goldenrod: #C9B45C;

  /* Text */
  --ink: #3D3632;
  --charcoal: #5C5651;
  --stone: #8B8580;
  --dust: #B5AFA8;

  /* Shadows */
  --shadow: rgba(107, 90, 71, 0.08);
  --shadow-strong: rgba(107, 90, 71, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  color: var(--charcoal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
  border: none;
}

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

.btn-primary:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow-strong);
}

.btn-secondary {
  background: var(--antique-paper);
  color: var(--bark);
}

.btn-secondary:hover {
  background: var(--honey);
  transform: translateY(-1px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 254, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--antique-paper);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  transition: color 150ms ease;
}

.nav-links a:hover {
  color: var(--moss);
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

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

.hero h1 {
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-tagline {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--toad-brown);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  color: var(--charcoal);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
}

.hero-wave svg path {
  fill: var(--warm-white);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--warm-white);
}

.features h2 {
  margin-bottom: 60px;
  color: var(--bark);
}

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

.feature-card {
  background: var(--cream);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--antique-paper);
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-strong);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--parchment);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--moss);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: var(--cream);
}

.how-it-works h2 {
  margin-bottom: 60px;
  color: var(--bark);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 200px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--moss);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 16px;
}

.step h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.step p {
  font-size: 0.95rem;
}

.step-arrow {
  color: var(--sage);
}

@media (max-width: 900px) {
  .step-arrow {
    display: none;
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: var(--warm-white);
}

.pricing-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 48px;
  color: var(--charcoal);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--antique-paper);
  box-shadow: 0 2px 8px var(--shadow);
  position: relative;
}

.pricing-card-featured {
  border: 2px solid var(--moss);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--moss);
  color: var(--cream);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 28px;
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--ink);
}

.period {
  font-size: 1rem;
  color: var(--stone);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--antique-paper);
  color: var(--ink);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  color: var(--moss);
  flex-shrink: 0;
}

/* Download Section */
.download {
  padding: 100px 0;
  background: var(--cream);
}

.download-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 48px;
  color: var(--charcoal);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px;
  background: var(--parchment);
  border-radius: 12px;
  border: 1px solid var(--antique-paper);
  text-decoration: none;
  color: var(--ink);
  transition: all 200ms ease;
}

.download-card:hover {
  background: var(--moss);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-strong);
  border-color: var(--moss);
}

.download-card svg {
  margin-bottom: 16px;
}

.download-platform {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.download-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.download-card-primary {
  background: var(--moss);
  color: var(--cream);
  border-color: var(--moss);
}

.download-card-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.download-card-coming-soon {
  opacity: 0.6;
  cursor: default;
}

.download-card-coming-soon:hover {
  transform: none;
  background: var(--parchment);
  color: var(--ink);
  box-shadow: none;
  border-color: var(--antique-paper);
}

.coming-soon-label {
  font-style: italic;
  color: var(--acorn);
}

.download-card-coming-soon .coming-soon-label {
  color: var(--toad-brown);
}

.download-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--stone);
}

/* Waitlist / CTA Section */
.waitlist {
  padding: 100px 0;
  background: var(--toad-brown);
  color: var(--cream);
}

.waitlist-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.waitlist-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.waitlist h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.waitlist p {
  color: rgba(250, 248, 240, 0.9);
  margin-bottom: 32px;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  min-width: 240px;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  background: var(--cream);
  color: var(--ink);
}

.waitlist-form input:focus {
  box-shadow: 0 0 0 3px rgba(250, 248, 240, 0.3);
}

.waitlist-form .btn-primary {
  background: var(--forest);
}

.waitlist-form .btn-primary:hover {
  background: var(--moss);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--cream);
  color: var(--toad-brown);
}

.cta-buttons .btn-primary:hover {
  background: var(--parchment);
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.cta-note {
  margin-top: 24px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  background: var(--bark);
  color: var(--parchment);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

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

.footer-logo {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1) sepia(1) saturate(0);
}

.footer-brand p {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: var(--parchment);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--parchment);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 150ms ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 248, 240, 0.1);
}

.footer-bottom p {
  color: var(--parchment);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--parchment);
}

.faq h2 {
  margin-bottom: 16px;
  color: var(--bark);
}

.faq-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 48px;
  color: var(--charcoal);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream);
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid var(--antique-paper);
  box-shadow: 0 2px 8px var(--shadow);
}

.faq-item h3 {
  color: var(--toad-brown);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bark);
  color: var(--cream);
  padding: 16px 24px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 300ms ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  color: var(--cream);
  margin: 0;
  flex: 1;
  min-width: 280px;
  font-size: 0.95rem;
}

.cookie-content a {
  color: var(--honey);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .features, .how-it-works, .pricing, .download, .waitlist, .faq {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
