*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--green:#046A38;--red:#DA291C;--white:#ffffff;--bg-alt:#f5f5f5;--text:#1a1a1a;--text-light:#555;--shadow:0 2px 12px rgba(0,0,0,.08);--radius:10px;--transition:all .3s ease}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--white);line-height:1.7;overflow-x:hidden}
h1,h2,h3,h4{font-family:'Inter',sans-serif;line-height:1.25;color:var(--text)}
h1{font-size:clamp(2rem,5vw,3.2rem);font-weight:800}
h2{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:700;margin-bottom:.5em}
h3{font-size:clamp(1.1rem,2.5vw,1.4rem);font-weight:600;margin-bottom:.4em}
p{margin-bottom:1em}
a{color:var(--green);text-decoration:none;transition:var(--transition)}
a:hover{color:var(--red)}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
.container{width:90%;max-width:1200px;margin:0 auto}
section{padding:4rem 0}
section.alt-bg{background:var(--bg-alt)}

/* Trust Bar */
.trust-bar{background:var(--green);color:var(--white);padding:.6rem 0;text-align:center;font-size:.85rem;letter-spacing:.3px}
.trust-bar span{margin:0 .8rem;white-space:nowrap}

/* Header */
.header{position:sticky;top:0;z-index:1000;background:var(--white);box-shadow:0 1px 6px rgba(0,0,0,.08);transition:var(--transition)}
.header .container{display:flex;align-items:center;justify-content:space-between;padding:.8rem 0}
.logo{font-family:'Inter',sans-serif;font-size:1.5rem;font-weight:800;color:var(--green)}
.logo a{color:inherit}
.nav-links{display:flex;align-items:center;gap:1.8rem;list-style:none}
.nav-links a{color:var(--text);font-weight:500;font-size:.95rem;transition:var(--transition)}
.nav-links a:hover{color:var(--green)}
.btn{display:inline-block;padding:.7rem 1.6rem;border-radius:6px;font-weight:600;font-size:.95rem;cursor:pointer;transition:var(--transition);border:none;text-align:center}
.btn-green{background:var(--green);color:var(--white)}
.btn-green:hover{background:#035530;color:var(--white)}
.btn-red{background:var(--red);color:var(--white)}
.btn-red:hover{background:#b8221a;color:var(--white)}
.btn-outline{background:transparent;border:2px solid var(--green);color:var(--green)}
.btn-outline:hover{background:var(--green);color:var(--white)}
.btn-white{background:var(--white);color:var(--green);font-weight:700}
.btn-white:hover{background:#f0f0f0;color:var(--green)}
.nav-cta{padding:.55rem 1.2rem;font-size:.9rem}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px}
.hamburger span{display:block;width:26px;height:3px;background:var(--text);border-radius:2px;transition:var(--transition)}

/* Hero */
.hero{padding:4rem 0 3rem;background:var(--white)}
.hero .container{max-width:900px;text-align:center}
.hero h1{margin-bottom:1.2rem}
.hero h1 .highlight{color:var(--green)}
.hero p{font-size:1.1rem;color:var(--text-light);margin-bottom:2rem;max-width:800px;margin-left:auto;margin-right:auto}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3rem}
.hero-buttons .btn{padding:.85rem 2rem;font-size:1.05rem}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;padding-top:2rem;border-top:1px solid #e0e0e0}
.stat{text-align:center}
.stat-number{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;color:var(--green)}
.stat-label{font-size:.9rem;color:var(--text-light);margin-top:.2rem}

/* Feature Cards */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.feature-card{background:var(--white);padding:2rem;border-radius:var(--radius);border:1px solid #e8e8e8;transition:var(--transition)}
.feature-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.feature-card .icon{font-size:2.2rem;margin-bottom:.8rem}
.feature-card h3{color:var(--green)}
.feature-card p{font-size:.93rem;color:var(--text-light);margin-bottom:0}

/* What is IPTV */
.iptv-explain{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;margin-top:2rem}
.iptv-explain-text p{color:var(--text-light)}
.iptv-visual{display:flex;align-items:center;justify-content:center;background:var(--bg-alt);border-radius:var(--radius);padding:3rem;min-height:280px}
.iptv-visual svg{width:180px;height:180px}

/* Pricing */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem;align-items:start}
.pricing-card{background:var(--white);border:2px solid #e0e0e0;border-radius:var(--radius);padding:2rem;text-align:center;position:relative;transition:var(--transition)}
.pricing-card:hover{box-shadow:var(--shadow)}
.pricing-card.popular{border-color:var(--green);transform:scale(1.04);box-shadow:0 4px 24px rgba(4,106,56,.15)}
.popular-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--red);color:var(--white);padding:.3rem 1.2rem;border-radius:20px;font-size:.8rem;font-weight:700;white-space:nowrap}
.pricing-card h3{font-size:1.2rem;margin-bottom:.5rem}
.price{font-size:clamp(2.4rem,5vw,3.2rem);font-weight:800;color:var(--green);margin:.5rem 0 .2rem}
.price-period{font-size:.85rem;color:var(--text-light);margin-bottom:1.2rem}
.pricing-features{text-align:left;margin-bottom:1.5rem}
.pricing-features li{padding:.4rem 0;font-size:.9rem;color:var(--text-light);border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:.5rem}
.pricing-features li::before{content:"✓";color:var(--green);font-weight:700;flex-shrink:0}
.pricing-card .btn{width:100%;padding:.8rem}

