/* ================================================================
   FUNGIRADAR v4 — Botaniczny Atlas Grzybiarza
   Cormorant Garamond (display) + Nunito (body)
   Warm cream · Sage green · Amber earth
   Fully responsive · Mobile-first refinements
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --cream-50: #fefcf7; --cream-100: #faf7ef; --cream-200: #f3ede0; --cream-300: #e8dfc8;
  --sage-950: #0d1a10; --sage-900: #132018; --sage-800: #1c3322; --sage-700: #27492f;
  --sage-600: #34603e; --sage-500: #437a4f; --sage-400: #5e9a6c; --sage-300: #86bb91;
  --sage-200: #b4d4bb; --sage-100: #d8ecdc; --sage-50: #edf7ef;
  --amber-700: #924d0e; --amber-600: #b86012; --amber-500: #d97706; --amber-400: #f59e0b;
  --amber-100: #fef3c7; --amber-50: #fffbeb;
  --earth-600: #6b4226; --earth-400: #9e6b44; --earth-200: #d4b49a; --earth-100: #ede4d8; --earth-50: #f8f2ec;
  --bg: var(--cream-100); --bg-warm: var(--cream-200); --surface: #ffffff; --surface-2: var(--cream-50);
  --border: #ddd6c8; --border-light: #eee8da; --border-sage: var(--sage-200);
  --text: #1e2620; --text-2: #3d4e42; --text-3: #6b7d6f; --text-4: #9aaa9e;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Nunito', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-sans: var(--sans); --font-mono: var(--mono);
  /* Compat aliases */
  --c-forest-950: var(--sage-950); --c-forest-900: var(--sage-900); --c-forest-800: var(--sage-800);
  --c-forest-700: var(--sage-700); --c-forest-600: var(--sage-600); --c-forest-500: var(--sage-500);
  --c-forest-400: var(--sage-400); --c-forest-300: var(--sage-300); --c-forest-200: var(--sage-200);
  --c-forest-100: var(--sage-100); --c-forest-50: var(--sage-50);
  --c-surface: var(--surface); --c-border: var(--border);
  --c-text-muted: var(--text-3); --c-text-secondary: var(--text-2);
  --gold-500: var(--amber-500); --gold-600: var(--amber-600); --gold-400: var(--amber-400);
  --gold-100: var(--amber-100); --gold-50: var(--amber-50);
  --forest-50: var(--sage-50); --forest-100: var(--sage-100); --forest-200: var(--sage-200);
  --forest-300: var(--sage-300); --forest-400: var(--sage-400); --forest-500: var(--sage-500);
  --forest-600: var(--sage-600); --forest-700: var(--sage-700); --forest-800: var(--sage-800);
  --forest-900: var(--sage-900); --forest-950: var(--sage-950);
  --r-xs: 4px; --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 24px; --r-2xl: 32px; --r-full: 9999px;
  --radius: var(--r); --radius-sm: var(--r-sm); --radius-lg: var(--r-lg);
  --sh: 0 1px 4px rgba(30,38,32,.05), 0 2px 8px rgba(30,38,32,.04);
  --sh-md: 0 4px 20px rgba(30,38,32,.07), 0 2px 6px rgba(30,38,32,.04);
  --sh-lg: 0 12px 48px rgba(30,38,32,.09), 0 4px 16px rgba(30,38,32,.05);
  --sh-xl: 0 24px 80px rgba(30,38,32,.11), 0 8px 24px rgba(30,38,32,.07);
  --sh-green: 0 8px 36px rgba(67,122,79,.25); --shadow: var(--sh);
  --ease: cubic-bezier(.4,0,.2,1); --ease-out: cubic-bezier(0,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1); --transition: .2s cubic-bezier(.4,0,.2,1);
  --nav-h: 68px; --container-max: 1280px;
}

