/* ============================================================
   PlanMuzyczny.pl — Design System v5  LIGHT THEME
   Jasny, nowoczesny, muzyczny — fiolet + złoto + biel
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  /* PALETA: Fiolet + Złoto + Biel */
  --gold:      #D97706;
  --gold-l:    rgba(217,119,6,.1);
  --gold-d:    #B45309;
  --gold-dd:   #78350F;
  --cyan:      #0891B2;
  --cyan-l:    rgba(8,145,178,.1);
  --violet:    #7C3AED;
  --violet-l:  rgba(124,58,237,.1);
  --green:     #059669;
  --green-l:   rgba(5,150,105,.1);
  --red:       #DC2626;
  --red-l:     rgba(220,38,38,.1);
  --amber:     #F59E0B;

  /* ALIASY LEGACY (PHP inline styles używa tych zmiennych) */
  --violet-d:  #6D28D9;
  --violet-dd: #4C1D95;
  --pink:      #0891B2;
  --pink-l:    rgba(8,145,178,.1);
  --teal:      #7C3AED;
  --teal-l:    rgba(124,58,237,.1);
  --orange:    #EA580C;
  --orange-l:  rgba(234,88,12,.1);

  /* TŁA */
  --bg:        #FFFFFF;
  --bg-soft:   #F9F7FF;
  --bg-mid:    #FFFFFF;
  --bg-card:   #FFFFFF;

  /* TEKST */
  --ink:       #0F172A;
  --mid:       #64748B;
  --light:     #94A3B8;
  --border:    rgba(0,0,0,.07);
  --border-v:  rgba(217,119,6,.25);

  /* CIENIE */
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow:    0 4px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,.14);

  --max-w:       1440px;
  --px:          clamp(1.25rem, 4vw, 5.5rem);
  --py:          clamp(4rem, 8vw, 7rem);
  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* GRADIENTY */
  --g-vp:   linear-gradient(135deg, #7C3AED, #2563EB);
  --g-vt:   linear-gradient(135deg, #7C3AED, #0891B2);
  --g-pt:   linear-gradient(135deg, #0891B2, #059669);
  --g-logo: linear-gradient(135deg, #D97706 0%, #EF4444 100%);
}

/* ── RESET ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--mid); line-height: 1.7; }

.gradient-text {
  background: var(--g-vp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section { padding: var(--py) var(--px); max-width: var(--max-w); margin: 0 auto; }
.section-full { padding: var(--py) 0; }
.section-alt { background: var(--bg-soft); }

.section-label {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--violet-l); border: 1px solid rgba(124,58,237,.22);
  color: var(--violet); border-radius: var(--radius-full);
  padding: .35rem 1rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.section-label svg { flex-shrink: 0; }

.sec-header { text-align: center; margin-bottom: 3.5rem; }
.sec-sub {
  color: var(--mid); font-size: 1.1rem; max-width: 620px;
  margin: .85rem auto 0; line-height: 1.7;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px); height: 72px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#main-nav.scrolled {
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
}

.nav-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 30px; height: 44px; flex-shrink: 0;
  background: none; box-shadow: none;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: visible;
}

/* ── LOGO — wędrujące kolorowe nutki ─────────────────────────── */
.lni-note {
  position: absolute; font-family: Georgia, 'Times New Roman', serif;
  line-height: 1; pointer-events: none; user-select: none; z-index: 2;
}
.lni-note-1 {  /* ♪ złota — tańczy w górę-lewo */
  font-size: 1.3rem; color: #F59E0B;
  top: 1px; left: 2px;
  animation: lniWander1 3.4s ease-in-out infinite;
}
.lni-note-2 {  /* ♫ cyjanowa — wznosi się wysoko */
  font-size: .9rem; color: #22D3EE;
  top: 9px; right: 1px;
  animation: lniWander2 4.2s .75s ease-in-out infinite;
}
.lni-note-3 {  /* ♬ pomarańczowa — wędruje pod napisem */
  font-size: .78rem; color: #FB923C;
  bottom: 2px; left: 3px;
  animation: lniWander3 7s 1.4s ease-in-out infinite;
}
.lni-note-4 {  /* ♩ fioletowa — zjawia się i znika */
  font-size: .62rem; color: #A78BFA;
  top: 20px; left: 1px;
  animation: lniWander4 5.5s 3.2s ease-in-out infinite;
}
@keyframes lniWander1 {
  0%,100% { transform: translate(0,0) rotate(-12deg); opacity: .9; }
  35%     { transform: translate(-5px,-10px) rotate(5deg); opacity: 1; }
  70%     { transform: translate(3px,-5px) rotate(-7deg); opacity: .75; }
}
@keyframes lniWander2 {
  0%,100% { transform: translate(0,0) rotate(10deg); opacity: .75; }
  45%     { transform: translate(5px,-13px) rotate(-10deg); opacity: 1; }
  75%     { transform: translate(-2px,-7px) rotate(6deg); opacity: .55; }
}
@keyframes lniWander3 {  /* idzie pod tekst i wraca */
  0%    { transform: translate(0,0) rotate(-5deg); opacity: .7; }
  18%   { transform: translate(16px,3px) rotate(7deg); opacity: .85; }
  40%   { transform: translate(52px,7px) rotate(-4deg); opacity: .45; }
  57%   { transform: translate(74px,2px) rotate(9deg); opacity: .18; }
  74%   { transform: translate(44px,5px) rotate(-6deg); opacity: .5; }
  89%   { transform: translate(13px,1px) rotate(4deg); opacity: .72; }
  100%  { transform: translate(0,0) rotate(-5deg); opacity: .7; }
}
@keyframes lniWander4 {
  0%,100% { transform: translate(0,0) scale(.75); opacity: 0; }
  25%,75% { transform: translate(-4px,-9px) scale(1); opacity: .65; }
  50%     { transform: translate(2px,-15px) scale(.85); opacity: .28; }
}

/* TEKST LOGO — płynący gradient fiolet-niebieski-cyan-pomarańcz */
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1.22rem; white-space: nowrap;
  background: linear-gradient(90deg,
    #7C3AED 0%,
    #2563EB 22%,
    #06B6D4 44%,
    #EA580C 66%,
    #7C3AED 88%,
    #2563EB 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoTextFlow 7s linear infinite;
}
@keyframes logoTextFlow {
  0%   { background-position:   0% center; }
  100% { background-position: 250% center; }
}

.nav-center { display: flex; gap: .2rem; align-items: center; }
.nav-center a {
  display: inline-flex; align-items: center; gap: .42rem;
  text-decoration: none; white-space: nowrap;
  padding: .38rem .82rem .38rem .6rem;
  border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 500; letter-spacing: -.01em;
  color: rgba(15,23,42,.58);
  border: 1.5px solid transparent;
  transition: all .2s ease;
}
.nav-center a:hover {
  background: rgba(124,58,237,.07);
  color: var(--violet);
  border-color: rgba(124,58,237,.14);
}
.nav-center a.nav-active {
  background: var(--violet);
  color: #fff !important;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 2px 14px rgba(124,58,237,.38);
}
.nav-center a.nav-active .nav-icon {
  background: rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.92) !important;
}

/* Nav icon badges */
.nav-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s;
}
.nav-center a:hover .nav-icon { transform: scale(1.15) rotate(-4deg); }
.nav-center a.nav-active .nav-icon { transform: scale(1.05); }
.mob-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
}
.mob-link {
  display: flex !important; align-items: center !important;
  gap: .75rem !important; font-size: 1.3rem !important;
}

