/* ============================================================
   METRICON — Design System v1.0
   Dark-first. Light/Dark via [data-theme="light"] on <html>.
   All colors through CSS custom properties — never hardcoded.
   ============================================================ */

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

/* ---------- Tokens: always-same ---------- */
:root {
  --clr-primary:        #48E880;
  --clr-primary-hover:  #3DD674;
  --clr-primary-pressed:#2EB560;
  --clr-accent:         #3588FF;
  --clr-accent-hover:   #2476EB;
  --clr-cta-text:       #09111F;
  --clr-success:        #22C55E;
  --clr-warning:        #F59E0B;
  --clr-error:          #EF4444;

  --chart-profit:  #48E880;
  --chart-sales:   #3588FF;
  --chart-conv:    #9B6CFF;
  --chart-spend:   #FFB547;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl:24px;
}

/* ---------- Dark theme (default) ---------- */
:root,
[data-theme="dark"] {
  --bg:              #0A0F1C;
  --bg-2:            #10172A;
  --bg-card:         #141E30;
  --bg-card-el:      #1B263C;
  --border:          #2B3952;
  --divider:         #232E42;
  --text:            #FAFAFA;
  --text-2:          #B8C5D6;
  --text-muted:      #7E8DA5;
  --shadow:          0 8px 32px rgba(0,0,0,0.35);
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.25);
  --header-bg:       rgba(10,15,28,0.95);
  --input-bg:        #10172A;
  --logo-text:       #FFFFFF;
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
  --bg:              #FAFBFD;
  --bg-2:            #F4F7FB;
  --bg-card:         #FFFFFF;
  --bg-card-el:      #FFFFFF;
  --border:          #E0E6EF;
  --divider:         #EBF0F6;
  --text:            #121827;
  --text-2:          #4A5568;
  --text-muted:      #6B7280;
  --shadow:          0 8px 30px rgba(15,23,42,0.08);
  --shadow-sm:       0 2px 8px rgba(15,23,42,0.06);
  --header-bg:       rgba(250,251,253,0.96);
  --input-bg:        #FFFFFF;
  --logo-text:       #121827;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--logo-text);
  flex-shrink: 0;
}
.logo .m { color: var(--clr-primary); }
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: block;
  line-height: 1;
  margin-top: 2px;
}
.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Nav */
nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text);
  background: var(--bg-card);
}
nav.main-nav a.active { color: var(--clr-primary); }

/* Header right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.theme-toggle:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: var(--bg-card);
}
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-cta-text);
}
.btn-primary:hover { background: var(--clr-primary-hover); }
.btn-primary:active { background: var(--clr-primary-pressed); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-primary);
  padding: 11px 0;
}
.btn-ghost:hover { color: var(--clr-primary-hover); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Nav CTA */
.nav-cta { display: none; }

