/* ============================================================
   THEME SYSTEM - Dark/Light Mode
   Auto-detection + Manual Toggle
   ============================================================ */

:root {
  /* KOLORY Z LOGO (nie zmieniają się) */
  --brand-blue: #168bd5;
  --brand-lime: #a6ff00;
  --l-blue: #0056a7;

  /* RADIA (nie zmieniają się) */
  --radius-xl: 24px;
  --radius-lg: 18px;

  /* TOPBAR HEIGHT */
  --topbar-height: 48px;
}

/* ============================================================
   DARK THEME (default)
   ============================================================ */
:root,
:root[data-theme="dark"] {
  /* TŁO */
  --bg-primary: #01030a;
  --bg-secondary: #0b1120;
  --bg-tertiary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-hover: rgba(37, 99, 235, 0.1);

  /* TEKSTY */
  --text-primary: #ffffff;
  --text-secondary: #dbeafe;
  --text-muted: #7c89a6;
  --text-inverse: #01030a;

  /* AKCENTY */
  --accent: #168bd5;
  --accent-strong: #0a5888;
  --accent-soft: rgba(0, 59, 255, 0.16);
  --accent-lime: #a6ff00;
  --accent-lime-soft: rgba(166, 255, 0, 0.22);

  /* BORDERS & SHADOWS */
  --border-primary: rgba(255, 255, 255, 0.12);
  --border-secondary: rgba(148, 163, 184, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 20px rgba(0, 59, 255, 0.2);
  --shadow-lg: 0 18px 45px rgba(0, 59, 255, 0.25);

  /* GRADIENTS */
  --gradient-bg: radial-gradient(circle at top left, #374e81 0, #0c174e 45%, #020617 100%);
  --gradient-card: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.3), #020617 70%);
  --hero-bg: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --section-gradient: var(--gradient-bg);
  --next-course-bg: var(--bg-secondary);
  --about-bg: var(--bg-primary);
  --pricing-bg: var(--bg-primary);
  --reviews-bg: var(--bg-secondary);
  --faq-bg-gradient: var(--bg-primary);
  --contact-bg: var(--bg-secondary);
  --spj-bg: var(--bg-primary);
  --news-bg: var(--bg-secondary);
  --pkk-section-bg: var(--bg-primary);

  /* NAVBAR */
  --navbar-bg: rgba(1, 3, 10, 0.95);
  --navbar-border: rgba(255, 255, 255, 0.1);

  /* MOBILE MENU */
  --menu-overlay-bg: rgba(11, 17, 32, 0.98);
  --menu-text: #ffffff;
  --menu-link-hover: #60a5fa;

  /* CARDS */
  --card-bg: rgba(15, 23, 42, 0.85);
  --card-border: rgba(148, 163, 184, 0.35);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --card-hover-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

  /* HERO */
  --hero-overlay: linear-gradient(135deg, rgba(0, 8, 20, 0.7) 0%, rgba(0, 8, 20, 0.5) 100%);
  --hero-text: #ffffff;
  --hero-badge-bg: rgba(15, 23, 42, 0.9);
  --hero-badge-border: rgba(148, 163, 184, 0.4);
  --hero-badge-text: #e5e7eb;
  --hero-pill-bg: rgba(15, 23, 42, 0.9);
  --hero-pill-border: rgba(148, 163, 184, 0.6);
  --hero-pill-text: #e5e7eb;
  --hero-strip-text: #01030a;
  --hero-right-text: #ffffff;
  --hero-right-bg: rgba(15, 23, 42, 0.85);

  /* BUTTONS */
  --btn-primary-bg: linear-gradient(135deg, #2563eb, #0ea5e9);
  --btn-primary-text: #ffffff;
  --btn-primary-hover: linear-gradient(135deg, #1d4ed8, #0284c7);
  --btn-primary-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);

  --btn-outline-bg: rgba(15, 23, 42, 0.75);
  --btn-outline-border: rgba(148, 163, 184, 0.6);
  --btn-outline-text: #e5e7eb;
  --btn-outline-hover-bg: rgba(15, 23, 42, 0.95);
  --btn-outline-hover-border: rgba(148, 163, 184, 1);
  --btn-outline-hover-text: #f9fafb;

  /* TOPBAR */
  --topbar-bg: rgba(0, 8, 20, 0.75);
  --topbar-text: #e2eaff;
  --topbar-label: #9cc4ff;
  --topbar-border: rgba(255, 255, 255, 0.08);
  --topbar-cta-bg: linear-gradient(135deg, #2563eb, #0ea5e9);
  --topbar-cta-text: #ffffff;
  --topbar-cta-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
  --topbar-cta-shadow-hover: 0 0 18px rgba(37, 99, 235, 0.7);

  /* FORMS */
  --input-bg: rgba(15, 23, 42, 0.9);
  --input-border: rgba(148, 163, 184, 0.7);
  --input-text: #ffffff;
  --input-placeholder: rgba(255, 255, 255, 0.5);
  --input-focus-border: #60a5fa;

  /* PRICING */
  --pricing-card-bg: rgba(15, 23, 42, 0.96);
  --pricing-card-border: rgba(148, 163, 184, 0.6);
  --pricing-card-shadow: 0 18px 45px rgba(0, 59, 255, 0.25);
  --pricing-card-shadow-hover: 0 25px 60px rgba(0, 59, 255, 0.35);
  --pricing-ribbon-text: #01030a;
  --pricing-btn-shadow: 0 18px 35px rgba(37, 99, 235, 0.7);
  --pricing-btn-shadow-hover: 0 22px 45px rgba(37, 99, 235, 0.85);
  --pricing-note-bg: rgba(15, 23, 42, 0.85);
  --pricing-note-border: rgba(148, 163, 184, 0.3);
  --pricing-note-text: #94a3b8;

  /* REVIEWS */
  --review-card-bg: rgba(15, 23, 42, 0.85);
  --review-card-border: rgba(148, 163, 184, 0.35);
  --review-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --review-card-shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.4);

  /* CONTACT */
  --contact-card-bg: rgba(15, 23, 42, 0.96);
  --contact-card-border: rgba(148, 163, 184, 0.7);
  --contact-card-shadow: 0 18px 45px rgba(0, 59, 255, 0.25);

  /* FAQ */
  --faq-tab-bg: rgba(255, 255, 255, 0.12);
  --faq-tab-border: rgba(255, 255, 255, 0.22);
  --faq-tab-hover-bg: rgba(255, 255, 255, 0.25);
  --faq-tab-active-text: #ffffff;

  /* OVERRIDES FOR HERO V3 */
  --hero-title-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --hero-subtitle-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  --hero-img-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --faq-item-bg: rgba(15, 23, 42, 0.85);
  --faq-item-border: rgba(148, 163, 184, 0.4);
  --faq-accordion-active-bg: rgba(0, 59, 255, 0.25);

  /* PKK */
  --pkk-box-bg: rgba(255, 255, 255, 0.06);
  --pkk-box-border: rgba(255, 255, 255, 0.2);
  --pkk-box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  --pkk-kicker-color: #60a5fa;
  --pkk-title-color: #ffffff;
  --pkk-subtitle-color: #cbd5f5;
  --pkk-feature-bg: rgba(255, 255, 255, 0.08);
  --pkk-feature-border: rgba(255, 255, 255, 0.25);
  --pkk-feature-text: #e5e7eb;
  --pkk-feature-icon: #60a5fa;
  --pkk-step-number-bg: #60a5fa;
  --pkk-step-number-text: #000000;
  --pkk-badge-bg: rgba(96, 165, 250, 0.15);
  --pkk-badge-text: #60a5fa;
  --pkk-badge-border: rgba(96, 165, 250, 0.3);

  /* FOOTER */
  --footer-bg: rgba(3, 7, 18, 0.98);
  --footer-text: #9ca3af;
  --footer-link: #bfdbfe;
  --footer-border: rgba(148, 163, 184, 0.4);

  /* SUCCESS/ERROR STATES */
  --success-bg: rgba(34, 197, 94, 0.15);
  --success-border: #22c55e;
  --success-text: #4ade80;

  --error-bg: rgba(239, 68, 68, 0.15);
  --error-border: #ef4444;
  --error-text: #f87171;

  --warning-bg: rgba(245, 158, 11, 0.15);
  --warning-border: #f59e0b;
  --warning-text: #fbbf24;

  --info-bg: rgba(59, 130, 246, 0.15);
  --info-border: #3b82f6;
  --info-text: #60a5fa;
}

/* ============================================================
   LIGHT THEME - Full WCAG AA Compliance + Enhanced Readability
   ============================================================ */
:root[data-theme="light"] {
  /* ========== CORE DESIGN TOKENS ========== */

  /* TŁO - LAYERED SYSTEM */
  --bg: #ffffff;
  /* Główne tło */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  /* Sekcje naprzemienne */
  --bg-tertiary: #eef1f5;
  /* Mocniejszy kontrast */
  --bg-card: #ffffff;
  --bg-hover: rgba(0, 102, 204, 0.04);
  --bg-section: #f7f8fa;
  --bg-elevated: #ffffff;
  /* Karty, modale */

  /* SURFACE - dla kart i elementów UI */
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef1f5;
  --surface-hover: #f0f4f8;

  /* HERO & SECTIONS GRADIENTS (matching dark theme complexity) */
  --gradient-bg: radial-gradient(circle at top left, #eef5ff 0%, #f7faff 45%, #ffffff 100%);
  --gradient-hero: radial-gradient(circle at 100% 0%, #fdfdff 0%, #f0f7ff 50%, #eef5ff 100%);
  --hero-bg: var(--gradient-hero);
  --section-gradient: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  --next-course-bg: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  --about-bg: radial-gradient(circle at 0% 100%, #f8faff 0%, #ffffff 100%);
  --pricing-bg: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  --reviews-bg: radial-gradient(circle at 50% 50%, #fdfdff 0%, #f5faff 100%);
  --faq-bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  --contact-bg: radial-gradient(circle at 100% 100%, #f7faff 0%, #ffffff 100%);

  /* TEKSTY - WCAG AA compliant */
  --text: #1a1a2e;
  /* Główny tekst - ratio 14:1 */
  --text-primary: #1a1a2e;
  --text-secondary: #3d4663;
  /* Podtytuły - ratio 7:1 */
  --text-muted: #5a6178;
  /* Pomocniczy - ratio 4.7:1 */
  --text-inverse: #ffffff;
  --text-on-accent: #ffffff;

  /* AKCENTY - Żywe i wyraźne */
  --accent: #0066cc;
  /* Główny akcent */
  --accent-strong: #004d99;
  --accent-soft: rgba(0, 102, 204, 0.08);
  --accent-hover: #0052a3;
  --accent-2: #168bd5;
  /* Drugorzędny akcent */

  --accent-lime: #2e7d32;
  /* Zielony - WCAG AA */
  --accent-lime-strong: #1b5e20;
  --accent-lime-soft: rgba(46, 125, 50, 0.08);
  --accent-lime-hover: #1b5e20;
  --accent-lime-light: #4caf50;
  /* Dla ikon/dekoracji */

  /* BORDERS - Wyraźne podziały */
  --border: #d1d5db;
  --border-primary: #d1d5db;
  --border-secondary: #e5e7eb;
  --border-light: #f0f0f0;
  --border-focus: #0066cc;
  --border-strong: #9ca3af;

  /* SHADOWS - Głębia i hierarchia */
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);

  /* OVERRIDES FOR HERO V3 - LIGHT MODE */
  --hero-title-shadow: none;
  --hero-subtitle-shadow: none;
  --hero-img-shadow: 0 25px 60px rgba(0, 102, 204, 0.12);

  /* SPACING & RADIUS */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --space: 1rem;
  --space-sm: 0.5rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* FOCUS - Accessibility */
  --focus: 0 0 0 3px rgba(0, 102, 204, 0.4);
  --focus-ring: 0 0 0 3px rgba(0, 102, 204, 0.4);

  /* GRADIENTS - Subtelne gradienty */
  --gradient-card: #ffffff;

  /* NAVBAR */
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-border: #d1d5db;
  --navbar-text: #1a1a2e;
  --navbar-link-hover: #0066cc;

  /* MOBILE MENU */
  --menu-overlay-bg: #ffffff;
  --menu-text: #1a1a2e;
  --menu-link-hover: #0066cc;
  --menu-accent: #2e7d32;

  /* BUTTONS */
  --btn-primary-bg: #0066cc;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #0052a3;
  --btn-primary-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);

  --btn-secondary-bg: #2e7d32;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover: #1b5e20;
  --btn-secondary-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);

  --btn-outline-bg: transparent;
  --btn-outline-border: #0066cc;
  --btn-outline-text: #0066cc;
  --btn-outline-hover-bg: #0066cc;
  --btn-outline-hover-text: #ffffff;
  --btn-outline-hover-border: #0052a3;

  /* FORMS */
  --input-bg: #ffffff;
  --input-border: #d1d5db;
  --input-text: #1a1a2e;
  --input-placeholder: #6b7280;
  --input-focus-border: #0066cc;
  --input-focus-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);

  /* CARDS */
  --card-bg: #ffffff;
  --card-border: #d1d5db;
  --card-shadow: var(--shadow-card);
  --card-hover-shadow: var(--shadow-card-hover);

  /* ========== HERO SECTION ========== */
  --hero-overlay: linear-gradient(135deg, rgba(247, 248, 250, 0.92) 0%, rgba(232, 237, 245, 0.88) 100%);
  --hero-text: #1a1a2e;
  --hero-subtitle: #3d4663;
  --hero-badge-bg: #ffffff;
  --hero-badge-border: #d1d5db;
  --hero-badge-text: #3d4663;
  --hero-pill-bg: #f7f8fa;
  --hero-pill-border: #d1d5db;
  --hero-pill-text: #1a1a2e;
  --hero-strip-text: #1a1a2e;
  --hero-strip-bg: #4caf50;
  --hero-right-text: #1a1a2e;
  --hero-right-bg: rgba(255, 255, 255, 0.95);
  --hero-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  --hero-blob-color: rgba(0, 102, 204, 0.06);

  /* TOPBAR */
  --topbar-bg: #1a1a2e;
  --topbar-text: #ffffff;
  --topbar-label: #4caf50;
  --topbar-border: transparent;
  --topbar-cta-bg: #4caf50;
  --topbar-cta-text: #ffffff;
  --topbar-cta-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
  --topbar-cta-shadow-hover: 0 4px 12px rgba(76, 175, 80, 0.4);

  /* ========== PRICING SECTION ========== */
  --pricing-card-bg: #ffffff;
  --pricing-card-border: #d1d5db;
  --pricing-card-shadow: var(--shadow-card);
  --pricing-card-shadow-hover: var(--shadow-card-hover);
  --pricing-popular-bg: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
  --pricing-popular-border: #0066cc;
  --pricing-ribbon-bg: #4caf50;
  --pricing-ribbon-text: #ffffff;
  --pricing-price-color: #0066cc;
  --pricing-price-glow: none;
  --pricing-feature-icon: #4caf50;
  --pricing-btn-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
  --pricing-btn-shadow-hover: 0 4px 16px rgba(0, 102, 204, 0.3);
  --pricing-note-bg: #f7f8fa;
  --pricing-note-border: #e5e7eb;
  --pricing-note-text: #5a6178;

  /* ========== PKK SECTION ========== */
  --pkk-bg: linear-gradient(135deg, #f0f4f8 0%, #e8edf5 100%);
  --pkk-box-bg: #ffffff;
  --pkk-box-border: #d1d5db;
  --pkk-box-shadow: var(--shadow-lg);
  --pkk-kicker-color: #0066cc;
  --pkk-title-color: #1a1a2e;
  --pkk-subtitle-color: #3d4663;
  --pkk-feature-bg: #f7f8fa;
  --pkk-feature-border: #e5e7eb;
  --pkk-feature-text: #3d4663;
  --pkk-feature-icon: #0066cc;
  --pkk-step-bg: #ffffff;
  --pkk-step-border: #d1d5db;
  --pkk-step-number-bg: #0066cc;
  --pkk-step-number-text: #ffffff;
  --pkk-cta-bg: #4caf50;
  --pkk-cta-text: #ffffff;
  --pkk-badge-bg: #e8f5e9;
  --pkk-badge-text: #2e7d32;
  --pkk-badge-border: #c8e6c9;

  /* REVIEWS */
  --review-bg: #ffffff;
  --review-border: #d1d5db;
  --review-author: #1a1a2e;
  --review-text: #3d4663;
  --review-date: #5a6178;
  --review-card-bg: #ffffff;
  --review-card-border: #d1d5db;
  --review-card-shadow: var(--shadow-card);
  --review-card-shadow-hover: var(--shadow-card-hover);

  /* FAQ */
  --faq-bg: #ffffff;
  --faq-border: #d1d5db;
  --faq-question: #1a1a2e;
  --faq-answer: #3d4663;
  --faq-tab-bg: #f7f8fa;
  --faq-tab-border: #d1d5db;
  --faq-tab-hover-bg: #eef1f5;
  --faq-tab-active-bg: #0066cc;
  --faq-tab-active-text: #ffffff;
  --faq-item-bg: #ffffff;
  --faq-item-border: #e5e7eb;
  --faq-accordion-active-bg: #f0f7ff;

  /* FOOTER */
  --footer-bg: #1a1a2e;
  --footer-text: #d1d5db;
  --footer-link: #4caf50;
  --footer-border: rgba(255, 255, 255, 0.1);

  /* CONTACT */
  --contact-card-bg: #ffffff;
  --contact-card-border: #d1d5db;
  --contact-card-shadow: var(--shadow-card);

  /* SEPARATORS */
  --separator-color: #e5e7eb;

  /* SUCCESS/ERROR STATES */
  --success-bg: #e8f5e9;
  --success-border: #4caf50;
  --success-text: #1b5e20;

  --error-bg: #ffebee;
  --error-border: #f44336;
  --error-text: #c62828;

  --warning-bg: #fff8e1;
  --warning-border: #ff9800;
  --warning-text: #e65100;

  --info-bg: #e3f2fd;
  --info-border: #0066cc;
  --info-text: #0052a3;
}

/* ============================================================
   AUTO DARK/LIGHT based on system preference
   Tylko jeśli użytkownik NIE wybrał ręcznie (brak data-theme)
   ============================================================ */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    /* TŁO */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-hover: rgba(22, 139, 213, 0.05);

    /* TEKSTY */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    /* AKCENTY */
    --accent: #168bd5;
    --accent-strong: #0a5888;
    --accent-soft: rgba(22, 139, 213, 0.1);
    --accent-lime: #84cc16;
    --accent-lime-soft: rgba(132, 204, 22, 0.15);

    /* BORDERS & SHADOWS */
    --border-primary: rgba(15, 23, 42, 0.12);
    --border-secondary: rgba(100, 116, 139, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px rgba(22, 139, 213, 0.12);
    --shadow-lg: 0 18px 45px rgba(22, 139, 213, 0.15);

    /* GRADIENTS */
    --gradient-bg: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #f8fafc 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));

    /* NAVBAR */
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(15, 23, 42, 0.1);

    /* MOBILE MENU */
    --menu-overlay-bg: rgba(255, 255, 255, 0.98);
    --menu-text: #0f172a;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 82px;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--gradient-bg);
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
}

/* =========================================
   Separator – zawsze idealnie na środku
========================================= */

.section-separator {
  position: relative;
  height: 60px;
  /* wysokość separatora */
  display: flex;
  align-items: center;
  /* separator idealnie pośrodku */
  justify-content: center;
  margin: 60px 0;
  /* równy odstęp nad/pod */
  overflow: visible;
  z-index: 10;
}

/* Pasek SVG w środku — nie przykleja się do góry/dół */
.section-separator::before {
  content: "";
  display: block;
  width: 150vw;
  /* szerzej niż ekran */
  height: 24px;
  /* grubość separatora */
  background-repeat: repeat-x;
  background-size: 160px auto;
  animation: float 6s ease-in-out infinite;
}

/* Typy separatorów */


/* Strony */
.section-separator.left::before {
  transform-origin: left center;
}

.section-separator.right::before {
  transform-origin: right center;
}

/* Animacja */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =========================================
   BRAND L-ICON
   ========================================= */
/* =========================================
   BRAND L-ICON REMOVED - NOW USING LOGO IMAGE
   ========================================= */
.brand-logo-dark,
.brand-logo-light {
  height: 40px;
  /* Dostosuj wysokość logo */
  width: auto;
  transition: opacity 0.3s ease;
}

/* Domyślnie (Dark Mode) */
.brand-logo-light {
  display: none;
}

.brand-logo-dark {
  display: block;
}

/* Light Mode */
[data-theme="light"] .brand-logo-light {
  display: block;
}

[data-theme="light"] .brand-logo-dark {
  display: none;
}

.brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

/* =========================================
   MOBILE PHONE BUBBLE
   ========================================= */
.mobile-phone-bubble {
  width: 42px;
  height: 42px;
  background: var(--btn-primary-bg);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--btn-primary-shadow);
  transition: transform 0.2s;
}

.mobile-phone-bubble:active {
  transform: scale(0.9);
}

/* =========================================
   CLASSIC HAMBURGER MENU
   ========================================= */
.hamburger-toggler {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10000;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Animacja otwarcia (X) */
body.menu-open .hamburger-bar:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

body.menu-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

body.menu-open .hamburger-bar:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* =========================================
   MODAL CALL STYLES
   ========================================= */
.call-icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 30px;
}

[data-theme="light"] .modal-content {
  background: #ffffff;
  color: #1a1a2e;
}

[data-theme="dark"] .modal-content {
  background: var(--bg-secondary);
  color: #ffffff;
  border: 1px solid var(--border-primary);
}

/* --- 2. FULLSCREEN OVERLAY --- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  /* top, right, bottom, left: 0 */
  background: var(--menu-overlay-bg);
  backdrop-filter: blur(15px);
  /* Rozmycie tła pod spodem */
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

/* Klasa dodawana przez JS */
body.menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Zapobieganie scrollowaniu strony pod spodem */
body.menu-open {
  overflow: hidden;
}

.menu-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  /* Logo góra, Linki środek, Adres dół */
}

/* --- 3. LISTA LINKÓW --- */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: auto 0;
  /* Centrowanie w pionie */
}

.mobile-nav-list li {
  margin-bottom: 20px;
  overflow: hidden;
  /* Do animacji wyjazdu */
}

.mobile-link {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--menu-text);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--menu-link-hover);
}

