:root {
  --bg-main: #0b0f19;
  --bg-card: rgba(18, 26, 44, 0.7);
  --bg-card-border: rgba(64, 126, 255, 0.2);
  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.35);
  --accent: #6c5ce7;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* TŁO NEONOWE */
.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}
.glow-1 {
  top: -100px;
  left: -100px;
  background: rgba(0, 229, 255, 0.15);
}
.glow-2 {
  top: 300px;
  right: -100px;
  background: rgba(108, 92, 231, 0.18);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--primary);
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0099ff);
  color: #050b14;
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}
.full-width {
  width: 100%;
  display: block;
}

/* HERO */
.hero {
  padding: 5rem 0 3rem 0;
  text-align: center;
}
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--primary), #a29bfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

/* METRICS */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1.5rem;
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.metric-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}
.bg-alt {
  background: rgba(14, 21, 37, 0.5);
}
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}
.section-header p {
  color: var(--text-muted);
}

/* FEATURE CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.feature-card .icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* TIERS / ACCESS */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 2.5rem 2rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}
.tier-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.tier-badge.highlight {
  color: var(--primary);
}
.tier-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.tier-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.tier-list li {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.4rem;
}
.tier-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.85rem;
}

/* CTA BANNER */
.cta-banner {
  padding: 4rem 0;
}
.cta-box {
  background: linear-gradient(135deg, rgba(14, 30, 60, 0.9), rgba(20, 15, 45, 0.9));
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3.5rem 2rem;
  border-radius: 20px;
  text-align: center;
}
.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}
.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

/* FOOTER */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 2rem;
  border-left: 3px solid rgba(0, 229, 255, 0.4);
  padding-left: 1rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1rem;
}
.footer-links a:hover {
  color: var(--primary);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.3rem; }
  .nav-links { display: none; }
  .hero-buttons { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 0.5rem; }
}

/* =========================================
   STYLE PODSTRONY FAQ & WIDEO
   ========================================= */

.page-header {
  padding: 4rem 0 2rem 0;
  text-align: center;
}
.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 1rem 0;
}
.page-header h1 span {
  background: linear-gradient(90deg, var(--primary), #a29bfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* SIATKA WIDEO */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

/* RESPONSYWNE PROPORCJE 16:9 DLA IFRAME */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.video-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #fff;
}
.video-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.video-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.video-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* AKORDEON FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] {
  border-color: var(--primary);
}
.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 1.5rem 1.4rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================
   STYLE PODSTRONY ECOSYSTEM & DOKUMENTACJA
   ========================================= */

.doc-nav-wrap {
  position: sticky;
  top: 73px;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 90;
  padding: 0.8rem 0;
}
.doc-nav-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.doc-nav-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.doc-nav-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 229, 255, 0.05);
}

.doc-section {
  padding-top: 3rem;
}
.doc-layout {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 900px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.doc-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.doc-index {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.doc-card-header h2 {
  font-size: 1.8rem;
  color: #fff;
}
.doc-tag {
  display: inline-block;
  font-size: 0.85rem;
  color: #a29bfe;
  font-weight: 600;
}

.doc-content h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.8rem 0;
  color: #fff;
  border-left: 3px solid var(--primary);
  padding-left: 0.8rem;
}
.doc-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.doc-content p.lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  font-weight: 400;
}

.styled-list {
  list-style: none;
  margin: 1rem 0 1.8rem 0;
}
.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.styled-list li strong {
  color: #f1f5f9;
}
.styled-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1rem;
}

/* TABELA PORÓWNAWCZA */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.comparison-table th, 
.comparison-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 700;
}
.comparison-table td {
  color: var(--text-muted);
}
.comparison-table td:first-child {
  color: #f1f5f9;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

.doc-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}
.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}