html { font-size: 18px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
a { color: var(--sage-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sage-500); }
::selection { background: var(--sage-200); color: var(--sage-900); }
h1,h2,h3,h4 { line-height: 1.18; }
p { line-height: 1.75; }
img { max-width: 100%; height: auto; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}
.d4{transition-delay:.32s}.d5{transition-delay:.40s}.d6{transition-delay:.48s}

/* ================================================================
   NAV
   ================================================================ */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 40px;
  background: rgba(254,252,247,.94);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s;
}
.nav-brand { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; color: var(--sage-800); display: flex; align-items: center; gap: 11px; letter-spacing: -.2px; flex-shrink: 0; }
.nav-logo { height: 32px; width: auto; margin-right: 4px; vertical-align: middle; object-fit: contain; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: var(--r-sm); transition: all .15s; }
.nav-links a:hover { color: var(--sage-700); background: var(--sage-50); }
.nav-sep { width: 1px; height: 20px; background: var(--border); margin: 0 8px; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 44px 36px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 36px; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r); font-family: var(--sans);
  font-weight: 700; font-size: .9rem; cursor: pointer;
  border: 2px solid var(--sage-500); background: var(--sage-500); color: #fff;
  transition: all .18s var(--ease); white-space: nowrap; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--sage-600); border-color: var(--sage-600); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-green); }
.btn:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--sage-600); }
.btn-outline:hover { background: var(--sage-50); color: var(--sage-700); box-shadow: var(--sh); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--sage-50); color: var(--sage-600); box-shadow: none; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 15px 38px; font-size: .97rem; border-radius: var(--r-lg); }
.btn-xl { padding: 17px 44px; font-size: 1.05rem; font-weight: 800; border-radius: var(--r-lg); }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--amber-500); border-color: var(--amber-500); color: #fff; }
.btn-gold:hover { background: var(--amber-600); border-color: var(--amber-600); box-shadow: 0 8px 28px rgba(184,96,18,.3); }
.btn-dark { background: var(--sage-800); border-color: var(--sage-700); color: var(--sage-100); }
.btn-dark:hover { background: var(--sage-700); color: #fff; }
.btn-white { background: #fff; border-color: rgba(255,255,255,.35); color: var(--sage-900); }
.btn-white:hover { background: var(--cream-100); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.btn-premium { background: linear-gradient(135deg,var(--sage-700),var(--sage-500)); border-color: transparent; color: var(--sage-100); }
.btn-premium:hover { box-shadow: var(--sh-green); }
button.btn { font-family: inherit; }
button:disabled { opacity: .35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ================================================================
   BADGES, CARDS, ALERTS
   ================================================================ */
.tier-badge { display: inline-block; padding: 3px 12px; border-radius: var(--r-full); font-size: .65rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.tier-free,.tier-maslak { background: var(--earth-100); color: var(--earth-600); }
.tier-pro,.tier-kurka { background: var(--amber-100); color: var(--amber-600); }
.tier-premium,.tier-prawdziwek { background: var(--sage-800); color: var(--sage-200); }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: .65rem; font-weight: 600; background: var(--sage-50); color: var(--sage-600); }

.card { background: var(--surface); border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--border); }
.card h3 { margin-bottom: 14px; color: var(--sage-800); font-size: 1rem; font-weight: 700; }

.alert { padding: 14px 20px; border-radius: var(--r); margin-bottom: 18px; font-size: .92rem; font-weight: 500; border: 1px solid; line-height: 1.55; }
.alert-error { background: #fff1f2; color: #9f1239; border-color: #fca5a5; }
.alert-info { background: var(--sage-50); color: var(--sage-700); border-color: var(--sage-200); }
.alert-warning { background: var(--amber-50); color: #92400e; border-color: #fde68a; }
.alert a { font-weight: 700; text-decoration: underline; }

.label { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--sage-600); margin-bottom: 18px; padding: 6px 18px; background: var(--sage-50); border: 1px solid var(--sage-200); border-radius: var(--r-full); }

/* ================================================================
   HERO
   ================================================================ */
.hero-outer {
  background: linear-gradient(168deg, var(--cream-50) 0%, var(--cream-100) 45%, var(--sage-50) 100%);
  position: relative; overflow: hidden;
  padding: 100px 36px 0;
}
.hero-outer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 12% 55%, rgba(67,122,79,.07) 0%, transparent 65%),
              radial-gradient(ellipse 35% 50% at 90% 25%, rgba(217,119,6,.06) 0%, transparent 65%);
}
.hero-main {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center;
  position: relative; z-index: 2; padding-bottom: 80px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 18px;
  background: var(--surface); border: 1.5px solid var(--border-sage);
  border-radius: var(--r-full); font-size: .72rem; font-weight: 700;
  color: var(--sage-600); letter-spacing: .8px; text-transform: uppercase;
  margin-bottom: 28px; box-shadow: var(--sh);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-400); box-shadow: 0 0 0 3px rgba(94,154,108,.2); animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero-outer h1 { font-family: var(--display); font-size: 4.4rem; font-weight: 700; line-height: 1.05; letter-spacing: -1.5px; color: var(--sage-900); margin-bottom: 24px; }
.hero-outer h1 em { font-style: italic; color: var(--sage-500); }
.hero-sub { font-size: 1.18rem; color: var(--text-2); max-width: 540px; line-height: 1.75; margin-bottom: 40px; }
.hero-sub strong { color: var(--sage-800); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.trust-check { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--text-3); font-weight: 600; }
.trust-check svg { color: var(--sage-400); flex-shrink: 0; }

/* Mushroom card */
.hero-illustration { position: relative; display: flex; align-items: center; justify-content: center; }
.mushroom-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-2xl); padding: 32px 28px;
  box-shadow: var(--sh-xl); position: relative; width: 100%;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.mushroom-card-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-4); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: dotPulse 2s infinite; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.mc-region { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--sage-800); margin-bottom: 6px; }
