/* ============================================================
   KISZONKOWIEC — LANDING PAGE CSS
   Design: Editorial, green-forward, premium feel
   Fonts: Outfit (headings) + Inter (body)
   Primary: hsl(142, 60%, 35%) — deep fermentation green
   ============================================================ */

/* ---- CSS CUSTOM PROPERTIES -------------------------------- */
:root {
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Colors */
  --green-900: #0f2d1a;
  --green-800: #1a4728;
  --green-700: #2d7a47;
  --green-600: #3a9157;
  --green-500: hsl(142, 60%, 42%);
  --green-400: hsl(142, 55%, 55%);
  --green-300: hsl(142, 50%, 70%);
  --green-100: hsl(142, 40%, 95%);
  --green-50:  hsl(142, 30%, 98%);

  --amber-700: #b85c00;
  --amber-600: #d46800;
  --amber-100: hsl(30, 90%, 95%);

  --text-primary: #1a2f1e;
  --text-secondary: #3d5a44;
  --text-muted: #6b8a73;
  --text-inverse: #ffffff;

  --bg-page: #f5f9f4;
  --bg-white: #ffffff;
  --bg-green-tinted: hsl(142, 25%, 97%);

  --border-light: rgba(0,0,0, 0.07);
  --border-green: rgba(58, 145, 87, 0.2);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(45,122,71,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(45,122,71,0.14), 0 4px 10px rgba(0,0,0,0.06);
  --shadow-hero: 0 24px 80px rgba(15,45,26,0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --nav-height: 68px;
  --container-max: 1100px;
  --section-pad: clamp(64px, 8vw, 120px);
}

/* ---- RESET ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; }
details, summary { cursor: pointer; }

/* ---- UTILITY ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section {
  padding: var(--section-pad) 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green-700);
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45,122,71,0.3);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,122,71,0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-lg { font-size: 18px; padding: 17px 36px; }

/* ---- SECTION HEADERS -------------------------------------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- REVEAL ANIMATIONS ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(245, 249, 244, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-green);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-emoji {
  font-size: 26px;
  animation: float-nav 5s ease-in-out infinite;
}
@keyframes float-nav {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-5deg); }
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--green-700);
  background: var(--green-100);
}
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: white;
  background: var(--green-700);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(45,122,71,0.25);
  white-space: nowrap;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,122,71,0.35);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s;
    pointer-events: none;
    border-top: 1px solid var(--border-green);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    padding: 13px 16px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }
  .nav-cta {
    margin: 10px 0 0;
    text-align: center;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: var(--radius-md);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero-bg-img.loaded { transform: scale(1); }

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(15, 45, 26, 0.82) 0%,
    rgba(29, 75, 46, 0.70) 45%,
    rgba(45, 90, 55, 0.50) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 60px) 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6afc9a;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  color: white;
  max-width: 820px;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: hsl(142, 70%, 68%);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--green-800);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 24px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-hero-secondary:hover {
  color: white;
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 16px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px 0 0;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 3px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  margin-right: 32px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce-down 2s ease infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.7; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ============================================================
   SCIENCE SECTION
   ============================================================ */
.section-science {
  background: var(--bg-white);
}

.science-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 840px) {
  .science-layout { grid-template-columns: 1fr; gap: 40px; }
}

.science-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.science-img-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

.science-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}
.science-step:last-child { margin-bottom: 0; }
.science-step-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--green-600);
  background: var(--green-100);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.science-step-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.science-step-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.science-step-body em {
  color: var(--green-700);
  font-style: italic;
}

