/* SZOPly Landing — Design System v2 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --white: #ffffff;
  --bg: #fafbfc;
  --bg-alt: #f3f4f6;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-light: #f0f1f3;
  --text: #1a1a2e;
  --text-secondary: #5a5b6a;
  --text-muted: #9ca3af;
  --accent: #f97316;
  --accent-light: #fff7ed;
  --accent-mid: #fed7aa;
  --accent-dark: #ea580c;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --red: #dc2626;
  --red-light: #fef2f2;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --max-w: 1140px;
  --header-h: 72px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

/* ═══════ HEADER ═══════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled { border-bottom-color: var(--border-light); box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-beta {
  display:inline-flex; align-items:center; gap:5px;
  background: var(--accent-light); border:1.5px solid var(--accent-mid); color: var(--accent-dark);
  font-size:9.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  padding:3px 9px; border-radius:100px; white-space:nowrap; flex-shrink:0;
}
.logo-beta-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); animation:pulse 2s ease-in-out infinite; flex-shrink:0; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 2px 8px rgba(249,115,22,0.25);
}
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.logo-text span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  padding: 8px 16px; border-radius: 8px; transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--bg-alt); }
.nav a.active { font-weight: 700; color: var(--accent); background: var(--accent-light); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.88rem;
  padding: 10px 22px; border-radius: 10px; border: none; cursor: pointer;
  transition: var(--transition); line-height: 1;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(249,115,22,0.3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.3); color: #fff; }
.btn-outline { background: var(--white); color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; border-radius: 12px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border-light);
  padding: 12px 24px 20px; z-index: 999; box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 4px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a { padding: 12px 16px; font-size: 1rem; font-weight: 600; color: var(--text-secondary); border-radius: 8px; display: block; }
.mobile-nav-overlay a:hover, .mobile-nav-overlay a.active { background: var(--bg-alt); color: var(--text); }
.mobile-nav-overlay .nav-cta { background: var(--accent); color: #fff !important; text-align: center; margin-top: 8px; border-radius: 10px; }

/* ═══════ HERO ═══════ */
.hero {
  padding: calc(var(--header-h) + 80px) 24px 80px;
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.hero-decoration {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.6; z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--accent-dark);
  background: var(--accent-light); padding: 6px 18px; border-radius: 999px;
  border: 1px solid var(--accent-mid); margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.85); } }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px; color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero > .hero-content > p {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 540px;
  margin: 0 auto 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Hero mockup */
.hero-mockup {
  margin-top: 60px; max-width: 880px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.mockup-window {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl);
}
.mockup-topbar {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px;
  background: var(--bg); border-bottom: 1px solid var(--border-light);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #f87171; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #34d399; }
.mockup-url {
  margin-left: 12px; font-size: 0.72rem; color: var(--text-muted);
  background: var(--white); padding: 4px 14px; border-radius: 6px;
  border: 1px solid var(--border-light); font-weight: 500;
}
.mockup-body { padding: 20px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.mock-kpi {
  background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 6px;
}
.mock-kpi-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-kpi-value { font-size: 1.5rem; font-weight: 800; }
.mock-kpi-value.c-green { color: var(--green); }
.mock-kpi-value.c-blue { color: var(--blue); }
.mock-kpi-value.c-accent { color: var(--accent); }
.mock-kpi-trend { font-size: 0.78rem; font-weight: 600; }
.mock-kpi-trend.up { color: var(--green); }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; margin-top: auto; }
.mock-bars div { flex: 1; border-radius: 4px 4px 0 0; }

/* ═══════ PLATFORMS ═══════ */
.platforms-bar {
  display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
  padding: 32px 24px; background: var(--bg); border-bottom: 1px solid var(--border-light);
}
.plat-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.plat { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.plat.active { color: var(--text); }
.plat.soon { color: var(--text-muted); }
.plat-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: #fff; }
.plat-icon.s { background: #00a651; }
.plat-icon.w { background: #7f54b3; }
.plat-icon.p { background: #df0067; }
.plat-icon.b { background: #1d6ef5; }
.plat-badge { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); }

/* ═══════ SECTIONS ═══════ */
.section { padding: 96px 24px; }
.section-alt { background: var(--bg); }
.section-dark { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag { font-size: 0.78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* Page hero (for subpages) */
.page-hero {
  padding: calc(var(--header-h) + 56px) 24px 56px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  text-align: center; border-bottom: 1px solid var(--border-light);
}
.page-hero .section-tag { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ═══════ FEATURES ═══════ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; transition: var(--transition);
}
.feat:hover { border-color: var(--border); box-shadow: var(--shadow); transform: translateY(-3px); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.feat-icon.orange { background: var(--accent-light); }
.feat-icon.blue { background: var(--blue-light); }
.feat-icon.green { background: var(--green-light); }
.feat-icon.purple { background: var(--purple-light); }
.feat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.feat-plan { display: inline-block; margin-top: 14px; font-size: 0.8rem; font-weight: 700; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: 999px; }

/* ═══════ STEPS ═══════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px;
  background: var(--border); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; background: var(--white);
  border: 2px solid var(--border); color: var(--text-muted);
}
.step:nth-child(1) .step-num { border-color: var(--accent); color: #fff; background: var(--accent); }
.step:nth-child(2) .step-num { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.step:nth-child(3) .step-num { border-color: var(--accent-mid); color: var(--accent); background: var(--accent-light); }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-secondary); max-width: 260px; margin: 0 auto; }

/* ═══════ SHOWCASE ═══════ */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.show-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.show-text h3 { font-size: 1.6rem; font-weight: 800; line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.01em; }
.show-text p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.95rem; }
.show-text ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.show-text li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.show-text li::before { content: '✓'; color: var(--green); font-weight: 700; margin-top: 1px; flex-shrink: 0; }
.show-plan { display: inline-block; margin-top: 18px; font-size: 0.75rem; font-weight: 700; color: var(--accent); background: var(--accent-light); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent-mid); }

.show-visual {
  background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.show-visual-label { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }

/* RFM table mock */
.rfm-row { display: grid; grid-template-columns: 1.8fr 1fr 1fr 0.8fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border-light); align-items: center; }
.rfm-row:last-child { border: none; }
.rfm-head { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.03em; }
.rfm-name { font-size: 0.85rem; font-weight: 600; }
.rfm-val { font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }
.tag-seg { padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; display: inline-block; }
.tag-seg.champ { background: var(--green-light); color: var(--green); }
.tag-seg.loyal { background: var(--blue-light); color: var(--blue); }
.tag-seg.prom { background: var(--purple-light); color: var(--purple); }
.tag-seg.risk { background: var(--red-light); color: var(--red); }

/* Product bars mock */
.prod-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.prod-row:last-child { margin-bottom: 0; }
.prod-medal { font-size: 1.1rem; flex-shrink: 0; width: 28px; text-align: center; }
.prod-info { flex: 1; }
.prod-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; }
.prod-bar { height: 7px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.prod-bar-fill { height: 100%; border-radius: 4px; }
.prod-val { font-size: 0.82rem; font-weight: 600; flex-shrink: 0; min-width: 80px; text-align: right; }

/* Heatmap mock */
.heat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.heat-label-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.heat-day-label { font-size: 0.62rem; color: var(--text-muted); text-align: center; font-weight: 600; }
.heat-cell { height: 28px; border-radius: 4px; }

/* Cohort mock table */
.cohort-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.cohort-table th { text-align: center; padding: 6px 8px; font-weight: 600; color: var(--text-muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid var(--border-light); }
.cohort-table th:first-child { text-align: left; }
.cohort-table td { padding: 7px 8px; text-align: center; font-weight: 600; font-size: 0.8rem; }
.cohort-table td:first-child { text-align: left; font-weight: 500; color: var(--text-secondary); }
.cohort-cell { padding: 4px 8px; border-radius: 6px; display: inline-block; }

/* ═══════ COMPARISON ═══════ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.cmp-col { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px; }
.cmp-col.good { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.cmp-col h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; text-align: center; }
.cmp-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cmp-col li { font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.cmp-col.bad li::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.cmp-col.good li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ═══════ STATS BAR ═══════ */
.stats-bar { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 64px 24px; }
.stats-bar-inner { max-width: var(--max-w); margin: 0 auto; }
.stats-bar h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 12px; text-align: center; }
.stats-bar > .stats-bar-inner > p { color: #94a3b8; font-size: 1rem; margin-bottom: 48px; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-item { padding: 28px; background: rgba(255,255,255,0.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08); text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-desc { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; }

/* ═══════ PRICING ═══════ */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; }
.plan {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px 22px; position: relative;
  transition: var(--transition);
}
.plan:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.plan.pop { border-color: var(--accent); opacity: 1; filter: none; box-shadow: 0 0 0 1px var(--accent); overflow: visible; }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.plan .price { font-size: 1rem; color: var(--text-muted); font-weight: 500; font-style: italic; margin-bottom: 20px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.plan li { font-size: 0.82rem; color: var(--text-secondary); display: flex; align-items: center; gap: 7px; }
.plan li .y { color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan li .n { color: var(--text-muted); flex-shrink: 0; }
.plan .btn { width: 100%; justify-content: center; font-size: 0.82rem; }

/* Comparison table (for /cennik/) */
.compare-wrap { overflow-x: auto; margin-top: 40px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.compare-table th { text-align: center; padding: 12px 16px; font-weight: 700; border-bottom: 2px solid var(--border); color: var(--text-secondary); }
.compare-table th:first-child { text-align: left; color: var(--text); }
.compare-table td { padding: 10px 16px; border-bottom: 1px solid var(--border-light); text-align: center; color: var(--text-secondary); }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.compare-table tr:hover td { background: var(--border-light); }
.check { color: var(--accent); font-weight: 700; }
.cross { color: var(--text-muted); }
.featured-col { background: rgba(249,115,22,0.04); font-weight: 700; color: var(--text) !important; }

/* ═══════ ROADMAP ═══════ */
.timeline { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.tl-item { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px 28px; min-width: 200px; text-align: center; }
.tl-item.now { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.tl-item .q { font-size: 0.72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.tl-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.tl-item p { font-size: 0.8rem; color: var(--text-muted); }

/* ═══════ FAQ ═══════ */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.faq-q { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; font-weight: 600; transition: var(--transition); user-select: none; }
.faq-q:hover { background: var(--bg); }
.faq-q .arr { color: var(--text-muted); transition: var(--transition); font-size: 1.1rem; flex-shrink: 0; }
.faq-item.open .faq-q .arr { transform: rotate(180deg); color: var(--accent); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }
.faq-a p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }

/* ═══════ NEWSLETTER ═══════ */
.nl-box {
  background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 56px 40px; text-align: center; max-width: 680px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.nl-box::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--accent-light); opacity: 0.5;
}
.nl-box::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--accent-light); opacity: 0.3;
}
.nl-box > * { position: relative; z-index: 1; }
.nl-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.nl-box > p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1rem; }
.nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.nl-form input {
  flex: 1; min-width: 180px; padding: 13px 18px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--text); font-family: var(--font);
  font-size: 0.9rem; outline: none; transition: var(--transition);
}
.nl-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.nl-form input::placeholder { color: var(--text-muted); }
.nl-counter { margin-top: 16px; font-size: 0.82rem; color: var(--text-muted); }
.nl-counter span { color: var(--accent); font-weight: 700; }

/* Success/error messages */
.success-msg { background: var(--green-light); color: var(--green); border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 12px 16px; font-size: 0.88rem; font-weight: 600; margin-top: 12px; display: none; }
.error-msg { background: var(--red-light); color: var(--red); border: 1px solid #fecaca; border-radius: var(--radius); padding: 12px 16px; font-size: 0.88rem; font-weight: 600; margin-top: 12px; display: none; }

/* ═══════ CONTACT ═══════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.c-form { display: flex; flex-direction: column; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.fg input, .fg textarea {
  padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--text); font-family: var(--font);
  font-size: 0.9rem; outline: none; transition: var(--transition); resize: vertical;
}
.fg input:focus, .fg textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.fg textarea { min-height: 120px; }
.c-info { display: flex; flex-direction: column; gap: 16px; }
.c-card {
  background: var(--bg); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 20px; display: flex; align-items: flex-start; gap: 14px;
}
.c-card-icon { font-size: 1.2rem; margin-top: 2px; }
.c-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.c-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* ═══════ FOOTER ═══════ */
.footer { padding: 56px 24px calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--border-light); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-muted); padding: 3px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-col .soon-label { font-size: 0.65rem; color: var(--text-muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border-light); }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.78rem; font-weight: 600; background: var(--white);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════ FEAT LINK ═══════ */
.feat-link { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.feat-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* ═══════ HERO SUCCESS ═══════ */
.form-success { background: var(--green-light); color: var(--green); border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 12px 20px; font-size: 0.92rem; font-weight: 600; align-items: center; justify-content: center; gap: 8px; }

/* ═══════ SOCIAL PROOF STATS ═══════ */
.stat-label { display: block; font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.9); margin: 6px 0 2px; }

/* ═══════ DOCS / JAK ZACZĄĆ ═══════ */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.docs-sidebar-sticky { position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 16px; }
.docs-nav-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); padding: 0 8px; margin: 18px 0 6px; }
.docs-nav-cat:first-child { margin-top: 0; }
.docs-nav-item { display: block; padding: 8px 10px; font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); border-radius: 8px; transition: var(--transition); text-decoration: none; }
.docs-nav-item:hover { background: var(--bg-alt); color: var(--text); }
.docs-nav-item.active { background: var(--accent-light); color: var(--accent); font-weight: 700; }
.docs-nav-item.soon { color: var(--text-muted); cursor: default; font-style: italic; font-size: 0.82rem; }
.docs-nav-item.soon:hover { background: none; color: var(--text-muted); }
.docs-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-light); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent-mid); margin-bottom: 14px; }
.docs-content h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.docs-lead { font-size: 1rem; color: var(--text-secondary); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); line-height: 1.75; }
.docs-content h2 { font-size: 1.2rem; font-weight: 800; margin: 36px 0 12px; letter-spacing: -0.01em; }
.docs-content h3 { font-size: 0.95rem; font-weight: 700; margin: 24px 0 8px; color: var(--text); }
.docs-content p { color: var(--text-secondary); margin-bottom: 12px; font-size: 0.92rem; line-height: 1.85; }
.docs-content code { font-family: 'Courier New', monospace; font-size: 0.85rem; background: var(--bg-alt); padding: 2px 7px; border-radius: 5px; color: var(--accent-dark); }
.docs-step { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; display: flex; gap: 16px; align-items: flex-start; }
.docs-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.docs-step-body strong { font-size: 0.92rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 5px; }
.docs-step-body p { font-size: 0.86rem; color: var(--text-secondary); margin: 0; line-height: 1.65; }
.docs-note { background: var(--accent-light); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; font-size: 0.88rem; color: var(--accent-dark); font-weight: 500; margin: 20px 0; line-height: 1.6; }
.docs-tip { background: var(--green-light); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; font-size: 0.88rem; color: var(--green); font-weight: 600; margin: 20px 0; line-height: 1.6; }
.perm-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin: 16px 0; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.perm-table th { text-align: left; padding: 10px 14px; font-weight: 700; background: var(--bg); border-bottom: 2px solid var(--border); color: var(--text-secondary); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.perm-table td { padding: 9px 14px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.perm-table tr:last-child td { border-bottom: none; }
.perm-yes { color: var(--green); font-weight: 700; }
.perm-no { color: var(--red); font-weight: 700; }
@media (max-width: 1024px) { .docs-layout { grid-template-columns: 200px 1fr; gap: 32px; } }
@media (max-width: 768px) { .docs-layout { grid-template-columns: 1fr; } .docs-sidebar-sticky { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; } .docs-nav-cat { width: 100%; margin: 8px 0 4px; } }

/* ═══════ ANIMATIONS ═══════ */
.anim { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim.vis { opacity: 1; transform: translateY(0); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .compare { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nl-form { flex-direction: column; }
  .mockup-body { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; align-items: center; }
  .section { padding: 64px 20px; }
}

/* ========================================
   AI ANALYST SECTION
   ======================================== */
.section-ai { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%); color: #f8fafc; }
.section-ai .section-tag { background: rgba(249,115,22,0.15); color: #fb923c; border-color: rgba(249,115,22,0.3); }
.section-ai h2 { color: #f8fafc; }
.section-ai .section-head p { color: #94a3b8; }

.ai-reports-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 40px 0; }
.ai-report-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 24px; position: relative; transition: var(--transition); }
.ai-report-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(249,115,22,0.4); transform: translateY(-3px); }
.ai-report-icon { font-size: 2rem; margin-bottom: 12px; }
.ai-report-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-enterprise { background: rgba(249,115,22,0.2); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.badge-premium { background: rgba(139,92,246,0.2); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.ai-report-card h3 { font-size: 1rem; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.ai-report-card p { font-size: 0.85rem; color: #94a3b8; line-height: 1.6; margin-bottom: 14px; }
.ai-highlights { list-style: none; padding: 0; margin: 0; }
.ai-highlights li { font-size: 0.8rem; color: #64748b; padding: 3px 0; }

.ai-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 40px 0; }
.ai-feature { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 28px; }
.ai-feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.ai-feature h3 { font-size: 0.98rem; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.ai-feature p { font-size: 0.86rem; color: #94a3b8; line-height: 1.65; }

.ai-preview { background: #fff; border-radius: var(--radius-lg); overflow: hidden; margin: 40px 0; box-shadow: 0 24px 64px rgba(0,0,0,0.45); }
.ai-preview-header { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 14px 22px; display: flex; align-items: center; gap: 8px; }
.ai-preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.ai-preview-badge { font-size: 0.82rem; font-weight: 600; color: #475569; margin-left: 8px; }
.ai-preview-body { padding: 24px; }
.ai-rec-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ai-rec-num { width: 28px; height: 28px; background: #f97316; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.ai-rec-title { font-size: 1rem; font-weight: 700; color: #1e293b; flex: 1; }
.ai-rec-roi { font-size: 0.88rem; font-weight: 800; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.ai-rec-body { font-size: 0.87rem; color: #475569; line-height: 1.65; margin-bottom: 14px; }
.ai-rec-steps { background: #f8fafc; border-radius: 8px; padding: 14px 18px; font-size: 0.84rem; color: #334155; }
.ai-rec-steps ol { margin: 8px 0 0 18px; }
.ai-rec-steps li { padding: 3px 0; line-height: 1.5; }

.ai-chat-box { display: flex; gap: 20px; align-items: flex-start; background: rgba(249,115,22,0.07); border: 1px solid rgba(249,115,22,0.2); border-radius: var(--radius-lg); padding: 28px; margin: 40px 0; }
.ai-chat-icon { font-size: 2.2rem; flex-shrink: 0; }
.ai-chat-content h3 { font-size: 1.05rem; font-weight: 700; color: #f1f5f9; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ai-chat-content > p { font-size: 0.88rem; color: #94a3b8; margin-bottom: 14px; }
.ai-chat-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ai-chat-example { font-size: 0.82rem; color: #fb923c; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2); border-radius: 6px; padding: 6px 12px; font-style: italic; }
.ai-chat-limit { font-size: 0.8rem; color: #64748b; margin: 0; }
.ai-cta { text-align: center; margin-top: 16px; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

@media (max-width: 1024px) { .ai-reports-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .ai-reports-grid { grid-template-columns: 1fr; } .ai-features-grid { grid-template-columns: 1fr; } .ai-chat-box { flex-direction: column; } }

/* ═══════ iOS / MOBILE FIXES ═══════ */

/* O12 — prevent horizontal scroll */
html, body { overflow-x: hidden; }

/* K3+K5 — prevent iOS auto-zoom on inputs (font-size < 16px triggers zoom) */
@media (max-width: 768px) {
  .nl-form input,
  .fg input, .fg textarea, .fg select,
  input[type="text"], input[type="email"], input[type="password"],
  input[type="number"], input[type="search"],
  select, textarea {
    font-size: 16px !important;
  }
}

/* O7 — hover transforms only on real hover devices (not touch) */
@media (hover: none) {
  .feat:hover { transform: none; box-shadow: none; }
  .plan:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; }
  .ai-report-card:hover { transform: none; }
}

/* ═══════ COOKIE CONSENT ═══════ */
#cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:#fff;border-top:1px solid var(--border);padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 -4px 20px rgba(0,0,0,.08);transform:translateY(100%);transition:transform .3s ease}
#cookie-banner.visible{transform:translateY(0)}
#cookie-banner p{font-size:.82rem;color:var(--text-muted);max-width:640px;line-height:1.5}
#cookie-banner a{color:var(--accent);text-decoration:underline}
.cookie-btns{display:flex;gap:8px;flex-shrink:0}
.cookie-btns button{padding:8px 18px;border-radius:8px;font-size:.82rem;font-weight:600;cursor:pointer;border:none;font-family:var(--font)}
#cookie-accept{background:var(--accent);color:#fff}
#cookie-reject{background:var(--bg);color:var(--text-muted);border:1px solid var(--border)!important}
@media(max-width:640px){#cookie-banner{flex-direction:column;align-items:flex-start;padding:16px}.cookie-btns{width:100%;justify-content:flex-end}}
