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

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg: #0B1120;
  --bg-secondary: #111827;
  --card: rgba(30, 41, 59, 0.6);
  --border: rgba(148, 163, 184, 0.15);
  --text: #E2E8F0;
  --muted: #94A3B8;

  --blue: #3B82F6;
  --purple: #8B5CF6;
  --gradient: linear-gradient(135deg, #3B82F6, #8B5CF6);
}

body {
  margin: 0;
  font-family: 'Public Sans', sans-serif;
  background: radial-gradient(circle at top, #0F172A, #020617);
  color: var(--text);
  line-height: 1.6;
}

/* HEADERY + LOGO = LORA */

h1, h2, h3 {
  font-family: 'Lora', serif;
  letter-spacing: 0.5px;
}

/* subtitle może być bardziej “UI style” */
.subtitle {
  font-family: 'Public Sans', sans-serif;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.feature h2 {
  font-family: 'Lora', serif;
  font-weight: 500;
}

/* ================= NAVBAR ================= */

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 18px 0;

  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.6);
  border-bottom: 1px solid var(--border);

  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Public Sans', sans-serif;

  transition: all 0.25s ease;
}

nav a:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #93C5FD;
  transform: translateY(-1px);
}

/* ================= HEADER ================= */

header {
  text-align: center;
  padding: 160px 20px 120px;
  position: relative;
}

/* glow background */
header::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  filter: blur(120px);
  z-index: -1;
}

h1 {
  font-size: 5rem;
  margin-bottom: 20px;

  background: linear-gradient(90deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.4rem;
  color: var(--muted);
  max-width: 750px;
  margin: auto;
}

/* ================= SECTIONS ================= */

.section,
.description {
  max-width: 1000px;
  margin: 120px auto;
  padding: 0 20px;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

/* ================= GLASS CARD ================= */

.highlight {
  background: var(--card);
  backdrop-filter: blur(16px);

  padding: 40px;
  border-radius: 18px;
  border: 1px solid var(--border);

  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: 0.3s;
}

.highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* ================= TEAM ================= */

.team-list {
  text-align: center;
  padding: 100px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  max-width: 1100px;
  margin: 50px auto;
}

.team-card {
  background: var(--card);
  backdrop-filter: blur(12px);

  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* glow hover */
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(139,92,246,0.2), transparent);
  opacity: 0;
  transition: 0.3s;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(139,92,246,0.4);
}

.team-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.role {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ================= SCHEDULE ================= */

.schedule {
  display: grid;
  gap: 30px;
}

.month {
  background: var(--card);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--border);

  transition: 0.3s;
}

.month:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.month h3 {
  margin-bottom: 10px;
  color: #93C5FD;
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ================= ANIMATIONS ================= */

* {
  scroll-behavior: smooth;
}

/* ================= MOBILE ================= */

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

  h1 {
    font-size: 3rem;
  }
}

/* ================= HERO BACKGROUND ================= */

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* LAPTOP jako tło */
.hero-bg {
  position: absolute;
  inset: 0;

  background: url("../images/thulur-laptop.png") center/cover no-repeat;

  opacity: 0.25;
  transform: scale(1.2);

  filter: blur(2px) brightness(0.6);

  z-index: 0;
}

/* gradient overlay – KLUCZ */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(circle at center,
    rgba(15,23,42,0.2),
    rgba(2,6,23,0.9)
  );

  z-index: 1;
}

/* content nad tym wszystkim */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* tekst */
.hero h1 {
  font-size: 5rem;
}

.hero .subtitle {
  font-size: 1.4rem;
  color: #cbd5f5;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;

  background: radial-gradient(circle,
    rgba(59,130,246,0.25),
    transparent 70%
  );

  filter: blur(120px);
  z-index: 1;
}

/* ================= FEATURES ================= */

.features {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 20px;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 120px;
}

/* tekst */
.feature .text {
  flex: 1;
}

.feature h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
}

/* wizual (placeholder) */
.feature .visual {
  flex: 1;
  height: 250px;
  border-radius: 16px;

  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1px solid var(--border);
}