.ni-blue   { background: rgba(124,58,237,.12); color: #7C3AED; }
.ni-orange { background: rgba(217,119,6,.12);  color: #D97706; }
.ni-purple { background: rgba(8,145,178,.12);  color: #0891B2; }
.ni-green  { background: rgba(5,150,105,.12);  color: #059669; }
.ni-teal   { background: rgba(234,88,12,.12);  color: #EA580C; }

.nav-right { display: flex; gap: .6rem; align-items: center; }

.btn-nav-lang {
  color: rgba(15,23,42,.5); font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; padding: .38rem .75rem; border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.1); transition: all .2s; white-space: nowrap;
}
.btn-nav-lang:hover { color: var(--violet); border-color: rgba(124,58,237,.3); background: var(--violet-l); }

.btn-nav-login {
  color: rgba(15,23,42,.6); font-size: .875rem; font-weight: 500;
  text-decoration: none; padding: .48rem 1rem; border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.1); transition: all .2s;
}
.btn-nav-login:hover { color: var(--ink); border-color: rgba(0,0,0,.2); background: rgba(0,0,0,.04); }

.btn-nav-cta {
  background: linear-gradient(135deg, #7C3AED, #2563EB); color: #fff;
  padding: .52rem 1.3rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 700; text-decoration: none;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 3px 14px rgba(124,58,237,.35);
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(124,58,237,.5); }

/* Hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: .5rem .3rem; background: none; border: none; z-index: 201;
}
.nav-burger span { display: block; width: 22px; height: 2.5px; background: rgba(15,23,42,.65); border-radius: 2px; transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,.99); backdrop-filter: blur(16px);
  z-index: 490; flex-direction: column; align-items: center;
  justify-content: center; gap: 1.4rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem;
  font-weight: 700; text-decoration: none; color: var(--ink); transition: color .2s;
}
.nav-mobile a:hover { color: var(--violet); }
.nav-mobile-div { width: 40px; height: 2px; background: rgba(0,0,0,.08); margin: .3rem 0; }
.nav-mobile .mob-cta {
  background: linear-gradient(135deg, #7C3AED, #2563EB); color: #fff !important;
  padding: .75rem 2.2rem; border-radius: 12px;
  font-size: 1rem !important; box-shadow: 0 4px 20px rgba(124,58,237,.35);
}

@media (max-width: 1100px) {
  .nav-center { gap: .1rem; }
  .nav-center a { font-size: .82rem; padding: .35rem .65rem .35rem .5rem; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero-section {
  position: relative; overflow: hidden; background: var(--bg);
  padding-top: calc(72px + clamp(3rem, 6vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  padding-left: var(--px); padding-right: var(--px);
  min-height: 92vh; display: flex; align-items: center;
}
.hero-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 80% 20%, rgba(124,58,237,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(8,145,178,.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(217,119,6,.04) 0%, transparent 70%);
}
.hero-section::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(124,58,237,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(124,58,237,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-grid {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--violet-l); border: 1px solid rgba(124,58,237,.22);
  color: var(--violet); border-radius: var(--radius-full);
  padding: .38rem 1rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 1.4rem; animation: fadeUp .5s ease both;
}
.dot-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--violet);
  animation: dotPulse 1.8s infinite; flex-shrink: 0;
}

.hero-h1 { animation: fadeUp .6s .1s ease both; margin-bottom: 1.3rem; }
.hero-h1 em { font-style: normal; }

.hero-sub {
  font-size: 1.1rem; color: var(--mid); line-height: 1.75;
  max-width: 520px; margin-bottom: 2rem;
  animation: fadeUp .6s .2s ease both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .85rem;
  animation: fadeUp .6s .3s ease both; margin-bottom: 2rem;
}
.btn-prim {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--g-logo); color: #fff;
  padding: .9rem 2.1rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 4px 20px rgba(217,119,6,.3);
  transition: all .25s; position: relative; overflow: hidden;
}
.btn-prim:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(239,68,68,.38); }
.btn-sec {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--violet); border: 2px solid rgba(124,58,237,.25);
  padding: .87rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; background: var(--violet-l);
  transition: all .25s;
}
.btn-sec:hover { background: rgba(124,58,237,.16); border-color: var(--violet); transform: translateY(-1px); }

.hero-trust {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--light); animation: fadeUp .6s .4s ease both;
}
.hero-trust-item { display: flex; align-items: center; gap: .35rem; }
.hero-trust-item svg { color: var(--green); flex-shrink: 0; }

.hero-visual { position: relative; animation: fadeUp .7s .2s ease both; }

/* ── CHORD BOARD ─────────────────────────────────────────────── */
.hero-chord-board {
  background: #FDFCFF;
  border: 1px solid rgba(124,58,237,.13);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(124,58,237,.05), var(--shadow-xl);
}
.hero-chord-board::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g-vp);
}
.hero-chord-board::after {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.05) 0%, transparent 70%);
  pointer-events: none;
}

