/* ===== VOLT THEME — Ciemny, elektryczny żółty, dynamiczny ===== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

:root {
  --c-primary:   #FFD700;
  --c-primary-d: #F9A825;
  --c-bg-dark:   #0D0D0D;
  --c-bg-card:   #1A1A1A;
  --c-bg-light:  #F5F5F5;
  --c-text:      #FFFFFF;
  --c-text-muted:#9CA3AF;
  --c-border:    #2D2D2D;
  --c-success:   #22C55E;
  --c-danger:    #EF4444;
  --shadow:      0 4px 20px rgba(0,0,0,.4);
  --shadow-hover:0 8px 32px rgba(255,215,0,.2);
  --font-h: 'Oswald', sans-serif;
  --font-b: 'Roboto', sans-serif;
  --transition: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--c-text); background: var(--c-bg-dark); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: #fff; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.2; letter-spacing: .03em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); }
p { margin-bottom: 1rem; color: var(--c-text-muted); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 2rem; min-height: 44px; font-family: var(--font-h); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.btn--primary { background: var(--c-primary); color: #0D0D0D; border-color: var(--c-primary); }
.btn--primary:hover { background: #fff; color: #0D0D0D; box-shadow: 0 0 20px rgba(255,215,0,.5); }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #0D0D0D; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* NAV */
.site-nav { background: rgba(13,13,13,.95); backdrop-filter: blur(12px); border-bottom: 2px solid var(--c-primary); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; font-family: var(--font-h); font-weight: 700; font-size: 1.4rem; color: var(--c-primary); text-transform: uppercase; letter-spacing: .08em; }
.logo svg { width: 30px; height: 30px; }
.logo-bolt { color: var(--c-primary); }
.nav-links { display: flex; list-style: none; gap: 0; align-items: center; }
.nav-links a { display: block; font-family: var(--font-h); font-weight: 500; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); padding: 1.2rem 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); }
.nav-links a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.nav-cta { color: #0D0D0D !important; background: var(--c-primary); padding: .65rem 1.25rem !important; border-bottom: none !important; margin-left: 1rem; font-weight: 700 !important;  align-self: center;}
.nav-cta:hover { background: #fff !important; color: #0D0D0D !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--c-primary); }

/* HERO */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(0); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,13,13,.92) 35%, rgba(13,13,13,.7) 70%, rgba(255,215,0,.08) 100%); }
.hero__inner { position: relative; z-index: 1; padding: 5rem 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-h); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 1.25rem; }
.hero__eyebrow::before { content: '⚡'; }
.hero__inner h1 { color: #fff; margin-bottom: 1rem; max-width: 700px; }
.hero__inner h1 em { font-style: normal; color: var(--c-primary); text-shadow: 0 0 20px rgba(255,215,0,.4); }
.hero__inner > .hero__desc { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 540px; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__rating { display: flex; flex-direction: column; gap: .3rem; margin-left: .5rem; }
.hero__rating span { font-size: .82rem; color: rgba(255,255,255,.6); }
.hero__rating strong { color: var(--c-primary); }

/* GLOWING DIVIDER */
.glow-line { height: 2px; background: linear-gradient(90deg, transparent 0%, var(--c-primary) 50%, transparent 100%); margin: 0; }

/* SERVICES */
.section { padding: 80px 0; background: var(--c-bg-dark); }
.section--card { background: var(--c-bg-card); }
.section--glow { background: var(--c-bg-dark); position: relative; }
.section--glow::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--c-primary) 50%, transparent 100%); }
.section__label { font-family: var(--font-h); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: .6rem; display: block; }
.section__header { margin-bottom: 2.5rem; }
.section__header h2 { color: #fff; }
.section__header p { color: var(--c-text-muted); max-width: 520px; margin-top: .5rem; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--c-bg-card); border: 1px solid var(--c-border); border-top: 3px solid var(--c-primary); padding: 1.75rem; transition: var(--transition); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c-primary), #fff); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover::before { transform: scaleX(1); }
.card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card__num { font-family: var(--font-h); font-size: 3rem; color: rgba(255,215,0,.1); position: absolute; top: .5rem; right: 1rem; line-height: 1; }
.card h3 { color: #fff; margin-bottom: .5rem; font-size: 1rem; position: relative; }
.card p { font-size: .88rem; margin: 0; position: relative; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.stats-row .stats-grid { display: contents; }
.stat { padding: 2rem; text-align: center; border-right: 1px solid var(--c-border); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-h); font-weight: 700; font-size: 2.5rem; color: var(--c-primary); display: block; line-height: 1; }
.stat__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-muted); display: block; margin-top: .3rem; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; position: relative; }
.step { text-align: center; }
.step__num { width: 56px; height: 56px; border: 2px solid var(--c-primary); color: var(--c-primary); font-family: var(--font-h); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { color: #fff; margin-bottom: .5rem; }
.step p { font-size: .88rem; }

/* BLOG */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.post-card { background: var(--c-bg-card); border: 1px solid var(--c-border); display: flex; flex-direction: column; transition: var(--transition); }
.post-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-hover); }
.post-card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); transition: all .4s ease; }
.post-card:hover .post-card__img img { filter: saturate(1); transform: scale(1.04); }
.post-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__meta { display: flex; gap: .75rem; font-size: .78rem; margin-bottom: .6rem; }
.post-card__cat { color: var(--c-primary); font-family: var(--font-h); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-card__date { color: var(--c-text-muted); }
.post-card h3 { font-size: 1rem; color: #fff; margin-bottom: .5rem; line-height: 1.4; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card p { font-size: .85rem; flex: 1; margin: 0; }
.post-card__link { margin-top: .75rem; font-family: var(--font-h); font-size: .82rem; color: var(--c-primary); text-transform: uppercase; letter-spacing: .06em; }

/* CTA */
.cta-section { padding: 80px 0; background: var(--c-bg-card); }
.cta-box { border: 2px solid var(--c-primary); padding: 4rem; text-align: center; position: relative; }
.cta-box::before { content: '⚡'; position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); background: var(--c-bg-card); padding: 0 1rem; font-size: 1.5rem; }
.cta-box h2 { color: #fff; margin-bottom: 1rem; }
.cta-box p { font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ARTICLE */
.page-header { background: var(--c-bg-card); padding: 2.5rem 0; border-bottom: 2px solid var(--c-primary); }
.page-header h1 { color: #fff; }
.page-header p { color: var(--c-text-muted); margin-top: .5rem; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.article-body { background: var(--c-bg-card); border: 1px solid var(--c-border); padding: 2.5rem; }
.article-body h2 { color: var(--c-primary); margin: 2rem 0 1rem; font-size: 1.4rem; border-bottom: 1px solid var(--c-border); padding-bottom: .5rem; }
.article-body h3 { color: #fff; margin: 1.5rem 0 .75rem; }
.article-body p { color: var(--c-text-muted); margin-bottom: 1rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { color: var(--c-text-muted); margin-bottom: .4rem; }
.article-body strong { color: #fff; }
.article-body a { color: var(--c-primary); text-decoration: underline; }
.article-body blockquote { border-left: 3px solid var(--c-primary); padding: 1rem 1.5rem; margin: 1.5rem 0; background: rgba(255,215,0,.04); font-style: italic; }
.article-header { margin-bottom: 2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .8rem; color: var(--c-text-muted); }
.article-meta .tag { background: var(--c-primary); color: #0D0D0D; padding: .2rem .65rem; font-family: var(--font-h); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }

/* FAQ */
.faq { margin: 2rem 0; }
.faq__item { border: 1px solid var(--c-border); margin-bottom: .5rem; }
.faq__q { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; cursor: pointer; font-family: var(--font-h); font-weight: 600; color: #fff; gap: 1rem; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
.faq__q::after { content: '+'; font-size: 1.4rem; color: var(--c-primary); flex-shrink: 0; }
.faq__item.open .faq__q::after { content: '−'; }
.faq__item.open .faq__q { background: rgba(255,215,0,.05); color: var(--c-primary); }
.faq__a { display: none; padding: 1rem 1.25rem; color: var(--c-text-muted); font-size: .9rem; border-top: 1px solid var(--c-border); }
.faq__item.open .faq__a { display: block; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget { background: var(--c-bg-card); border: 1px solid var(--c-border); padding: 1.5rem; }
.sidebar-widget h3 { font-family: var(--font-h); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-primary); margin-bottom: 1rem; border-bottom: 1px solid var(--c-border); padding-bottom: .5rem; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { padding: .4rem 0; border-bottom: 1px solid var(--c-border); font-size: .88rem; }
.sidebar-widget ul li:last-child { border: none; }
.sidebar-widget ul li a { color: var(--c-text-muted); }
.sidebar-widget ul li a:hover { color: var(--c-primary); }
.sidebar-cta { background: transparent !important; border: 2px solid var(--c-primary) !important; text-align: center; }
.sidebar-cta h3 { color: var(--c-primary) !important; }
.sidebar-cta p { font-size: .88rem; margin-bottom: 1rem; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* RANKING */
.ranking-table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--c-border); }
.ranking-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ranking-table th { background: #111; color: var(--c-primary); padding: .75rem .85rem; text-align: center; font-family: var(--font-h); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--c-primary); white-space: nowrap; }
.ranking-table td { padding: .7rem .85rem; text-align: center; border-bottom: 1px solid var(--c-border); vertical-align: middle; color: var(--c-text-muted); background: var(--c-bg-card); }
.ranking-table .col-platform { text-align: left; }
.ranking-table .col-platform strong { color: #fff; }
.row--winner td { background: rgba(255,215,0,.04); }
.row--winner .col-platform strong { color: var(--c-primary); }
.feat--yes { color: var(--c-success); font-size: 1.1rem; font-weight: 700; }
.feat--no  { color: var(--c-danger);  font-size: 1.1rem; }
.badge { display: inline-block; padding: .15rem .5rem; font-size: .7rem; font-weight: 700; margin-left: .3rem; background: rgba(255,215,0,.15); color: var(--c-primary); border: 1px solid var(--c-primary); text-transform: uppercase; font-family: var(--font-h); }
.platform-link { color: var(--c-primary); font-weight: 700; text-decoration: underline; }
.rating-block { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; text-align: left; }
.rating-item { display: flex; align-items: center; gap: .3rem; white-space: nowrap; }
.rating-logo { height: 14px; width: auto; filter: brightness(0.7); }
.stars { display: inline-flex; gap: 1px; }
.star--full, .star--half { color: #F59E0B; }
.star--empty { color: #374151; }
.no-data { font-style: italic; font-size: .78rem; }
.btn-ranking { display: inline-block; padding: .45rem 1.1rem; background: var(--c-primary); color: #0D0D0D; font-size: .82rem; font-weight: 700; font-family: var(--font-h); letter-spacing: .06em; text-transform: uppercase; }
.btn-ranking:hover { background: #fff; color: #0D0D0D; }
.no-link { color: var(--c-text-muted); font-size: .85rem; }
.platform-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.platform-card { background: var(--c-bg-card); border: 1px solid var(--c-border); padding: 1.5rem; }
.platform-card--winner { border-color: var(--c-primary); }
.platform-card__header { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.platform-card__rank { font-size: 1.5rem; }
.platform-card__name { font-family: var(--font-h); font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.platform-card--winner .platform-card__name a { color: var(--c-primary); }
.platform-card__ratings { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; margin-bottom: .75rem; }
.platform-card__desc { font-size: .85rem; margin-bottom: 1rem; }

/* BREADCRUMBS */
.breadcrumbs { padding: .6rem 0; font-size: .82rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; list-style: none; align-items: center; gap: .2rem; }
.breadcrumbs__item { display: flex; align-items: center; gap: .2rem; }
.breadcrumbs__item a { color: var(--c-primary); }
.breadcrumbs__sep { color: var(--c-text-muted); }

/* FOOTER */
.site-footer { background: #000; border-top: 2px solid var(--c-primary); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .logo { color: var(--c-primary); }
.footer-brand p { font-size: .85rem; color: var(--c-text-muted); margin-top: .75rem; max-width: 240px; }
.footer-col h4 { font-family: var(--font-h); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); margin-bottom: .75rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { color: var(--c-text-muted); font-size: .85rem; }
.footer-col ul li a:hover { color: var(--c-primary); }
.footer-bottom { border-top: 1px solid #222; padding-top: 1.25rem; display: flex; justify-content: space-between; font-size: .78rem; color: var(--c-text-muted); flex-wrap: wrap; gap: .75rem; }

/* RESPONSIVE */
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--c-bg-card); border-bottom: 2px solid var(--c-primary); padding: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero__inner { padding: 3rem 0; }
  .ranking-table-wrap { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) { .section { padding: 50px 0; } .stats-row { grid-template-columns: 1fr; } .cards-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }

/* ---- TABLE & CARD HOVER ---- */
.ranking-table tbody tr { transition: background .15s ease; }
.ranking-table tbody tr:hover td { background: rgba(0,0,0,.04) !important; }
.platform-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.14); border-color: var(--c-primary) !important; }

/* ---- STAT TILES (category blocks) ---- */
.stats-row { border: none; background: var(--c-bg,#f8f9fa); padding: 2.5rem max(1rem, calc((100% - 1200px)/2 + 1rem)); gap: 1rem; }
.stats-row > .stats-grid { display: contents; }
.stat { background: var(--c-primary); color: #0D0D0D; border-radius: 12px; border: none; padding: 1.4rem 1rem; transition: opacity .18s; }
.stat:hover { opacity: .88; }
.stat:last-child { border: none; }
.stat__num { color: #0D0D0D; font-size: 1.7rem; line-height: 1.1; }
.stat__label { color: rgba(0,0,0,.65); font-size: .8rem; margin-top: .3rem; }


/* ---- PLATFORM CARD SCORE BAND ---- */
.platform-card { overflow: hidden; display: flex; flex-direction: column; }
.platform-card__score-band { display: flex; align-items: center; gap: .5rem; padding: .65rem 1rem; color: #fff; }
.platform-card__score-num { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.platform-card__score-lbl { font-size: .72rem; opacity: .85; flex: 1; }
.platform-card__score-band .stars { font-size: .85rem; }
.platform-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.platform-card__google { font-size: .82rem; margin-bottom: .6rem; }
.platform-card__note { font-size: .78rem; color: var(--c-text-muted, #888); margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--c-border, #e5e7eb); }
.platform-card__desc { flex: 1; }
.platform-card { padding: 0; }

/* ---- PLATFORM CARD BUTTON FIX ---- */
.platform-card__body .btn { display: flex; width: 100%; justify-content: center; box-sizing: border-box; margin-top: auto; }
.platform-card__body .btn--primary { color: var(--btn-text, #fff); }
.platform-card__note { text-align: center; }
.platform-card__body .btn--primary { color: #0D0D0D; }

/* ---- TABLE FIXES ---- */
.badge { white-space: nowrap; }
.col-platform { white-space: nowrap; }
.col-action { width: 1%; white-space: nowrap; text-align: center; }
.btn-ranking { white-space: nowrap; display: inline-block; min-width: 0; }
