*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

html, body{
  width:100%;
  overflow-x:hidden;
}

body{
  font-family:"Inter", sans-serif;
  background:#0f172a;
  color:white;
  padding-top:90px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

section{
  scroll-margin-top:120px;
}

button{
  margin-top:20px;
  padding:15px 30px;
  background:#2563eb;
  border:none;
  color:white;
  font-size:18px;
  border-radius:8px;
  cursor:pointer;
}


/* HEADER */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 10%;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(15,23,42,0.96);
  backdrop-filter:blur(16px);
  border-bottom:none;
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:white;
  font-size:30px;
  cursor:pointer;
  margin-top:0;
  padding:0;
}

nav{
  display:flex;
  align-items:center;
}

nav a{
  color:white;
  margin-left:25px;
  text-decoration:none;
  font-size:17px;
  font-weight:500;
  transition:color 0.3s ease;
}

nav a:hover,
nav a.active{
  color:#60a5fa;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:white;
}

.brand-mark{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(59,130,246,0.25), rgba(37,99,235,0.12));
  border:1px solid rgba(255,255,255,0.12);
  color:#93c5fd;
  font-weight:700;
  letter-spacing:-0.02em;
  box-shadow:0 10px 24px rgba(37,99,235,0.15);
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.brand-text strong{
  font-size:24px;
  color:white;
  letter-spacing:-0.03em;
}

.brand-text span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:#93c5fd;
  margin-top:4px;
}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  min-height:calc(100vh - 90px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:60px 20px 220px;
  background:
    radial-gradient(circle at 50% 22%, rgba(59,130,246,0.22), transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(37,99,235,0.10), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(96,165,250,0.08), transparent 22%),
    linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:40px 40px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 85%);
  pointer-events:none;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:950px;
}

.hero-label{
  display:inline-block;
  margin-bottom:20px;
  padding:8px 16px;
  border:1px solid rgba(255,255,255,0.15);
  border-radius:999px;
  color:#93c5fd;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(10px);
}

.hero h1{
  font-size:56px;
  line-height:1.02;
  font-weight:500;
  letter-spacing:-0.04em;
  max-width:900px;
  margin:0 auto;
  background:linear-gradient(180deg,#ffffff 0%, #dbeafe 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-description{
  max-width:700px;
  margin:24px auto 0 auto;
  font-size:20px;
  line-height:1.7;
  color:#cbd5e1;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-top:28px;
  flex-wrap:wrap;
}

.hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:220px;
  padding:16px 30px;
  background:linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color:white;
  font-size:18px;
  font-weight:600;
  border-radius:12px;
  text-decoration:none;
  transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow:0 14px 34px rgba(37,99,235,0.30);
}

.hero-button:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 40px rgba(37,99,235,0.35);
  background:linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.hero-button.secondary{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:none;
  backdrop-filter:blur(8px);
}

.hero-button.secondary:hover{
  background:rgba(255,255,255,0.07);
  box-shadow:0 10px 25px rgba(255,255,255,0.06);
}

/* STATS */
.stats{
  padding:0 10% 120px;
  background:#020617;
}

.stats-container{
  position:absolute;
  left:10%;
  right:10%;
  bottom:40px;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:25px;
}

.stat-item{
  background:rgba(17,24,39,0.78);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:28px;
  box-shadow:0 20px 40px rgba(0,0,0,0.22);
  backdrop-filter:blur(14px);
}



.stat-item h3{
  font-size:24px;
  margin-bottom:12px;
  color:#ffffff;
  letter-spacing:-0.02em;
}

.stat-item p{
  color:#cbd5e1;
  line-height:1.7;
}

/* SERVICES */
.services{
  padding:100px 10% 100px;
  background:#f8fafc;
  color:#0f172a;
}

.services h2{
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin-bottom:60px;
}

.services-container{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:32px;
}

.service{
  background:white;
  padding:32px;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
  border:1px solid #e5e7eb;
  
}

.service-link{
  text-decoration:none;
  color:inherit;
  display:block;
}


.service h3{
  font-size:24px;
  margin-bottom:15px;
  letter-spacing:-0.02em;
}

.service p{
  line-height:1.75;
  color:#475569;
}