.hcb-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .55rem;
}
.hcb-song-info { display: flex; align-items: center; gap: .5rem; }
.hcb-song-icon { font-size: 1rem; }
.hcb-song-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem; color: var(--ink); }
.hcb-live-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(5,150,105,.12); color: var(--green);
  border-radius: var(--radius-full); padding: .22rem .75rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
}
.hcb-live-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
  animation: dotPulse 1.6s infinite;
}

.hcb-meta {
  font-size: .76rem; color: var(--light); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.hcb-meta-sep { opacity: .4; }
.hcb-key-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  background: var(--gold-l); color: var(--gold);
  border-radius: 6px; padding: .1rem .5rem;
  font-size: .7rem; font-weight: 700;
}

.hcb-chords {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .6rem; margin-bottom: 1.1rem;
}
.hcb-chord {
  background: rgba(0,0,0,.03); border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px; padding: .85rem .5rem; text-align: center;
  transition: all .4s cubic-bezier(.34,1.3,.64,1); cursor: default;
}
.hcb-chord.hcb-active {
  background: rgba(217,119,6,.1); border-color: rgba(217,119,6,.4);
  box-shadow: 0 0 20px rgba(217,119,6,.14);
  transform: translateY(-2px) scale(1.03);
}
.hcb-chord-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: rgba(15,23,42,.22); line-height: 1;
  margin-bottom: .35rem; transition: color .4s;
}
.hcb-chord.hcb-active .hcb-chord-name { color: var(--gold); }
.hcb-chord-2.hcb-active .hcb-chord-name { color: var(--cyan); }
.hcb-chord-2.hcb-active { background: var(--cyan-l); border-color: rgba(8,145,178,.4); box-shadow: 0 0 20px rgba(8,145,178,.13); }
.hcb-chord-3.hcb-active .hcb-chord-name { color: var(--violet); }
.hcb-chord-3.hcb-active { background: var(--violet-l); border-color: rgba(124,58,237,.4); box-shadow: 0 0 20px rgba(124,58,237,.13); }
.hcb-chord-4.hcb-active .hcb-chord-name { color: var(--green); }
.hcb-chord-4.hcb-active { background: var(--green-l); border-color: rgba(5,150,105,.4); box-shadow: 0 0 20px rgba(5,150,105,.13); }
.hcb-chord-lyric { font-size: .68rem; color: var(--light); line-height: 1.3; }
.hcb-chord.hcb-active .hcb-chord-lyric { color: var(--mid); }