.mobile-link.highlight {
  color: var(--accent-lime);
  /* Wyróżniony przycisk */
}

/* --- 5. STOPKA MENU  --- */

.menu-footer {
  /* Usuwamy górną linię, bo teraz mamy ją przed przyciskiem telefonu */
  margin-top: 20px;
  padding-top: 20px;
  border-top: none;
}

.fa-solid {
  color: var(--accent-lime);
}

/* Wyrównanie odstępu między adresami */
.address-item {
  margin-bottom: 25px;
}

.address-item:last-of-type {
  margin-bottom: 0;
  /* Usuń margines na dole ostatniego adresu */
}

.address-link {
  display: flex;
  /* Zamiast inline-flex, żeby lepiej wypełnić przestrzeń */
  align-items: flex-start;
  /* Dopasowanie do wielu linii tekstu */
  text-decoration: none;
  color: var(--menu-text);
  gap: 15px;
  text-align: left;
  transition: transform 0.2s;
  max-width: 350px;
  /* Ograniczenie szerokości na bardzo szerokich ekranach */
  margin: 0 auto;
  /* Centrowanie kontenera adresu */
}

/* Styl dla mniejszego tekstu pod adresem */
.address-text .small.text-muted-address {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Zmieniamy styl przycisku telefonu */
.menu-footer>.mt-4 {
  margin-top: 35px !important;
  /* Większy odstęp od adresów */
  padding-top: 20px;
  /* Padding dla linii */
}

/* --- 5. ANIMACJE (Staggered) --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Kiedy menu otwarte - uruchom animacje */
body.menu-open .fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
  /* Pobiera delay z HTML */
}