/* odwracanie */
.feature.right {
  flex-direction: row-reverse;
}

/* ================= ANIMACJE ================= */

.hidden {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
}

.hidden.left {
  transform: translateX(-100px);
}

.show {
  opacity: 1;
  transform: translateX(0);
}

/* MOBILE */
@media (max-width: 900px) {
  .feature {
    flex-direction: column;
  }
}

/* ================= TEAM PAGE PRO ================= */

.team-page {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 24px 130px;
}

.team-page::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 90vw);
  height: 420px;
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.22), transparent 42%),
    radial-gradient(circle at 70% 35%, rgba(139, 92, 246, 0.18), transparent 40%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.team-hero,
.staff-grid,
.team-grid--members {
  position: relative;
  z-index: 1;
}

.team-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  color: #93c5fd;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.04;
}

.team-intro {
  max-width: 760px;
  margin: 0 auto;
  color: #aebed4;
  font-size: 1.08rem;
  line-height: 1.85;
}

/* ---------- wspólne karty ---------- */

.team-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(20, 28, 45, 0.9), rgba(11, 17, 32, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    background 0.35s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.85s ease;
  pointer-events: none;
  z-index: 0;
}

.team-card:hover::before {
  transform: translateX(120%);
}

.card-glow {
  position: absolute;
  inset: auto auto -30% -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 65%);
  filter: blur(18px);
  opacity: 0.7;
  z-index: -1;
  transition: transform 0.45s ease, opacity 0.35s ease;
}

.team-card:hover .card-glow {
  transform: scale(1.2);
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(96, 165, 250, 0.08),
    0 0 36px rgba(59, 130, 246, 0.12);
}

.team-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #f8fbff;
}

.card-desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #9fb0c8;
  line-height: 1.75;
  font-size: 0.98rem;
}

/* ---------- koordynator + opiekun ---------- */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  gap: 28px;
  margin: 0 auto 44px;
}

.team-card--staff {
  min-height: 240px;
  padding: 30px 28px 28px;
  text-align: left;
}

.card-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.team-card--coordinator .card-label {
  color: #bfdbfe;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.26), rgba(96, 165, 250, 0.14));
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.team-card--guardian .card-label {
  color: #ddd6fe;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.26), rgba(167, 139, 250, 0.14));
  border: 1px solid rgba(167, 139, 250, 0.28);
}

.team-card--coordinator {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(96, 165, 250, 0.08),
    0 0 50px rgba(37, 99, 235, 0.10);
}

.team-card--guardian {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(167, 139, 250, 0.08),
    0 0 50px rgba(139, 92, 246, 0.10);
}

.team-card--coordinator:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(96, 165, 250, 0.15),
    0 0 56px rgba(59, 130, 246, 0.18);
}

.team-card--guardian:hover {
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(167, 139, 250, 0.15),
    0 0 56px rgba(139, 92, 246, 0.18);
}

/* ---------- członkowie zespołu ---------- */

.team-grid--members {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.team-card--member {
  padding: 28px 24px 24px;
  min-height: 220px;
  text-align: left;
}

/* układ 3 + 2 wycentrowany */
.team-grid--members > .team-card--member:nth-child(-n+3) {
  grid-column: span 2;
}

.team-grid--members > .team-card--member:nth-child(4) {
  grid-column: 2 / span 2;
}

.team-grid--members > .team-card--member:nth-child(5) {
  grid-column: 4 / span 2;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,0.03);
  color: #c6d3e3;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.team-card:hover .role-badge {
  transform: translateY(-2px);
  border-color: rgba(96,165,250,0.22);
  background: rgba(59,130,246,0.08);
}

.role-badge--accent {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.24);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.08));
}

/* ---------- usuń stare style konfliktujące ---------- */

.team-list {
  text-align: initial;
  padding: 0;
}

.team-grid {
  max-width: none;
  margin: 0;
}

.team-card strong,
.role {
  display: initial;
  margin: 0;
}