.hcb-notification {
  background: rgba(0,0,0,.03); border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px; padding: .55rem .9rem;
  display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
  animation: notifSlide 6s ease-in-out infinite;
}
.hcb-notif-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  flex-shrink: 0; animation: dotPulse 1.8s infinite;
}
.hcb-notif-text { font-size: .78rem; color: var(--mid); }
.hcb-notif-author { font-weight: 600; color: var(--cyan); }
@keyframes notifSlide {
  0%,15%   { opacity: 0; transform: translateY(4px); }
  20%,80%  { opacity: 1; transform: translateY(0); }
  95%,100% { opacity: 0; transform: translateY(-4px); }
}

.hcb-presence { display: flex; align-items: center; gap: 0; }
.hcb-user-chip {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; color: #fff;
  margin-left: -7px; border: 2px solid #FDFCFF; flex-shrink: 0;
}
.hcb-user-chip:first-child { margin-left: 0; }
.hcb-sync-status {
  margin-left: .75rem; font-size: .75rem;
  color: var(--green); font-weight: 600;
  display: flex; align-items: center; gap: .3rem;
}
.hcb-sync-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: dotPulse 2s infinite;
}

/* Floating badges */
.hero-wave-badge {
  position: absolute; bottom: -1rem; left: -2rem;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: .9rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  animation: floatY 3s ease-in-out infinite;
}
.sound-wave { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.wave-bar {
  width: 4px; background: var(--g-vp); border-radius: 3px;
  animation: waveBar 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: .15s; }
.wave-bar:nth-child(3) { animation-delay: .3s; }
.wave-bar:nth-child(4) { animation-delay: .15s; }
.wave-bar:nth-child(5) { animation-delay: 0s; }
.wave-bar:nth-child(6) { animation-delay: .2s; }
.wave-bar:nth-child(7) { animation-delay: .35s; }
.wave-badge-text { font-size: .78rem; font-weight: 600; color: var(--ink); }
.wave-badge-sub  { font-size: .68rem; color: var(--light); }

.hero-members-badge {
  position: absolute; top: -1rem; right: -1.5rem;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: .75rem 1rem;
  display: flex; align-items: center; gap: .6rem;
  animation: floatY 3.5s 1s ease-in-out infinite;
}
.member-avatars { display: flex; }
.m-av {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff; margin-left: -8px;
}
.m-av:first-child { margin-left: 0; }
.m-av-1 { background: var(--g-vp); }
.m-av-2 { background: var(--g-vt); }
.m-av-3 { background: var(--g-pt); }
.m-av-4 { background: linear-gradient(135deg, var(--orange), var(--amber)); }
.members-text { font-size: .78rem; font-weight: 600; color: var(--ink); }
.members-sub  { font-size: .68rem; color: var(--light); }

/* Music notes deco */
.music-note {
  position: absolute; font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; pointer-events: none; user-select: none; line-height: 1;
}
.mn-1 { font-size: 5rem; top: 12%; left: 2%; color: var(--violet); animation: floatNote 7s ease-in-out infinite; opacity: .04; }
.mn-2 { font-size: 3.5rem; top: 65%; left: 5%; color: var(--cyan); animation: floatNote 8s 2s ease-in-out infinite; opacity: .04; }
.mn-3 { font-size: 4rem; top: 20%; right: 3%; color: var(--gold); animation: floatNote 6s 1s ease-in-out infinite; opacity: .04; }
.mn-4 { font-size: 2.5rem; bottom: 20%; right: 6%; color: var(--violet); animation: floatNote 9s 3s ease-in-out infinite; opacity: .035; }

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar-section {
  background: linear-gradient(135deg, #3B0764 0%, #4C1D95 40%, #5B21B6 72%, #6D28D9 100%);
  padding: 2.8rem var(--px); position: relative; overflow: hidden;
}
.stats-bar-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 25% 50%, rgba(245,158,11,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 75% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.stats-bar {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg, #F59E0B, #FCD34D);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .3rem; font-weight: 500; }

/* ── FEATURE CARDS ───────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.fcard {
  background: var(--bg-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all .3s; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--g-vp); opacity: 0; transition: opacity .3s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(124,58,237,.2); }
.fcard:hover::before { opacity: 1; }

.fcard-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; flex-shrink: 0;
}
.fcard-icon-v { background: var(--gold-l);    color: var(--gold); }
.fcard-icon-p { background: var(--cyan-l);    color: var(--cyan); }
.fcard-icon-t { background: var(--violet-l);  color: var(--violet); }
.fcard-icon-g { background: var(--green-l);   color: var(--green); }
.fcard-icon-o { background: var(--orange-l);  color: var(--orange); }
.fcard-icon-a { background: rgba(245,158,11,.1); color: var(--amber); }

.fcard h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; color: var(--ink); }
.fcard p  { font-size: .88rem; color: var(--mid); line-height: 1.65; margin: 0; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem; position: relative;
}
.steps-grid::before {
  content: ""; position: absolute;
  top: 28px; left: calc(33.33% - 1rem); width: calc(33.33%); height: 1px;
  border-top: 2px dashed rgba(124,58,237,.2);
}
.steps-grid::after {
  content: ""; position: absolute;
  top: 28px; left: calc(66.66% - 1rem); width: calc(33.33% - 3rem); height: 1px;
  border-top: 2px dashed rgba(124,58,237,.2);
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.3rem;
  background: var(--g-logo); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 6px 24px rgba(217,119,6,.28);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--ink); }
.step p  { font-size: .9rem; color: var(--mid); line-height: 1.7; margin: 0; }
.step-info-card { border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tcard {
  background: var(--bg-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all .3s; box-shadow: var(--shadow-sm);
}
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(124,58,237,.15); }
.tcard-stars { display: flex; gap: .2rem; margin-bottom: .9rem; }
.star { color: var(--gold); font-size: 1rem; }
.tcard-quote {
  font-size: .95rem; color: var(--mid); line-height: 1.7; font-style: italic; margin-bottom: 1.1rem;
}
.tcard-quote::before {
  content: "\201C"; font-size: 2.5rem; color: var(--violet); opacity: .2;
  font-family: Georgia, serif; line-height: 1; display: block; margin-bottom: -.6rem;
}
.tcard-author { display: flex; align-items: center; gap: .75rem; }
.tcard-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: .95rem; color: #fff;
}
.tcard-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.tcard-band { font-size: .78rem; color: var(--light); margin-top: .1rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: .85rem; overflow: hidden; transition: border-color .2s;
  background: var(--bg-mid); box-shadow: var(--shadow-sm);
}
.faq-item.open { border-color: rgba(124,58,237,.3); box-shadow: 0 0 20px rgba(124,58,237,.07); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.2rem 1.4rem; background: none; border: none; cursor: pointer;
  text-align: left; transition: background .2s;
}
.faq-btn:hover { background: rgba(0,0,0,.02); }
.faq-item.open .faq-btn { background: var(--violet-l); }
.faq-question { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .975rem; color: var(--ink); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.05);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .3s; color: var(--mid);
}
.faq-item.open .faq-icon { background: var(--violet); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.4rem;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.4rem 1.2rem; }
.faq-answer p { font-size: .9rem; color: var(--mid); line-height: 1.75; margin: 0; }

/* ── PRICING CARDS ───────────────────────────────────────────── */
.pricing-grid-new {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 960px; margin: 0 auto 3rem;
}
.p-card-new {
  background: var(--bg-mid); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  position: relative; overflow: hidden; transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.p-card-new:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.p-card-new.featured {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet), var(--shadow-lg);
}
.p-card-new.featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g-vp);
}
.p-badge-new {
  position: absolute; top: -.5px; right: 1.5rem;
  background: var(--g-vp); color: #fff;
  padding: .3rem .9rem; border-radius: 0 0 10px 10px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.p-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--mid); margin-bottom: .6rem; }
.p-price-wrap { margin-bottom: 1.2rem; }
.p-price-new { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 2.8rem; color: var(--ink); line-height: 1.05; }
.p-price-new sup { font-size: 1.2rem; font-weight: 700; vertical-align: top; margin-top: .5rem; }
.p-price-new span { font-size: 1rem; font-weight: 500; color: var(--light); }
.p-desc { font-size: .87rem; color: var(--mid); margin-bottom: 1.4rem; line-height: 1.65; }
.p-features-list { list-style: none; margin-bottom: 1.6rem; }
.p-features-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: var(--mid); padding: .45rem 0;
  border-bottom: 1px solid var(--border);
}
.p-features-list li:last-child { border-bottom: none; }
.p-features-list .pf-check { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.p-features-list .pf-no { color: var(--light); flex-shrink: 0; margin-top: 2px; }
.p-features-list .pf-no + span { color: var(--light); }
.p-btn-new {
  display: block; width: 100%; text-align: center;
  padding: .85rem; border-radius: var(--radius); font-weight: 700; font-size: .92rem;
  transition: all .25s; cursor: pointer; border: 2px solid transparent;
}
.p-btn-new.p-btn-primary {
  background: var(--g-logo); color: #fff;
  box-shadow: 0 4px 16px rgba(217,119,6,.25);
}
.p-btn-new.p-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(239,68,68,.35); }
.p-btn-new.p-btn-outline {
  background: var(--violet-l); color: var(--violet); border-color: rgba(124,58,237,.25);
}
.p-btn-new.p-btn-outline:hover { background: rgba(124,58,237,.15); border-color: var(--violet); }

