/* ==========================================================================
   Katsjing – gedeeld stylesheet
   Mobiel-eerst: basisstijlen gelden voor smalle schermen,
   media queries breiden uit voor tablet (600px+) en desktop (1000px+).
   ========================================================================== */

:root {
  --purple: #7b2ff7;
  --pink: #f7318e;
  --orange: #ff8a3d;
  --yellow: #ffc84d;

  --text-dark: #2c1a4d;
  --text-body: #4a3a68;
  --text-on-dark: #ffffff;

  --surface: #ffffff;
  --surface-soft: #fff6ef;
  --surface-border: #eee0f7;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 30px rgba(123, 47, 247, 0.15);
  --shadow-strong: 0 16px 40px rgba(247, 49, 142, 0.25);

  --max-width: 1100px;

  --hero-gradient: linear-gradient(135deg, var(--purple) 0%, var(--pink) 55%, var(--orange) 100%);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--surface-soft);
  line-height: 1.55;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", "Segoe UI", system-ui, sans-serif;
  color: var(--text-dark);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.brand-emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.lang-globe {
  font-size: 1rem;
  line-height: 1;
}

.lang-link {
  color: var(--text-body);
  text-decoration: none;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.lang-link.is-active {
  color: var(--purple);
  background: var(--surface-border);
}

.lang-sep {
  color: var(--surface-border);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--hero-gradient);
  color: var(--text-on-dark);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 48px 0 56px;
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emoji {
  font-size: 3.2rem;
  margin-bottom: 8px;
}

.hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  margin-bottom: 0.2em;
}

.hero-tagline {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.6em;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 42em;
  margin: 0 auto 0;
  opacity: 0.96;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin-bottom: 0.3em;
}

.section-subtitle {
  text-align: center;
  max-width: 36em;
  margin: 0 auto 2em;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.feature-emoji {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Download section
   -------------------------------------------------------------------------- */

.download-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.download-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--text-on-dark);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  cursor: default;
}

.store-badge-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.store-badge-text {
  text-align: left;
}

.store-badge-small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.9;
}

.store-badge-big {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.store-badge-soon {
  display: inline-block;
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 32px 0 40px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--purple);
}

.footer-copy {
  color: var(--text-body);
  opacity: 0.85;
}

.footer-contact a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Placeholder pages (privacy / terms)
   -------------------------------------------------------------------------- */

.placeholder-banner {
  background: var(--yellow);
  color: var(--text-dark);
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin: 0 20px 24px;
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  font-size: 1.3rem;
}

.back-home {
  display: block;
  margin: 24px 20px 0;
  padding-left: 24px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Tablet breakpoint (600px+)
   -------------------------------------------------------------------------- */

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-badges {
    flex-direction: row;
    justify-content: center;
  }

  .store-badge {
    max-width: 240px;
  }
}

/* --------------------------------------------------------------------------
   Desktop breakpoint (1000px+)
   -------------------------------------------------------------------------- */

@media (min-width: 1000px) {
  .hero {
    padding: 72px 0 84px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .download-section,
  .legal-content {
    margin: 0 auto;
    max-width: var(--max-width);
  }

  .placeholder-banner {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
  }

  .back-home {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
  }
}