/* ---------- responsywność ---------- */

@media (max-width: 1100px) {
  .team-grid--members {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .team-grid--members > .team-card--member:nth-child(-n+3),
  .team-grid--members > .team-card--member:nth-child(4),
  .team-grid--members > .team-card--member:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .team-grid--members {
    grid-template-columns: 1fr;
  }

  .team-page {
    padding: 90px 18px 100px;
  }

  .team-card--staff,
  .team-card--member {
    min-height: unset;
  }
}

/* ================= INDEX PRO ================= */

.hero--pro {
  min-height: 100vh;
  padding: 120px 24px 80px;
  align-items: center;
}

.hero--pro .hero-bg {
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.45), rgba(3, 7, 18, 0.88)),
    url("../images/thulur-laptop.png") center center / cover no-repeat;
  opacity: 0.42;
  transform: scale(1.08);
  filter: blur(1.5px) saturate(1.05) brightness(0.7);
}

.hero--pro::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(16, 24, 40, 0.14), rgba(2, 6, 23, 0.92)),
    linear-gradient(180deg, rgba(2,6,23,0.35), rgba(2,6,23,0.88));
}

.hero--pro::after {
  width: min(980px, 85vw);
  height: 540px;
  background:
    radial-gradient(circle, rgba(59,130,246,0.22), transparent 62%),
    radial-gradient(circle at 65% 50%, rgba(139,92,246,0.12), transparent 55%);
  filter: blur(120px);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 88%);
}

.hero-content--pro {
  max-width: 1080px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content--pro h1 {
  margin: 0 0 18px;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.98;
}

.hero-content--pro .subtitle {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.9;
  color: #c4d3e7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(96, 165, 250, 0.85));
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  color: #d9e6f7;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(30, 41, 59, 0.55);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
  width: min(980px, 100%);
  margin-top: 42px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.72), rgba(11, 17, 32, 0.88));
  backdrop-filter: blur(14px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: auto auto -25% -8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 68%);
  filter: blur(16px);
}

.stat-value {
  position: relative;
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f8fbff;
  margin-bottom: 8px;
}

.stat-label {
  position: relative;
  display: block;
  color: #9eb2c8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- sekcje ---------- */

.section-heading {
  max-width: 860px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 0 auto;
  color: #a8bbd2;
  line-height: 1.85;
  font-size: 1.05rem;
}

.features-pro {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 24px 50px;
}

.features-pro::before {
  content: "";
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 90vw);
  height: 700px;
  background:
    radial-gradient(circle at 20% 35%, rgba(59,130,246,0.12), transparent 35%),
    radial-gradient(circle at 80% 55%, rgba(139,92,246,0.10), transparent 34%);
  filter: blur(80px);
  pointer-events: none;
}

.feature-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 34px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(148,163,184,0.12);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.74), rgba(11, 17, 32, 0.9));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 46%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.85s ease;
}

.feature-panel:hover::before {
  transform: translateX(120%);
}

.feature-panel:hover {
  border-color: rgba(96,165,250,0.2);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(96,165,250,0.06);
}

.feature-panel--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-copy,
.feature-preview {
  position: relative;
  z-index: 1;
}

.feature-copy {
  padding: 10px 6px 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #7fb2ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.08;
  color: #f7fbff;
}

.feature-copy p {
  margin: 0 0 22px;
  color: #aabbd1;
  line-height: 1.85;
  font-size: 1rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: #d1dceb;
  font-size: 0.96rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  box-shadow: 0 0 14px rgba(96,165,250,0.5);
}

.feature-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-card {
  width: min(460px, 100%);
  min-height: 280px;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 21, 38, 0.96), rgba(10, 15, 28, 0.98));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.04);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.preview-card::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  filter: blur(20px);
}

.preview-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.12);
  color: #d8e6f7;
  font-size: 0.86rem;
  font-weight: 600;
}

.preview-line {
  height: 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(96,165,250,0.22), rgba(148,163,184,0.08));
}