/* Pricing toggle */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 2.5rem;
}
.pricing-toggle label { font-weight: 500; color: var(--mid); cursor: pointer; font-size: .9rem; }
.pricing-toggle label.active { color: var(--ink); font-weight: 600; }
.toggle-switch {
  position: relative; width: 52px; height: 28px;
  background: var(--g-logo); border-radius: var(--radius-full);
  cursor: pointer; transition: background .3s;
}
.toggle-switch::after {
  content: ""; position: absolute;
  top: 3px; left: 3px; width: 22px; height: 22px;
  background: #fff; border-radius: 50%;
  transition: transform .3s;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.toggle-switch.yearly::after { transform: translateX(24px); }
.pricing-save-badge {
  display: inline-flex; align-items: center;
  background: var(--green-l); color: var(--green);
  border-radius: var(--radius-full); padding: .2rem .8rem;
  font-size: .75rem; font-weight: 700; margin-left: .5rem;
}

/* ── CTA SECTION — ciemna scena muzyczna ─────────────────────── */
.cta-section {
  background: linear-gradient(140deg, #0D0220 0%, #1A0645 30%, #2D1270 60%, #3D1A8A 85%, #4C22A0 100%);
  padding: var(--py) var(--px); text-align: center; position: relative; overflow: hidden;
}
/* Poświata fioletowa + cyjanowa */
.cta-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 75% at 25% 55%, rgba(124,58,237,.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 78% 45%, rgba(8,145,178,.22) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 50% 100%, rgba(217,119,6,.18) 0%, transparent 55%);
}
/* Siatka kropek */
.cta-section::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Pięciolinia jako dekoracja */
.cta-staff {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); pointer-events: none;
}
.cta-staff-line {
  height: 1px; background: rgba(255,255,255,.06); margin: 11px 0;
}