.service-icon{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
  border-radius:14px;
  background:#dbeafe;
  color:#2563eb;
  font-size:26px;
  font-weight:bold;
}

/* PORTFOLIO */
.portfolio{
  padding:110px 12%;
  background:#0f172a;
  color:white;
}

.portfolio h2{
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin-bottom:60px;
}

.portfolio-slider{
  position:relative;
  padding:12px 40px 30px 40px;
}

.portfolio-item{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  background:#111827;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:0 16px 34px rgba(0,0,0,0.18);
  
  height:100%;
}



.portfolio-item img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  transition:transform 0.3s ease;
  cursor:pointer;
  border-top-left-radius:18px;
  border-top-right-radius:18px;
}

.portfolio-item img:hover{
  transform:scale(1.04);
}

.swiper-slide img,
.blog-card img,
.portfolio-item img,
.testimonial-card img {
  max-width: 100%;
  height: auto;
  display: block;
}


.portfolio-content{
  padding:22px;
}

.portfolio-content h3{
  font-size:22px;
  margin-bottom:12px;
  letter-spacing:-0.02em;
}

.portfolio-content p{
  color:#cbd5e1;
  line-height:1.7;
}

/* WHY */
.why{
  padding:100px 10%;
  background:#f8fafc;
  color:#0f172a;
}

.why h2{
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin-bottom:60px;
}

.why-container{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:32px;
}

.why-item{
background:white;
padding:30px;
border-radius:18px;
box-shadow:0 12px 30px rgba(15,23,42,0.06);
border:1px solid #e5e7eb;

}




.why-item h3{
  margin-bottom:12px;
  letter-spacing:-0.02em;
}

.why-item p{
  line-height:1.7;
  color:#475569;
}

/* BLOG */
.blog{
  padding:100px 10%;
  background:#0f172a;
  color:white;
}

.blog h2{
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin-bottom:20px;
}

.blog-intro{
  text-align:center;
  max-width:700px;
  margin:0 auto 50px auto;
  font-size:18px;
  color:#cbd5e1;
}

.blog-slider{
  position:relative;
  padding:18px 14px 50px 14px;
}

.blog-card{
  background:#1e293b;
  padding:30px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,0.22);
  border:1px solid rgba(255,255,255,0.05);
  
  height:100%;
}



.blog-card h3{
  font-size:22px;
  margin-bottom:15px;
  letter-spacing:-0.02em;
}

.blog-card p{
  color:#cbd5e1;
  line-height:1.7;
  margin-bottom:20px;
}

.blog-card a{
  color:#60a5fa;
  text-decoration:none;
  font-weight:600;
}

.blog-card a:hover{
  text-decoration:underline;
}
/* TESTIMONIALS */
.testimonials{
  padding:100px 10%;
  background:#f8fafc;
  color:#0f172a;
}

.testimonials h2{
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin-bottom:20px;
}

.testimonials-intro{
  text-align:center;
  max-width:700px;
  margin:0 auto 50px auto;
  font-size:18px;
  color:#475569;
}

.testimonials-slider{
  position:relative;
  padding:18px 14px 50px 14px;
}

.testimonial-card{
  background:white;
  padding:30px;
  border-radius:18px;
  border:1px solid #e5e7eb;
  box-shadow:none;
  height:100%;
}

.testimonial-card p{
  line-height:1.8;
  color:#334155;
  margin-bottom:20px;
  font-size:17px;
}

.testimonial-card h4{
  font-size:16px;
  color:#2563eb;
}

/* CONTACT */
.contact{
  padding:100px 10%;
  background:#f8fafc;
  color:#0f172a;
}

.contact h2{
  text-align:center;
  font-size:40px;
  letter-spacing:-0.03em;
  margin-bottom:20px;
}

.contact-intro{
  text-align:center;
  max-width:700px;
  margin:0 auto 40px auto;
  font-size:18px;
}

.contact-wrapper{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;
  align-items:start;
  max-width:1200px;
  margin:0 auto;
}

.contact-info{
  background:white;
  padding:32px;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(15,23,42,0.06);
  border:1px solid #e5e7eb;
}