/* Devices */
.devices-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:2rem}
.device-card{background:var(--white);padding:2rem;border-radius:var(--radius);border:1px solid #e8e8e8;text-align:center;transition:var(--transition)}
.device-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.device-card .icon{font-size:2.5rem;margin-bottom:1rem}
.device-card h3{color:var(--green);margin-bottom:.5rem}
.device-card p{font-size:.9rem;color:var(--text-light);margin-bottom:0}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:2rem;position:relative}
.step{text-align:center;position:relative}
.step-number{width:60px;height:60px;border-radius:50%;background:var(--green);color:var(--white);font-size:1.5rem;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem}
.step h3{color:var(--text)}
.step p{font-size:.93rem;color:var(--text-light);margin-bottom:0}

/* Content Tabs */
.content-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.content-card{background:var(--white);padding:2rem;border-radius:var(--radius);border:1px solid #e8e8e8;transition:var(--transition)}
.content-card:hover{box-shadow:var(--shadow)}
.content-card .icon{font-size:2rem;margin-bottom:.8rem}
.content-card h3{color:var(--green)}
.content-card p{font-size:.93rem;color:var(--text-light);margin-bottom:0}

/* Testimonials */
.testimonials-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2rem}
.testimonial-card{background:var(--white);padding:2rem;border-radius:var(--radius);border:1px solid #e8e8e8;transition:var(--transition)}
.testimonial-card:hover{box-shadow:var(--shadow)}
.testimonial-card .stars{color:#f5a623;font-size:1.1rem;margin-bottom:.8rem}
.testimonial-card blockquote{font-size:.95rem;color:var(--text-light);font-style:italic;margin-bottom:1rem;line-height:1.6}
.testimonial-card .author{font-weight:700;color:var(--text);font-size:.9rem}

/* Blog Preview */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.blog-card{background:var(--white);border-radius:var(--radius);border:1px solid #e8e8e8;overflow:hidden;transition:var(--transition)}
.blog-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.blog-card-img{background:var(--bg-alt);height:180px;display:flex;align-items:center;justify-content:center;font-size:3rem}
.blog-card-body{padding:1.5rem}
.blog-card-body h3{font-size:1.05rem;margin-bottom:.6rem}
.blog-card-body h3 a{color:var(--text)}
.blog-card-body h3 a:hover{color:var(--green)}
.blog-card-body p{font-size:.9rem;color:var(--text-light)}
.blog-card-body .read-more{color:var(--green);font-weight:600;font-size:.9rem}
.blog-card-body .read-more:hover{color:var(--red)}

/* FAQ */
.faq-list{max-width:800px;margin:2rem auto 0}
.faq-item{border:1px solid #e0e0e0;border-radius:var(--radius);margin-bottom:.8rem;overflow:hidden}
.faq-question{width:100%;background:var(--white);border:none;padding:1.2rem 1.5rem;text-align:left;font-size:1rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:var(--transition);color:var(--text);font-family:inherit}
.faq-question:hover{background:var(--bg-alt)}
.faq-question .arrow{transition:transform .3s ease;font-size:.8rem;color:var(--green)}
.faq-item.active .faq-question{background:var(--bg-alt);color:var(--green)}
.faq-item.active .arrow{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .4s ease;padding:0 1.5rem}
.faq-answer p{padding:1rem 0;color:var(--text-light);font-size:.95rem;line-height:1.7}
.faq-item.active .faq-answer{max-height:500px}

/* Final CTA */
.final-cta{background:var(--green);color:var(--white);text-align:center;padding:4rem 0}
.final-cta h2{color:var(--white);margin-bottom:1rem}
.final-cta p{color:rgba(255,255,255,.9);font-size:1.1rem;max-width:700px;margin:0 auto 2rem}
.final-cta .btn{margin:.5rem;padding:.85rem 2rem;font-size:1.05rem}

/* Footer */
.footer{background:#035530;color:rgba(255,255,255,.85);padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer h4{color:var(--white);font-size:1rem;margin-bottom:1rem}
.footer p{font-size:.9rem;line-height:1.6;margin-bottom:.5rem}
.footer a{color:rgba(255,255,255,.85);font-size:.9rem}
.footer a:hover{color:var(--white)}
.footer-links{display:flex;flex-direction:column;gap:.5rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:1.5rem;text-align:center;font-size:.85rem;color:rgba(255,255,255,.6)}

/* Page Headers */
.page-header{background:var(--green);color:var(--white);padding:3rem 0;text-align:center}
.page-header h1{color:var(--white);margin-bottom:.5rem}
.page-header p{color:rgba(255,255,255,.85);font-size:1.05rem}
.breadcrumbs{font-size:.85rem;margin-bottom:1rem;color:rgba(255,255,255,.7)}
.breadcrumbs a{color:rgba(255,255,255,.85)}
.breadcrumbs a:hover{color:var(--white)}

/* Page Content */
.page-content{padding:3rem 0}
.page-content h2{color:var(--green);margin-top:2rem}
.page-content h3{margin-top:1.5rem}
.page-content ul,.page-content ol{margin:1rem 0 1rem 1.5rem}
.page-content li{margin-bottom:.5rem;color:var(--text-light)}
.page-content ul li{list-style:disc}
.page-content ol li{list-style:decimal}

/* Contact Form */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin-top:2rem}
.contact-form label{display:block;font-weight:600;margin-bottom:.3rem;font-size:.9rem}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:.8rem 1rem;border:1px solid #d0d0d0;border-radius:6px;font-size:.95rem;font-family:inherit;transition:var(--transition);margin-bottom:1rem}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(4,106,56,.1)}
.contact-form textarea{min-height:140px;resize:vertical}
.contact-info-box{background:var(--bg-alt);border-radius:var(--radius);padding:2rem}
.contact-info-box h3{color:var(--green);margin-bottom:1rem}
.contact-info-box p{font-size:.93rem;color:var(--text-light)}

/* Blog Archive */
.blog-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.blog-post-content{max-width:800px;margin:0 auto;padding:2rem 0}
.blog-post-content h1{margin-bottom:1.5rem}
.blog-post-content p{font-size:1.05rem;line-height:1.8;color:var(--text-light)}

/* Logo with image */
.logo{display:flex;align-items:center;gap:.5rem}
.logo img{height:36px;width:auto}

/* Poster Scroll */
.poster-scroll{display:flex;gap:1.2rem;animation:scrollPosters 30s linear infinite;width:max-content}
.poster-scroll:hover{animation-play-state:paused}
.poster-scroll img{height:280px;width:auto;border-radius:8px;flex-shrink:0;transition:transform .3s ease;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.poster-scroll img:hover{transform:scale(1.05)}
.poster-track{overflow:hidden;position:relative}
.poster-track::before,.poster-track::after{content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none}
.poster-track::before{left:0;background:linear-gradient(to right,var(--white),transparent)}
.poster-track::after{right:0;background:linear-gradient(to left,var(--white),transparent)}
@keyframes scrollPosters{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Hero Image */
.hero-img{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.hero-img img{width:100%;height:auto;display:block}

/* Fade In Animation */
.fade-in{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* Responsive */
@media(max-width:1024px){
  .features-grid,.pricing-grid,.content-cards{grid-template-columns:repeat(2,1fr)}
  .devices-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .iptv-explain{grid-template-columns:1fr}
  .iptv-visual{min-height:200px}
}
@media(max-width:768px){
  .poster-scroll img{height:200px}
  .poster-scroll-section{padding:2rem 0}
  .nav-links{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:var(--white);flex-direction:column;padding:5rem 2rem 2rem;box-shadow:-4px 0 20px rgba(0,0,0,.1);transition:right .3s ease;z-index:999}
  .nav-links.active{right:0}
  .hamburger{display:flex;z-index:1001}
  .hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
  .hamburger.active span:nth-child(2){opacity:0}
  .hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}
  .features-grid,.pricing-grid,.steps,.content-cards,.blog-grid,.testimonials-grid,.blog-archive-grid{grid-template-columns:1fr}
  .devices-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .pricing-card.popular{transform:none}
  .hero-buttons{flex-direction:column;align-items:center}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .trust-bar{font-size:.75rem}
  .trust-bar span{display:inline-block;margin:.2rem .4rem}
  section{padding:3rem 0}
}
@media(max-width:375px){
  .container{width:92%}
  h1{font-size:1.8rem}
  h2{font-size:1.4rem}
}

/* ===== IPTV Polska custom additions ===== */
.hero-subtitle{font-size:1.15rem;color:var(--text-light);margin-bottom:1.5rem;max-width:820px;margin-left:auto;margin-right:auto}
.hero-badges{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-bottom:1.8rem}
.badge{background:var(--bg-alt);border:1px solid #ddd;border-radius:20px;padding:.35rem .9rem;font-size:.85rem;font-weight:600;color:var(--text);display:flex;align-items:center;gap:.3rem}
.hero-cta{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.stats-bar{background:var(--green);padding:1.5rem 0;color:var(--white)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;text-align:center}
.stat-item strong{display:block;font-size:1.5rem;font-weight:800;color:var(--white)}
.stat-item span{font-size:.8rem;color:rgba(255,255,255,.8)}
@media(max-width:768px){.stats-grid{grid-template-columns:repeat(2,1fr)}.hero-cta{flex-direction:column;align-items:center}}

/* ===== Blog article pages ===== */
.blog-article{max-width:800px;margin:0 auto;padding:2rem 1rem}
.blog-article h2{color:var(--green);margin-top:2.5rem;margin-bottom:1rem}
.blog-article h3{margin-top:1.8rem;margin-bottom:.8rem}
.blog-article p{font-size:1.05rem;line-height:1.8;color:#333;margin-bottom:1.2rem}
.blog-meta{color:var(--text-light);font-size:.9rem;margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e0e0e0}
.blog-cta{background:var(--green);color:var(--white);padding:2.5rem;border-radius:var(--radius);text-align:center;margin-top:3rem}
.blog-cta p{color:rgba(255,255,255,.9);font-size:1.1rem}
.blog-cta .btn{margin-top:1rem;display:inline-block;padding:.85rem 2rem;background:var(--white);color:var(--green);font-weight:700;border-radius:6px;font-size:1.05rem;transition:var(--transition)}
.blog-cta .btn:hover{background:#f0f0f0}

/* ===== Hero content wrapper ===== */
.hero-content{max-width:900px;margin:0 auto;text-align:center}

/* ===== App comparison cards (najlepsze-aplikacje-iptv) ===== */
.app-card{background:var(--bg-alt);border:1px solid #e0e0e0;border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem}
.app-card h3{margin-top:0;color:var(--green)}
.app-badge{display:inline-block;background:var(--green);color:var(--white);padding:.2rem .7rem;border-radius:20px;font-size:.8rem;font-weight:600;margin-left:.5rem;vertical-align:middle}