.science-fact-box {
  display: flex;
  gap: 16px;
  background: var(--amber-100);
  border: 1.5px solid rgba(184,92,0,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.fact-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.fact-content { font-size: 15px; color: #5c3500; line-height: 1.6; }
.fact-content strong { color: #3d2200; display: block; margin-bottom: 6px; font-size: 16px; }

/* References Box */
.references-box {
  background: var(--bg-green-tinted);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.references-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 14px;
}
.references-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.references-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.references-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}
.references-list li a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.references-list li a:hover { color: var(--green-800); }
.ref-meta {
  font-style: italic;
  opacity: 0.8;
}

/* ============================================================
   HEALTH SECTION
   ============================================================ */
.section-health {
  background: linear-gradient(160deg, var(--green-900) 0%, #1d4b2e 100%);
  color: white;
}
.section-health .section-kicker { color: hsl(142, 60%, 65%); }
.section-health .section-title { color: white; }
.section-health .section-subtitle { color: rgba(255,255,255,0.75); }
.section-health .references-box {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.section-health .references-title { color: hsl(142, 60%, 68%); }
.section-health .references-list li { color: rgba(255,255,255,0.75); }
.section-health .references-list li::before { background: hsl(142,60%,65%); }
.section-health .references-list li a { color: hsl(142,70%,72%); }

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .health-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .health-grid { grid-template-columns: 1fr; }
}

.health-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(6px);
}
.health-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}
.health-card-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.health-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.health-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 16px;
}
.health-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: hsl(142,70%,65%);
  background: rgba(100,220,130,0.12);
  border: 1px solid rgba(100,220,130,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.health-disclaimer {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,200,100,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 32px;
}
.health-disclaimer strong { color: hsl(38,90%,68%); }

/* ============================================================
   WHAT TO FERMENT
   ============================================================ */
.section-what { background: var(--bg-page); }

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .what-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .what-grid { grid-template-columns: 1fr; } }

.what-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.what-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--green-600));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.what-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-green);
}
.what-card:hover::after { transform: scaleX(1); }
.what-card-icon { font-size: 40px; margin-bottom: 14px; display: block; }
.what-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.what-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 14px; }
.what-card-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--card-color, var(--green-600));
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.what-cta-box {
  text-align: center;
  background: var(--green-100);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.what-cta-box p { font-size: 16px; color: var(--text-secondary); }

/* ============================================================
   APP SECTION
   ============================================================ */
.section-app { background: white; }

/* Interactive Showcase Layout */
.app-showcase-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}
@media (max-width: 960px) {
  .app-showcase-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-tab {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--bg-green-tinted);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.showcase-tab:hover {
  background: var(--green-50);
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.showcase-tab.active {
  background: var(--green-900);
  border-color: var(--green-700);
  color: white;
  box-shadow: var(--shadow-lg);
}

.showcase-tab-icon {
  font-size: 30px;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-tab-text h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.showcase-tab-text p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  transition: color 0.3s;
}

.showcase-tab.active .showcase-tab-text h3 {
  color: white;
}

.showcase-tab.active .showcase-tab-text p {
  color: rgba(255, 255, 255, 0.8);
}

/* Phone Mockup Frame */
.showcase-preview-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.showcase-preview-wrapper .app-pwa-badge {
  position: relative;
  bottom: auto;
  right: auto;
  left: auto;
  transform: none;
  margin-top: 28px;
  z-index: 5;
  white-space: nowrap;
}

.phone-frame {
  width: 290px;
  height: 620px;
  background: #0f1c12; /* Very dark green border */
  border: 12px solid #0f1c12;
  border-radius: 40px;
  box-shadow: 0 24px 70px rgba(15, 45, 26, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0f1c12;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #10160f; /* Dark app background */
}

.showcase-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.96);
}

.showcase-screen.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  z-index: 10;
}

.app-features-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 56px 0 40px;
  text-align: center;
}

.app-features-divider::before,
.app-features-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-green);
}

.app-features-divider span {
  padding: 0 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 560px) {
  .app-features-grid { grid-template-columns: 1fr; }
}

.app-feature-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--bg-green-tinted);
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-md);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.app-feature-card:hover {
  background: var(--green-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.app-feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.app-feature-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--text-primary); }
.app-feature-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.app-pwa-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: white;
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
}
@media (max-width: 960px) {
  .app-pwa-badge { right: 0; bottom: 16px; }
}
.pwa-badge-icon { font-size: 28px; }
.pwa-badge-text { display: flex; flex-direction: column; }
.pwa-badge-text strong { font-size: 13px; color: var(--text-primary); }
.pwa-badge-text span { font-size: 11px; color: var(--text-muted); }

