/* ========================================
   PIK_AI — Components
   v3.0 — Light Theme Redesign
   ======================================== */

/* --- NAVBAR (light) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: background-color 400ms var(--ease-default),
              box-shadow 400ms var(--ease-default);
}

.navbar--scrolled {
  background-color: var(--glass-strong-bg);
  backdrop-filter: blur(var(--glass-strong-blur));
  -webkit-backdrop-filter: blur(var(--glass-strong-blur));
  box-shadow: var(--glass-shadow);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 56px;
  flex-shrink: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.navbar__logo:hover {
  opacity: 0.75;
}

.navbar__logo img {
  height: 56px;
  width: auto;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .navbar__links { display: flex; }
}

.navbar__link {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  transition: color var(--duration-fast) var(--ease-default);
  text-decoration: none;
  padding: var(--space-2) 0;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--text-on-light);
}

.navbar__link--active {
  color: var(--text-on-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent-purple);
}

.navbar__cta { display: none !important; }

@media (min-width: 1024px) {
  .navbar__cta {
    display: inline-flex !important;
    padding: 12px 24px;
    min-width: auto;
    font-size: var(--text-small);
  }
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 44px;
  padding: 10px 0;
}

@media (min-width: 1024px) {
  .navbar__hamburger { display: none; }
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-on-light);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-default),
              opacity var(--duration-normal) var(--ease-default);
}

.navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease-default),
              visibility 300ms var(--ease-default);
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--text-on-light);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.mobile-menu__link:hover { color: var(--text-on-light); text-decoration: underline; text-decoration-color: var(--accent-purple); text-underline-offset: 4px; }

.mobile-menu__cta { margin-top: var(--space-4); }


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-default);
  white-space: nowrap;
  min-height: 44px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-lime) 0%, #d4e875 100%);
  color: #1a1a1a;
  padding: 16px 32px;
  min-width: 180px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(180, 190, 60, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn--primary:hover {
  box-shadow: 0 4px 28px rgba(180, 190, 60, 0.35), 0 1px 3px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(180, 190, 60, 0.15);
}

.btn--secondary {
  background: var(--glass-medium-bg);
  color: var(--text-on-light);
  padding: 14px 28px;
  border: 1.5px solid var(--glass-medium-border);
  backdrop-filter: blur(var(--glass-medium-blur));
  -webkit-backdrop-filter: blur(var(--glass-medium-blur));
}

.btn--secondary:hover {
  background: var(--glass-medium-hover);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn--ghost {
  background: transparent;
  padding: 0;
  min-width: 0;
  min-height: 0;
  font-weight: 600;
  font-size: var(--text-small);
  border-radius: 0;
  color: var(--text-on-light);
  text-decoration: underline;
  text-decoration-color: var(--accent-purple);
  text-underline-offset: 3px;
}

.btn--ghost .btn__arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.btn--ghost:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Small button variant (W9: extracted from inline styles) */
.btn--sm {
  padding: 10px 20px;
  min-width: auto;
  font-size: var(--text-small);
}

.btn--disabled, .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 767px) {
  .btn--primary { width: 100%; min-width: 0; }
}


/* --- BADGE / TAG --- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-overline);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.badge--lime    { background: var(--accent-lime-15); color: var(--text-on-light); border-left: 3px solid var(--accent-lime); }
.badge--purple  { background: var(--accent-purple-15); color: var(--text-on-light); border-left: 3px solid var(--accent-purple); }
.badge--orange  { background: var(--accent-orange-15); color: var(--text-on-light); border-left: 3px solid var(--accent-orange); }
.badge--pink    { background: var(--accent-pink-15); color: var(--text-on-light); border-left: 3px solid var(--accent-pink); }
.badge--turquoise { background: var(--accent-turquoise-15); color: var(--text-on-light); border-left: 3px solid var(--accent-turquoise); }
.badge--blue    { background: var(--accent-blue-15); color: var(--text-on-light); border-left: 3px solid var(--accent-blue); }
.badge--amber   { background: var(--accent-amber-15); color: var(--text-on-light); border-left: 3px solid var(--accent-amber); }
.badge--coral   { background: var(--accent-coral-15); color: var(--text-on-light); border-left: 3px solid var(--accent-coral); }

.badge--lime-solid      { background: var(--accent-lime); color: #1a1a1a; }
.badge--orange-solid    { background: var(--accent-orange); color: #1a1a1a; }
.badge--purple-solid    { background: var(--accent-purple); color: #1a1a1a; }
.badge--pink-solid      { background: var(--accent-pink); color: #1a1a1a; }
.badge--turquoise-solid { background: var(--accent-turquoise); color: #1a1a1a; }
.badge--blue-solid      { background: var(--accent-blue); color: #1a1a1a; }
.badge--amber-solid     { background: var(--accent-amber); color: #1a1a1a; }
.badge--coral-solid     { background: var(--accent-coral); color: #1a1a1a; }

.badge--light {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-on-light-muted);
}


/* --- CARDS — GLASS (frosted white on gray bg) --- */
.card-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  padding: var(--space-8);
  box-shadow: var(--glass-shadow);
  transition: all 300ms var(--ease-default);
  position: relative;
}

