/* ==========================================================================
   KDP ADS INSIDER: STYLESHEET (DESIGN AGENCY LEVEL / AWWWARDS QUALITY)
   Architektura: CSS Custom Properties, Vanilla CSS, Zero Build-Step
   Autor: Damian Zajfert / Profity Online
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (ZMIENNE MOTYWU)
   -------------------------------------------------------------------------- */
:root {
  /* Kolorystyka: Szlachetny papier, nocny heban i akcenty miedzi oraz zysku */
  --bg-page: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-surface-soft: #F5EFEB;
  --bg-surface-elevated: #FFFDFC;
  
  --dark-bg: #121316;
  --dark-surface: #1A1C22;
  --dark-border: rgba(255, 255, 255, 0.08);

  --text-main: #18181B;
  --text-body: #44403C;
  --text-muted: #78716C;
  --text-light: #F4EFEB;

  /* Akcenty główne */
  --accent-copper: #D9531E;
  --accent-copper-hover: #C2410C;
  --accent-copper-soft: #FFF3EB;
  --accent-copper-glow: rgba(217, 83, 30, 0.18);

  /* Akcent zysku i rentowności */
  --accent-emerald: #059669;
  --accent-emerald-soft: #ECFDF5;
  --accent-emerald-border: #A7F3D0;

  /* Obramowania i separatory */
  --border-light: rgba(24, 24, 27, 0.08);
  --border-medium: rgba(24, 24, 27, 0.14);
  --border-card: rgba(217, 83, 30, 0.12);

  /* Typografia */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Promienie zaokrągleń */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Cienie */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.09);
  --shadow-copper: 0 12px 30px -6px rgba(217, 83, 30, 0.28);

  /* Easing i przejścia */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   2. RESET & BAZA
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Lenis przejmuje kontrolę nad scrollem */
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--text-body);
  overflow-x: hidden;
  position: relative;
  selection-background-color: var(--accent-copper-soft);
  selection-color: var(--accent-copper);
}

::selection {
  background: #FFEDD5;
  color: #9A3412;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* Układ kontenera */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   3. PRELOADER & SCROLL PROGRESS
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-copper), #F97316, var(--accent-emerald));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.1s linear;
}

.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--dark-bg);
  color: #FFFFFF;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.preloader.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  max-width: 360px;
  width: 90%;
}

.preloader-brand {
  margin-bottom: 2rem;
}

.preloader-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: #FFFFFF;
}

.preloader-sub {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent-copper);
  margin-top: 0.4rem;
  font-weight: 700;
}

.preloader-progress-wrap {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background-color: var(--accent-copper);
  border-radius: var(--radius-full);
  transition: width 0.15s ease-out;
}

.preloader-counter {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAFIA & SPAN SPLIT-WORD
   -------------------------------------------------------------------------- */
.split-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}

.split-word-item {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}

.highlight-copper {
  color: var(--accent-copper);
  position: relative;
  display: inline-block;
}

.highlight-copper::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 100%;
  height: 6px;
  background: var(--accent-copper-glow);
  z-index: -1;
  border-radius: 4px;
}

.section-tag-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-copper);
  background-color: var(--accent-copper-soft);
  border: 1px solid rgba(217, 83, 30, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

.section-tag.tag-light {
  color: #FFAA7A;
  background-color: rgba(217, 83, 30, 0.15);
  border-color: rgba(217, 83, 30, 0.35);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   5. PRZYCISKI MAGNETYCZNE & KOMPONENTY UI
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: var(--accent-copper);
  color: #FFFFFF;
  box-shadow: var(--shadow-copper);
}

.btn-primary:hover {
  background-color: var(--accent-copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(217, 83, 30, 0.36);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-soft);
  border-color: var(--accent-copper);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--accent-copper);
  background-color: var(--accent-copper-soft);
  color: var(--accent-copper);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  background: radial-gradient(circle at 50% 20%, rgba(217, 83, 30, 0.05) 0%, rgba(250, 248, 245, 0) 70%), var(--bg-page);
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-glow-1 {
  width: 450px;
  height: 450px;
  background: rgba(217, 83, 30, 0.12);
  top: -100px;
  right: -100px;
}

.ambient-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(5, 150, 105, 0.08);
  bottom: 0px;
  left: -80px;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--bg-surface);
  border: 1px solid rgba(217, 83, 30, 0.25);
  box-shadow: 0 4px 14px rgba(217, 83, 30, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-copper);
  box-shadow: 0 0 0 0 rgba(217, 83, 30, 0.6);
  animation: pulse-glow 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 83, 30, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(217, 83, 30, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 83, 30, 0); }
}

.badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-main);
  max-width: 1040px;
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-body);
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Pasek zaufania w Hero */
.hero-trust-bar {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

.trust-divider {
  width: 1px;
  height: 34px;
  background-color: var(--border-light);
}

/* --------------------------------------------------------------------------
   7. MARQUEE SECTION
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: 1.5rem 0;
  background-color: var(--dark-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.25);
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.marquee-left .marquee-inner {
  display: flex;
  align-items: center;
  animation: marquee-scroll-left 32s linear infinite;
  will-change: transform;
}

.marquee-right .marquee-inner {
  display: flex;
  align-items: center;
  animation: marquee-scroll-right 36s linear infinite;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  padding: 0 1rem;
}

.marquee-right .marquee-item {
  color: #D1D5DB;
}

.marquee-star {
  color: var(--accent-copper);
  font-size: 0.85rem;
  padding: 0 0.5rem;
}

@keyframes marquee-scroll-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marquee-scroll-right {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* --------------------------------------------------------------------------
   8. MANIFEST SECTION
   -------------------------------------------------------------------------- */
.manifest-section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background-color: var(--bg-surface-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.manifest-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.manifest-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.manifest-word {
  display: inline-block;
  opacity: 0.22;
  transition: opacity 0.3s ease, color 0.3s ease;
  will-change: opacity, color;
  margin-right: 0.28em;
}

.manifest-word.is-active {
  opacity: 1;
  color: var(--text-main);
}

.manifest-footer {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.manifest-author-note {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}

.manifest-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-copper);
}

/* --------------------------------------------------------------------------
   9. OFERTA / USŁUGI (KARTY TILT)
   -------------------------------------------------------------------------- */
.services-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background-color: var(--bg-page);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  border-color: rgba(217, 83, 30, 0.3);
  box-shadow: var(--shadow-lg);
}

.card-glass-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(217, 83, 30, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(24, 24, 27, 0.15);
  line-height: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-copper);
  background: var(--accent-copper-soft);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

/* Mockupy CSS/SVG w kartach */
.card-mockup {
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.mockup-architecture .mockup-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.diagram-node {
  background: #FFFFFF;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  text-align: center;
}

.diagram-arrow {
  color: var(--accent-copper);
  font-weight: 800;
}

.mockup-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.mockup-prompt {
  background-color: #1A1C22;
  color: #E2E8F0;
  font-family: monospace;
}

.mockup-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.code-dot.red { background: #EF4444; }
.code-dot.yellow { background: #F59E0B; }
.code-dot.green { background: #10B981; }

.code-title {
  font-size: 0.7rem;
  color: #94A3B8;
  margin-left: 6px;
}

.mockup-code-body code {
  display: block;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #38BDF8;
}

.mockup-calculator {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.calc-metric {
  background: #FFFFFF;
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.metric-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.2rem;
}

.metric-value.metric-green {
  color: var(--accent-emerald);
}

.mockup-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scale-visual {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
}

.scale-bar {
  width: 14px;
  background-color: #E2E8F0;
  border-radius: 3px 3px 0 0;
}

.scale-bar.bar-1 { height: 16px; }
.scale-bar.bar-2 { height: 24px; }
.scale-bar.bar-3 { height: 32px; }
.scale-bar.bar-4.active {
  height: 40px;
  background: var(--accent-copper);
}

.scale-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.card-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-features li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   10. PROCES / METODA 120 SEKUND (INTERAKTYWNY AKORDEON)
   -------------------------------------------------------------------------- */
.process-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background-color: var(--bg-surface-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-item.is-open {
  border-color: rgba(217, 83, 30, 0.35);
  box-shadow: var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  text-align: left;
  gap: 1.25rem;
}

.step-badge {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-copper);
  background-color: var(--accent-copper-soft);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.step-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--text-main);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: transform 0.3s var(--ease-smooth), background-color 0.2s ease;
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--accent-copper);
  color: #FFFFFF;
}

.accordion-panel {
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}

.accordion-body {
  padding: 0 2rem 1.75rem 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.accordion-body p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.step-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-surface-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   11. STATYSTYKI Z LICZNIKAMI
   -------------------------------------------------------------------------- */
.stats-section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background-color: var(--dark-bg);
  color: #FFFFFF;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-box {
  text-align: center;
  padding: 2rem 1.25rem;
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 83, 30, 0.4);
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--accent-copper);
  margin-left: 2px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #F3F4F6;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: #9CA3AF;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. O MNIE / AUTOR (DAMIAN ZAJFERT)
   -------------------------------------------------------------------------- */
.about-section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background-color: var(--bg-page);
}

.about-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}