/* Duże nuty dekoracyjne */
.cta-note {
  position: absolute; font-family: Georgia, serif;
  pointer-events: none; user-select: none; line-height: 1;
  color: rgba(255,255,255,.055); font-weight: 400;
}
.cta-note-1 { font-size: 9rem; top: -1.5rem; left: 2%;   animation: floatNote 9s ease-in-out infinite; }
.cta-note-2 { font-size: 5rem; top: 15%;    right: 4%;   animation: floatNote 7s 2s ease-in-out infinite; }
.cta-note-3 { font-size: 7rem; bottom: -1rem; left: 22%; animation: floatNote 8s 1s ease-in-out infinite; }
.cta-note-4 { font-size: 3.5rem; top: 30%;  left: 12%;  animation: floatNote 10s 3s ease-in-out infinite; }
.cta-note-5 { font-size: 4rem; bottom: 10%; right: 18%; animation: floatNote 6s 1.5s ease-in-out infinite; }

.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-section h2 { color: #fff !important; text-shadow: 0 2px 24px rgba(0,0,0,.4); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.68) !important; font-size: 1.1rem; margin-bottom: 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Biały przycisk — klasyczny kontrast na ciemnym */
.btn-cta-w {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: #2D1270;
  padding: .9rem 2rem; border-radius: var(--radius);
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: all .25s;
}
.btn-cta-w:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.45); background: #F5F0FF; }