.navbar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0.7rem 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--navbar-border);
}

/* USUWAMY ODSĘP KONTEJNERA W NAVBARZE NA DESKTOPIE */
@media (min-width: 992px) {
  #mainNav .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 160px;
  /* FIX: Stała szerokość, zapobiega skakaniu nawigacji przy zmianie motywu */
  justify-content: flex-start;
}

.navbar-brand span.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%,
      #60a5fa 0,
      #1d4ed8 46%,
      #0b1120 100%);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.6);
  font-weight: 900;
  font-size: 1.05rem;
}

.navbar-brand span.logo {
  max-width: 200px;
  max-height: 200px;
  font-size: 1.05rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary) !important;
  opacity: 0.8;
  padding-inline: 0.9rem !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #0ea5e9);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover {
  opacity: 1;
}

.navbar-scrolled {
  transform: translateY(0);
}

/* HERO */

main {
  overflow-x: hidden;
}



@media (min-width: 992px) {
  .hero {
    padding-top: 8.25rem;
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 5.5rem;
  }
}

#hero .container {
  position: relative;
  z-index: 5;
  /* ponad overlay + video */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--hero-badge-bg);
  border: 1px solid var(--hero-badge-border);
  color: var(--hero-badge-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.664);
}

.hero-badge i {
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  text-shadow: var(--hero-title-shadow);
  color: var(--text-primary);
}

.hero-title span.highlight {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--hero-text);
  font-size: 0.98rem;
  max-width: 34rem;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.664);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.btn-primary-hero {
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  /* White text for better contrast on blue */
  background: var(--btn-primary-bg);
  box-shadow: var(--btn-primary-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  color: #fff;
}

.btn-outline-hero {
  border: 2px solid var(--border-secondary);
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.btn-outline-hero:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-primary-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0,
      rgba(248, 250, 252, 0.22),
      transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-primary-hero:hover::before {
  opacity: 1;
}

.btn-outline-hero {
  border-radius: 999px;
  border-width: 1px;
  border-color: var(--btn-outline-border) !important;
  color: var(--btn-outline-text);
  background: var(--btn-outline-bg);
  font-size: 0.94rem;
  padding: 0.74rem 1.45rem;
}

.btn-outline-hero i {
  color: var(--accent-lime);
}

.btn-outline-hero:hover {
  border-color: var(--btn-outline-hover-border) !important;
  background: var(--btn-outline-hover-bg);
  color: var(--btn-outline-hover-text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta span i {
  font-size: 0.9rem;
  color: var(--accent);
}

/* ===================================================== */
/*  WHITE PREMIUM CARD – super czytelna jasna karta      */
/* ===================================================== */

/* PIONOWY LIMONKOWY PASEK */
.hero-vertical-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 72px;
  background: var(--accent);
  display: flex;
  align-items: center;
  /* wyrównanie pionowe */
  justify-content: center;
  /* wyrównanie poziome */
  border-radius: 1.6rem 0 0 1.6rem;
}

/* Wewnętrzny kontener — idealne centrowanie */
.strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* wszystko na sam środek */
  gap: 1rem;
}

/* Ikona */
.hero-vertical-strip i {
  font-size: 1.6rem;
  color: var(--hero-strip-text);
  margin: 0;
  /* usuwamy sztuczne przesunięcie */
}

/* Tekst pionowy, ale czytany normalnie */
.hero-vertical-strip span {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--hero-strip-text);
  text-transform: uppercase;

  writing-mode: vertical-lr;
  /* układ pionowy */
  transform: rotate(0deg);
  /* bez odwracania */
}

/* HERO (V3 - Premium Object layout) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  /* Changed from hidden to allow car overlap if needed */
  padding-top: var(--topbar-height);
  padding-bottom: 0px;
  /* Transition handles the space */
  background: var(--hero-bg);
}

/* Subtly glow in background */
.hero-bg-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 10;
  /* Above the divider (z-index 5) */
}

.hero-subtitle-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  perspective: 1000px;
  /* For 3D tilt effects */
}

.hero-image-v3 {
  width: 130%;
  /* Much bigger */
  max-width: none;
  height: auto;
  filter: drop-shadow(var(--hero-img-shadow));
  transition: transform 0.1s ease-out;
  /* Smooth JS-based movement */
  will-change: transform;
}

/* Base floating animation if JS is not active or as a secondary layer */
.hero-image-v3.auto-float {
  animation: float-v3 6s ease-in-out infinite;
}

@keyframes float-v3 {
  0% {
    transform: perspective(1000px) translateY(0px) rotateX(0deg);
  }

  50% {
    transform: perspective(1000px) translateY(-25px) rotateX(2deg);
  }

  100% {
    transform: perspective(1000px) translateY(0px) rotateX(0deg);
  }
}

/* Shape Divider */
.hero-divider {
  position: absolute;
  bottom: -1px;
  /* Avoid tiny gaps */
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 5;
  filter: drop-shadow(0 -10px 10px rgba(0, 0, 0, 0.05));
  /* Subtle depth */
}

.hero-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.hero-divider .shape-fill {
  fill: var(--bg-secondary);
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-divider {
    display: none;
    /* Hide divider on mobile for simpler layout if it conflicts */
  }
}

.next-course-section {
  background: var(--next-course-bg);
  padding-top: 5rem;
  margin-top: -1px;
  /* Anti-gap */
}

.course-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.course-title-v2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
}

.course-details-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-item-v2 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-item-v2 i {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.detail-item-v2 strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.detail-item-v2 span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.course-desc-v2 {
  color: var(--text-secondary);
  line-height: 1.6;
}

.course-actions-v2 .btn-primary-hero {
  padding: 0.8rem 2rem;
}

.hero-right-card {
  background: #ffffff00;
  backdrop-filter: blur(8px);
  border-radius: 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.4rem 2.2rem;
  position: relative;
  max-width: 520px;
  margin-left: auto;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.18),
    0 2px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .hero-right-card {
    margin-top: -4rem !important;
  }
}

/* HEADER PILL */
.hero-right-pill {
  background: var(--hero-pill-bg);
  padding: 0.45rem 1rem;
  font-size: 0.83rem;
  border-radius: 999px;
  color: var(--hero-pill-text);
  border: 1px solid var(--hero-pill-border);
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.hero-right-kicker {
  font-size: 0.85rem;
  color: var(--accent);
}

/* TYTUŁ */
.hero-right-title {
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--hero-right-text);
  margin-bottom: 1.6rem;
}