.about-image-col {
  position: relative;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-smooth);
}

.about-card:hover .about-img {
  transform: scale(1.03);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(18, 19, 22, 0.4) 100%);
  pointer-events: none;
}

.about-badge-float {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.about-badge-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

.about-content-col {
  display: flex;
  flex-direction: column;
}

.about-content-col .section-tag-wrap {
  justify-content: flex-start;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface-soft);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.chip-icon {
  font-size: 0.85rem;
}

.about-cta-wrap {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   13. CENNIK (3 PLANY, ŚRODKOWY WYRÓŻNIONY)
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background-color: var(--bg-surface-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.pricing-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.card-featured {
  border: 2px solid var(--accent-copper);
  box-shadow: 0 16px 40px -10px rgba(217, 83, 30, 0.2);
  transform: scale(1.03);
  z-index: 2;
  background: #FFFFFF;
}

.pricing-card.card-featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-copper);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
}

.plan-badge-highlight {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-copper);
  background-color: var(--accent-copper-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.plan-old-price {
  font-size: 1.25rem;
  color: #9CA3AF;
  text-decoration: line-through;
  font-weight: 600;
  margin-right: 0.5rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.plan-price.price-highlight {
  color: var(--accent-copper);
}

.plan-currency {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.plan-savings {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-top: 0.4rem;
}

.plan-tax {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.86rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.plan-features li.feature-disabled {
  color: #A8A29E;
  text-decoration: line-through;
}

.plan-features li.feature-disabled::before {
  content: '✕';
  color: #D6D3D1;
}

.plan-action {
  margin-top: auto;
}

/* Pudełko Gwarancji */
.guarantee-box {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.guarantee-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.guarantee-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background-color: var(--bg-page);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(217, 83, 30, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.75rem;
  text-align: left;
  gap: 1rem;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-smooth), color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-copper);
}

.faq-panel {
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth);
}

.faq-body {
  padding: 0 1.75rem 1.5rem 1.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.faq-body p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. FINAŁOWE CTA
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.cta-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-mesh-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 83, 30, 0.22) 0%, rgba(5, 150, 105, 0.08) 50%, transparent 75%);
  filter: blur(80px);
}

.final-cta-container {
  position: relative;
  z-index: 1;
}

.final-cta-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: rgba(26, 28, 34, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.final-cta-text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #D1D5DB;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.final-cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cta-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9CA3AF;
}

.cta-badge-item svg {
  color: var(--accent-copper);
}

/* --------------------------------------------------------------------------
   16. STOPKA
   -------------------------------------------------------------------------- */
.footer-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: 2.5rem;
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.footer-container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-label {
  display: block;
  font-size: 0.88rem;
  color: #9CA3AF;
  margin-bottom: 0.75rem;
}

.footer-mail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #FFFFFF;
  position: relative;
  transition: color 0.25s ease;
}

.footer-mail-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--accent-copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}

.footer-mail-link:hover {
  color: var(--accent-copper);
}

.footer-mail-link:hover::after {
  transform: scaleX(1);
}

.mail-arrow {
  color: var(--accent-copper);
  transition: transform 0.25s ease;
}

.footer-mail-link:hover .mail-arrow {
  transform: translate(3px, -3px);
}

.footer-col-meta {
  display: flex;
  gap: 3rem;
}

.footer-meta-block {
  display: flex;
  flex-direction: column;
}

.meta-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-bottom: 0.35rem;
}

.meta-desc {
  font-size: 0.92rem;
  font-weight: 600;
  color: #E5E7EB;
}

.footer-bottom {
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #6B7280;
  flex-wrap: wrap;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-link:hover {
  color: #FFFFFF;
}

.footer-disclaimer {
  max-width: 520px;
  font-size: 0.72rem;
  color: #4B5563;
  line-height: 1.5;
}

/* Gigantyczny napis w tle stopki */
.footer-giant-bg {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.giant-text {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  letter-spacing: -0.04em;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   17. RESPONSYWNOŚĆ (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.card-featured {
    transform: none;
  }

  .pricing-card.card-featured:hover {
    transform: translateY(-6px);
  }

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

@media (max-width: 768px) {
  .hero-trust-bar {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 380px;
  }

  .trust-divider {
    width: 60px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col-meta {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   18. PREFERS-REDUCED-MOTION (DOSTĘPNOŚĆ & PERFORMANCE)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .preloader {
    display: none !important;
  }

  .split-word-item {
    transform: none !important;
  }

  .manifest-word {
    opacity: 1 !important;
  }

  .service-card, .pricing-card {
    transform: none !important;
  }
}