/* Szklany przycisk */
.btn-cta-t {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  padding: .87rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  border: 2px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); transition: all .25s;
}
.btn-cta-t:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); color: #fff; }

/* Nadpis sekcji (section-label) ma inline style w PHP — CSS nie nadpisuje */

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #0F0A1E; color: rgba(255,255,255,.55);
  font-size: .87rem; line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 3rem; padding: 4rem var(--px) 3rem;
  max-width: var(--max-w); margin: 0 auto;
}
.f-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; margin-bottom: 1rem;
}
.f-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #1E0550 0%, #3D1A8A 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
  flex-shrink: 0;
}
.f-logo-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 1.1rem; color: #fff;
}
.f-logo-text span { color: #F59E0B; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full); padding: .3rem .8rem;
  font-size: .75rem; color: rgba(255,255,255,.4); margin-bottom: .5rem;
}
.f-col h4 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: .88rem; color: rgba(255,255,255,.8); margin-bottom: 1.1rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: .55rem; }
.f-col ul li a {
  color: rgba(255,255,255,.4); text-decoration: none; font-size: .85rem;
  transition: color .2s; display: flex; align-items: center; gap: .4rem;
}
.f-col ul li a:hover { color: var(--amber); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .7rem; font-size: .85rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: .4; }
.footer-contact-item a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-contact-item a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.4rem var(--px);
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.25); }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.65); }

/* ── COOKIE BANNER ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 9000;
  background: #fff; color: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.4rem 1.6rem;
  max-width: 520px; box-shadow: var(--shadow-xl);
  transform: translateY(120%); transition: transform .4s ease;
  pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); pointer-events: auto; }
.cookie-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.cookie-icon { font-size: 1.2rem; }
.cookie-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem; color: var(--ink); }
.cookie-text { font-size: .82rem; line-height: 1.65; margin-bottom: 1rem; }
.cookie-text a { color: var(--violet); }
.cookie-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-accept {
  background: var(--g-logo); color: #fff; border: none;
  padding: .55rem 1.3rem; border-radius: var(--radius); font-weight: 700; font-size: .82rem;
  cursor: pointer; transition: opacity .2s;
}
.cookie-accept:hover { opacity: .85; }
.cookie-decline {
  background: rgba(0,0,0,.05); color: var(--mid); border: none;
  padding: .55rem 1rem; border-radius: var(--radius); font-size: .82rem;
  cursor: pointer; transition: background .2s;
}
.cookie-decline:hover { background: rgba(0,0,0,.09); }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.sr { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.sr.vis { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: .15s; }
.sr-d2 { transition-delay: .3s; }
.sr-d3 { transition-delay: .45s; }
.sr-left { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.sr-left.vis { opacity: 1; transform: translateX(0); }
.sr-scale { opacity: 0; transform: scale(.92); transition: opacity .65s ease, transform .65s ease; }
.sr-scale.vis { opacity: 1; transform: scale(1); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(1.8); }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes floatNote {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%     { transform: translateY(-18px) rotate(8deg); }
  66%     { transform: translateY(8px) rotate(-5deg); }
}
@keyframes waveBar {
  0%,100% { height: 6px; }
  50%     { height: 28px; }
}
@keyframes guitarSway {
  0%,100% { transform: rotate(-5deg) scale(1); }
  40%     { transform: rotate(4deg) scale(1.03); }
  70%     { transform: rotate(-2deg) scale(1.01); }
}

/* ── BLOG ────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--bg-mid); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s; box-shadow: var(--shadow-sm);
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(124,58,237,.15); }
.blog-card-img {
  height: 180px; background: var(--g-vp); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3);
  font-size: 4rem;
}
.blog-card-body { padding: 1.3rem; }
.blog-cat-badge {
  display: inline-block; background: var(--violet-l); color: var(--violet);
  border-radius: var(--radius-full); padding: .2rem .75rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .75rem;
}
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; line-height: 1.45; }
.blog-card h3 a { color: inherit; transition: color .2s; }
.blog-card h3 a:hover { color: var(--violet); }
.blog-card p { font-size: .85rem; color: var(--mid); line-height: 1.65; margin: 0; }
.blog-card-meta { display: flex; align-items: center; gap: .75rem; margin-top: .85rem; font-size: .78rem; color: var(--light); }

/* ── BUTTONS GENERAL ─────────────────────────────────────────── */
.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--violet); font-weight: 600; font-size: .9rem;
  padding: .6rem 1.2rem; border-radius: var(--radius);
  border: 1px solid rgba(124,58,237,.25); background: var(--violet-l); transition: all .2s;
}
.btn-ghost:hover { background: rgba(124,58,237,.15); }