/* BLOK 2-KOLUMNOWY */
.hero-right-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.hero-right-highlight-item .label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--hero-right-text);
}

/* OPIS */
.hero-right-sub {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hero-right-text);
  margin-bottom: 1.8rem;
}

/* CTA */
.hero-right-cta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--hero-right-text);
}

/* Link DOJAZD pod miejscem */
.course-map-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent-lime);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.course-map-link:hover {
  opacity: 0.7;
}

/* TRUST BAR */
.trust-bar {
  margin-top: 1.8rem;
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.trust-item i {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.664);
}

/* ========================= */
/*   NEON LIME HERO THEME    */
/* ========================= */

/* Badge icon */
.hero-badge i {
  color: var(--accent-lime) !important;
}

/* CTA icon w outline-hero (np. telefon) */
.btn-outline-hero i {
  color: var(--accent-lime) !important;
}

/* Trust bar icons */
.trust-item i {
  color: var(--accent-lime) !important;
}

/* Right pill icon */
.hero-right-pill i {
  color: var(--accent-lime) !important;
}

/* Highlight values w prawej karcie */
.hero-right-highlight-item .value {
  color: var(--hero-right-text) !important;
  font-size: 1rem;
  font-weight: 700;
}

/* Opcjonalnie: highlight w H1 */
.hero-title .highlight {
  color: var(--accent-lime);
}

/* HERO STATS */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.4rem;
  align-items: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/*  Kolor jak w hero-title */
.hero-stat-value,
.hero-stat-label {
  color: #ffffff;
}

.hero-stat-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-label {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-stats {
    gap: 1.8rem;
  }

  .hero-stat-value {
    font-size: 2.4rem;
  }
}

/* SECTIONS */
section {
  padding-block: 4rem;
  position: relative;
}

@media (min-width: 992px) {
  section {
    padding-block: 4.5rem;
  }
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.96rem;
  max-width: 32rem;
}

/* TREŚĆ */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .about-content-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Teksty */
.kicker {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent-lime);
  font-weight: 600;
}

h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 12px 0 20px;
  color: var(--text-primary);
}

h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-content-wrapper p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Box info */
.about-box {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 18px;
  margin-top: 15px;
  border: 1px solid var(--card-border);
}

/* Placeholder foto */
.team-placeholder {
  height: 180px;
  background: var(--bg-tertiary);
  border-radius: 16px;
  margin: 15px 0;
}

/* Tag lista */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  background: var(--success-bg);
  color: var(--success-text);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Dolny pasek */
.bottom-strip {
  margin-top: 40px;
}



/* ABOUT CARDS */
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.about-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-card h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ABOUT: pełne 50/50 + pełna wysokość zdjęcia */
#about {
  padding-top: clamp(2.2rem, 4vw, 3rem);
  background: var(--about-bg);
}

@media (min-width: 992px) {
  #about .row {
    min-height: 520px;
    align-items: stretch;
  }
}

#about .about-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  background: var(--bg-tertiary);
}

#about .about-photo-card {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

#about .about-photo-card .badge.position-absolute {
  border-radius: 999px;
  z-index: 2;
}

#about .about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero+.section-separator {
  margin-top: 16px;
  margin-bottom: 36px;
}

/*========================= */

/* NAJBLIŻSZY KURS */
.course-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.course-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.course-main {
  position: relative;
  z-index: 1;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.course-meta span i {
  margin-right: 0.35rem;
  color: var(--accent-lime);
}

.course-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.05rem;
  max-width: 30rem;
}

.course-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  color: var(--text-secondary);
}

.course-pill i {
  color: var(--accent-lime);
}

/* ============================================================
   CENNIK — KARTY PREMIUM
   ============================================================ */

#pricing {
  background: var(--pricing-bg);
}

.pricing-card {
  position: relative;
  padding-top: 3.4rem;
  background: var(--pricing-card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--pricing-card-border);
  box-shadow: var(--pricing-card-shadow);
  padding: 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.35s ease;
}

@media (max-width: 768px) {
  .pricing-card {
    min-height: 520px;
  }
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pricing-card-shadow-hover);
  border-color: var(--accent-lime);
}

/* PROMOCJA */
.pricing-ribbon {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: var(--accent-lime);
  color: var(--pricing-ribbon-text);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
}

/* NAGŁÓWEK */
.pricing-header {
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
}

.pricing-header h3 {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  color: var(--text-primary);
}

/* CENA – POWIĘKSZONA */
.price {
  margin: 1rem 0 1.3rem;
}

.old-price {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 0.5rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.new-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-lime);
  text-shadow: var(--pricing-price-glow);
}

/* LISTA CECH */
.pricing-features {
  margin: 1.4rem 0 2rem;
  padding-left: 1.1rem;
  line-height: 1.65rem;
  flex: 1 1 auto;
}

.pricing-features li {
  margin-bottom: 0.55rem;
}

/* STOPKA */
.pricing-footer {
  margin-top: auto;
}

.pricing-footer .btn-primary {
  display: inline-block;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  width: 100%;
  text-align: center;

  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 800;
  font-size: 1.05rem;

  box-shadow: var(--pricing-btn-shadow);
  transition: 0.25s ease;
}

.pricing-footer .btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--pricing-btn-shadow-hover);
}

/* OPINIE */
.reviews-wrapper {
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  padding: 1.5rem 1.4rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.google-badge img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #ffffff;
}

.google-rating {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.google-rating strong {
  font-size: 1.05rem;
  color: #facc15;
  /* Gold star color - always yellow */
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: 0.86rem;
  color: var(--text-primary);
}

.review-author span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.review-source {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.5rem;
}

/* ============================================================
   GOOGLE REVIEWS - LIVE API CARDS
   ============================================================ */

.google-review-card {
  background: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--review-card-shadow);
}

.google-review-card:hover {
  border-color: var(--accent-lime);
  box-shadow: var(--review-card-shadow-hover);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(166, 255, 0, 0.3);
  flex-shrink: 0;
}

.review-author-info {
  flex: 1;
}

.review-author-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.4rem 0;
  line-height: 1.2;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
  color: #facc15;
  font-size: 0.95rem;
}

.review-stars i {
  line-height: 1;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.review-body {
  flex: 1;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-secondary);
}

.google-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.review-source {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Loading State */
.google-review-card .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Error/Empty State */
.google-review-card .fa-triangle-exclamation,
.google-review-card .fa-star {
  font-size: 3rem;
  opacity: 0.6;
}

#reviews {
  background: var(--reviews-bg);
}

/* Carousel Enhancements for Google Reviews */
#reviewsCarousel .carousel-inner {
  min-height: 300px;
  display: flex;
  align-items: stretch;
}

#reviewsCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(22, 139, 213, 0.15);
  border: 1px solid rgba(166, 255, 0, 0.3);
  border-radius: 50%;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

#reviewsCarousel .carousel-control-prev {
  left: -60px;
}

#reviewsCarousel .carousel-control-next {
  right: -60px;
}

#reviewsCarousel .carousel-control-prev:hover,
#reviewsCarousel .carousel-control-next:hover {
  background: rgba(166, 255, 0, 0.2);
  border-color: var(--accent-lime);
  transform: translateY(-50%) scale(1.1);
}

#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Indicators */
#reviewsCarousel .carousel-indicators {
  margin-bottom: -2.5rem;
}

#reviewsCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(148, 163, 184, 0.4);
  border: none;
  transition: all 0.3s ease;
}

#reviewsCarousel .carousel-indicators .active {
  background-color: var(--accent-lime);
  width: 12px;
  height: 12px;
}

/* Responsive */
@media (max-width: 991px) {

  #reviewsCarousel .carousel-control-prev,
  #reviewsCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  #reviewsCarousel .carousel-control-prev {
    left: -50px;
  }

  #reviewsCarousel .carousel-control-next {
    right: -50px;
  }
}

@media (max-width: 767px) {
  .google-review-card {
    padding: 1.25rem;
    min-height: 260px;
  }

  .review-avatar {
    width: 50px;
    height: 50px;
  }

  .review-author-name {
    font-size: 0.95rem;
  }

  .review-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  #reviewsCarousel .carousel-control-prev,
  #reviewsCarousel .carousel-control-next {
    display: none;
    /* Ukryj strzałki na mobile - swipe only */
  }

  #reviewsCarousel .carousel-indicators {
    margin-bottom: -1.5rem;
  }
}

/* KONTAKT */
#contact {
  background: var(--contact-bg);
  padding: 5rem 0;
  position: relative;
}

.contact-card {
  background: var(--contact-card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--contact-card-border);
  box-shadow: var(--contact-card-shadow);
  padding: 1.7rem 1.6rem;
}

.form-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-lime);
  margin-bottom: 0.3rem;
}

.form-control,
.form-select {
  background-color: var(--input-bg);
  border-radius: 0.9rem;
  border: 1px solid var(--input-border);
  color: var(--input-text) !important;
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--input-focus-border);
  color: var(--input-text) !important;
  box-shadow: 0 0 0 1px var(--input-focus-border);
  background-color: var(--input-bg);
}

.form-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* PLACEHOLDER – uses theme colors */
.form-control::placeholder,
.form-select::placeholder,
textarea::placeholder {
  color: var(--input-placeholder) !important;
  opacity: 1 !important;
}

input:-webkit-autofill::first-line {
  color: var(--input-text) !important;
}

/* Input text color using theme variables */
.form-control,
.form-select,
textarea {
  color: var(--input-text) !important;
}

.honeypot-wrap {
  position: absolute;
  left: -10000px;
  top: -10000px;
  visibility: hidden;
  opacity: 0;
}

.btn-contact {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-size: 0.96rem;
  font-weight: 600;
  border: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
  width: 100%;
}

.btn-contact:hover {
  background: var(--btn-primary-hover);
}

.contact-meta-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 1.4rem 1.3rem;
  height: 100%;
}

.contact-meta-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.contact-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.05rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.contact-meta-list i {
  margin-top: 0.2rem;
  color: var(--accent-lime);
}