@supports (backdrop-filter: blur(1px)) {
  .card-glass {
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .card-glass { background: rgba(255, 255, 255, 0.65); }
}

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

/* Colored top accent */
.card-glass--accent-lime      { border-top: 2px solid var(--accent-lime); }
.card-glass--accent-purple    { border-top: 2px solid var(--accent-purple); }
.card-glass--accent-orange    { border-top: 2px solid var(--accent-orange); }
.card-glass--accent-pink      { border-top: 2px solid var(--accent-pink); }
.card-glass--accent-turquoise { border-top: 2px solid var(--accent-turquoise); }
.card-glass--accent-blue      { border-top: 2px solid var(--accent-blue); }
.card-glass--accent-amber     { border-top: 2px solid var(--accent-amber); }
.card-glass--accent-coral     { border-top: 2px solid var(--accent-coral); }

.card-glass:hover.card-glass--accent-lime      { box-shadow: var(--shadow-md), var(--shadow-glow-lime); }
.card-glass:hover.card-glass--accent-purple    { box-shadow: var(--shadow-md), var(--shadow-glow-purple); }
.card-glass:hover.card-glass--accent-orange    { box-shadow: var(--shadow-md), var(--shadow-glow-orange); }
.card-glass:hover.card-glass--accent-pink      { box-shadow: var(--shadow-md), var(--shadow-glow-pink); }
.card-glass:hover.card-glass--accent-turquoise { box-shadow: var(--shadow-md), var(--shadow-glow-turquoise); }
.card-glass:hover.card-glass--accent-blue      { box-shadow: var(--shadow-md), var(--shadow-glow-blue); }
.card-glass:hover.card-glass--accent-amber     { box-shadow: var(--shadow-md), var(--shadow-glow-amber); }
.card-glass:hover.card-glass--accent-coral     { box-shadow: var(--shadow-md), var(--shadow-glow-coral); }

/* Inner glass highlight line */
.card-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
}

/* Dashed border variant (StudentAI) */
.card-glass--dashed-purple { border-top: 2px dashed var(--accent-purple); }
.card-glass--dashed-blue   { border-top: 2px dashed var(--accent-blue); }

.card-glass__tag { margin-bottom: var(--space-3); }

.card-glass__title {
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
  color: var(--text-on-light);
}

.card-glass__desc {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-1);
}

.card-glass__text {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.card-glass__link { margin-top: auto; }


/* --- CARDS — FEATURE (white on light-alt bg) --- */
.card-feature {
  background: var(--glass-strong-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--glass-shadow);
  /* No backdrop-filter — sits on solid light bg, glass opacity alone is enough */
  transition: all var(--duration-normal) var(--ease-default);
}

/* Card-feature accent borders (W9/K3: extracted from inline styles) */
.card-feature--accent-purple    { border-left: 3px solid var(--accent-purple); }
.card-feature--accent-orange    { border-left: 3px solid var(--accent-orange); }
.card-feature--accent-pink      { border-left: 3px solid var(--accent-pink); }
.card-feature--accent-lime      { border-left: 3px solid var(--accent-lime); }
.card-feature--accent-turquoise { border-left: 3px solid var(--accent-turquoise); }
.card-feature--accent-blue      { border-left: 3px solid var(--accent-blue); }
.card-feature--accent-amber     { border-left: 3px solid var(--accent-amber); }
.card-feature--accent-coral     { border-left: 3px solid var(--accent-coral); }

/* Card-feature top accent (K3: extracted from inline border-top) */
.card-feature--top-purple    { border-top: 2px solid var(--accent-purple); }
.card-feature--top-orange    { border-top: 2px solid var(--accent-orange); }
.card-feature--top-pink      { border-top: 2px solid var(--accent-pink); }
.card-feature--top-lime      { border-top: 2px solid var(--accent-lime); }
.card-feature--top-turquoise { border-top: 2px solid var(--accent-turquoise); }
.card-feature--top-blue      { border-top: 2px solid var(--accent-blue); }
.card-feature--top-amber     { border-top: 2px solid var(--accent-amber); }
.card-feature--top-coral     { border-top: 2px solid var(--accent-coral); }

/* Card-feature heavy top accent (dofinansowanie) */
.card-feature--top-heavy-orange    { border-top: 3px solid var(--accent-orange); }
.card-feature--top-heavy-pink      { border-top: 3px solid var(--accent-pink); }
.card-feature--top-heavy-turquoise { border-top: 3px solid var(--accent-turquoise); }
.card-feature--top-heavy-lime      { border-top: 3px solid var(--accent-lime); }
.card-feature--top-heavy-amber     { border-top: 3px solid var(--accent-amber); }
.card-feature--top-heavy-coral     { border-top: 3px solid var(--accent-coral); }

/* Card-feature layout variants */
.card-feature--centered { text-align: center; padding: var(--space-8); }
.card-feature--flex-col { display: flex; flex-direction: column; }

/* Gradient variant (Efekty section) */
.card-feature--gradient {
  background: linear-gradient(135deg, rgba(151,151,255,0.06), rgba(237,251,140,0.03));
  border-color: rgba(151,151,255,0.12);
}
.card-feature--gradient-amber {
  background: linear-gradient(135deg, rgba(240,192,80,0.06), rgba(237,251,140,0.03));
  border-color: rgba(240,192,80,0.12);
}

.card-feature:hover {
  background: var(--glass-strong-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
}

.card-feature__icon--lime      { background: var(--accent-lime-15); color: var(--text-on-light); }
.card-feature__icon--purple    { background: var(--accent-purple-15); color: var(--text-on-light); }
.card-feature__icon--orange    { background: var(--accent-orange-15); color: var(--text-on-light); }
.card-feature__icon--pink      { background: var(--accent-pink-15); color: var(--text-on-light); }
.card-feature__icon--turquoise { background: var(--accent-turquoise-15); color: var(--text-on-light); }
.card-feature__icon--blue      { background: var(--accent-blue-15); color: var(--text-on-light); }
.card-feature__icon--amber     { background: var(--accent-amber-15); color: var(--text-on-light); }
.card-feature__icon--coral     { background: var(--accent-coral-15); color: var(--text-on-light); }

.card-feature__title {
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-2);
  color: var(--text-on-light);
}

.card-feature__text {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  line-height: 1.6;
}


/* --- CARDS — STAT (oversize number) --- */
.card-stat {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  /* No backdrop-filter — on solid bg, opacity alone sufficient */
}


/* --- CARDS — BENTO ITEM --- */
.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--glass-shadow);
  transition: all 300ms var(--ease-default);
}

