/* ===================================================
   SZYBKIKSEF — Design System  (light / joyful theme)
   =================================================== */

:root {
  /* Backgrounds */
  --bg:              #ffffff;
  --bg-soft:         #f8fafc;
  --bg-alt:          #eef5ff;
  --surface:         #ffffff;
  --surface-mid:     #f1f5f9;
  --surface-strong:  #e2e8f0;

  /* Text */
  --text:            #0f172a;
  --text-soft:       #475569;
  --muted:           #94a3b8;

  /* Accent — royal blue (trust / reliability) */
  --accent:          #2563eb;
  --accent-strong:   #1d4ed8;
  --accent-dim:      rgba(37, 99, 235, 0.10);

  /* CTA — warm amber/orange (energy / action) */
  --cta:             #f59e0b;
  --cta-strong:      #d97706;
  --cta-dim:         rgba(245, 158, 11, 0.12);
  --cta-text:        #fff;

  /* Semantic */
  --success:         #16a34a;
  --success-bg:      rgba(22, 163, 74, 0.10);
  --danger:          #dc2626;
  --warning:         #f59e0b;

  /* Borders */
  --line:            rgba(15, 23, 42, 0.10);
  --line-strong:     rgba(15, 23, 42, 0.18);

  /* Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;

  /* Shadows */
  --shadow-sm:  0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-md:  0 14px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg:  0 28px 60px rgba(15, 23, 42, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(219, 234, 254, 0.7) 0, transparent 40%),
    radial-gradient(ellipse at 95% 5%, rgba(224, 242, 254, 0.5) 0, transparent 35%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin-top: 0; line-height: 1.15; color: var(--text); }
p { margin-top: 0; }
a { color: var(--accent); text-decoration: none; }

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ─── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.65rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.55rem 0.7rem 0.55rem 0.9rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong { font-size: 1rem; font-weight: 800; color: var(--text); }
.brand-copy small  { color: var(--muted); font-size: 0.72rem; }

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem;
}

.main-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  transition: color 0.18s, background 0.18s;
}

.main-nav a:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.45rem; }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  border: 1px solid rgba(37, 99, 235, 0.6);
  border-radius: var(--r-md);
  padding: 0.72rem 1.3rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
  filter: brightness(1.06);
}

.btn-small  { font-size: 0.85rem; padding: 0.52rem 0.9rem; border-radius: 10px; }
.btn-large  { font-size: 1.05rem; padding: 0.88rem 1.7rem; border-radius: var(--r-md); }
.btn-block  { width: 100%; margin-top: 1.2rem; justify-content: center; }

.btn-ghost {
  background: rgba(241, 245, 249, 0.9);
  border-color: var(--line-strong);
  color: var(--text-soft);
}
.btn-ghost:hover { box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12); color: var(--text); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.45);
}
.btn-outline:hover { background: var(--accent-dim); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.14); }

/* CTA — warm amber */
.btn-cta {
  background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  color: #1a0900;
  border-color: rgba(251, 191, 36, 0.6);
}
.btn-cta:hover { box-shadow: 0 14px 28px rgba(245, 158, 11, 0.35); }

.btn-glow {
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  animation: glow-pulse 2.6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.0), 0 14px 28px rgba(245, 158, 11, 0.3); }
  50%       { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.0), 0 14px 28px rgba(245, 158, 11, 0.5); }
}

/* ─── EYEBROW / LABELS ───────────────────────── */
.eyebrow {
  display: inline-block;
  background: var(--cta-dim);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.section-eyebrow {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent-strong);
  border: 1px solid rgba(37, 99, 235, 0.30);
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── HERO ────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 55%, rgba(37, 99, 235, 0.06), transparent 50%),
    radial-gradient(circle at 20% 60%, rgba(245, 158, 11, 0.05), transparent 40%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.07;
  margin-bottom: 1.1rem;
  font-weight: 900;
}