/* =========================================
   MAPY
   ========================================= */

/* Kontener główny - musi być relative, by overlay działał.
   Odpowiada za wysokość i proporcje mapy. */
.map-container {
  position: relative;
  width: 100%;
  /* 75% dla proporcji 4:3 (450/600 * 100%) - ustawia wysokość */
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 1.1rem;
}

/* Właściwa mapa (iframe) - wypełnia kontener i jest domyślnie ukryta (opacity: 0) */
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* Stan początkowy: ukryta */
  transition: opacity 0.5s ease;
}

/* Stan, gdy mapa jest wczytana (klasa dodana przez JS) */
.map-container.loaded iframe {
  opacity: 1;
  /* Odsłonięcie mapy */
}

/* Overlay / Placeholder - to, co widzi użytkownik, zanim mapa się wczyta */
.map-placeholder-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  /* Musi być na wierzchu iframe'a */
  cursor: default;
  /* Nie klikalny, wczytywanie po scrollu */

  /* WIZUALNA STYLIZACJA (wzór dashowanej ramki) */
  border-radius: 1.1rem;
  border: 1px dashed var(--border-secondary);
  background: var(--bg-tertiary);

  /* CENTROWANIE ZAWARTOŚCI */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.78rem;

  transition: opacity 0.5s ease;
}

/* Ukrycie overlay'a, gdy mapa jest wczytana (klasa dodana przez JS) */
.map-container.loaded .map-placeholder-content {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Wyłączenie interakcji */
}

/* Styl ikony wewnątrz placeholder'a */
.map-placeholder-content i {
  font-size: 1.5rem;
  color: var(--accent);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--footer-border);
  padding-block: 1.9rem;
  background: var(--footer-bg);
  font-size: 0.8rem;
  color: var(--footer-text);
}

footer a {
  color: var(--footer-link);
}

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

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* MISC */
.badge-soft {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.small-pill {
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border-primary);
  font-size: 0.7rem;
  color: var(--text-primary);
}

.form-status {
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.form-status.success {
  color: var(--success-text);
}

.form-status.error {
  color: var(--error-text);
}

@media (max-width: 575.98px) {
  .trust-bar {
    border-radius: 1.1rem;
  }

  .hero-right-card {
    margin-top: 2rem;
  }
}

/* ===================== */
/* DESKTOP – klasyczny cover */
/* ===================== */

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;

  /* desktop: pełna wysokość */
  height: 100vh;
  width: calc(100vh * 1.777);
  /* 16:9 */
}

/* ===================== */
/* MOBILE – pionowy ekwiwalent 9:16 */
/* ===================== */

@media (max-width: 768px) {
  .video-bg iframe {
    /* teraz wysokość = 100% ekranu */
    height: 100vh;

    /* szerokość MUSI przekraczać ekran, by uzyskać pionowy crop */
    width: calc(100vh * 0.5625);
    /* odwrotność 16:9 → 9:16 */
    /* ALE to nadal za mało – musimy powiększyć x2, aby nie było pasów */
    width: calc((100vh * 0.5625) * 2);
  }
}

/* Bardzo małe telefony */
@media (max-width: 420px) {
  .video-bg iframe {
    height: 120vh;
    width: calc((120vh * 0.5625) * 2);
  }
}

/* =============================== */
/* SPEEDRAMP CINEMATIC TRANSITION  */
/* =============================== */

#speedramp {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Pełny ekran */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kontener na video */
.speedramp-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* Iframe jak background-size: cover */
.speedramp-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170vw;
  height: 170vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Overlay */
.speedramp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 20, 0.4);
  backdrop-filter: brightness(0.55);
  z-index: 2;
}

/* Treść (opcjonalna) */
.speedramp-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  /* Always white on video overlay */
}

.speedramp-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeIn 1.4s ease forwards 0.4s;
}

/* Responsive mobile fix */
@media (max-width: 768px) {
  #speedramp {
    height: 100vh;
  }

  .speedramp-video iframe {
    width: 250vw;
    height: 250vh;
  }
}

@media (max-width: 420px) {
  .speedramp-video iframe {
    width: 300vw;
    height: 300vh;
  }
}

/* Fade effect (optional) */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =================== */
/*     TOP BAR         */
/* =================== */

.topbar {
  width: 100%;
  padding: 8px 0;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px) brightness(1.1);
  border-bottom: 1px solid var(--topbar-border);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.topbar .container {
  gap: 1rem;
}

.topbar-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--topbar-label);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-info {
  color: var(--topbar-text) !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.topbar-cta {
  background: var(--topbar-cta-bg);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--topbar-cta-text);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--topbar-cta-shadow);
  transition: 0.25s ease;
}

.topbar-cta:hover {
  box-shadow: var(--topbar-cta-shadow-hover);
  transform: translateY(-1px);
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .topbar {
    padding: 10px 0;
  }

  .topbar .container {
    flex-direction: column;
    text-align: center;
  }

  .topbar-cta {
    margin-top: 4px;
    color: var(--topbar-cta-text) !important;
  }

  .topbar-info {
    color: var(--topbar-text) !important;
  }
}

.faq-tabs {
  gap: 0.6rem;
}

.faq-tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--faq-tab-bg);
  border: 1px solid var(--faq-tab-border);
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.25s;
}

.faq-tab:hover {
  background: var(--faq-tab-hover-bg);
}

.faq-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--faq-tab-active-text);
}

.faq-item {
  background: var(--faq-item-bg);
  border: 1px solid var(--faq-item-border);
  border-radius: 18px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-item .accordion-button {
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
}

.faq-item .accordion-button:not(.collapsed) {
  background: var(--faq-accordion-active-bg);
  color: var(--accent-lime);
}

.faq-item .accordion-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  /* pojawia się idealnie pod FAQ */
  left: 0;
  margin-top: 0.4rem;
  min-width: 200px;
  background: rgba(0, 8, 20, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  z-index: 1000;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav-item.dropdown:hover>.nav-link {
    opacity: 1;
    color: var(--accent-lime);
  }
}

@media (max-width: 992px) {
  .navbar {
    backdrop-filter: none;
  }

  .topbar {
    margin-bottom: 20px;
  }

  .topbar .container {
    gap: none;
  }
}

@media (max-width: 992px) {
  .py-2 {
    padding-top: 2rem !important;
    padding-bottom: 0rem !important;
  }
}

/* ========================== */
/*   SEK CJA PKK – HOME       */
/* ========================== */

.section-pkk {
  background: var(--pkk-section-bg);
  padding: 5rem 0;
  position: relative;
}

.pkk-box {
  background: var(--pkk-box-bg, var(--card-bg));
  border: 1px solid var(--pkk-box-border, var(--card-border));
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  box-shadow: var(--pkk-box-shadow, var(--shadow-lg));
}

.pkk-left {
  flex: 1;
  min-width: 260px;
}

.pkk-right {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pkk-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pkk-kicker-color, var(--accent));
}

.pkk-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--pkk-title-color, var(--text-primary));
}

.pkk-subtitle {
  color: var(--pkk-subtitle-color, var(--text-secondary));
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.pkk-feature {
  background: var(--pkk-feature-bg, var(--bg-secondary));
  border: 1px solid var(--pkk-feature-border, var(--border-primary));
  padding: 1rem 1.2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--pkk-feature-text, var(--text-secondary));
  font-size: 0.95rem;
}

.pkk-feature i {
  font-size: 1.25rem;
  color: var(--pkk-feature-icon, var(--accent));
}

/* CTA Button – reusing primary hero button */
.pkk-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
}

/* PKK Steps Timeline - Base Styles */
.pkk-steps {
  margin: 2rem 0;
}

.pkk-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.pkk-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: -1.5rem;
  width: 2px;
  background: var(--border-primary);
}

.pkk-step-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--pkk-step-number-bg, var(--accent));
  color: var(--pkk-step-number-text, var(--text-inverse));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.pkk-step-content {
  flex: 1;
  padding-top: 0.25rem;
}

.pkk-step-content h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
}

.pkk-step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* PKK CTA Group */
.pkk-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* PKK Info Card */
.pkk-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.pkk-info-card h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
}

.pkk-info-card h4 i {
  color: var(--accent);
}

.pkk-info-card .pkk-feature {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
}

.pkk-info-card .pkk-feature:last-child {
  margin-bottom: 0;
}

/* PKK Example Card */
.pkk-example-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.pkk-example-card h5 {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pkk-example-card .pkk-badge {
  background: var(--pkk-badge-bg, var(--accent-soft));
  color: var(--pkk-badge-text, var(--accent));
  border: 1px solid var(--pkk-badge-border, var(--accent));
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: "Consolas", "Monaco", monospace;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.pkk-example-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* PKK Micro CTA */
.pkk-micro-cta {
  background: var(--bg-hover);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}

.pkk-micro-cta p {
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
}

.pkk-micro-cta .btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Pricing Note - Base styles */
.pricing-note {
  background: var(--pricing-note-bg, var(--bg-secondary));
  border: 1px solid var(--pricing-note-border, var(--border-primary));
  color: var(--pricing-note-text, var(--text-muted));
  padding: 1rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.pricing-note i {
  color: var(--accent);
}

/* Mobile */
@media (max-width: 768px) {
  .pkk-box {
    padding: 2rem;
  }

  .pkk-cta-group {
    flex-direction: column;
  }

  .pkk-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------------- */
/*     SEKCJA AKTUALNOŚCI    */
/* -------------------------- */
/* --- NEWS GRID --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

/* MOBILE -> 1 kolumna */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --- NEWS CARD --- */
.news-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: 0.35s ease;
  box-shadow: var(--card-shadow);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--card-hover-shadow);
}

/* --- IMAGE --- */
.news-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- CATEGORY BADGE --- */
.news-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--bg-tertiary);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
}

/* --- CONTENT --- */
.news-content {
  padding: 20px 22px;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text-primary);
}