/* No backdrop-filter on .bento-card — sits on solid bg, opacity alone sufficient */

.bento-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.bento-card--gradient {
  background: linear-gradient(135deg, rgba(151, 151, 255, 0.08), rgba(237, 251, 140, 0.05));
  border-color: rgba(151, 151, 255, 0.12);
}

.bento-card__overline {
  font-size: var(--text-overline);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
  color: var(--text-on-light-muted);
}

.bento-card__title {
  font-size: var(--text-h4);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-on-light);
}

.bento-card__text {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  line-height: 1.5;
}


/* --- TESTIMONIAL --- */
.testimonial-main {
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--glass-strong-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  /* No backdrop-filter — sits on solid light bg, opacity alone sufficient */
}

.testimonial-main__quote-mark {
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent-coral);
  opacity: 0.5;
  line-height: 0.8;
  font-family: Georgia, 'Times New Roman', serif;
}

.testimonial-main__text {
  font-size: var(--text-body-lg);
  font-style: italic;
  line-height: 1.7;
  margin: var(--space-4) 0 var(--space-6);
  color: var(--text-on-light);
}

.testimonial-main__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-main__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-coral-15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--text-on-light);
  flex-shrink: 0;
}

.testimonial-main__name {
  font-weight: 500;
  font-size: var(--text-body);
  color: var(--text-on-light);
}

.testimonial-main__role {
  font-size: var(--text-caption);
  color: var(--text-on-light-muted);
}

/* Small testimonial (sidebar) */
.testimonial-sm {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  /* No backdrop-filter — sits on solid light bg, opacity alone sufficient */
  transition: all var(--duration-normal) var(--ease-default);
}

.testimonial-sm:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.testimonial-sm__text {
  font-size: var(--text-body);
  font-style: italic;
  color: var(--text-on-light-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.testimonial-sm__author {
  font-size: var(--text-caption);
  color: var(--text-on-light-subtle);
}


/* --- FORMS (unified, elegant) --- */
.form-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .form-section {
    padding: var(--space-10) var(--space-12);
  }
}

.form-section__title {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-on-light);
}

.form-section__subtitle {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-6);
}

.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-on-light);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 52px;
  padding: 14px 16px;
  font-size: var(--text-body);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: var(--bg-light-alt);
  color: var(--text-on-light);
  transition: border-color var(--duration-fast),
              box-shadow var(--duration-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(151, 151, 255, 0.12);
  background: var(--bg-white);
}

/* Inline form input variant (StudentAI notify) */
.form-input--inline {
  flex: 1;
  min-width: 180px;
  height: 44px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-on-light-muted);
  opacity: 1;
}

.form-input--error,
.form-textarea--error {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px rgba(217, 54, 54, 0.1) !important;
}

.form-textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: var(--text-small);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-purple);
}

.form-checkbox label {
  font-size: var(--text-small);
  line-height: 1.5;
}

.form-radio {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.form-radio input[type="radio"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--accent-purple);
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.form-radio-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.form-radio-item input[type="radio"] {
  accent-color: var(--accent-purple);
}

.form-checkbox-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.form-checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-purple);
}

.form-checkbox-item label {
  font-size: var(--text-small);
  line-height: 1.5;
}

/* Radio group as pills */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.radio-label:hover {
  border-color: var(--accent-purple);
}

.radio-label:has(input:checked) {
  background: var(--accent-purple-15);
  border-color: var(--accent-purple);
  color: var(--text-on-light);
}

.radio-label input[type="radio"] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

/* Checkbox as pill */
.checkbox-label {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-small);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-purple);
}

.form-message {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-6);
  font-size: var(--text-body);
}

.form-message--success {
  background: rgba(45, 143, 78, 0.08);
  border-left: 3px solid var(--color-success);
}

.form-message--error {
  background: rgba(217, 54, 54, 0.08);
  border-left: 3px solid var(--color-error);
  color: var(--color-error);
}


/* --- TRAINING TABS (navigation between courses) --- */
.training-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.training-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: var(--text-small);
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--text-on-light-muted);
  text-decoration: none;
  transition: all var(--duration-fast);
  border: 1px solid transparent;
}