.contact-info h3{
  font-size:28px;
  margin-bottom:20px;
  letter-spacing:-0.02em;
}

.contact-info p{
  line-height:1.75;
  color:#334155;
}

.contact-details{
  margin-top:25px;
}

.contact-details p{
  margin-bottom:12px;
}

.contact-actions{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  margin-top:25px;
}

.contact-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  background:#2563eb;
  color:white;
  text-decoration:none;
  border-radius:10px;
  font-weight:600;
  transition:transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow:0 10px 24px rgba(37,99,235,0.18);
}

.contact-action:hover{
  background:#1d4ed8;
  transform:translateY(-2px);
}

.secondary-action{
  background:#0f172a;
  box-shadow:none;
}

.secondary-action:hover{
  background:#020617;
}

.contact-form{
max-width:none;
margin:0;
display:flex;
flex-direction:column;
gap:20px;
background:white;
padding:32px;
border-radius:18px;
box-shadow:0 12px 30px rgba(15,23,42,0.06);
border:1px solid #e5e7eb;

}



.contact-form input,
.contact-form textarea{
  padding:18px;
  font-size:16px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  font-family:"Inter", sans-serif;
  width:100%;
  color:#0f172a;
}

.contact-form textarea{
  min-height:180px;
  resize:vertical;
}

.contact-form button{
  align-self:flex-start;
  margin-top:0;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(37,99,235,0.18);
}

.form-message{
  margin-top:10px;
  font-size:15px;
  color:#2563eb;
}

/* FOOTER */
.footer{
  background:#020617;
  color:#cbd5e1;
}

.footer-container{
  max-width:1200px;
  margin:0 auto;
  padding:60px 10%;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4{
  color:white;
  margin-bottom:18px;
  letter-spacing:-0.02em;
}

.footer-brand p,
.footer-contact p{
  line-height:1.7;
  color:#94a3b8;
}

.footer-links{
  display:flex;
  flex-direction:column;
}

.footer-links a{
  color:#94a3b8;
  text-decoration:none;
  margin-bottom:10px;
  transition:color 0.3s ease;
}

.footer-links a:hover{
  color:white;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  text-align:center;
  padding:20px;
  font-size:14px;
  color:#94a3b8;
}

/* LIGHTBOX */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:20px;
}

