/* === Throw a Fart — Shared Styles === */

@import url('https://fonts.googleapis.com/css2?family=Modak&family=Baloo+2:wght@400;500;600;700;800&display=swap');

:root {
  --sky: #7BB8D4;
  --sky-light: #A2D0E5;
  --sky-deep: #4A99BB;
  --cloud: #FFFFFF;
  --ink: #1A1A2E;
  --ink-soft: #4A5C6E;
  --gold: #FFD700;
  --gold-deep: #F59E0B;
  --blue-outline: #1D4ED8;
  --coral: #E96D7A;
  --coral-deep: #C9525F;
  --mint: #B7DDA4;
  --soft-yellow: #F5E89E;
  --green-wink: #6FBE45;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.18);
  --tile-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  --tile-radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Baloo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Cloud + bokeh background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    /* large soft cloud bands */
    radial-gradient(ellipse 220px 70px at 12% 18%, rgba(255,255,255,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 280px 90px at 88% 32%, rgba(255,255,255,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 240px 75px at 28% 72%, rgba(255,255,255,0.50) 0%, transparent 70%),
    radial-gradient(ellipse 300px 95px at 78% 88%, rgba(255,255,255,0.40) 0%, transparent 70%),
    /* small scattered bokeh circles */
    radial-gradient(circle 14px at 5% 12%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(circle 22px at 18% 8%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(circle 9px at 30% 28%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(circle 18px at 62% 18%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(circle 12px at 92% 62%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(circle 25px at 8% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(circle 16px at 48% 92%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(circle 10px at 70% 50%, rgba(255,255,255,0.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Decorative corner blobs (mint top-left, soft yellow top-right) — matches app */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle 280px at 95% -2%, var(--soft-yellow) 0%, transparent 60%),
    radial-gradient(circle 220px at 88% 12%, var(--mint) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* === Layout === */

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px;
  position: relative;
  z-index: 1;
}

.container--narrow {
  max-width: 720px;
}

/* === Header === */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  margin-bottom: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(26, 43, 58, 0.25));
}

.logo-text {
  font-family: 'Modak', cursive;
  font-size: 24px;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 1.5px var(--blue-outline);
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* === Hero (landing only) === */

.hero {
  text-align: center;
  padding: 48px 0 64px;
}

.hero-logo {
  display: block;
  width: 300px;
  height: auto;
  max-width: 80vw;
  margin: 0 auto 32px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(26, 43, 58, 0.32));
  animation: float 4s ease-in-out infinite;
}

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

.hero h1 {
  font-family: 'Modak', cursive;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
  letter-spacing: 1px;
  -webkit-text-stroke: 2.5px var(--blue-outline);
  color: var(--gold);
  margin-bottom: 24px;
  text-shadow: 0 3px 0 rgba(29, 78, 216, 0.25);
}

.hero-tagline {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.hero-subhead {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  max-width: 540px;
  margin: 0 auto 40px;
  opacity: 0.92;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}

/* === Waitlist === */

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

.waitlist-headline {
  font-family: 'Modak', cursive;
  font-size: 34px;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 2px var(--blue-outline);
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 2px 0 rgba(29, 78, 216, 0.22);
}

.waitlist-subhead {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

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

.waitlist-input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cloud);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--tile-shadow);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.waitlist-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.7;
}

.waitlist-input:focus {
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(74, 153, 187, 0.25), var(--tile-shadow);
}

.waitlist-button {
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cloud);
  background: var(--coral);
  border: none;
  border-radius: 16px;
  padding: 14px 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(233, 109, 122, 0.4);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.waitlist-button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--coral-deep);
  box-shadow: 0 12px 26px rgba(201, 82, 95, 0.45);
}

.waitlist-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.waitlist-message {
  min-height: 22px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.waitlist-message--error {
  color: #FFF1A8;
}

.waitlist-success {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--tile-radius);
  padding: 18px 22px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.waitlist-success-bear {
  height: 1.6em;
  width: auto;
  vertical-align: -0.35em;
  margin: 0 2px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cloud);
  padding: 16px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 20px var(--shadow-strong);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--shadow-strong);
}

.btn-store svg {
  width: 28px;
  height: 28px;
}

.btn-store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-store-label small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}

.btn-store-label strong {
  font-size: 18px;
  font-weight: 800;
}

.coming-soon {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--cloud);
  background: var(--coral);
  padding: 8px 20px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 16px rgba(233, 109, 122, 0.4);
}

/* === Features grid === */

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

.feature {
  position: relative;
  background: var(--tint-bg, rgba(255, 255, 255, 0.18));
  padding: 28px 20px 24px;
  border-radius: var(--tile-radius);
  border: 1.5px solid var(--tint-border, rgba(255, 255, 255, 0.35));
  box-shadow: var(--tile-shadow);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Top inner highlight strip — matches app tile design */
.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
}

.feature--blue   { --tint-bg: rgba(59, 130, 246, 0.18);  --tint-border: rgba(59, 130, 246, 0.45); }
.feature--green  { --tint-bg: rgba(16, 185, 129, 0.20);  --tint-border: rgba(16, 185, 129, 0.45); }
.feature--pink   { --tint-bg: rgba(236, 72, 153, 0.18);  --tint-border: rgba(236, 72, 153, 0.50); }
.feature--purple { --tint-bg: rgba(139, 92, 246, 0.18);  --tint-border: rgba(139, 92, 246, 0.50); }
.feature--amber  { --tint-bg: rgba(245, 158, 11, 0.20);  --tint-border: rgba(245, 158, 11, 0.50); }
.feature--mint   { --tint-bg: rgba(34, 197, 94, 0.20);   --tint-border: rgba(34, 197, 94, 0.45); }

.feature-icon {
  display: block;
  font-size: 56px;
  line-height: 1;
  margin: 0 auto 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

img.feature-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  animation: bob 3s ease-in-out infinite;
}

.feature:nth-child(even) img.feature-icon {
  animation-delay: 1.5s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-6px) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  img.feature-icon {
    animation: none;
  }
}

.feature h3 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.feature p {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* === Content pages (privacy, deletion, support) === */

.page {
  background: var(--cloud);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 16px 48px var(--shadow);
  margin-bottom: 48px;
}

.page h1 {
  font-family: 'Modak', cursive;
  font-size: 48px;
  letter-spacing: 1px;
  -webkit-text-stroke: 2.5px var(--blue-outline);
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.1;
  text-shadow: 0 3px 0 rgba(29, 78, 216, 0.2);
}

.page-subtitle {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page h2 {
  font-family: 'Modak', cursive;
  font-size: 26px;
  color: var(--ink);
  margin: 36px 0 12px;
  letter-spacing: 0.3px;
}

.page h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 8px;
}

.page p,
.page li {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}

.page ul,
.page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page li {
  margin-bottom: 8px;
}

.page a {
  color: var(--sky-deep);
  font-weight: 800;
}

.page strong {
  font-weight: 800;
  color: var(--ink);
}

.callout {
  background: linear-gradient(135deg, var(--sky-light) 0%, var(--cloud) 100%);
  border-left: 4px solid var(--sky-deep);
  padding: 20px 24px;
  border-radius: 12px;
  margin: 24px 0;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--sky-deep);
}

.steps {
  background: linear-gradient(135deg, #FFF7DA 0%, var(--cloud) 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 24px 0;
}

.steps ol {
  margin: 0;
  padding-left: 20px;
}

.steps li {
  font-weight: 700;
  margin-bottom: 12px;
}

.steps li::marker {
  color: var(--gold-deep);
  font-weight: 800;
}

/* === FAQ (support page) === */

.faq-item {
  border-bottom: 2px solid #EAF2F7;
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-a {
  color: var(--ink-soft);
  font-weight: 600;
}

.faq-a a {
  color: var(--sky-deep);
  font-weight: 800;
}

/* === Footer === */

.site-footer {
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--sky-deep);
}

.footer-divider {
  margin: 16px 0;
  opacity: 0.5;
}

/* === Responsive === */

@media (max-width: 600px) {
  .container {
    padding: 24px 16px;
  }

  .page {
    padding: 32px 24px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero {
    padding: 24px 0 48px;
  }

  .hero-logo {
    width: 220px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-input,
  .waitlist-button {
    width: 100%;
    flex: 0 0 auto;
  }
}