.training-tabs__link:hover {
  color: var(--text-on-light);
  background: rgba(0, 0, 0, 0.03);
}

.training-tabs__link--active {
  color: var(--text-on-light);
  background: var(--bg-white);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.training-tabs__link--lime.training-tabs__link--active {
  border-color: var(--accent-lime);
  background: var(--accent-lime-10);
}

.training-tabs__link--purple.training-tabs__link--active {
  border-color: var(--accent-purple);
  background: var(--accent-purple-10);
}

.training-tabs__link--orange.training-tabs__link--active {
  border-color: var(--accent-orange);
  background: var(--accent-orange-10);
}

.training-tabs__link--pink.training-tabs__link--active {
  border-color: var(--accent-pink);
  background: var(--accent-pink-10);
}

.training-tabs__link--turquoise.training-tabs__link--active {
  border-color: var(--accent-turquoise);
  background: var(--accent-turquoise-10);
}

.training-tabs__link--blue.training-tabs__link--active {
  border-color: var(--accent-blue);
  background: var(--accent-blue-10);
}


/* --- FAQ ACCORDION --- */
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-question,
.faq-item__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: var(--text-h4);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  gap: var(--space-4);
  transition: color var(--duration-fast);
}

.faq-question:hover,
.faq-item__title:hover { color: var(--text-on-light); text-decoration: underline; text-decoration-color: var(--accent-purple); text-underline-offset: 4px; }

.faq-icon,
.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-spring);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] .faq-icon,
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }

.faq-answer,
.faq-item__content {
  padding: 0 0 20px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-on-light-muted);
}


/* --- STEPPER --- */
.stepper {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stepper__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--duration-normal);
}

.stepper__step:hover {
  box-shadow: var(--shadow-sm);
}

.stepper__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-purple-15);
  color: var(--text-on-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-body);
  flex-shrink: 0;
}

.stepper__content {
  flex: 1;
}

.stepper__title {
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text-on-light);
}

.stepper__text {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}


/* --- CREDENTIALS & FUNDING (combined section) --- */
.credentials-funding {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 1024px) {
  .credentials-funding { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
}

/* Credential list inside glass card */
.credential-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.credential-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
}
.credential-item__badge--lime  { background: var(--accent-lime); color: #1a1a1a; }
.credential-item__badge--amber { background: var(--accent-amber); color: #1a1a1a; }
.credential-item__badge--coral { background: var(--accent-coral); color: #1a1a1a; }
.credential-item__body { flex: 1; }
.credential-item__title {
  font-weight: 600;
  font-size: var(--text-body);
  line-height: 1.3;
  margin-bottom: 2px;
}
.credential-item__desc {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  line-height: 1.5;
}

/* Funding stats */
.funding-stats {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.funding-stat {
  flex: 1;
}
.funding-stat__number {
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-2);
  display: inline-block;
  padding-bottom: 6px;
}
.funding-stat__number--lime  { border-bottom: 4px solid var(--accent-lime); }
.funding-stat__number--amber { border-bottom: 4px solid var(--accent-amber); }
.funding-stat__label {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  line-height: 1.5;
}
.funding-stat__label strong {
  color: var(--text-on-light);
}
.funding-note {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-5);
  line-height: 1.5;
}
.cert-note {
  font-size: var(--text-small);
  color: var(--text-on-light-subtle);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--glass-border);
}


/* --- TEAM CARD --- */
.team-card {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-default);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-lime-15);
  color: var(--text-on-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-body);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.team-card__avatar--lime      { background: var(--accent-lime-15); }
.team-card__avatar--amber     { background: var(--accent-amber-15); }
.team-card__avatar--coral     { background: var(--accent-coral-15); }

.team-card__name {
  font-size: var(--text-h4);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-3);
}

.team-card__contact {
  font-size: var(--text-small);
  line-height: 1.8;
}

.team-card__contact a {
  color: var(--text-on-light);
  text-decoration: underline;
  text-decoration-color: var(--accent-lime);
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}
.team-card--amber .team-card__contact a { text-decoration-color: var(--accent-amber); }
.team-card--coral .team-card__contact a { text-decoration-color: var(--accent-coral); }

.team-card__contact a:hover { text-decoration-color: var(--text-on-light); }


/* --- PARTNERS --- */
.partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.partners__label {
  width: 100%;
  text-align: center;
  font-size: var(--text-overline);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  color: var(--text-on-light-subtle);
}

.partners img {
  max-height: 50px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all var(--duration-normal);
  object-fit: contain;
}
.partners img:hover { filter: grayscale(0); opacity: 1; }

/* Dark section variant — original logos as-is */
.partners--dark img {
  filter: none;
  opacity: 1;
  max-height: 50px;
  border-radius: var(--radius-sm);
}
.partners--dark img:hover {
  filter: none;
  opacity: 1;
}

.partners__text {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}


/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--glass-strong-bg);
  backdrop-filter: blur(var(--glass-strong-blur));
  -webkit-backdrop-filter: blur(var(--glass-strong-blur));
  border-top: 1px solid var(--glass-border);
  padding: var(--space-4) 0;
  transform: translateY(100%);
  transition: transform 300ms var(--ease-out);
}

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

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-banner__inner { flex-direction: row; justify-content: space-between; }
}