.highlight {
  background: linear-gradient(130deg, #f59e0b 0%, #ea580c 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 50ch;
  margin-bottom: 0;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cta-note {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-trust {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Hero visual / mockup */
.hero-visual {
  position: relative;
}

.hero-glow-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* Demo cursor */
.demo-cursor {
  position: absolute;
  top: 0;
  left: 20%;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transform: translate(24px, 24px);
  transition:
    transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   0.28s ease;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.demo-cursor.visible {
  opacity: 1;
}

.demo-cursor svg {
  display: block;
  transform-origin: 2px 2px;
  transition: transform 0.1s ease;
}

.demo-cursor.clicking svg {
  transform: scale(0.72);
}

/* Invoice Mockup */
.invoice-mockup {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.99));
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.04) inset;
  overflow: hidden;
  position: relative;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.95);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #22c55e; }

.mockup-url {
  color: #64748b;
  font-size: 0.78rem;
  margin-left: 0.4rem;
  font-weight: 500;
}

.mockup-content { padding: 1.2rem; }

.mockup-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mockup-badge {
  background: var(--surface-mid);
  color: #475569;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.28rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.mockup-timer {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mockup-field {
  margin-bottom: 0.6rem;
}

.mockup-field-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.6rem;
}

.field-label {
  display: block;
  font-size: 0.73rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.22rem;
}

.field-value {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.mockup-vat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 0.5rem;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.mockup-row.total { border-top: 1px solid var(--line-strong); margin-top: 0.2rem; }
.total-amount { color: var(--accent); font-size: 1.05rem; font-weight: 800; }

/* Typing cursor on active field */
.field-value.typing {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.field-value.typing::after {
  content: '|';
  color: var(--accent);
  animation: cursor-blink 0.65s step-end infinite;
  margin-left: 1px;
  font-weight: 300;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Mockup send button */
.mockup-send-btn {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.62rem 1rem;
  background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  color: #1a0900;
  border: none;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: default;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.3s ease;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  opacity: 0;
}

.mockup-send-btn.ready {
  opacity: 1;
}

.mockup-send-btn.pressed {
  transform: scale(0.955);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.mockup-status {
  margin-top: 0.9rem;
  background: var(--success-bg);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.83rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mockup-time-badge {
  margin-top: 0.6rem;
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mockup-time-badge strong { color: #d97706; }

/* ─── URGENCY BAR ────────────────────────────── */
.urgency-bar {
  background: linear-gradient(90deg, #fff7ed, #fef3c7 40%, #fff7ed 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.35);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
}

.urgency-bar p {
  margin: 0;
  padding: 0.82rem 0;
  font-weight: 700;
  font-size: 0.93rem;
  text-align: center;
  color: #92400e;
}

.urgency-link {
  color: #b45309;
  margin-left: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.urgency-link:hover { color: #78350f; }

/* ─── SECTIONS ───────────────────────────────── */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(219, 234, 254, 0.5), transparent 60%),
    rgba(238, 245, 255, 0.8);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── CARD BASE ──────────────────────────────── */
.card {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.35);
}

/* ─── STEPS (How it works) ───────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 300;
  padding: 0 0.5rem;
  margin-top: 3.5rem;
  opacity: 0.5;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border-radius: 0 var(--r-lg) 0 var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.step-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.14));
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.step-card p { color: var(--text-soft); font-size: 0.93rem; margin: 0; }

/* ─── FEATURES GRID ──────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
}

.feature-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.feature-card p  { color: var(--text-soft); font-size: 0.93rem; margin: 0; }

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.feature-icon-wrap--yellow { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.28); }
.feature-icon-wrap--blue   { background: rgba(37, 99, 235, 0.10);  border: 1px solid rgba(37, 99, 235, 0.22); }
.feature-icon-wrap--green  { background: rgba(22, 163, 74, 0.10);  border: 1px solid rgba(22, 163, 74, 0.22); }
.feature-icon-wrap--purple { background: rgba(168, 85, 247, 0.10); border: 1px solid rgba(168, 85, 247, 0.22); }

/* ─── COMPARISON TABLE ───────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.9rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--text);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-soft);
}

.comparison-table thead th {
  background: var(--surface-mid);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table .last-row td { border-bottom: none; }

.col-us {
  background: rgba(37, 99, 235, 0.05);
  font-weight: 700;
  color: var(--text);
}

.col-us-label {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

.table-highlight {
  background: linear-gradient(120deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 1rem;
}

.table-slow { color: var(--muted); font-size: 0.88rem; }

.table-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.9rem;
}

/* ─── PRICING ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1060px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-top { margin-bottom: 1.2rem; }

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-desc {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin: 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.92rem;
  padding-left: 1.4rem;
  position: relative;
}

.feat-yes { color: var(--text-soft); }
.feat-yes::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.feat-no { color: var(--muted); }
.feat-no::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: rgba(148, 163, 184, 0.6);
}

.featured {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14), var(--shadow-md);
  position: relative;
}

.badge {
  display: inline-block;
  margin-bottom: 0.8rem;
  background: var(--accent-dim);
  color: var(--accent-strong);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.7rem;
  margin-bottom: 0;
}

.free-month-banner {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.6rem;
  background: var(--accent-dim);
  border: 1.5px solid rgba(37, 99, 235, 0.3);
  border-radius: 50px;
  font-size: 1rem;
  color: var(--text);
}

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-stars { font-size: 1rem; }

.testimonial-quote {
  color: var(--text-soft);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 2px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; gap: 0.1rem; }
.author-info strong { font-size: 0.9rem; color: var(--text); }
.author-info small  { font-size: 0.78rem; color: var(--muted); }

/* ─── FAQ ─────────────────────────────────────── */
.faq {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0 1.1rem;
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.faq details[open] {
  border-color: rgba(37, 99, 235, 0.4);
  background: #f8faff;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.97rem;
  color: var(--text);
  user-select: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ─── FINAL CTA ───────────────────────────────── */
.final-cta {
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.08), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.10), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(219, 234, 254, 0.4), transparent 70%),
    #eef5ff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.final-cta-inner { position: relative; }

.final-cta-badge {
  display: inline-block;
  background: var(--cta-dim);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.9rem;
  line-height: 1.15;
  color: var(--text);
}

.final-cta p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.final-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* ─── FOOTER ──────────────────────────────────── */
.site-footer {
  background: #f1f5f9;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand { margin-bottom: 1rem; }

.footer-desc {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 36ch;
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col strong {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ─── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-right {
  transform: translateX(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.steps-grid .step-card:nth-child(1) { transition-delay: 0.05s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.15s; }
.steps-grid .step-card:nth-child(5) { transition-delay: 0.25s; }

.features-grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.12s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.19s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.26s; }

.testimonials-grid .testimonial:nth-child(1) { transition-delay: 0.05s; }
.testimonials-grid .testimonial:nth-child(2) { transition-delay: 0.14s; }
.testimonials-grid .testimonial:nth-child(3) { transition-delay: 0.23s; }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-cta   { display: none; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-connector { display: none; }
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero { min-height: auto; padding: 2.5rem 0; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .comparison-table th,
  .comparison-table td { padding: 0.65rem 0.7rem; font-size: 0.84rem; }

  .section { padding: 3.5rem 0; }

  .final-trust {
    gap: 0.8rem;
    font-size: 0.8rem;
  }

  .footer-links { grid-template-columns: 1fr 1fr; }
}

/* ─── STATS / SOCIAL PROOF ──────────────────────── */
.stats-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 100%);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 3rem;
  flex: 1;
  min-width: 160px;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-item .stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: var(--line-strong);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .stats-grid {
    gap: 0;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
    padding: 1.2rem 1rem;
    border: none;
  }

  .stat-divider {
    display: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ─── HAMBURGER BUTTON ───────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, border-color 0.18s;
  flex-shrink: 0;
}

.hamburger:hover {
  background: var(--accent-dim);
  border-color: rgba(37, 99, 235, 0.35);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.18s ease,
              width     0.28s ease;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV DRAWER ──────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
  padding: 5rem 1.5rem 1.8rem;
  flex-direction: column;
  gap: 0.2rem;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background 0.16s, color 0.16s;
}

.mobile-nav-link:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mobile-nav-actions .btn-block {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .mobilezacznij {
    display: none !important;
  }
}