/* === KOLORY === */
:root {
  --bg-dark: #0A0F1F;
  --bg-section: #111827;
  --bg-card: #1E293B;

  --accent-blue: #3B82F6;
  --accent-turquoise: #22D3EE;
  --accent-light: #60A5FA;

  --text-main: #fff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
}

/* === GLOBAL === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 50% 30%, rgba(59,130,246,0.25), transparent 70%),
              linear-gradient(135deg, #0A0F1F 0%, #111827 100%);
  background-size: 200% 200%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
}

section.section {
  padding: 120px 8vw;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-lead {
  max-width: 700px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,15,31,0.4);
  z-index: 10;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  z-index: -1;
}

.nav .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav ul li a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s;
}

.nav ul li a:hover {
  color: var(--accent-blue);
  text-shadow: 0 0 10px rgba(59,130,246,0.5);
}

/* === HERO === */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  padding-top: 80px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--accent-blue);
  margin-top: 10px;
}

.hero p {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
}

.cta {
  margin-top: 40px;
}

.btn-primary {
  background: var(--accent-blue);
  padding: 12px 28px;
  border-radius: 8px;
  display: inline-block;
  margin-right: 20px;
  cursor: pointer;
  transition: 0.2s;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
}

.btn-outline {
  border: 2px solid var(--accent-turquoise);
  padding: 10px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  color: var(--accent-turquoise);
  text-decoration: none;
  font-weight: 500;
}

.btn-outline:hover {
  box-shadow: 0 0 20px rgba(34,211,238,0.5);
}

/* === LASER SCAN NA PRZYCISKACH === */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.4s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* === NEON GLOW === */
.glow {
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  from { box-shadow: 0 0 10px rgba(59,130,246,0.4); }
  to   { box-shadow: 0 0 25px rgba(59,130,246,0.9); }
}

/* === SEKCJA: CO ROBIĘ === */
.services {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.service-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  flex: 1;
  min-width: 260px;
  transition: 0.25s;
  border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(59,130,246,0.25);
  border-color: rgba(59,130,246,0.4);
}

/* === PORTFOLIO === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 12px;
  transition: 0.25s;
  border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(59,130,246,0.25);
  border-color: rgba(59,130,246,0.4);
}

/* === PROCES === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.process-step {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.step-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 10px;
}

/* === CENNIK === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.price {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
}

/* === FAQ === */
.faq-list {
  display: grid;
  gap: 20px;
  max-width: 800px;
}

.faq-item {
  background: rgba(15,23,42,0.8);
  padding: 20px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* === KONTAKT === */
.contact-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-form {
  max-width: 500px;
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
}

.contact-form button {
  background: var(--accent-blue);
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  color: white;
  font-weight: 600;
  transition: 0.2s;
}

.contact-form button:hover {
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
}

.status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info {
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  color: var(--text-secondary);
}

.contact-info a {
  color: var(--accent-light);
  text-decoration: none;
}

/* === FOOTER === */
.footer {
  padding: 30px 8vw;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === CANVAS LASER === */
#laserCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999999;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 900px) {
  .nav {
    padding: 15px 20px;
  }

  .nav ul {
    gap: 18px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  section.section {
    padding: 90px 6vw;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 90px 6vw 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .nav ul {
    display: none; /* na szybko, potem można zrobić burgera */
  }
}