.news-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* --- BUTTON --- */
.news-btn {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.news-btn:hover {
  text-decoration: underline;
}

/* --- "ZOBACZ WIĘCEJ" --- */
.news-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.news-more-btn {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  padding: 14px 32px;
  border-radius: 12px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
}

.news-more-btn:hover {
  background: var(--btn-primary-hover);
}

/* =========================================
   CUSTOM SCROLLBAR (PREMIUM LOOK)
   ========================================= */

/* Dla Webkit (Chrome, Safari) */
::-webkit-scrollbar {
  width: 8px;
  /* Szerokość paska */
}

::-webkit-scrollbar-track {
  /* Tło paska: pasujący do tła strony */
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  /* Kolor "chwytaka" (akcent) */
  background-color: var(--accent);
  border-radius: 10px;
  /* Zaokrąglone rogi */
}

::-webkit-scrollbar-thumb:hover {
  /* Delikatne przyciemnienie po najechaniu, dla interakcji */
  background-color: var(--accent-strong);
}

/* Dla Firefox (zgodnie z nowszymi standardami, jeśli potrzebne) */
/* Jeśli Firefox jest priorytetem, może być konieczne użycie:
   scrollbar-width: thin;
   scrollbar-color: var(--accent-lime) var(--bg-dark);
*/

/* =========================================
   GO TO TOP BUTTON
   ========================================= */

.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    box-shadow 0.3s,
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/*  HOVER  */
.scroll-to-top-btn:hover {
  background-color: var(--accent);
  color: var(--text-inverse) !important;
  border-color: var(--accent-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.scroll-to-top-btn:hover i {
  color: var(--text-inverse) !important;
}

/* =========================================================
   SUPERPRAWOJAZDY – CUSTOM REVIEW SECTION
   ========================================================= */

#spj-reviews.spj-section {
  padding: 5rem 0;
  background: var(--spj-bg);
  backdrop-filter: blur(8px);
}

.spj-swiper {
  padding: 20px 10px 40px;
}

.spj-review-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.35s ease;
}

.spj-review-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-lime);
  box-shadow: var(--card-hover-shadow);
}

.spj-review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spj-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--accent-lime);
  object-fit: cover;
}

.spj-name {
  font-weight: 700;
  color: var(--text-primary);
}

.spj-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spj-rating i {
  color: #facc15;
  /* Gold star color - always yellow */
  margin-right: 2px;
}

.spj-text {
  margin-top: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.spj-loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* BUTTON */
.spj-btn {
  margin-top: 1.5rem;
}

/* Swiper navigation */
#spj-reviews .swiper-button-prev,
#spj-reviews .swiper-button-next {
  color: var(--accent-lime);
  transition: 0.25s ease;
}

#spj-reviews .swiper-button-prev:hover,
#spj-reviews .swiper-button-next:hover {
  color: #d0ff7a;
  transform: scale(1.1);
}

#spj-reviews .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25);
}

#spj-reviews .swiper-pagination-bullet-active {
  background: var(--accent-lime);
}

/* SPJ Slider – wrapper i slide */
.spj-wrapper {
  display: flex;
}

.spj-slide {
  flex-shrink: 0;
  width: auto;
}

.spj-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  background: var(--bg-tertiary);
}

.spj-avatar-empty {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-primary);
}

/* ============================================================
   ADVANCED ANIMATIONS (Anime.js Support)
   ============================================================ */

/* 1. Animate on Scroll - Base Styles */
.animate-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
}

/* 2. Ripple Effect for Buttons */
.btn-primary-hero,
.btn-outline-hero {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 3. Magnetic Hover - Enhanced Button State */
.btn-primary-hero {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* 4. Stagger Animation Items */
.stagger-animation .stagger-item {
  opacity: 0;
  transform: translateY(30px);
}

/* 5. Floating Elements */
.floating {
  will-change: transform;
}

/* 6. Scroll Progress Bar (added via JS) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* 7. Enhanced Hero Parallax */
#hero {
  will-change: background-position;
}

#hero .container {
  will-change: transform, opacity;
}

/* 8. Pricing Cards - Hover Enhancement */
.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(22, 139, 213, 0.3);
}

/* 9. Section Separators Animation */
.section-separator {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
}

/* 10. Lottie Animation Containers */
.lottie-animation {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* 11. Reduced Motion Support */
@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;
  }

  .animate-on-scroll,
  .stagger-item,
  .section-separator {
    opacity: 1 !important;
    transform: none !important;
  }

  .ripple {
    display: none !important;
  }

  .floating {
    animation: none !important;
  }
}

/* 12. Performance Optimizations */
.hero,
.pricing-card,
.btn-primary-hero,
.animate-on-scroll {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

/* 13. GPU Acceleration */
.reveal,
.animate-on-scroll,
.floating {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ============================================================
   THEME TOGGLE BUTTON (In Topbar)
   ============================================================ */

#theme-toggle,
.topbar-theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

#theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#theme-toggle:active {
  transform: scale(0.95);
}

#theme-toggle i {
  font-size: 1.1rem;
  color: #ffffff;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Icon animations */
#theme-toggle .fa-sun {
  position: absolute;
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

#theme-toggle .fa-moon {
  position: absolute;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] #theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] #theme-toggle .fa-moon {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

/* Light mode topbar theme toggle */
[data-theme="light"] #theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

[data-theme="light"] #theme-toggle i {
  color: var(--accent);
}

/* Mobile Menu Theme Toggle - TYLKO IKONA (jak desktop) */
.mobile-menu-header {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-primary);
}

.theme-toggle-mobile-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-lime);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(166, 255, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-toggle-mobile-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 30px rgba(166, 255, 0, 0.4);
  border-color: var(--accent-lime);
}

.theme-toggle-mobile-btn:active {
  transform: scale(0.95);
}

.theme-toggle-mobile-btn i {
  font-size: 1.3rem;
  color: var(--accent-lime);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Icon animations - identyczne jak desktop */
.theme-toggle-mobile-btn .fa-sun {
  position: absolute;
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

.theme-toggle-mobile-btn .fa-moon {
  position: absolute;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle-mobile-btn .fa-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle-mobile-btn .fa-moon {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

/* Responsive adjustments for topbar theme toggle */
@media (max-width: 768px) {
  #theme-toggle {
    width: 36px;
    height: 36px;
    margin-left: 0.75rem;
  }

  #theme-toggle i {
    font-size: 1rem;
  }

  .theme-toggle-mobile-btn {
    width: 48px;
    height: 48px;
  }

  .theme-toggle-mobile-btn i {
    font-size: 1.2rem;
  }
}

/* Smooth theme transition */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Override dla elementów które nie powinny mieć transition */
a,
button,
input,
textarea,
select,
.hero,
.carousel,
.modal {
  transition: all 0.3s ease;
}

/* ============================================================
   LIGHT MODE - ENHANCED STYLES
   Przebudowane sekcje: HERO, CENNIK, PKK
   ============================================================ */

/* ========== UTILITY CLASSES ========== */
[data-theme="light"] .section {
  padding: 4rem 0;
  position: relative;
}

[data-theme="light"] .section--alt {
  background: var(--bg-secondary);
}

[data-theme="light"] .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

[data-theme="light"] .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* Button utility */
[data-theme="light"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

[data-theme="light"] .btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

[data-theme="light"] .btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
}

[data-theme="light"] .btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.35);
}

[data-theme="light"] .btn-outline {
  background: transparent;
  color: var(--btn-outline-text);
  border-color: var(--btn-outline-border);
}

[data-theme="light"] .btn-outline:hover {
  background: var(--btn-outline-hover-bg);
  color: var(--btn-outline-hover-text);
  border-color: var(--btn-outline-hover-border);
}

/* Focus ring for all interactive elements */
[data-theme="light"] a:focus-visible,
[data-theme="light"] button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Links */
[data-theme="light"] a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-theme="light"] a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* ============================================================
   LIGHT MODE - GLOBAL TEXT COLORS
   ============================================================ */
[data-theme="light"] body {
  color: var(--text-primary);
}

[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] span,
[data-theme="light"] div {
  color: var(--text-primary);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: var(--text-primary);
}

[data-theme="light"] .text-muted,
[data-theme="light"] .small,
[data-theme="light"] small {
  color: var(--text-muted) !important;
}

/* ============================================================
   LIGHT MODE - HERO SECTION (KROK 2)
   ============================================================ */
[data-theme="light"] .hero {
  position: relative;
  overflow: hidden;
}

/* Hero overlay - mniejsza przezroczystość dla lepszej widoczności zdjęcia */
[data-theme="light"] .hero-overlay {
  inset: 0;
  background: linear-gradient(135deg, rgb(255 255 255 / 0%) 0%, rgba(247, 248, 250, 0.70) 50%, rgb(240 244 248 / 48%) 70%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

/* Dekoracyjny blob */
[data-theme="light"] .hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-blob-color) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] .hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  text-shadow: none;
}

[data-theme="light"] .hero-badge i {
  color: var(--accent-lime-light) !important;
}

[data-theme="light"] .hero-title {
  color: var(--hero-text);
  text-shadow: none;
}

[data-theme="light"] .hero-title .highlight {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-subtitle {
  color: var(--hero-subtitle);
  text-shadow: none;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Hero CTA Buttons - Light Mode */
[data-theme="light"] .btn-primary-hero {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  font-weight: 700;
}

[data-theme="light"] .btn-primary-hero::before {
  display: none;
}

[data-theme="light"] .btn-primary-hero:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-3px);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  text-decoration: none;
}

[data-theme="light"] .btn-outline-hero {
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent) !important;
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .btn-outline-hero i {
  color: var(--accent-lime-light) !important;
}

[data-theme="light"] .btn-outline-hero:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent) !important;
}

[data-theme="light"] .btn-outline-hero:hover i {
  color: #ffffff !important;
}