.lightbox-content{
  max-width:90%;
  max-height:90%;
  border-radius:14px;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

.lightbox-close{
  position:absolute;
  top:30px;
  right:40px;
  font-size:40px;
  color:white;
  cursor:pointer;
}

/* REVEAL */
.reveal{
opacity:0;
transform:translateY(40px) scale(0.98);
transition:opacity 0.9s cubic-bezier(.16,1,.3,1),
transform 0.9s cubic-bezier(.16,1,.3,1);
will-change:transform, opacity;
}

.reveal.active{
opacity:1;
transform:translateY(0) scale(1);
}
/* HOP */
.stat-item,
.service,
.why-item,
.contact-info,
.contact-form{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover,
.service:hover,
.why-item:hover,
.contact-info:hover,
.contact-form:hover{
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(59,130,246,0.25);
}

/* SWIPER */
.swiper-slide{
  height:auto;
}
.swiper{
  overflow: visible;
}

.swiper-wrapper{
  overflow: visible;
}

.swiper-slide{
  height:auto;
  overflow: visible;
}

.swiper-pagination{
  display: block !important;
  position: relative !important;
  bottom: auto !important;
  margin-top: 30px !important;
  padding-top: 20px !important;
  text-align: center;
}

/* Kropki dla portfolio i bloga - jasne kolory na ciemnym tle */
.portfolio .swiper-pagination-bullet,
.blog .swiper-pagination-bullet {
  background-color: #ffffff !important;
  opacity: 0.5;
}

.portfolio .swiper-pagination-bullet-active,
.blog .swiper-pagination-bullet-active {
  background-color: #ffffff !important;
  opacity: 1;
}

/* Kropki dla testimonials - ciemne kolory na białym tle */
.testimonials .swiper-pagination-bullet {
  background-color: #0f1927 !important;
  opacity: 0.3;
}

.testimonials .swiper-pagination-bullet-active {
  background-color: #0f1927 !important;
  opacity: 1;
}

.portfolio-slider,
.blog-slider,
.testimonials-slider {
  padding-bottom: 50px !important;
}

/* RESPONSIVE */
/* RESPONSIVE */
@media (max-width: 1024px){
  .services-container{
    grid-template-columns: repeat(2, 1fr);
  }

  .why-container{
    grid-template-columns: 1fr;
  }

  .stats-container{
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .contact-wrapper{
    grid-template-columns: 1fr;
  }

  .footer-container{
    grid-template-columns: 1fr;
  }

  .hero h1{
    font-size: 46px;
  }

  .portfolio-slider,
  .testimonials-slider,
  .blog-slider{
    padding: 18px 10px 42px 10px;
  }

  .contact-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .footer-container{
    padding: 60px 6%;
  }
}

@media (max-width: 768px){
  .hero{
    min-height: auto;
    padding: 48px 18px 30px;
    justify-content: center;
  }

  .hero h1{
    font-size: clamp(2rem, 8.5vw, 2.5rem);
    line-height: 1.08;
  }

  .hero-description{
    font-size: 16px;
    margin-top: 18px;
    max-width: 100%;
  }

  .hero-buttons{
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
  }

  .hero-button{
    width: 100%;
    min-width: auto;
  }

  .contact-form button{
    width: 100%;
  }

  .contact-form{
    padding: 24px;
  }

  .contact-info,
  .contact-form{
    width: 100%;
  }

  .contact-actions{
    gap: 12px;
  }

  .footer-container{
    padding: 40px 20px;
  }

  .footer-container{
    grid-template-columns: 1fr;
  }

  .footer-links{
    gap: 15px;
  }

  .blog-card,
  .testimonial-card,
  .portfolio-item{
    min-height: auto;
  }

  .portfolio-slider,
  .testimonials-slider,
  .blog-slider{
    padding: 18px 10px 42px 10px;
  }

  .header{
    padding: 20px;
  }

  .menu-toggle{
    display: block;
  }

  nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0f172a;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  nav.open{
    display: flex;
  }

  nav a{
    margin-left: 0;
  }

  .brand-text strong{
    font-size: 20px;
  }

  .hero{
    min-height: calc(100svh - 90px);
    padding: 120px 20px 40px;
    justify-content: flex-start;
  }

  .hero-content{
    max-width: 100%;
  }

  .hero-label{
    margin-bottom: 16px;
    font-size: 12px;
  }

  .hero h1{
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .hero-description{
    font-size: 16px;
    line-height: 1.55;
    margin-top: 16px;
  }

  .hero-buttons{
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-button{
    width: 100%;
  }

  .stats{
    padding: 0 20px 56px;
  }

  .stats-container{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 370px !important;
  }

  .stat-item{
    padding: 22px;
  }

  .stat-item h3{
    font-size: 1.9rem;
  }

  .stat-item p{
    font-size: 16px;
    line-height: 1.6;
  }

  .services,
  .portfolio,
  .why,
  .blog,
  .testimonials,
  .contact{
    padding: 80px 20px;
  }

  .services-container,
  .why-container,
  .blog-container{
    grid-template-columns: 1fr;
  }

  .portfolio-slider,
  .testimonials-slider,
  .blog-slider{
    padding: 18px 10px 42px 10px;
  }
}

/* DUŻE EKRANY */
@media (min-width: 1600px){
  .stats-container{
    left: 12%;
    right: 12%;
    bottom: 60px;
    gap: 35px;
  }

  .stat-item{
    padding: 38px;
    border-radius: 22px;
  }

  .stat-item h3{
    font-size: 1.5rem;
  }

  .stat-item p{
    font-size: 1.05rem;
  }

  .hero h1{
    font-size: 3.6rem;
    line-height: 1.15;
    max-width: 1100px;
  }

  .hero-description{
    font-size: 1.2rem;
    max-width: 750px;
  }
}

#scrollTopBtn{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 12px 30px rgba(37,99,235,0.28);
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

#scrollTopBtn:hover{
  transform: translateY(-3px);
  background: #1d4ed8;
}

@media (max-width: 768px){
  #scrollTopBtn{
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}