.app-cta-section {
  text-align: center;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.app-cta-note { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   ABOUT / PROJECT SECTION
   ============================================================ */
.section-about {
  background: var(--bg-page);
}

.about-story { max-width: 860px; margin: 0 auto; }

.about-lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: italic;
  border-left: 3px solid var(--green-500);
  padding-left: 20px;
}
.about-story > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.about-for-whom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .about-for-whom { grid-template-columns: 1fr; }
}

.about-who-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.about-who-not {
  background: var(--amber-100);
  border: 1.5px solid rgba(184, 92, 0, 0.2);
}
.about-who-yes {
  background: var(--green-100);
  border: 1.5px solid var(--border-green);
}
.about-who-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.about-who-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.about-who-card h3 em { font-style: normal; }
.about-who-not h3 em { color: var(--amber-700); }
.about-who-yes h3 em { color: var(--green-700); }
.about-who-card p, .about-who-card ul { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.about-who-card ul { padding-left: 0; }
.about-who-card ul li { padding-left: 16px; position: relative; margin-bottom: 8px; }
.about-who-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--green-600); font-size: 13px; }
.about-who-card ul li:last-child { margin-bottom: 0; }

.about-status-box {
  background: white;
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.about-status-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--text-primary); }
.about-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .about-status-grid { grid-template-columns: 1fr; }
}
.about-status-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.status-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.about-status-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.about-status-item span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.section-faq { background: white; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1.5px solid var(--border-green);
  border-radius: var(--radius-md);
  background: var(--bg-green-tinted);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--green-500); }

.faq-question {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--green-600);
  flex-shrink: 0;
  transition: transform 0.25s;
}
details[open] .faq-question::after { transform: rotate(45deg); }
details[open] .faq-question { color: var(--green-700); }

.faq-answer {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-green);
  margin-top: 0;
  padding-top: 18px;
}
.faq-answer p + p { margin-top: 10px; }

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.section-final-cta {
  background: linear-gradient(160deg, hsl(142, 55%, 14%) 0%, hsl(142, 45%, 22%) 100%);
  padding: var(--section-pad) 0;
}

.final-cta-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.final-cta-emoji { font-size: 64px; animation: bounce-jar 3s ease infinite; }
@keyframes bounce-jar {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
.final-cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
}
.final-cta-box p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}
.final-cta-box .btn-primary {
  background: white;
  color: var(--green-800);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.final-cta-box .btn-primary:hover { background: var(--green-50); }
.final-cta-sub { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-emoji { font-size: 28px; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: white;
}
.footer-tagline { font-size: 14px; margin-bottom: 4px; }
.footer-version { font-size: 12px; opacity: 0.5; }

.footer-nav-col h4, .footer-lang-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav-col ul li a:hover { color: hsl(142, 60%, 65%); }

.lang-switcher { display: flex; flex-direction: column; gap: 8px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  width: fit-content;
}
.lang-active {
  background: rgba(106,220,150,0.15);
  color: hsl(142,65%,68%);
  border: 1px solid rgba(106,220,150,0.25);
}
.lang-disabled {
  color: rgba(255,255,255,0.35);
  cursor: not-allowed;
}
.lang-soon {
  font-size: 10px;
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  max-width: 700px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }

/* ============================================================
   RESPONSIVE POLISH
   ============================================================ */
@media (max-width: 768px) {
  .hero-title { letter-spacing: -1px; }
  .hero-stats { gap: 16px; flex-direction: row; flex-wrap: wrap; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0; }
  .app-pwa-badge { position: static; margin-top: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .science-step { flex-direction: column; gap: 10px; }
  .science-step-num { width: auto; height: auto; padding: 4px 10px; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-green);
  box-shadow: 0 -8px 40px rgba(15, 45, 26, 0.12);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner.hiding {
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 1, 1);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}
.cookie-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cookie-banner-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cookie-banner-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner-text a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--green-800); }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-primary {
  padding: 11px 22px;
  background: var(--green-700);
  color: white;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(45, 122, 71, 0.3);
  white-space: nowrap;
}
.cookie-btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 122, 71, 0.35);
}

.cookie-btn-secondary {
  padding: 10px 20px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.cookie-btn-secondary:hover {
  border-color: var(--green-500);
  color: var(--green-700);
  background: var(--green-50);
}

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-primary, .cookie-btn-secondary { flex: 1; text-align: center; }
}