/* Hero Right Card - "Najbliższy kurs" */
[data-theme="light"] .hero-right-card {
  background: none;
  border: 1px solid var(--border);
  box-shadow: var(--hero-card-shadow);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .hero-vertical-strip {
  background: var(--hero-strip-bg);
}

[data-theme="light"] .hero-vertical-strip i,
[data-theme="light"] .hero-vertical-strip span {
  color: #ffffff;
}

[data-theme="light"] .hero-right-kicker {
  color: var(--accent);
  font-weight: 600;
}

[data-theme="light"] .hero-right-title {
  color: var(--hero-right-text);
}

[data-theme="light"] .hero-right-highlight-item .value {
  color: var(--hero-right-text) !important;
}

[data-theme="light"] .hero-right-sub {
  color: var(--text-secondary);
}

[data-theme="light"] .hero-right-cta {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* Trust Bar */
[data-theme="light"] .trust-bar {
  background: none !important;
  padding: 1rem 1.25rem;
}

[data-theme="light"] .trust-item {
  color: var(--text-secondary);
}

[data-theme="light"] .trust-item i {
  color: var(--accent-lime-light) !important;
  background: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: none;
}

/* Hero Stats */
[data-theme="light"] .hero-stats {
  padding: 1.5rem 2rem;
}

[data-theme="light"] .hero-stat-value {
  color: var(--accent);
  text-shadow: none;
}

[data-theme="light"] .hero-stat-label {
  color: var(--text-secondary);
}

/* ============================================================
   LIGHT MODE - CENNIK SECTION (KROK 3)
   ============================================================ */
[data-theme="light"] #pricing {
  background: var(--gradient-section);
}

[data-theme="light"] #pricing .section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

[data-theme="light"] #pricing .section-kicker {
  color: var(--accent);
  font-weight: 700;
}

[data-theme="light"] #pricing .section-title {
  color: var(--text-primary);
}

/* Pricing Cards */
[data-theme="light"] .pricing-card {
  background: var(--pricing-card-bg);
  border: 2px solid var(--pricing-card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--pricing-card-shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

[data-theme="light"] .pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--pricing-card-shadow-hover);
  transform: translateY(-8px);
}

/* Popular/Recommended card */
[data-theme="light"] .pricing-card.popular,
[data-theme="light"] .pricing-card:has(.pricing-ribbon) {
  background: var(--pricing-popular-bg);
  border-color: var(--pricing-popular-border);
  box-shadow: 0 8px 32px rgba(0, 102, 204, 0.15);
}

[data-theme="light"] .pricing-card.popular::before,
[data-theme="light"] .pricing-card:has(.pricing-ribbon)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

/* Ribbon/Badge */
[data-theme="light"] .pricing-ribbon {
  background: var(--pricing-ribbon-bg);
  color: var(--pricing-ribbon-text);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

/* Pricing Header */
[data-theme="light"] .pricing-header h3 {
  color: var(--text-muted);
  font-size: 0.85rem;
}

[data-theme="light"] .pricing-title {
  color: var(--text-primary);
}

/* Price */
[data-theme="light"] .price {
  margin: 1.5rem 0;
}

[data-theme="light"] .old-price {
  color: var(--text-muted);
}

[data-theme="light"] .new-price {
  color: var(--pricing-price-color);
  font-size: 3.2rem;
  font-weight: 900;
  text-shadow: none;
}

/* Features list */
[data-theme="light"] .pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

[data-theme="light"] .pricing-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

[data-theme="light"] .pricing-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--pricing-feature-icon);
  font-size: 0.85rem;
}

/* Pricing CTA */
[data-theme="light"] .pricing-footer .btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--pricing-btn-shadow);
  border: none;
}

[data-theme="light"] .pricing-footer .btn-primary:hover {
  background: var(--btn-primary-hover);
  box-shadow: var(--pricing-btn-shadow-hover);
  transform: translateY(-3px);
}

/* Pricing Note */
[data-theme="light"] #pricing .pricing-note,
[data-theme="light"] #pricing .text-muted {
  background: var(--pricing-note-bg);
  border: 1px solid var(--pricing-note-border);
  color: var(--pricing-note-text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ============================================================
   LIGHT MODE - PKK SECTION (KROK 3b)
   ============================================================ */
[data-theme="light"] .section-pkk,
[data-theme="light"] #pkk {
  background: var(--pkk-bg);
  padding: 5rem 0;
}

[data-theme="light"] .pkk-box {
  background: var(--pkk-box-bg);
  border: 1px solid var(--pkk-box-border);
  box-shadow: var(--pkk-box-shadow);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: none;
}

[data-theme="light"] .pkk-kicker {
  color: var(--pkk-kicker-color);
  font-weight: 700;
}

[data-theme="light"] .pkk-title {
  color: var(--pkk-title-color);
}