.preview-line--w1 { width: 82%; }
.preview-line--w2 { width: 66%; }
.preview-line--w3 { width: 54%; }
.preview-line--w4 { width: 72%; }
.preview-line--w5 { width: 46%; }

.preview-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 40px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59,130,246,0.88), rgba(96,165,250,0.76));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.stack-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stack-box {
  height: 100px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.12);
}

.stack-box--dim {
  background: rgba(255,255,255,0.03);
}

.stack-box--active {
  background:
    linear-gradient(180deg, rgba(37,99,235,0.22), rgba(96,165,250,0.10));
  border-color: rgba(96,165,250,0.22);
  box-shadow: 0 0 0 1px rgba(96,165,250,0.05), 0 0 24px rgba(59,130,246,0.14);
}

/* ---------- showcase ---------- */

.project-showcase {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px 120px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  border-radius: 30px;
  padding: 34px;
  border: 1px solid rgba(148,163,184,0.12);
  background:
    linear-gradient(180deg, rgba(17,24,39,0.76), rgba(11,17,32,0.9));
  box-shadow:
    0 28px 80px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.showcase-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.showcase-copy p:last-child {
  margin: 0;
  color: #a9bdd3;
  line-height: 1.9;
}

.showcase-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-panel {
  width: 100%;
  min-height: 100%;
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(12, 18, 31, 0.95), rgba(8, 13, 24, 0.98));
  border: 1px solid rgba(148,163,184,0.12);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.mini-panel-title {
  width: 100%;
  margin-bottom: 6px;
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  color: #f1f6fd;
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #d6e3f5;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.12);
}

/* ---------- stare features wyciszamy ---------- */

.features {
  display: none;
}

/* ---------- responsywność ---------- */

@media (max-width: 1100px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .feature-panel--reverse,
  .showcase-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .hero--pro {
    min-height: auto;
    padding: 110px 18px 60px;
  }

  .features-pro,
  .project-showcase {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-panel,
  .showcase-card {
    padding: 22px;
    border-radius: 24px;
  }

  .preview-card {
    min-height: 240px;
  }
}

/* ================= HARMONOGRAM PRO ================= */

.timeline-page {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 24px 130px;
}

.timeline-page::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 90vw);
  height: 500px;

  background:
    radial-gradient(circle at 30% 40%, rgba(59,130,246,0.18), transparent 40%),
    radial-gradient(circle at 70% 35%, rgba(139,92,246,0.14), transparent 38%);

  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.timeline-hero,
.timeline-grid,
.mentor-panel {
  position: relative;
  z-index: 1;
}

.timeline-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.timeline-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.timeline-intro {
  max-width: 760px;
  margin: 0 auto;
  color: #aebed4;
  line-height: 1.85;
  font-size: 1.08rem;
}

/* GRID */

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

/* KARTY */

.timeline-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: 30px;
  border-radius: 24px;

  background:
    linear-gradient(180deg, rgba(20, 28, 45, 0.9), rgba(11, 17, 32, 0.92));

  border: 1px solid rgba(148, 163, 184, 0.14);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.03);

  transition:
    transform 0.45s ease,
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

/* shine effect */
.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255,255,255,0.08) 45%,
      transparent 70%
    );

  transform: translateX(-120%);
  transition: transform 0.85s ease;
  z-index: 0;
}

.timeline-card:hover::before {
  transform: translateX(120%);
}

.timeline-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96,165,250,0.28);

  box-shadow:
    0 28px 80px rgba(0,0,0,0.42),
    0 0 0 1px rgba(96,165,250,0.08),
    0 0 36px rgba(59,130,246,0.10);
}

.timeline-month {
  position: relative;
  z-index: 1;

  display: inline-block;
  margin-bottom: 20px;

  padding: 10px 16px;
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(37,99,235,0.18),
      rgba(96,165,250,0.08)
    );

  border: 1px solid rgba(96,165,250,0.24);

  color: #dbeafe;
  font-weight: 700;
  font-size: 0.92rem;
}