/* ── UTILS ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-sm { margin-bottom: .85rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 3rem; }

/* ── LARGE SCREENS ≥ 1400px ─────────────────────────────────── */
@media (min-width: 1400px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-h1 { font-size: 4.6rem; }
  .hero-grid { gap: 6rem; }
  .section-inner { max-width: var(--max-w); }
}
@media (min-width: 1600px) {
  :root { --px: 6rem; }
  .hero-grid { gap: 8rem; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .btn-nav-lang { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --py: 3.5rem; }
  .nav-center, .nav-right { display: none; }
  .nav-burger { display: flex; }
  .hero-section {
    min-height: auto;
    padding-top: calc(72px + 2rem);
    padding-bottom: 2.5rem;
  }
  .hero-h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid::before, .steps-grid::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid-new { grid-template-columns: 1fr; max-width: 420px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-wave-badge, .hero-members-badge { display: none; }
  .mn-3, .mn-4 { display: none; }
  .hcb-chords { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-chord-board { padding: 1.2rem; }
  .hcb-chord-name { font-size: 1.2rem; }
  .hcb-sync-status { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --px: 1.1rem; }
  .hero-actions { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-prim, .btn-sec, .btn-cta-w, .btn-cta-t { width: 100%; justify-content: center; }
  .pricing-grid-new { max-width: 100%; }
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; }
  .nav-logo-text { font-size: 1.05rem; }
}
@media (max-width: 360px) {
  h1 { font-size: 1.75rem; }
  .nav-logo-text { font-size: .95rem; }
  .hcb-chords { gap: .35rem; }
  .hcb-chord-name { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES — Regulamin, Polityka Prywatności, Cookies
   ═══════════════════════════════════════════════════════════════ */

.legal-page {
  background: var(--bg);
  padding: var(--py) var(--px);
  margin: 2rem auto;
  max-width: 1200px;
}

.legal-page h1 {
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.legal-kicker {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1rem;
  letter-spacing: .08em;
}

.legal-meta-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--violet);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 6px;
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.8;
}

.legal-meta-box a {
  color: var(--violet);
  font-weight: 500;
  transition: color .2s;
}

.legal-meta-box a:hover {
  color: var(--violet-d);
  text-decoration: underline;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

/* SIDEBAR — Spis treści */
.legal-sidebar {
  position: sticky;
  top: 2rem;
}

.legal-toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.legal-toc-title {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: .05em;
}

.legal-toc ol {
  list-style: none;
  font-size: .9rem;
}

.legal-toc li {
  margin-bottom: .6rem;
}

.legal-toc a {
  color: var(--mid);
  transition: color .2s;
  display: block;
  padding: .3rem 0;
}

.legal-toc a:hover {
  color: var(--violet);
  text-decoration: underline;
}

/* CONTENT */
.legal-content {
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--mid);
}

.legal-section ol,
.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-section li {
  margin-bottom: .75rem;
  color: var(--mid);
}

.legal-section strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-section a {
  color: var(--violet);
  font-weight: 500;
  transition: color .2s;
  border-bottom: 1px dotted var(--violet);
}

.legal-section a:hover {
  color: var(--violet-d);
  text-decoration: none;
}

.legal-back {
  display: inline-block;
  font-size: .85rem;
  color: var(--light);
  margin-top: 1rem;
  transition: color .2s;
}

.legal-back:hover {
  color: var(--violet);
}

.legal-addr {
  font-style: normal;
  line-height: 1.8;
  color: var(--mid);
}

.legal-addr a {
  color: var(--violet);
  font-weight: 500;
}

.legal-attach {
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  margin-top: 3rem;
  border-radius: 6px;
}

.legal-attach h2 {
  margin-top: 0;
}

/* POWIĄZANE DOKUMENTY */
.legal-related-docs {
  background: linear-gradient(135deg, var(--violet-l), var(--cyan-l));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-top: 3rem;
}

.legal-related-docs h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--violet);
}

.legal-related-docs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-related-docs li {
  margin-bottom: .75rem;
}

.legal-related-docs a {
  color: var(--violet);
  font-weight: 500;
  transition: color .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.legal-related-docs a:hover {
  color: var(--violet-d);
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-section h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 1.5rem 1rem;
  }

  .legal-meta-box {
    font-size: .85rem;
    padding: 1rem;
  }

  .legal-section h2 {
    font-size: 1.15rem;
  }

  .legal-related-docs {
    padding: 1.25rem;
  }

  .legal-toc {
    padding: 1rem;
  }

  .legal-toc-title {
    font-size: .75rem;
  }

  .legal-toc a {
    font-size: .85rem;
  }
}