.cookie-banner__text {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}


/* --- BREADCRUMB --- */
.breadcrumb {
  padding: var(--space-3) 0;
  padding-top: calc(var(--navbar-height) + var(--space-3));
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
}

.breadcrumb__link {
  color: var(--text-on-light-subtle);
  text-decoration: none;
  transition: color 200ms;
}

.breadcrumb__link:hover {
  color: var(--accent-purple);
}

.breadcrumb__sep {
  margin: 0 var(--space-1);
  color: var(--text-on-light-subtle);
}

.breadcrumb__current {
  color: var(--text-on-light);
  font-weight: 500;
}

/* --- FOOTER (light) --- */
.footer {
  background: var(--bg-dark-elevated);
  color: var(--text-on-light-muted);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer__brand { max-width: 280px; }

.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__heading {
  font-size: var(--text-overline);
  font-weight: 600;
  color: var(--text-on-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-small);
  color: var(--text-on-light-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer__link:hover { color: var(--text-on-light); }

.footer__contact-item {
  font-size: var(--text-small);
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.footer__social a {
  color: var(--text-on-light-muted);
  transition: color var(--duration-fast);
  display: inline-flex !important; /* prevent JS from hiding social icons */
}

.footer__social a:hover { color: var(--text-on-light); }

.footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: var(--space-6);
  font-size: var(--text-caption);
  text-align: center;
  color: var(--text-on-light-subtle);
}


/* --- NUMBER LIST --- */
.numbered-list {
  counter-reset: numbered;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .numbered-list--2col { grid-template-columns: repeat(2, 1fr); }
}

.numbered-list__item {
  display: flex;
  gap: var(--space-4);
  counter-increment: numbered;
}

.numbered-list__item::before {
  content: counter(numbered) ".";
  font-weight: 700;
  min-width: 28px;
  flex-shrink: 0;
  color: var(--text-on-light);
}


/* --- SKILL GRID — visual "what you'll learn" cards --- */
.skill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .skill-grid { grid-template-columns: repeat(3, 1fr); }
}

.skill-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-5) var(--space-4);
  transition: all 200ms var(--ease-default);
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  background: var(--glass-strong-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.skill-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: var(--space-3);
  color: var(--text-on-light);
}

.skill-card__number--lime      { background: var(--accent-lime); }
.skill-card__number--orange    { background: var(--accent-orange); }
.skill-card__number--pink      { background: var(--accent-pink); }
.skill-card__number--turquoise { background: var(--accent-turquoise); }
.skill-card__number--purple    { background: var(--accent-purple); }
.skill-card__number--blue      { background: var(--accent-blue); }

.skill-card__text {
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--text-on-light-muted);
}


/* --- CHALLENGE GRID — visual "what problems it solves" cards --- */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .challenge-grid { grid-template-columns: repeat(3, 1fr); }
}

.challenge-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all 200ms var(--ease-default);
  position: relative;
}

.challenge-card:hover {
  background: var(--glass-strong-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.challenge-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.challenge-card__icon--lime      { background: var(--accent-lime-15); border: 2px solid var(--accent-lime); }
.challenge-card__icon--orange    { background: var(--accent-orange-15); border: 2px solid var(--accent-orange); }
.challenge-card__icon--pink      { background: var(--accent-pink-15); border: 2px solid var(--accent-pink); }
.challenge-card__icon--turquoise { background: var(--accent-turquoise-15); border: 2px solid var(--accent-turquoise); }
.challenge-card__icon--purple    { background: var(--accent-purple-15); border: 2px solid var(--accent-purple); }
.challenge-card__icon--blue      { background: var(--accent-blue-15); border: 2px solid var(--accent-blue); }

.challenge-card__content {
  flex: 1;
  min-width: 0;
}

.challenge-card__title {
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-on-light);
  margin-bottom: 2px;
}

.challenge-card__desc {
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--text-on-light-muted);
}


/* --- TAG GROUP --- */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}


/* --- PROGRAM DAY --- */
.program-day {
  padding: var(--space-6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  background: var(--bg-white);
}

.program-day__title {
  font-size: var(--text-h4);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-on-light);
  border-left: 3px solid var(--accent-purple);
  padding-left: var(--space-2);
}

.program-day__text {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-on-light-muted);
}


/* --- HIGHLIGHT BOX --- */
.highlight-box {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
  background: var(--glass-subtle-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  /* No backdrop-filter — subtle element, doesn't need GPU cost */
}

.highlight-box__title {
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-on-light);
}

.highlight-box__text {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-on-light-muted);
}


/* --- @SUPPORTS FALLBACKS (no backdrop-filter) — opacity +8% from glass tier --- */
@supports not (backdrop-filter: blur(1px)) {
  .btn--secondary {
    background: rgba(255, 255, 255, 0.46);
  }
  .card-feature {
    background: rgba(255, 255, 255, 0.78);
  }
  .card-stat,
  .testimonial-sm,
  .bento-card {
    background: rgba(255, 255, 255, 0.63);
  }
  .testimonial-main,
  .cookie-banner {
    background: rgba(255, 255, 255, 0.78);
  }
  .highlight-box {
    background: rgba(255, 255, 255, 0.46);
  }
}