[data-theme="light"] .pkk-subtitle {
  color: var(--pkk-subtitle-color);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* PKK Features */
[data-theme="light"] .pkk-feature {
  background: var(--pkk-feature-bg);
  border: 1px solid var(--pkk-feature-border);
  color: var(--pkk-feature-text);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}

[data-theme="light"] .pkk-feature:hover {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

[data-theme="light"] .pkk-feature i {
  color: var(--pkk-feature-icon);
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PKK CTA Button */
[data-theme="light"] .pkk-btn {
  background: var(--pkk-cta-bg);
  color: var(--pkk-cta-text);
  border: none;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

[data-theme="light"] .pkk-btn:hover {
  background: var(--accent-lime-strong);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

/* PKK Badge for example number */
[data-theme="light"] .pkk-badge,
[data-theme="light"] .pkk-example {
  background: var(--pkk-badge-bg);
  color: var(--pkk-badge-text);
  border: 1px solid var(--pkk-badge-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: "Consolas", "Monaco", monospace;
  font-weight: 600;
  display: inline-block;
}

/* ============================================================
   LIGHT MODE - ADDITIONAL COMPONENT OVERRIDES
   ============================================================ */

/* About Cards */
[data-theme="light"] .about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

[data-theme="light"] .about-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

[data-theme="light"] .about-card h5 {
  color: var(--text-primary);
}

[data-theme="light"] .about-card p {
  color: var(--text-secondary);
}

/* Contact Section */
[data-theme="light"] .contact-card {
  background: var(--contact-card-bg);
  border: 1px solid var(--contact-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--contact-card-shadow);
  padding: 2rem;
}

[data-theme="light"] .contact-meta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

[data-theme="light"] .contact-meta-card h5 {
  color: var(--text-primary);
}

[data-theme="light"] .contact-meta-list li {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-secondary);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

[data-theme="light"] .contact-meta-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

[data-theme="light"] .contact-meta-list i {
  color: var(--accent);
}

[data-theme="light"] .contact-meta-list a {
  color: var(--accent);
}

/* FAQ Section */
[data-theme="light"] .faq-section {
  background: var(--faq-bg-gradient);
}

[data-theme="light"] .faq-tab {
  background: var(--faq-tab-bg);
  border: 1px solid var(--faq-tab-border);
  color: var(--text-secondary);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}

[data-theme="light"] .faq-tab:hover {
  background: var(--faq-tab-hover-bg);
  border-color: var(--accent);
}

[data-theme="light"] .faq-tab.active {
  background: var(--faq-tab-active-bg);
  color: var(--faq-tab-active-text);
  border-color: var(--faq-tab-active-bg);
}

[data-theme="light"] .faq-item,
[data-theme="light"] .accordion-item {
  background: var(--faq-item-bg);
  border: 1px solid var(--faq-item-border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

[data-theme="light"] .accordion-button {
  background: var(--faq-item-bg);
  color: var(--faq-question);
  font-weight: 600;
}

[data-theme="light"] .accordion-button:not(.collapsed) {
  background: var(--faq-accordion-active-bg);
  color: var(--accent);
}

[data-theme="light"] .accordion-body {
  color: var(--faq-answer);
  background: var(--faq-item-bg);
}

/* Reviews Section */
[data-theme="light"] .reviews-wrapper {
  background: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  box-shadow: var(--review-card-shadow);
}

[data-theme="light"] .google-review-card {
  background: var(--review-card-bg);
  border: 1px solid var(--review-card-border);
  box-shadow: var(--review-card-shadow);
}

[data-theme="light"] .google-review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--review-card-shadow-hover);
}

[data-theme="light"] .review-author-name {
  color: var(--review-author);
}

[data-theme="light"] .review-text {
  color: var(--review-text);
}

[data-theme="light"] .google-rating {
  color: var(--text-secondary);
}

/* News Section */
[data-theme="light"] .news-section {
  background: var(--news-bg);
}

[data-theme="light"] .news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
}

[data-theme="light"] .news-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

[data-theme="light"] .news-title {
  color: var(--text-primary);
}

[data-theme="light"] .news-date {
  color: var(--text-muted);
}

[data-theme="light"] .news-category {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Footer */
[data-theme="light"] footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
}

[data-theme="light"] footer a {
  color: var(--footer-link);
}

/* Navbar Light Mode */
[data-theme="light"] .navbar {
  background: var(--navbar-bg) !important;
  border-bottom: 1px solid var(--navbar-border);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .nav-link {
  color: var(--navbar-text) !important;
}

[data-theme="light"] .nav-link:hover {
  color: var(--navbar-link-hover) !important;
}

/* Mobile Menu */
[data-theme="light"] .mobile-menu-overlay {
  background: var(--menu-overlay-bg);
}

[data-theme="light"] .mobile-link {
  color: var(--menu-text);
}

[data-theme="light"] .mobile-link:hover {
  color: var(--menu-link-hover);
}

[data-theme="light"] .mobile-link.highlight {
  color: var(--accent-lime);

}

/* Topbar - keep dark for contrast */
[data-theme="light"] .topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
}

[data-theme="light"] .topbar-label {
  color: var(--topbar-label);
}

/* Section Separator */
[data-theme="light"] .section-separator::before {
  opacity: 0.4;
}

/* Scroll to top button */
[data-theme="light"] .scroll-to-top-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .scroll-to-top-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Float CTA buttons */
[data-theme="light"] .float-cta .cta-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .float-cta .cta-btn svg {
  fill: var(--accent);
}

[data-theme="light"] .float-cta .cta-btn:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

/* Drawer */
[data-theme="light"] .drawer {
  background: var(--surface);
  border-left: 1px solid var(--border);
  color: var(--text-primary);
}

[data-theme="light"] .drawer-head {
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .drawer-title {
  color: var(--text-primary);
}

[data-theme="light"] .drawer-close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

[data-theme="light"] .drawer-close:hover {
  background: var(--surface-3);
  border-color: var(--accent);
}

/* SPJ Reviews */
[data-theme="light"] .spj-section {
  background: var(--surface-2);
}

/* ============================================================
   LIGHT MODE - PKK EXTENDED STYLES (Timeline & Cards)
   ============================================================ */

/* PKK Steps Timeline */
[data-theme="light"] .pkk-steps {
  margin: 2rem 0;
}

[data-theme="light"] .pkk-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

[data-theme="light"] .pkk-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: -1.5rem;
  width: 2px;
  background: var(--border);
}

[data-theme="light"] .pkk-step-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--pkk-step-number-bg);
  color: var(--pkk-step-number-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

[data-theme="light"] .pkk-step-content {
  flex: 1;
  padding-top: 0.25rem;
}

[data-theme="light"] .pkk-step-content h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
}

[data-theme="light"] .pkk-step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* PKK CTA Group */
[data-theme="light"] .pkk-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* PKK Info Card */
[data-theme="light"] .pkk-info-card {
  background: var(--surface-2);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

[data-theme="light"] .pkk-info-card h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
}

[data-theme="light"] .pkk-info-card h4 i {
  color: var(--accent);
}

[data-theme="light"] .pkk-info-card .pkk-feature {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
}

[data-theme="light"] .pkk-info-card .pkk-feature:last-child {
  margin-bottom: 0;
}

/* PKK Example Card */
[data-theme="light"] .pkk-example-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

[data-theme="light"] .pkk-example-card h5 {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="light"] .pkk-example-card .pkk-badge {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .pkk-example-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* PKK Micro CTA */
[data-theme="light"] .pkk-micro-cta {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(76, 175, 80, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

[data-theme="light"] .pkk-micro-cta p {
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
}

[data-theme="light"] .pkk-micro-cta .btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Pricing Note styling */
[data-theme="light"] .pricing-note {
  background: var(--pricing-note-bg);
  border: 1px solid var(--pricing-note-border);
  color: var(--pricing-note-text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.9rem;
}

[data-theme="light"] .pricing-note i {
  color: var(--accent);
}

/* ============================================================
   LIGHT MODE - RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 991px) {
  [data-theme="light"] .pkk-box {
    flex-direction: column;
  }

  [data-theme="light"] .pkk-left,
  [data-theme="light"] .pkk-right {
    min-width: 100%;
  }

  [data-theme="light"] .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  [data-theme="light"] .trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  [data-theme="light"] .pkk-cta-group {
    flex-direction: column;
  }

  [data-theme="light"] .pkk-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  [data-theme="light"] .hero-ctas {
    flex-direction: column;
  }

  [data-theme="light"] .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   LIGHT MODE - SLOWER ANIMATIONS & HERO TEXT IMPROVEMENTS
   ============================================================ */

/* Wolniejsze animacje reveal */
[data-theme="light"] .reveal {
  transition:
    opacity 1s ease,
    transform 1s ease;
}

/* Dłuższy czas na zniknięcie przy scrollu */
[data-theme="light"] .hero .reveal {
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* Hero tekst - lepszy kontrast */
[data-theme="light"] .hero-title {
  color: #0a0a1a;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 2px 4px rgba(255, 255, 255, 0.5);
  font-weight: 800;
}

[data-theme="light"] .hero-title .highlight {
  color: #0052a3;
  background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

[data-theme="light"] .hero-subtitle {
  color: #1a1a2e;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Hero badge mocniejszy */
[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-weight: 600;
}



[data-theme="light"] .trust-item span {
  color: #1a1a2e;
  font-weight: 500;
}



[data-theme="light"] .hero-stat-value {
  color: #0052a3;
}

[data-theme="light"] .hero-stat-label {
  color: #1a1a2e;
  font-weight: 500;
}

/* Hero right card mocniejsza */
[data-theme="light"] .hero-right-card {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hero-right-title {
  color: #0a0a1a;
}

[data-theme="light"] .hero-right-sub {
  color: #3d4663;
}

[data-theme="light"] .hero-right-highlight-item .value {
  color: #0a0a1a !important;
  font-weight: 700;
}

[data-theme="light"] .hero-right-cta {
  color: #0052a3;
  font-weight: 700;
}

/* ============================================================
   COOKIE CONSENT BANNER
   2026-01-15: Zgodny z RODO/GDPR
   ============================================================ */

/* Banner dolny */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--bg-card, rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-primary, rgba(255, 255, 255, 0.1));
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-consent-banner.cookie-consent-visible {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
  margin: 0 0 0.5rem;
}

.cookie-consent-text p {
  font-size: 0.875rem;
  color: var(--text-secondary, #dbeafe);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.cookie-link {
  font-size: 0.8125rem;
  color: var(--accent, #168bd5);
  text-decoration: none;
}

.cookie-link:hover {
  color: var(--accent-lime, #a6ff00);
}

.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Przyciski */
.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--accent-lime, #a6ff00);
  color: #000;
}

.cookie-btn-accept:hover {
  background: #8fdb00;
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: transparent;
  border: 1px solid var(--border-secondary, rgba(148, 163, 184, 0.5));
  color: var(--text-secondary, #dbeafe);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

.cookie-btn-settings {
  background: transparent;
  border: 1px solid var(--accent, #168bd5);
  color: var(--accent, #168bd5);
}

.cookie-btn-settings:hover {
  background: rgba(22, 139, 213, 0.1);
}

.cookie-btn-save {
  background: var(--accent, #168bd5);
  color: #fff;
}

.cookie-btn-save:hover {
  background: #1175ad;
}

/* Modal ustawień */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal.cookie-settings-visible {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cookie-settings-content {
  position: relative;
  width: 90%;
  max-width: 540px;
  max-height: 90vh;
  background: var(--bg-secondary, #0b1120);
  border-radius: 16px;
  border: 1px solid var(--border-primary, rgba(255, 255, 255, 0.1));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.cookie-settings-visible .cookie-settings-content {
  transform: scale(1);
}

.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-primary);
}

.cookie-settings-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
  margin: 0;
}

.cookie-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #7c89a6);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.cookie-close-btn:hover {
  color: var(--text-primary);
}

.cookie-settings-body {
  padding: 1rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-primary);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
  margin: 0 0 0.375rem;
}

.cookie-category-info p {
  font-size: 0.8125rem;
  color: var(--text-muted, #7c89a6);
  margin: 0;
  line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-tertiary, #0f172a);
  border: 1px solid var(--border-secondary);
  border-radius: 26px;
  transition: background-color 0.2s, border-color 0.2s;
}

.cookie-toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text-muted, #7c89a6);
  border-radius: 50%;
  transition: transform 0.2s, background-color 0.2s;
}

.cookie-toggle input:checked+.cookie-toggle-slider {
  background-color: var(--accent-lime, #a6ff00);
  border-color: var(--accent-lime);
}

.cookie-toggle input:checked+.cookie-toggle-slider::before {
  transform: translateX(22px);
  background-color: #000;
}

.cookie-toggle-disabled .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-settings-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-primary);
  justify-content: flex-end;
}

/* ============================================================
   COOKIE CONSENT - LIGHT THEME
   ============================================================ */

[data-theme="light"] .cookie-consent-banner {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cookie-consent-text h4 {
  color: #0a0a1a;
}

[data-theme="light"] .cookie-consent-text p {
  color: #3d4663;
}

[data-theme="light"] .cookie-btn-reject {
  border-color: rgba(0, 0, 0, 0.2);
  color: #3d4663;
}

[data-theme="light"] .cookie-btn-reject:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .cookie-settings-content {
  background: #fff;
}

[data-theme="light"] .cookie-settings-header h3,
[data-theme="light"] .cookie-category-info h4 {
  color: #0a0a1a;
}

[data-theme="light"] .cookie-category-info p {
  color: #5a6478;
}

[data-theme="light"] .cookie-toggle-slider {
  background-color: #e5e7eb;
  border-color: #d1d5db;
}

/* ============================================================
   COOKIE CONSENT - RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1rem;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-buttons {
    justify-content: stretch;
  }

  .cookie-consent-buttons .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .cookie-settings-content {
    width: 95%;
    max-height: 85vh;
  }

  .cookie-settings-footer {
    flex-direction: column;
  }

  .cookie-settings-footer .cookie-btn {
    width: 100%;
  }
}

/* =========================================
   CONTACT METHODS CHIPS
   ========================================= */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.method-chip {
  cursor: pointer;
  position: relative;
}

.method-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.method-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-align: center;
  height: 100%;
}

.method-box i {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.method-box span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.method-chip:hover .method-box {
  border-color: var(--accent);
}

.method-chip input:checked+.method-box {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.1);
}

.method-chip input:checked+.method-box i {
  color: var(--accent);
}

.method-chip input:checked+.method-box span {
  color: var(--accent);
}

@media (max-width: 576px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }

  .method-box {
    flex-direction: row;
    padding: 12px 20px;
    justify-content: center;
    gap: 15px;
  }
}

/* ============================================================ 
   NOWE STYLE - FAZA 3 (Cennik Teaser + About Slider)
   ============================================================ */

/* Pricing Teaser Card */
.pricing-teaser-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.bg-decoration-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

[data-theme="dark"] .pricing-teaser-card {
  background: var(--bg-200);
  border-color: var(--border-color);
}

/* About Slider */
.about-slider-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.about-swiper {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  /* Zmiana proporcji na kinowe, aby nie ucinać aut */
  border-radius: 1rem;
}

.about-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  font-weight: 500;
  z-index: 2;
  text-align: center;
}

/* Dostosowanie buttonów swipera */
.about-swiper .swiper-button-next,
.about-swiper .swiper-button-prev {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-swiper .swiper-button-next::after,
.about-swiper .swiper-button-prev::after {
  font-size: 1.5rem;
  font-weight: bold;
}

.about-swiper .swiper-pagination-bullet-active {
  background: var(--primary-color, #a6ff00);
}

/* ============================================================ 
   NOWE STYLE - MOBILE HEADER BUTTON
   ============================================================ */
/* Animacja zielonego pulsowania przycisku */
.pulsing-green-btn {
  animation: pulse-green 2s infinite;
  border: none !important;
  transition: all 0.3s ease;
}

.pulsing-green-btn:hover {
  transform: scale(1.05);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(166, 255, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(166, 255, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(166, 255, 0, 0);
  }
}