@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
}
@media (max-width: 899px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    backdrop-filter: blur(12px);
  }
  nav.main-nav.open ul {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  nav.main-nav.open a { display: block; padding: 10px 8px; }
  .nav-cta-mobile { display: block; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 72px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(72,232,128,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--text);
}
h1 .accent { color: var(--clr-primary); }

.lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

.check-list { margin: 0 0 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.check-list .ico {
  color: var(--clr-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-line {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Dashboard mockup */
.hero-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dash-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.dash-demo {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--clr-warning);
  background: rgba(245,158,11,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}
.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.dash-metric {
  background: var(--bg-card-el);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.dm-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.dm-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.dm-trend {
  font-size: 11.5px;
  font-weight: 600;
}
.dm-trend.up { color: var(--clr-primary); }
.dm-trend.down { color: var(--clr-error); }

.dash-chart-area {
  margin-bottom: 10px;
}
.dash-chart-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.dash-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(72,232,128,0.18);
  transition: background 0.2s;
}
.dash-bar.hi { background: var(--clr-primary); }
.dash-months {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.dash-months span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}
.dash-note {
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 12px 0 0;
  text-align: center;
  font-style: italic;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--bg-2); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-head .eyebrow { margin-bottom: 12px; }

h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}
h2 .accent { color: var(--clr-primary); }

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.65;
}

/* ---------- Niche cards (Dla jakiego biznesu) ---------- */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.niche-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.niche-card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.niche-ico {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(72,232,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.niche-card h3 { margin: 0; font-size: 16px; }
.niche-card p { color: var(--text-2); font-size: 13.5px; margin: 0; line-height: 1.5; }
.niche-arrow {
  margin-top: auto;
  font-size: 13px;
  color: var(--clr-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Cards grid (services) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.ico-badge {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(72,232,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card p { color: var(--text-2); font-size: 14px; margin: 0 0 14px; line-height: 1.55; }
.card ul li {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clr-primary);
}

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(135deg, #0A0F1C 0%, #10172A 100%);
  border-top: 1px solid #2B3952;
  border-bottom: 1px solid #2B3952;
}
[data-theme="light"] .stats-band {
  background: linear-gradient(135deg, #10172A 0%, #0A0F1C 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid #2B3952;
}
.stat-item:last-child { border-right: none; }
.stat-item b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span {
  font-size: 13.5px;
  color: #B8C5D6;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid #2B3952; }
  .stat-item:nth-child(odd) { border-right: 1px solid #2B3952; }
  .stat-item:nth-child(even) { border-right: none; }
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: var(--clr-cta-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { font-size: 15.5px; }
.step p { color: var(--text-2); font-size: 14px; margin: 0; }

/* ---------- VS Table ---------- */
.vs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
table.vs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: var(--bg-card);
}
table.vs-table th,
table.vs-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
table.vs-table thead th {
  background: var(--bg-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
table.vs-table th:first-child,
table.vs-table td:first-child {
  font-weight: 600;
  width: 30%;
}
table.vs-table td.hi {
  color: var(--clr-primary);
  font-weight: 600;
}
table.vs-table tbody tr:last-child td { border-bottom: none; }
table.vs-table tbody tr:hover td { background: var(--bg-2); }

.note-box {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--clr-primary);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text-2);
}
.note-box a { color: var(--clr-primary); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--clr-primary); }
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  user-select: none;
}
.faq-q .plus {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.2s;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 22px 20px;
}
.faq-a a { color: var(--clr-primary); font-weight: 600; }

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 880px) {
  .form-grid { grid-template-columns: 1fr 1.1fr; align-items: center; }
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(72,232,128,0.12);
}
.form-row select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237E8DA5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
[data-theme="light"] .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-note {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ---------- Logos strip ---------- */
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
}
.logo-chip {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  transition: border-color 0.15s, color 0.15s;
}
.logo-chip:hover {
  border-color: var(--clr-primary);
  color: var(--text);
}

/* ---------- Founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  gap: 20px;
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: var(--clr-cta-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.founder-card h3 { margin: 0 0 2px; font-size: 16.5px; }
.founder-role {
  color: var(--clr-primary);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  display: block;
}
.founder-card ul li {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 7px;
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.founder-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--clr-primary);
}

/* ---------- Value list ---------- */
.value-list { display: grid; gap: 14px; }
.value-item {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  align-items: flex-start;
}
.value-item .vi-ico {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}
.value-item h3 { margin: 0 0 4px; font-size: 15.5px; }
.value-item p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------- Compare grid ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .compare-grid { grid-template-columns: 1fr 48px 1fr; align-items: center; }
}
.compare-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.compare-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin: 0 0 18px;
  font-weight: 700;
}
.compare-col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.45;
}
.compare-col li .ico-x { color: var(--clr-error); font-weight: 700; flex-shrink: 0; }
.compare-col li .ico-ok { color: var(--clr-primary); font-weight: 700; flex-shrink: 0; }
.compare-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: var(--clr-cta-text);
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto;
  flex-shrink: 0;
}
@media (min-width: 800px) {
  .compare-arrow { display: flex; }
}

/* ---------- Branze (niche detail sections) ---------- */
.branze-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--divider);
}
.branze-section:last-child { border-bottom: none; }
.branze-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 860px) {
  .branze-grid { grid-template-columns: 1fr 1fr; }
}
.branze-ico-big {
  font-size: 48px;
  margin-bottom: 16px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #10172A 0%, #0A0F1C 100%);
  border: 1px solid #2B3952;
  border-radius: var(--radius-2xl);
  padding: 56px 40px;
  text-align: center;
}
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #0A0F1C 0%, #10172A 100%);
}
.cta-banner h2 { color: #FAFAFA; }
.cta-banner p { color: #B8C5D6; margin: 10px 0 28px; font-size: 16px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 60px 0 48px;
  background: var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(72,232,128,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(24px, 3.5vw, 38px); }
.page-hero p { color: var(--text-2); max-width: 640px; margin: 16px auto 0; font-size: 16px; }

/* ---------- Footer ---------- */
footer.site {
  background: #070C18;
  border-top: 1px solid #1A2540;
  color: #7E8DA5;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 840px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #FAFAFA;
  margin-bottom: 10px;
}
.footer-logo .m { color: var(--clr-primary); }
.footer-desc {
  font-size: 13px;
  color: #7E8DA5;
  line-height: 1.65;
  max-width: 260px;
  margin: 0 0 18px;
}
.footer-grid h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #B8C5D6;
  margin: 0 0 16px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a {
  font-size: 13.5px;
  color: #7E8DA5;
  transition: color 0.15s;
}
.footer-grid ul a:hover { color: #FAFAFA; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #2B3952;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #7E8DA5;
  transition: border-color 0.15s, color 0.15s;
}
.footer-social a:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.footer-bottom {
  border-top: 1px solid #1A2540;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #4A5A7A;
}
.footer-bottom a { color: #4A5A7A; }
.footer-bottom a:hover { color: #7E8DA5; }

/* ---------- Badges grid (dark trust section) ---------- */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.badge-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.badge-card .ico { font-size: 28px; margin-bottom: 12px; }
.badge-card b {
  display: block;
  font-size: 14px;
  color: #FAFAFA;
  margin-bottom: 6px;
}
.badge-card span { font-size: 12.5px; color: #7E8DA5; line-height: 1.5; }

/* ---------- Dark section ---------- */
.dark-section {
  background: linear-gradient(135deg, #080D1A 0%, #0D1425 100%);
  border-top: 1px solid #1A2540;
  border-bottom: 1px solid #1A2540;
}
.dark-section .section-head h2 { color: #FAFAFA; }
.dark-section .section-sub { color: #7E8DA5; }
.dark-section .eyebrow { color: #48E880; }

/* ---------- Inline accent link ---------- */
.link-accent { color: var(--clr-primary); font-weight: 600; }
.link-accent:hover { color: var(--clr-primary-hover); text-decoration: underline; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }

.flex-center {
  display: flex;
  justify-content: center;
}
.flex-gap-2 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   RESPONSIVE — mobile-first breakpoints
   ============================================================ */

/* Mobile CTA inside nav: hidden on desktop, shown in open mobile menu */
.nav-cta-mobile { display: none; }
nav.main-nav.open .nav-cta-mobile { display: block; }

/* Tablet — 600–899px */
@media (max-width: 899px) {
  section { padding: 64px 0; }
  .hero  { padding: 60px 0 52px; }
  .page-hero { padding: 48px 0 36px; }
  .cta-banner { padding: 44px 28px; }
  .section-head { margin-bottom: 36px; }

  /* Founders: single column on tablet */
  .founders-grid { grid-template-columns: 1fr; }

  /* Steps: max 2 cols */
  .steps-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Mobile — ≤ 600px */
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .hero  { padding: 44px 0 36px; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero p { font-size: 14.5px; }

  /* Hero: center text, hide dashboard, CTA full-width */
  .hero-grid { text-align: center; }
  .lead { max-width: 100%; }
  .trust-line { text-align: center; }
  .check-list { text-align: left; display: inline-block; }
  .hero-dashboard { display: none; }
  .hero .btn-lg { width: 100%; justify-content: center; }

  /* Section head */
  .section-head { margin-bottom: 28px; }

  /* Grids collapse to 1 column */
  .cards-grid   { grid-template-columns: 1fr; }
  .niche-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .badges-grid  { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; }

  /* Founder card stack */
  .founder-card { flex-direction: column; }

  /* Compare */
  .compare-col  { padding: 20px; }

  /* Value list */
  .value-item   { padding: 16px; gap: 12px; }
  .value-item .vi-ico { font-size: 22px; }

  /* Stats */
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .stat-item    { padding: 28px 12px; border-bottom: 1px solid #2B3952; }
  .stat-item b  { font-size: 26px; }

  /* CTA banner */
  .cta-banner   { padding: 36px 20px; border-radius: var(--radius-lg); }
  .cta-banner p { font-size: 14px; margin-bottom: 20px; }
  .cta-banner .btn-lg { width: 100%; }

  /* Form */
  .form-card    { padding: 20px 16px; }
  .form-card .btn-lg { font-size: 14px; padding: 12px 20px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 14px 16px; }
  .faq-a { font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 16px 16px; }

  /* Branze grid */
  .branze-grid  { grid-template-columns: 1fr; gap: 24px; }
}

/* Very small — ≤ 400px */
@media (max-width: 400px) {
  .container    { padding: 0 16px; }
  .badges-grid  { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: 1fr; }
  .stat-item    { border-right: none !important; }
  h1 { font-size: 26px; }
}

/* ============================================================
   ANIMATIONS & VISUAL ENHANCEMENTS
   ============================================================ */

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  0.6s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--ri, 0) * 75ms),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--ri, 0) * 75ms);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Aurora mesh gradient hero ── */
.hero {
  background-image:
    radial-gradient(ellipse at 15% 40%, rgba(72,232,128,0.14) 0px, transparent 52%),
    radial-gradient(ellipse at 85% 10%, rgba(53,136,255,0.11) 0px, transparent 48%),
    radial-gradient(ellipse at 5%  85%, rgba(72,232,128,0.08) 0px, transparent 42%),
    radial-gradient(ellipse at 92% 78%, rgba(155,108,255,0.07) 0px, transparent 42%),
    linear-gradient(180deg, rgba(10,15,28,0.05) 0%, rgba(10,15,28,0.15) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=70&auto=format&fit=crop');
  background-size: auto, auto, auto, auto, auto, cover;
  background-position: center, center, center, center, center, center 30%;
  background-color: #0A0F1C;
}
[data-theme="light"] .hero {
  background-image:
    radial-gradient(ellipse at 15% 40%, rgba(72,232,128,0.10) 0px, transparent 52%),
    radial-gradient(ellipse at 85% 10%, rgba(53,136,255,0.07) 0px, transparent 48%),
    linear-gradient(180deg, rgba(250,251,253,0.82) 0%, rgba(250,251,253,0.78) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80&auto=format&fit=crop');
  background-color: #FAFBFD;
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center 35%;
}

/* Interactive mouse-follow glow layer (populated by JS) */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}
.hero-grid { position: relative; z-index: 1; }
.hero-dashboard { position: relative; z-index: 1; }

/* ── Stats band: subtle office photo ── */
.stats-band {
  background-image:
    linear-gradient(135deg, rgba(10,15,28,0.93) 0%, rgba(16,23,42,0.93) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&q=65&auto=format&fit=crop');
  background-size: auto, cover;
  background-position: center, center 40%;
}

/* ── Dark section: photo ── */
.dark-section {
  background-image:
    linear-gradient(135deg, rgba(8,13,26,0.95) 0%, rgba(13,20,37,0.95) 100%),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1200&q=65&auto=format&fit=crop');
  background-size: auto, cover;
  background-position: center, center;
}

/* ── Niche card hover: left border accent ── */
.niche-card {
  border-left: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.niche-card:hover { border-left-color: var(--clr-primary); }

/* ── Card: subtle shimmer on hover ── */
.card {
  background-image: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card) 100%);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background-image 0.3s;
}
.card:hover {
  background-image: linear-gradient(135deg, var(--bg-card) 0%, rgba(72,232,128,0.04) 100%);
}

/* ── Step number: pulse on hover ── */
.step:hover .step-num {
  box-shadow: 0 0 0 6px rgba(72,232,128,0.15);
  transition: box-shadow 0.2s;
}

/* ── Case card: animated left border ── */
.case-card {
  border-left: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.case-card:hover { border-left-color: var(--clr-primary); }

/* ── CTA banner: animated gradient border ── */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(72,232,128,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Page hero: gradient glow ── */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(72,232,128,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Founder avatars: animated border ── */
.avatar {
  box-shadow: 0 0 0 3px rgba(72,232,128,0.2);
  transition: box-shadow 0.3s;
}
.founder-card:hover .avatar {
  box-shadow: 0 0 0 5px rgba(72,232,128,0.4), 0 0 20px rgba(72,232,128,0.15);
}

/* ── Logo chips: horizontal marquee on mobile ── */
@media (max-width: 600px) {
  .logos-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .logos-strip::-webkit-scrollbar { display: none; }
  .logo-chip { flex-shrink: 0; }
}

/* ── Smooth header shadow on scroll (set by JS class) ── */
header.site.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #07091280;
  background: #070912;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
#preloader.pre-out { transform: translateY(-102%); }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pre-logo-wrap { text-align: center; }
.pre-logo {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: 1px;
  color: #FAFAFA;
}
.pre-logo .pre-m {
  color: #48E880;
  display: inline-block;
  animation: preUp 0.65s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
.pre-logo .pre-rest {
  display: inline-block;
  animation: preUp 0.65s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}
@keyframes preUp {
  from { transform: translateY(32px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.pre-sub {
  font-size: 10px; letter-spacing: 3.5px;
  color: #3A4A6A; font-weight: 600;
  text-transform: uppercase; margin-top: 6px;
  animation: preFade 0.5s ease 0.55s both;
}
@keyframes preFade { from { opacity:0; } to { opacity:1; } }
.pre-dots { display: flex; gap: 8px; }
.pre-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #48E880;
  box-shadow: 0 0 8px rgba(72,232,128,0.55);
  animation: preDot 1.2s ease-in-out infinite;
}
.pre-dots span:nth-child(2) { animation-delay: 0.2s; }
.pre-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes preDot {
  0%,80%,100% { transform: scale(0.55); opacity: 0.35; }
  40%         { transform: scale(1);    opacity: 1; }
}
.pre-progress {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
}
.pre-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #48E880, #3DF0A0);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(72,232,128,0.6);
  animation: preBar 1.6s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
@keyframes preBar { to { width: 100%; } }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 12px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  letter-spacing: 0.5px;
}
.lang-btn:hover, .lang-switch.open .lang-btn {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.lang-btn svg { transition: transform 0.2s; flex-shrink: 0; }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute;
  top: calc(100% + 8px); right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px; min-width: 168px;
  max-height: 320px; overflow-y: auto;
  box-shadow: var(--shadow); z-index: 500;
  animation: langDrop 0.15s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
@keyframes langDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-switch.open .lang-menu { display: block; }
.lang-opt {
  display: block; width: 100%;
  padding: 9px 12px;
  background: transparent; border: none;
  border-radius: var(--radius-sm);
  text-align: left; font-size: 13px;
  font-family: inherit; color: var(--text-2);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.lang-opt:hover { background: var(--bg-card-el); color: var(--text); }
.lang-opt.active { color: var(--clr-primary); font-weight: 600; }
@media (max-width: 899px) {
  .lang-switch { order: -1; }
  .lang-menu { right: auto; left: 0; }
}

/* ============================================================
   WOW VISUAL ENHANCEMENTS
   ============================================================ */

/* Film grain texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 9990; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Glow on primary CTA buttons */
.btn-primary {
  box-shadow: 0 0 22px rgba(72,232,128,0.22), 0 2px 8px rgba(0,0,0,0.18);
}
.btn-primary:hover {
  box-shadow: 0 0 34px rgba(72,232,128,0.42), 0 4px 14px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 14px rgba(72,232,128,0.22), 0 1px 4px rgba(0,0,0,0.18);
}

/* Gradient accent text in hero */
.hero h1 .accent {
  background: linear-gradient(120deg, #48E880 0%, #6AF0B0 45%, #3588FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .hero h1 .accent {
  background: linear-gradient(120deg, #1E9E4E 0%, #2EB560 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Glassmorphism cards in dark mode */
[data-theme="dark"] .card,
[data-theme="dark"] .niche-card,
[data-theme="dark"] .step {
  background: rgba(20, 30, 50, 0.60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Step number glow */
.step:hover .step-num {
  box-shadow: 0 0 0 6px rgba(72,232,128,0.12), 0 0 22px rgba(72,232,128,0.22);
  transition: box-shadow 0.25s;
}

/* Founder avatar pulse */
.founder-card:hover .avatar {
  box-shadow: 0 0 0 4px rgba(72,232,128,0.3), 0 0 24px rgba(72,232,128,0.15);
}

/* Scroll-down hint for hero */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.45; cursor: default;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 9px; letter-spacing: 2.5px;
  color: #7E8DA5; text-transform: uppercase; font-weight: 600;
}
.hero-scroll svg { color: #48E880; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  55%      { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}
@media (max-width: 600px) { .hero-scroll { display: none; } }

/* ══════════════════════════════════════════════════════════
   WOW EFFECTS — Custom Cursor, Scroll Progress, Page Curtain,
   Hero Blobs, Hero Text Reveal, 3D Tilt
   ══════════════════════════════════════════════════════════ */

/* Custom styled cursor */
@media (pointer: fine) {
  * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 2 L4 19 L8.5 14.5 L11.5 21 L14 20 L11 13.5 L17 13.5 Z' fill='%230A0F1C' stroke='%2348E880' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
  }
  a, button, [role="button"], label, .card, .niche-card, .case-card, .btn-primary, .btn-outline, select, input[type="submit"], input[type="button"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 2 L4 19 L8.5 14.5 L11.5 21 L14 20 L11 13.5 L17 13.5 Z' fill='%2348E880' stroke='%230A0F1C' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important;
  }
}

/* Scroll progress bar */
#scroll-prog {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #48E880, #22C55E, #48E880);
  background-size: 200% 100%;
  animation: progShimmer 2s linear infinite;
  transition: width 0.1s linear;
  pointer-events: none;
}
@keyframes progShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Page exit curtain */
#page-curtain {
  position: fixed; inset: 0; z-index: 99990;
  background: #070912;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.76,0,0.24,1);
  pointer-events: none;
}
#page-curtain.active {
  pointer-events: all;
  transform: translateY(0%);
}

/* Animated hero blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.8s ease;
}
.hero-blob.blob-visible { opacity: 1; }
.hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(72,232,128,0.14) 0%, transparent 70%);
  top: -80px; left: -100px;
  animation: blobFloat1 9s ease-in-out infinite;
}
.hero-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(72,100,232,0.10) 0%, transparent 70%);
  top: 30%; right: 5%;
  animation: blobFloat2 12s ease-in-out infinite;
}
.hero-blob-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(232,72,180,0.07) 0%, transparent 70%);
  bottom: 10%; left: 40%;
  animation: blobFloat3 15s ease-in-out infinite;
}
@keyframes blobFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40% { transform: translate(-30px,40px) scale(1.1); }
  70% { transform: translate(20px,-20px) scale(0.92); }
}
@keyframes blobFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-40px) scale(1.15); }
}

/* Hero text staggered reveal */
.hero-reveal .eyebrow,
.hero-reveal .hero-eyebrow,
.hero-reveal h1,
.hero-reveal .lead,
.hero-reveal .check-list,
.hero-reveal .hero-checklist,
.hero-reveal .btn,
.hero-reveal .hero-cta,
.hero-reveal .trust-line {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-reveal.hero-go .eyebrow,
.hero-reveal.hero-go .hero-eyebrow  { transition-delay: 0.05s; opacity: 1; transform: none; }
.hero-reveal.hero-go h1             { transition-delay: 0.18s; opacity: 1; transform: none; }
.hero-reveal.hero-go .lead          { transition-delay: 0.30s; opacity: 1; transform: none; }
.hero-reveal.hero-go .check-list,
.hero-reveal.hero-go .hero-checklist { transition-delay: 0.40s; opacity: 1; transform: none; }
.hero-reveal.hero-go .btn,
.hero-reveal.hero-go .hero-cta      { transition-delay: 0.50s; opacity: 1; transform: none; }
.hero-reveal.hero-go .trust-line    { transition-delay: 0.62s; opacity: 1; transform: none; }

/* 3D card tilt — dampen on mobile */
@media (max-width: 768px) {
  .card, .niche-card, .case-card, .step, .founder-card, .value-item {
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   PHOTO BACKGROUNDS — Atmospheric section backdrops
   ══════════════════════════════════════════════════════════ */

/* "Dlaczego METRICON" dark section — keep original dark bg, no photo overlay */
.dark-section {
  position: relative;
  overflow: hidden;
}

/* ── Photo Split — half image, half content ── */
.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  overflow: hidden;
}
.photo-split.reverse { direction: rtl; }
.photo-split.reverse > * { direction: ltr; }
.photo-split-img {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.photo-split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.photo-split:hover .photo-split-img img {
  transform: scale(1.04);
}
.photo-split-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(72,232,128,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.photo-split-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.photo-split-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 18px;
}
.photo-split-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-size: 1.02rem;
}
.photo-split-content ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.photo-split-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-muted); font-size: 0.97rem; line-height: 1.5;
}
.photo-split-content ul li::before {
  content: '✓';
  color: #48E880; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
@media (max-width: 860px) {
  .photo-split { grid-template-columns: 1fr; }
  .photo-split.reverse { direction: ltr; }
  .photo-split-img { min-height: 300px; }
  .photo-split-content { padding: 40px 24px; }
}

/* ── Photo Mosaic — 3-photo grid showcase ── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
}
.photo-mosaic-item {
  position: relative; overflow: hidden;
}
.photo-mosaic-item:first-child {
  grid-row: 1 / 3;
}
.photo-mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.photo-mosaic-item:hover img { transform: scale(1.06); }
.photo-mosaic-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,9,18,0.35) 100%);
}
@media (max-width: 700px) {
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }
  .photo-mosaic-item:first-child { grid-row: auto; }
}

/* Photo strip — cinematic break (PHOTO IS VISIBLE — 45% overlay) */
.photo-strip {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #070912;
  background-image:
    linear-gradient(100deg, rgba(7,9,18,0.82) 0%, rgba(7,9,18,0.45) 55%, rgba(7,9,18,0.22) 100%),
    url('https://images.unsplash.com/photo-1497366754035-f200581393db?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 45%;
  background-attachment: fixed;
}
.photo-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 72px 0;
}
.photo-strip-inner .eyebrow { color: #48E880; }
.photo-strip-inner h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #FAFAFA;
  line-height: 1.18;
  margin: 12px 0 20px;
}
.photo-strip-inner p {
  color: rgba(250,251,253,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .photo-strip {
    background-attachment: scroll;
    min-height: 320px;
    background-image:
      linear-gradient(180deg, rgba(7,9,18,0.72) 0%, rgba(7,9,18,0.55) 100%),
      url('https://images.unsplash.com/photo-1497366754035-f200581393db?w=800&q=80&auto=format&fit=crop');
  }
  .photo-strip-inner { padding: 48px 0; }
}

/* Photo strip topic variants */
.photo-strip.ps-team {
  background-image:
    linear-gradient(100deg, rgba(7,9,18,0.82) 0%, rgba(7,9,18,0.45) 55%, rgba(7,9,18,0.18) 100%),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=80&auto=format&fit=crop');
  background-position: center 25%;
}
.photo-strip.ps-data {
  background-image:
    linear-gradient(100deg, rgba(7,9,18,0.85) 0%, rgba(7,9,18,0.50) 55%, rgba(7,9,18,0.20) 100%),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1600&q=80&auto=format&fit=crop');
  background-position: center 50%;
}
.photo-strip.ps-city {
  background-image:
    linear-gradient(100deg, rgba(7,9,18,0.80) 0%, rgba(7,9,18,0.42) 55%, rgba(7,9,18,0.15) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80&auto=format&fit=crop');
  background-position: center 60%;
}

/* ── Photo Row — triple photo strip после hero ── */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 320px;
  gap: 0;
  overflow: hidden;
}
.photo-row-item {
  position: relative;
  overflow: hidden;
}
.photo-row-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.photo-row-item:hover img { transform: scale(1.05); }
.photo-row-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,9,18,0.28) 100%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.photo-row-item:hover::after { opacity: 0.5; }
@media (max-width: 768px) {
  .photo-row { grid-template-columns: 1fr 1fr; height: 240px; }
  .photo-row-item:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .photo-row { height: 190px; }
}

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99000;
  width: calc(100% - 48px);
  max-width: 860px;
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#cookie-banner.cb-hide {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.cb-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cb-text a {
  color: var(--clr-primary);
  text-decoration: underline;
}
.cb-text strong { color: var(--text); }
.cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cb-accept {
  padding: 9px 20px;
  background: var(--clr-primary);
  color: #0A0F1C;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cb-accept:hover { opacity: 0.85; }
.cb-reject {
  padding: 9px 16px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--divider);
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.cb-reject:hover { border-color: var(--text-muted); color: var(--text); }
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
  }
  #cookie-banner.cb-hide {
    transform: translateY(20px);
  }
  .cb-actions { justify-content: flex-end; }
}

/* ── Telegram chat widget ── */
#tg-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
#tg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 220px;
  line-height: 1.4;
  animation: tg-pop 0.4s cubic-bezier(.34,1.56,.64,1) both;
  animation-delay: 2.5s;
  opacity: 0;
}
@keyframes tg-pop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
#tg-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #29A8E4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(41,168,228,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
#tg-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(41,168,228,0.6);
}
#tg-btn svg { width: 28px; height: 28px; }
@media (max-width: 600px) {
  #tg-widget { bottom: 16px; right: 16px; }
  #tg-bubble { display: none; }
}