/* --- SKELETON LOADING --- */
.skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.03) 25%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* --- SILESIA EXAMPLE ANNOTATION --- */
.stat-annotation {
  display: block;
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--text-on-light-subtle);
  margin-top: var(--space-1);
  font-style: italic;
}

/* ========== SIGNUP FORM (sekcja signup_form) ========== */
.section--signup { background: var(--bg-soft, #f9fafb); padding: var(--space-12) 0; }
.signup-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.signup-form__header { text-align: center; margin-bottom: var(--space-6); }
.signup-form__title { margin: 0 0 var(--space-2) 0; font-size: 1.75rem; }
.signup-form__subtitle { color: var(--text-on-light-muted); margin: 0; }

.signup-form__legend {
    font-weight: 600;
    margin-bottom: var(--space-2);
    font-size: 0.95rem;
}
.signup-form__sessions { border: 0; padding: 0; margin: 0 0 var(--space-5) 0; }
.signup-form__no-sessions {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 12px 16px;
    border-radius: 6px;
    color: #78350f;
    font-size: 0.9rem;
}

.signup-sessions { display: flex; flex-direction: column; gap: var(--space-2); }
.signup-session {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.signup-session:hover { border-color: #d1d5db; background: #fafafa; }
.signup-session input[type="radio"] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.signup-session:has(input:checked) { border-color: var(--accent-lime, #c1ff5a); background: #f7ffe6; }
.signup-session--full { opacity: 0.5; cursor: not-allowed; }
.signup-session--full:hover { border-color: #e5e7eb; background: transparent; }

.signup-session__body { flex: 1; min-width: 0; }
.signup-session__date { font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.signup-session__meta {
    display: flex; flex-wrap: wrap; gap: var(--space-2);
    font-size: 0.85rem; color: var(--text-on-light-muted);
}
.signup-session__format {
    background: #eef2ff; color: #3730a3;
    padding: 2px 8px; border-radius: 4px; font-weight: 500;
}
.signup-session__seats--low { color: #b45309; font-weight: 600; }

.signup-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.signup-form__field--full { grid-column: 1 / -1; }
.signup-form__field { display: flex; flex-direction: column; gap: 4px; }
.signup-form__label { font-size: 0.85rem; font-weight: 500; color: var(--text-on-light-muted); }
.signup-form__field input,
.signup-form__field textarea {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.signup-form__field input:focus,
.signup-form__field textarea:focus {
    outline: none;
    border-color: var(--accent-lime, #c1ff5a);
    box-shadow: 0 0 0 3px rgba(193,255,90,0.2);
}
.signup-form__field textarea { resize: vertical; min-height: 80px; }

.signup-form__consents {
    display: flex; flex-direction: column; gap: var(--space-2);
    margin-bottom: var(--space-5);
    padding: var(--space-3);
    background: #fafafa;
    border-radius: var(--radius-md);
}
.signup-consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 0.85rem; line-height: 1.5;
    cursor: pointer;
}
.signup-consent input { margin-top: 2px; flex-shrink: 0; }
.signup-consent a { color: var(--text-on-light); text-decoration: underline; }

.signup-form__error {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: var(--space-4);
    font-size: 0.9rem;
}
.signup-form__actions { text-align: center; }
.signup-form__submit { padding: 12px 32px; min-width: 200px; }

@media (max-width: 640px) {
    .signup-form-wrapper { padding: var(--space-5); }
    .signup-form__grid { grid-template-columns: 1fr; }
}

/* ========== SIGNUP MODAL (sukces) ========== */
.signup-modal[hidden] { display: none !important; }
.signup-modal {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: var(--space-4);
}
.signup-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
.signup-modal__panel {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: signup-modal-in 0.25s ease-out;
}
@keyframes signup-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.signup-modal__icon {
    width: 64px; height: 64px;
    margin: 0 auto var(--space-4);
    background: var(--accent-lime, #c1ff5a);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: bold; color: #1a1a1a;
}
.signup-modal__title { margin: 0 0 var(--space-3) 0; font-size: 1.5rem; }
.signup-modal__message { color: var(--text-on-light-muted); margin: 0 0 var(--space-5) 0; }
.signup-modal__close { min-width: 140px; }

/* Disclaimery pod listą terminów */
.signup-disclaimers { margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.signup-disclaimer {
    display: flex; gap: 8px; align-items: flex-start;
    font-size: 0.82rem; line-height: 1.4;
    color: var(--text-on-light-muted);
    background: #f9fafb;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 0;
}
.signup-disclaimer--funding {
    background: #fffbeb;
    color: #78350f;
}
.signup-disclaimer__icon { flex-shrink: 0; font-size: 1rem; line-height: 1.2; }

/* ========== STRONA /szkolenia (katalog 2-kolumnowy) ========== */
.body--trainings-index main { padding-top: var(--navbar-height); }
.trainings-index__hero { padding: var(--space-12) 0 var(--space-6); }
.trainings-index__breadcrumb {
    font-size: 0.85rem; color: var(--text-on-light-muted);
    display: flex; gap: 6px; align-items: center;
    margin-bottom: var(--space-3);
}
.trainings-index__breadcrumb a { color: inherit; text-decoration: none; }
.trainings-index__breadcrumb a:hover { text-decoration: underline; }
.trainings-index__title { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 var(--space-3); }
.trainings-index__lead {
    max-width: 780px; color: var(--text-on-light-muted);
    font-size: 1.05rem; line-height: 1.6;
}
.trainings-index__lead strong { color: var(--text-on-light); }

.trainings-index__catalog { padding: var(--space-6) 0 var(--space-12); }
.trainings-catalog { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 960px) { .trainings-catalog { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }

.trainings-catalog__col-header { margin-bottom: var(--space-4); }
.trainings-catalog__col-overline {
    display: inline-block;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700;
    border-left: 3px solid currentColor;
    padding-left: 8px;
    margin-bottom: 8px;
}
.trainings-catalog__col-title { margin: 0 0 8px; font-size: 1.5rem; }
.trainings-catalog__col-sub { margin: 0 0 var(--space-2); color: var(--text-on-light-muted); font-size: 0.95rem; }
.trainings-catalog__count { font-size: 0.82rem; color: var(--text-on-light-subtle); font-weight: 500; }
.trainings-catalog__list { display: flex; flex-direction: column; gap: var(--space-3); }
.trainings-catalog__empty {
    padding: var(--space-6); text-align: center; color: var(--text-on-light-muted);
    background: #fafafa; border-radius: var(--radius-md);
}

/* Karty szkoleń w katalogu */
.training-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    position: relative;
}
.training-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}
.training-card__badge { margin-bottom: var(--space-2); }
.training-card__title { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.2; }
.training-card__subtitle {
    margin: 0 0 var(--space-3); color: var(--text-on-light-muted);
    font-size: 0.92rem; line-height: 1.5;
}
.training-card__meta {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: var(--space-3);
    font-size: 0.82rem; color: var(--text-on-light-muted);
}
.training-card__meta-item--price {
    color: var(--text-on-light); font-weight: 600;
}
.training-card__cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 600;
    color: var(--text-on-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-purple);
    text-underline-offset: 3px;
}
.training-card:hover .btn__arrow { transform: translateX(3px); transition: transform 0.15s; }

/* ========== NAVBAR MEGA-MENU (Szkolenia AI dropdown) ========== */
.navbar__item--has-mega { position: relative; }
.navbar__link--has-mega {
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer;
}
.navbar__mega-chevron {
    font-size: 0.75em; opacity: 0.6;
    transition: transform 0.15s ease;
}
.navbar__item--has-mega:hover .navbar__mega-chevron,
.navbar__item--has-mega:focus-within .navbar__mega-chevron {
    transform: rotate(180deg);
}

.navbar__mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 560px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: var(--space-5);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    z-index: 1000;
}
/* Bridge element — niewidzialny obszar między przyciskiem a menu, żeby hover się nie łamał */
.navbar__item--has-mega::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: 20px;
    z-index: 999;
}
@media (min-width: 1024px) {
    .navbar__item--has-mega:hover .navbar__mega,
    .navbar__item--has-mega:focus-within .navbar__mega {
        display: grid;
    }
}

.navbar__mega-col {
    display: flex; flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.navbar__mega-label {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700;
    border-left: 3px solid currentColor;
    padding-left: 8px;
    margin-bottom: 8px;
    line-height: 1.2;
}
.navbar__mega-item {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-on-light);
    transition: background 0.12s;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
}
.navbar__mega-item:hover { background: #f3f4f6; }
.navbar__mega-item-title { font-weight: 600; color: var(--text-on-light); }
.navbar__mega-item-badge {
    font-size: 11px; color: var(--text-on-light-muted);
    text-transform: uppercase; letter-spacing: 0.04em;
    font-weight: 500;
    max-width: 55%;
    text-align: right;
}
.navbar__mega-empty {
    font-size: 13px; color: var(--text-on-light-muted);
    padding: 8px 10px; font-style: italic;
}
.navbar__mega-view-all {
    margin-top: var(--space-2);
    padding: 8px 10px;
    font-size: 13px; font-weight: 600;
    color: var(--text-on-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-purple);
    text-underline-offset: 3px;
    border-top: 1px solid #f0f0f0;
    padding-top: var(--space-2);
    text-transform: none;
    letter-spacing: normal;
}
.navbar__mega-view-all:hover { background: #f9fafb; border-radius: 4px; }

/* Mobile: mega-menu = po prostu link (żadnego dropdowna na < 1024) */
@media (max-width: 1023px) {
    .navbar__mega { display: none; }
    .navbar__mega-chevron { display: none; }
}

/* ========== HERO VARIANT SWAP (funded ↔ commercial) ========== */
/* Podkreślenie wybranej kolumny w split: overline + karty, a druga przytłumiona */
.hero__visual--highlight-funded .hero__visual-col[data-col="commercial"],
.hero__visual--highlight-commercial .hero__visual-col[data-col="funded"] {
    opacity: 0.45;
    transition: opacity 0.3s ease;
}
.hero__visual--highlight-funded .hero__visual-col[data-col="funded"],
.hero__visual--highlight-commercial .hero__visual-col[data-col="commercial"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}
/* Podświetlenie labela aktywnej kolumny (większa czcionka + mocniejszy border) */
.hero__visual--highlight-funded .hero__visual-col[data-col="funded"] .hero__visual-col__label,
.hero__visual--highlight-commercial .hero__visual-col[data-col="commercial"] .hero__visual-col__label {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.hero__visual-col__label { transition: transform 0.3s ease, opacity 0.3s ease; }

/* Akcenty w hero title zmieniają kolor w zależności od wariantu */
.hero--variant-funded .hero__title .accent,
.hero--variant-funded .hero__title em {
    text-decoration: underline;
    text-decoration-color: var(--accent-lime);
    text-underline-offset: 6px;
    font-style: normal;
}
.hero--variant-commercial .hero__title .accent,
.hero--variant-commercial .hero__title em {
    text-decoration: underline;
    text-decoration-color: var(--accent-orange);
    text-underline-offset: 6px;
    font-style: normal;
}
.hero__title em { font-style: normal; }

/* Szablon <template> nie wyświetla się nigdzie — dla pewności */
template[data-hero-swap-markup] { display: none; }

/* Sub-label pod nagłówkiem kolumny w split hero */
.hero__visual-col__sublabel {
    font-size: 12px;
    color: var(--text-on-light-muted);
    margin-top: -2px;
    margin-bottom: var(--space-2);
    padding-left: 11px;
    letter-spacing: 0.01em;
    font-weight: 500;
}

/* Filtrowanie katalogu /szkolenia przez ?typ=... */
.trainings-catalog--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.trainings-catalog__col-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
    padding: 4px 0;
    transition: opacity 0.15s;
}
.trainings-catalog__col-link:hover { opacity: 0.75; }
.trainings-catalog__col-link-hint {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600;
    color: var(--text-on-light-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-top: 4px;
}
.trainings-catalog__col-link:hover .btn__arrow { transform: translateX(3px); transition: transform 0.15s; }

.trainings-index__filter-clear {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.88rem;
    color: var(--text-on-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-purple);
    text-underline-offset: 3px;
}

/* Sub-nagłówek w kolumnie stopki (dla grup „Z dofinansowaniem / Komercyjne") */
.footer__subheading {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-on-light-muted);
    margin: var(--space-3) 0 6px;
    padding-left: 8px;
    border-left: 2px solid currentColor;
    line-height: 1.2;
}
.footer__subheading:first-child,
.footer__heading + .footer__subheading { margin-top: 0; }
.footer__subheading--funded { color: var(--accent-lime); }
.footer__subheading--commercial { color: var(--accent-orange); }

/* Link „Zobacz wszystkie N →" w stopce — wyróżniony */
.footer__link--more {
    margin-top: 4px;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-on-light) !important;
    text-decoration: underline;
    text-decoration-color: var(--accent-purple);
    text-underline-offset: 3px;
    opacity: 0.85;
}
.footer__link--more:hover { opacity: 1; }

.signup-session__duration {
    background: #ecfdf5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
}

.signup-session__time-detail {
    font-size: 0.82rem;
    color: var(--text-on-light-muted);
    margin-top: 2px;
    margin-bottom: 4px;
}

/* Harmonogram spotkań wewnątrz karty terminu */
.signup-session__schedule {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
}
.signup-session__schedule-summary {
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-on-light);
    font-weight: 600;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.signup-session__schedule-summary::before {
    content: '▸';
    transition: transform 0.15s;
    font-size: 0.75em;
    color: var(--text-on-light-muted);
}
.signup-session__schedule[open] .signup-session__schedule-summary::before {
    transform: rotate(90deg);
}
.signup-session__schedule-summary::-webkit-details-marker { display: none; }

.signup-session__meetings {
    margin: 8px 0 0;
    padding-left: 22px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-on-light);
    counter-reset: meeting;
    list-style: none;
}
.signup-session__meeting {
    position: relative;
    padding: 3px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}
.signup-session__meeting::before {
    counter-increment: meeting;
    content: counter(meeting);
    position: absolute;
    left: -22px;
    top: 4px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: var(--accent-lime, #c1ff5a);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
}
.signup-session__meeting-date { font-weight: 600; }
.signup-session__meeting-time {
    color: var(--text-on-light-muted);
    font-variant-numeric: tabular-nums;
}
.signup-session__meeting-note { color: var(--text-on-light-muted); font-style: italic; }

/* Box ceny w sekcji signup_form */
.signup-form__price {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-5);
    text-align: center;
}
.signup-form__price-main {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    margin-bottom: 6px;
}
.signup-form__price-label {
    font-size: 0.82rem;
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.signup-form__price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #065f46;
    line-height: 1;
}
.signup-form__price-regular {
    font-size: 0.88rem;
    color: var(--text-on-light-muted);
    margin-bottom: 4px;
}
.signup-form__price-strike {
    text-decoration: line-through;
    color: #9ca3af;
}
.signup-form__price-note {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--text-on-light-muted);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* External CTA (dofinansowane bez terminów → Monday form) */
.signup-form__external-cta {
    text-align: center;
    padding: var(--space-6) var(--space-4);
}
.signup-form__external-lead {
    font-size: 1.1rem;
    margin: 0 0 var(--space-4);
    color: var(--text-on-light);
}
.signup-form__external-btn {
    padding: 14px 32px;
    min-width: 260px;
}
.signup-form__external-contact {
    margin-top: var(--space-5);
    color: var(--text-on-light-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.signup-form__external-contact a {
    color: var(--text-on-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-purple);
    text-underline-offset: 3px;
}