.timeline-card ul {
  position: relative;
  z-index: 1;

  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 12px;
}

.timeline-card li {
  position: relative;
  padding-left: 22px;
  color: #c7d5e5;
  line-height: 1.7;
}

.timeline-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background:
    linear-gradient(135deg, #60A5FA, #A78BFA);

  box-shadow: 0 0 14px rgba(96,165,250,0.4);
}

/* mentor section */

.mentor-card {
  padding: 40px;
  border-radius: 30px;

  background:
    linear-gradient(180deg, rgba(17,24,39,0.76), rgba(11,17,32,0.9));

  border: 1px solid rgba(148,163,184,0.12);

  box-shadow:
    0 28px 80px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(255,255,255,0.03);

  text-align: center;
}

.mentor-card h2 {
  margin: 0 0 20px;
}

.mentor-card p:last-child {
  margin: 0;
  color: #a9bdd3;
  line-height: 1.9;
  max-width: 800px;
  margin-inline: auto;
}

/* mobile */

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

  .timeline-page {
    padding: 90px 18px 100px;
  }

  .timeline-card,
  .mentor-card {
    padding: 24px;
  }
}

/* ================= DOKUMENTACJA PRO ================= */

.docs-page {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 24px 130px;
}

.docs-page::before {
  content: "";
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 90vw);
  height: 520px;
  background:
    radial-gradient(circle at 28% 40%, rgba(59,130,246,0.18), transparent 40%),
    radial-gradient(circle at 72% 34%, rgba(139,92,246,0.14), transparent 38%);
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}

.docs-hero,
.docs-status-card,
.docs-grid {
  position: relative;
  z-index: 1;
}

.docs-hero {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 60px;
}

.docs-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.15;
  padding-bottom: 12px;
}

.docs-intro {
  max-width: 760px;
  margin: 0 auto;
  color: #aebed4;
  font-size: 1.08rem;
  line-height: 1.85;
}

/* ---------- main status card ---------- */

.docs-status-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  margin: 0 auto 34px;
  padding: 38px 34px;
  border-radius: 30px;

  background:
    linear-gradient(180deg, rgba(17,24,39,0.78), rgba(11,17,32,0.92));

  border: 1px solid rgba(148,163,184,0.12);

  box-shadow:
    0 28px 80px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.03);

  text-align: center;
}

.docs-status-card::before,
.docs-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.85s ease;
  pointer-events: none;
}

.docs-status-card:hover::before,
.docs-card:hover::before {
  transform: translateX(120%);
}

.docs-status-card:hover,
.docs-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96,165,250,0.28);
  box-shadow:
    0 28px 80px rgba(0,0,0,0.42),
    0 0 0 1px rgba(96,165,250,0.08),
    0 0 36px rgba(59,130,246,0.10);
}

.docs-status-card {
  transition:
    transform 0.45s ease,
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.docs-status-badge,
.docs-card-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(96,165,250,0.24);
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(96,165,250,0.08));
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-status-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.35;
    padding-bottom: 8px;
}

.docs-status-card p {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  color: #a9bdd3;
  line-height: 1.9;
}

/* ---------- lower cards ---------- */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 28px;
}

.docs-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: 30px;
  border-radius: 24px;

  background:
    linear-gradient(180deg, rgba(20,28,45,0.9), rgba(11,17,32,0.92));

  border: 1px solid rgba(148,163,184,0.14);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.03);

  transition:
    transform 0.45s ease,
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.docs-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 1.9rem;
  line-height: 1.15;
  color: #f7fbff;
}

.docs-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.docs-card li {
  position: relative;
  padding-left: 22px;
  color: #c7d5e5;
  line-height: 1.7;
}

.docs-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60A5FA, #A78BFA);
  box-shadow: 0 0 14px rgba(96,165,250,0.4);
}

/* ---------- responsive ---------- */

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

  .docs-page {
    padding: 90px 18px 100px;
  }

  .docs-status-card,
  .docs-card {
    padding: 24px;
  }
}