.mc-date { font-family: var(--mono); font-size: .74rem; color: var(--text-4); margin-bottom: 20px; }
.score-ring-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.score-ring { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring-bg { stroke: var(--sage-100); }
.ring-fill { stroke: var(--sage-500); stroke-dasharray: 220; stroke-dashoffset: 55; filter: drop-shadow(0 0 6px rgba(67,122,79,.4)); }
.ring-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-val { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--sage-700); line-height: 1; }
.ring-unit { font-size: .55rem; color: var(--text-4); text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }
.score-desc h4 { font-size: 1rem; font-weight: 800; color: var(--sage-800); margin-bottom: 4px; }
.score-desc p { font-size: .82rem; color: var(--text-3); line-height: 1.45; }
.mc-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.mc-day { text-align: center; padding: 7px 3px; border-radius: var(--r-sm); background: var(--cream-100); font-size: .64rem; font-weight: 700; }
.mc-day.best { background: var(--sage-100); color: var(--sage-700); }
.mc-day-name { color: var(--text-4); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; font-size: .58rem; }
.mc-day-score { font-family: var(--mono); font-size: .85rem; color: var(--sage-700); }
.mc-day.best .mc-day-name { color: var(--sage-500); }
.badge-float { position: absolute; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 10px 14px; box-shadow: var(--sh-md); display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--text-2); white-space: nowrap; z-index: 3; }
.badge-float-1 { top: -16px; right: -12px; animation: cardFloat 7s ease-in-out infinite; animation-delay: -3s; }
.badge-float-2 { bottom: 16px; left: -20px; animation: cardFloat 5s ease-in-out infinite; animation-delay: -1.5s; }
.bf-icon { font-size: 1.1rem; }

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar { background: var(--sage-50); border-top: 1px solid var(--border-sage); border-bottom: 1px solid var(--border-sage); padding: 22px 36px; position: relative; z-index: 2; }
.trust-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: .78rem; font-weight: 600; letter-spacing: .4px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-400); flex-shrink: 0; }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 96px 36px; position: relative; overflow: hidden; }
.section-cream { background: var(--cream-100); }
.section-white { background: #fff; }
.section-sage { background: var(--sage-50); }
.section-warm { background: var(--earth-50); }
.section-dark { background: var(--sage-900); color: #fff; }
.section-forest { background: var(--sage-800); color: #fff; }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.section-header .label { margin-bottom: 20px; }
.section-header h2 { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--text); letter-spacing: -1.5px; margin-bottom: 18px; line-height: 1.1; }
.section-dark .section-header h2, .section-forest .section-header h2 { color: #fff; }
.section-header p { font-size: 1.08rem; color: var(--text-2); line-height: 1.75; }
.section-dark .section-header p, .section-forest .section-header p { color: rgba(255,255,255,.48); }

/* ================================================================
   MUSHROOM STRIP — improved responsive
   ================================================================ */
.mushroom-strip { overflow: hidden; padding: 36px 0; background: var(--cream-200); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mushroom-strip-inner {
  display: flex; gap: 48px; align-items: flex-end; justify-content: center;
  flex-wrap: nowrap; padding: 0 36px; max-width: 1280px; margin: 0 auto;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.mushroom-strip-inner::-webkit-scrollbar { display: none; }
.mush-item { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .72; transition: all .22s var(--ease); cursor: default; flex-shrink: 0; min-width: 80px; }
.mush-item:hover { opacity: 1; transform: translateY(-6px); }
.mush-item svg { width: 48px; height: auto; }
.mush-name { font-family: var(--display); font-size: .85rem; font-style: italic; color: var(--text-3); text-align: center; line-height: 1.3; white-space: nowrap; }
.mush-name strong { display: block; font-style: normal; font-size: .62rem; color: var(--text-4); font-family: var(--sans); letter-spacing: .5px; text-transform: uppercase; font-weight: 700; }

/* ================================================================
   PROBLEM GRID
   ================================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1160px; margin: 0 auto; }
.problem-card { padding: 44px 36px; border-radius: var(--r-2xl); border: 1.5px solid var(--border); background: var(--surface); position: relative; overflow: hidden; transition: all .22s var(--ease); }
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--sage-200); }
.problem-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--sage-400),var(--sage-300)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.problem-card:hover::after { transform: scaleX(1); }
.num { font-family: var(--mono); font-size: 4rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 20px; letter-spacing: -3px; transition: color .2s; }
.problem-card:hover .num { color: var(--sage-100); }
.problem-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.problem-card p { font-size: .97rem; color: var(--text-2); line-height: 1.75; }

/* ================================================================
   BEFORE/AFTER
   ================================================================ */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.comparison-card { border-radius: var(--r-2xl); padding: 40px 34px; }
.comparison-card.before { background: #fef9f9; border: 1.5px solid #fecaca; }
.comparison-card.after { background: var(--sage-50); border: 1.5px solid var(--sage-200); }
.comparison-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.before .comparison-label { color: #dc2626; } .after .comparison-label { color: var(--sage-600); }
.comparison-item { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); font-size: .97rem; line-height: 1.6; }
.comparison-item:last-child { border-bottom: none; }
.before .comparison-item { color: #7f1d1d; } .after .comparison-item { color: var(--sage-800); }
.c-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.before .c-icon { background: #fecaca; color: #dc2626; } .after .c-icon { background: var(--sage-200); color: var(--sage-700); }

/* ================================================================
   STEPS (How it works)
   ================================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 52px; max-width: 1100px; margin: 0 auto; position: relative; }
.steps::before { content: ''; position: absolute; top: 42px; left: calc(16%); right: calc(16%); height: 1.5px; background: linear-gradient(90deg,var(--sage-200),var(--sage-300),var(--sage-200)); }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sage-300); color: var(--sage-600); display: grid; place-items: center; margin: 0 auto 24px; font-family: var(--mono); font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 0 8px var(--sage-50), var(--sh); transition: all .22s; }
.step:hover .step-num { background: var(--sage-600); border-color: var(--sage-500); color: #fff; transform: scale(1.1); }
.step h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-forest .step h3 { color: #fff; }
.step p { font-size: .97rem; color: var(--text-2); line-height: 1.75; }
.section-forest .step p { color: rgba(255,255,255,.5); }

/* ================================================================
   STAT BAR
   ================================================================ */
.stat-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; max-width: 1000px; margin: 64px auto 0; background: var(--border); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); }
.stat-bar-item { background: var(--surface); padding: 36px 20px; text-align: center; transition: background .15s; }
.stat-bar-item:hover { background: var(--sage-50); }
.stat-bar-value { font-family: var(--mono); font-size: 2.4rem; font-weight: 800; color: var(--sage-700); letter-spacing: -2px; line-height: 1; margin-bottom: 8px; }
.stat-bar-label { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }

/* ================================================================
   FEATURES
   ================================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.feature-card { background: var(--surface); border-radius: var(--r-2xl); padding: 40px 32px; border: 1.5px solid var(--border); transition: all .22s var(--ease); }
.feature-card:hover { border-color: var(--sage-300); box-shadow: var(--sh-lg); transform: translateY(-5px); }
.feat-icon-wrap { width: 60px; height: 60px; border-radius: var(--r-lg); background: var(--sage-50); border: 1.5px solid var(--sage-100); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--sage-500); transition: all .22s; }
.feature-card:hover .feat-icon-wrap { background: var(--sage-600); border-color: var(--sage-600); color: #fff; transform: rotate(-6deg) scale(1.1); }
.feature-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--sage-800); margin-bottom: 10px; }
.feature-card p { font-size: .97rem; color: var(--text-2); line-height: 1.75; }

/* ================================================================
   PRICING
   ================================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: var(--surface); border-radius: var(--r-2xl); padding: 48px 36px; border: 1.5px solid var(--border); position: relative; transition: all .22s var(--ease); }
.pricing-card:hover { box-shadow: var(--sh-xl); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--amber-400); box-shadow: 0 0 0 4px rgba(245,158,11,.1), var(--sh-lg); }
.pricing-card.featured::before { content: 'NAJPOPULARNIEJSZY'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--amber-500),var(--amber-400)); color: #fff; padding: 5px 22px; border-radius: var(--r-full); font-size: .6rem; font-weight: 800; letter-spacing: 1.5px; white-space: nowrap; }
.pricing-card.premium-card { background: linear-gradient(160deg,var(--sage-800),var(--sage-900)); border-color: var(--sage-600); color: #fff; }
.pricing-card.premium-card:hover { box-shadow: 0 24px 80px rgba(19,32,24,.45); }
.tier-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.4px; margin-bottom: 4px; }
.tier-latin { font-size: .82rem; color: var(--text-3); font-style: italic; margin-bottom: 26px; display: block; line-height: 1.4; }
.pricing-card.premium-card .tier-latin { color: var(--sage-400); }
.price { font-family: var(--mono); font-size: 3rem; font-weight: 900; letter-spacing: -2.5px; margin-bottom: 34px; line-height: 1; }
.price span { font-size: .88rem; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.pricing-card.premium-card .price { color: #fff; } .pricing-card.premium-card .price span { color: var(--sage-400); }
.pricing-card ul { list-style: none; margin-bottom: 36px; }
.pricing-card li { padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: .97rem; color: var(--text-2); display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; }
.pricing-card.premium-card li { color: rgba(255,255,255,.65); border-bottom-color: rgba(255,255,255,.07); }
.li-check { color: var(--sage-500); font-weight: 800; font-size: .9rem; flex-shrink: 0; margin-top: 2px; width: 18px; text-align: center; }
.li-cross { color: var(--text-4); font-weight: 800; font-size: .9rem; flex-shrink: 0; margin-top: 2px; width: 18px; text-align: center; }
.pricing-card.premium-card .li-check { color: var(--sage-300); }
.li-soon { font-size: .6rem; background: var(--amber-100); color: var(--amber-600); padding: 1px 8px; border-radius: var(--r-full); font-weight: 700; letter-spacing: .5px; margin-left: 5px; vertical-align: middle; }
.value-stack { max-width: 760px; margin: 0 auto 64px; background: var(--sage-50); border: 1.5px solid var(--sage-200); border-radius: var(--r-2xl); padding: 40px 48px; text-align: center; }
.value-stack h3 { font-family: var(--display); font-size: 1.65rem; font-weight: 700; color: var(--sage-800); margin-bottom: 14px; }
.value-stack p { font-size: 1rem; color: var(--text-2); line-height: 1.8; }
.value-stack strong { color: var(--sage-700); }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1.5px solid var(--border); padding: 26px 0; }
.faq-q { font-weight: 700; font-size: 1.05rem; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; line-height: 1.45; user-select: none; -webkit-tap-highlight-color: transparent; }
.faq-q::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--sage-400); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--sage-600); }
.faq-a { font-size: .97rem; color: var(--text-2); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out), padding .3s; }
.faq-item.open .faq-a { max-height: 400px; padding-top: 16px; }

/* ================================================================
   CTA
   ================================================================ */
.cta-box { text-align: center; max-width: 780px; margin: 0 auto; padding: 96px 36px; }
.cta-box h2 { font-family: var(--display); font-size: 3.2rem; font-weight: 700; margin-bottom: 18px; letter-spacing: -1.5px; line-height: 1.1; }
.section-dark .cta-box h2 { color: #fff; }
.cta-box p { font-size: 1.1rem; color: var(--text-2); margin-bottom: 42px; line-height: 1.7; }
.section-dark .cta-box p { color: rgba(255,255,255,.42); }
.cta-trust { margin-top: 28px; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.cta-trust-item { font-size: .82rem; color: rgba(255,255,255,.32); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.cta-trust-item::before { content: '✓'; color: var(--sage-400); font-size: .85rem; }

/* ================================================================
   AUTH
   ================================================================ */
.auth-box { max-width: 460px; margin: 72px auto; background: var(--surface); padding: 52px 44px; border-radius: var(--r-2xl); border: 1.5px solid var(--border); box-shadow: var(--sh-xl); }
.auth-box h2 { margin-bottom: 30px; color: var(--sage-800); font-weight: 800; font-size: 1.6rem; letter-spacing: -.5px; }
.auth-box label { display: block; font-weight: 700; margin: 18px 0 7px; font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; }
.auth-box input[type="email"],
.auth-box input[type="password"],
.auth-box input[type="text"] {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 1rem; font-family: var(--sans); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.auth-box input:focus { outline: none; border-color: var(--sage-500); box-shadow: 0 0 0 4px rgba(67,122,79,.1); }
.auth-box .btn { margin-top: 26px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--text-3); }

/* ================================================================
   DASHBOARD
   ================================================================ */
.dash-header { margin-bottom: 28px; }
.dash-header h1 { font-size: 1.6rem; font-weight: 800; color: var(--sage-800); letter-spacing: -.5px; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--surface); border-radius: var(--r-xl); padding: 24px 20px; border: 1px solid var(--border); text-align: center; transition: all .15s; }
.stat-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.stat-value { font-family: var(--mono); font-size: 2rem; font-weight: 800; color: var(--sage-700); letter-spacing: -1.5px; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: .68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.section-label { font-size: .68rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--text-4); font-weight: 700; margin-bottom: 14px; }
.region-featured { background: var(--surface); border: 1.5px solid var(--sage-300); border-radius: var(--r-2xl); padding: 36px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; transition: all .2s; }
.region-featured:hover { box-shadow: var(--sh-lg); border-color: var(--sage-400); background: var(--sage-50); }
.region-featured-info h3 { font-size: 1.2rem; font-weight: 800; color: var(--sage-800); }
.region-featured-info p { font-size: .88rem; color: var(--text-3); margin-top: 4px; }
.region-featured-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.region-list { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.region-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--border-light); transition: background .1s; }
.region-row:last-child { border-bottom: none; }
.region-row:hover { background: var(--sage-50); }
.region-row.locked { opacity: .4; }
.region-row.locked:hover { background: transparent; }
.region-name { font-weight: 700; font-size: .97rem; color: var(--text); }
.region-meta { font-size: .75rem; color: var(--text-4); margin-left: 10px; font-weight: 500; }
.region-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ================================================================
   FORECAST
   ================================================================ */
.fc-hero { text-align: center; padding: 56px 20px 40px; }
.fc-hero h1 { font-family: var(--display); font-size: 2.2rem; color: var(--sage-800); font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.fc-hero p { color: var(--text-2); max-width: 560px; margin: 0 auto; font-size: 1.02rem; line-height: 1.7; }
.method-label { display: inline-block; padding: 5px 18px; border-radius: var(--r-full); font-size: .68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px; background: var(--sage-800); color: var(--sage-200); }
.upgrade-banner { max-width: 620px; margin: 0 auto 44px; background: var(--surface); border: 1.5px solid var(--sage-300); border-radius: var(--r-2xl); padding: 44px 40px; text-align: center; box-shadow: var(--sh-md); }
.upgrade-banner h2 { color: var(--sage-800); margin-bottom: 10px; font-size: 1.3rem; font-weight: 800; }
.upgrade-banner p { color: var(--text-2); margin-bottom: 26px; font-size: .97rem; }
.upgrade-features { list-style: none; margin-bottom: 30px; text-align: left; max-width: 380px; margin-left: auto; margin-right: auto; }
.upgrade-features li { padding: 7px 0; font-size: .97rem; color: var(--text-2); display: flex; gap: 12px; }

/* MAP */
.map-wrap { position: relative; width: 100%; height: calc(100vh - 160px); border-radius: var(--r-2xl); overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--sh-md); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Date nav elements */
.date-nav { display: flex; align-items: center; gap: 10px; margin: 14px 0 24px; flex-wrap: wrap; }
.date-nav-btn { display: inline-flex; align-items: center; gap: 5px; padding: 9px 18px; border-radius: var(--r); font-size: .82rem; font-weight: 700; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; text-decoration: none; transition: all .15s; }
.date-nav-btn:hover { background: var(--sage-600); color: #fff; border-color: var(--sage-600); text-decoration: none; }
.date-nav-btn.disabled { opacity: .25; pointer-events: none; }
.date-current { font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--sage-800); padding: 9px 22px; background: var(--sage-50); border-radius: var(--r); border: 1.5px solid var(--sage-200); }
.date-timeline { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.date-chip { display: inline-block; padding: 6px 14px; border-radius: var(--r-full); font-size: .74rem; font-weight: 700; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; text-decoration: none; font-family: var(--mono); transition: all .12s; }
.date-chip:hover { background: var(--sage-600); color: #fff; border-color: var(--sage-600); text-decoration: none; }
.date-chip.active { background: var(--sage-600); color: #fff; border-color: var(--sage-600); }
.date-chip.locked { opacity: .25; pointer-events: none; }

/* ACCOUNT */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 20px; }
.account-grid select { padding: 11px 16px; border-radius: var(--r); border: 1.5px solid var(--border); width: 100%; margin-top: 8px; font-family: var(--sans); font-size: .97rem; }
.account-grid select:focus { outline: none; border-color: var(--sage-500); }

/* FOOTER */
.footer { text-align: center; padding: 44px 36px; color: var(--text-3); font-size: .82rem; border-top: 1.5px solid var(--border); margin-top: 0; letter-spacing: .3px; line-height: 2; background: var(--cream-200); }
.footer strong { color: var(--text-2); }

/* UTILS */
.text-center { text-align: center; }
.text-muted { color: var(--text-3); font-size: .88rem; }
.mono { font-family: var(--mono); }

/* ================================================================
   HAMBURGER MOBILE NAV
   ================================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer; padding: 0;
  transition: all .15s; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: var(--sage-50); border-color: var(--sage-300); }
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: all .22s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(13,26,16,.35);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.nav-mobile-overlay.open { display: block; }

/* ================================================================
   RESPONSIVE — COMPREHENSIVE
   ================================================================ */

/* Tablet landscape */
@media (max-width: 1100px) {
  .hero-main { grid-template-columns: 1fr; max-width: 700px; }
  .hero-illustration { display: none; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-pill { margin-left: auto; margin-right: auto; }
}

/* Tablet */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .comparison-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .stat-bar { grid-template-columns: repeat(2,1fr); }
  .problem-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* Mobile nav breakpoint */
@media (max-width: 820px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    z-index: 99;
    background: rgba(254,252,247,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 20px;
    box-shadow: 0 12px 40px rgba(13,26,16,.1);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; border-radius: var(--r); font-size: 1rem; border-bottom: 1px solid var(--border-light); }
  .nav-links a:last-of-type { border-bottom: none; }
  .nav-sep { display: none; }
  .nav-links .tier-badge { display: block; width: fit-content; margin: 10px 16px 0; }
  .nav-links .btn { margin-left: 0 !important; width: 100%; justify-content: center; margin-top: 8px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  html { font-size: 17px; }
  :root { --nav-h: 60px; }
  .section { padding: 72px 20px; }
  .section-header { margin-bottom: 52px; }
  .section-header h2 { font-size: 2.2rem; }
  .hero-outer { padding: 80px 20px 0; }
  .hero-outer h1 { font-size: 3rem; }
  .trust-inner { gap: 16px; }
  .trust-item { font-size: .72rem; }
  .region-featured { flex-direction: column; align-items: flex-start; }
  .navbar { padding: 0 16px; }
  .container { padding: 28px 20px; }
  .cta-box { padding: 64px 20px; }
  .cta-box h2 { font-size: 2.3rem; }
  .auth-box { margin: 40px 16px; padding: 40px 28px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-value { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .value-stack { padding: 30px 24px; margin-bottom: 40px; }
  .value-stack h3 { font-size: 1.35rem; }
  .dash-header h1 { font-size: 1.3rem; }
  .region-row { padding: 14px 20px; }
  .region-actions { gap: 6px; }
  .mushroom-strip-inner { gap: 32px; padding: 0 20px; }
  .mush-item svg { width: 40px; }
  .mush-name { font-size: .78rem; }
  .fc-hero h1 { font-size: 1.8rem; }
  .upgrade-banner { padding: 32px 24px; }
}

/* Mobile */
@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero-outer { padding: 64px 16px 0; }
  .hero-outer h1 { font-size: 2.2rem; letter-spacing: -1px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 28px; }
  .hero-pill { font-size: .65rem; padding: 6px 14px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 14px; justify-content: center; }
  .trust-check { font-size: .76rem; }
  .section { padding: 52px 16px; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.8rem; letter-spacing: -1px; }
  .section-header p { font-size: .95rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 22px; }
  .feature-card:hover { transform: none; }
  .problem-card { padding: 32px 24px; }
  .problem-card:hover { transform: none; }
  .num { font-size: 3rem; }
  .comparison-card { padding: 28px 22px; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat-bar-value { font-size: 1.8rem; }
  .stat-bar-item { padding: 24px 16px; }
  .pricing-card { padding: 36px 24px; }
  .pricing-card.featured::before { font-size: .55rem; padding: 4px 16px; }
  .price { font-size: 2.4rem; }
  .tier-name { font-size: 1.3rem; }
  .auth-box { margin: 20px 12px; padding: 28px 20px; }
  .auth-box h2 { font-size: 1.3rem; }
  .cta-box h2 { font-size: 1.9rem; }
  .cta-box p { font-size: .97rem; margin-bottom: 28px; }
  .cta-trust { gap: 16px; }
  .btn-xl { padding: 15px 32px; font-size: .97rem; }
  .btn-lg { padding: 13px 28px; font-size: .92rem; }
  .container { padding: 20px 16px; }
  .mushroom-strip { padding: 24px 0; }
  .mushroom-strip-inner { gap: 24px; padding: 0 16px; }
  .mush-item svg { width: 36px; }
  .mush-name { font-size: .72rem; }
  .mush-name strong { font-size: .56rem; }
  .trust-bar { padding: 16px 16px; }
  .trust-inner { gap: 12px; }
  .trust-item { font-size: .68rem; gap: 5px; }
  .footer { padding: 32px 16px; font-size: .78rem; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 18px 14px; }
  .region-featured { padding: 24px 20px; }
  .region-row { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .region-actions { width: 100%; }
  .region-actions .btn { flex: 1; text-align: center; justify-content: center; font-size: .75rem; padding: 6px 10px; }
  .faq-q { font-size: .95rem; }
  .account-grid { grid-template-columns: 1fr; }
  .step-num { width: 56px; height: 56px; font-size: 1rem; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .9rem; }

  /* Disable hover transforms on touch */
  .spot-card:hover,
  .feature-card:hover,
  .problem-card:hover,
  .pricing-card:hover,
  .stat-card:hover { transform: none; }
}

/* Very small screens */
@media (max-width: 360px) {
  html { font-size: 15px; }
  .hero-outer h1 { font-size: 1.9rem; }
  .btn-xl { padding: 14px 24px; font-size: .92rem; }
  .section-header h2 { font-size: 1.6rem; }
}

/* Animation: gentle float for elements */
.animate-up { animation: animUp .5s var(--ease-out) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
@keyframes animUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
