:root {
  --bg-dark: #0f172a; /* Głęboki nowoczesny granat */
  --bg-card: #1e293b; /* Tło kart */
  --accent: #3b82f6; /* Neonowy błękit */
  --accent-hover: #60a5fa;
  --text-main: #f8fafc; /* Prawie biały */
  --text-muted: #94a3b8; /* Przygaszony tekst */
  --glass: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER & NAVBAR */
.navbar {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* HERO SECTION */
.hero {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(
    circle at top right,
    rgba(59, 130, 246, 0.1),
    transparent
  );
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero .dot {
  color: var(--accent);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* PRZYCISKI */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  margin: 10px;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  border: 1px solid var(--text-muted);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  background: var(--glass);
}

/* SEKCJE OGÓLNE */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* KARTY USŁUG */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s,
    border-color 0.3s;
  text-align: center;
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.icon-box {
  margin-bottom: 20px;
}

.icon-box img {
  filter: invert(1); /* Jeśli Twoje ikony są czarne, to je wybieli */
  width: 60px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-muted);
}

/* CTA / WYCENA */
.cta-section {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  padding: 60px 0;
  text-align: center;
  border-radius: 30px;
  margin: 40px 0;
}

/* KONTAKT */
.contact-box {
  background: var(--glass);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.contact-item:hover {
  color: var(--accent);
}

.contact-item img {
  filter: invert(1);
  width: 24px;
}

/* FOOTER */
footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--glass);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  } /* Uproszczenie dla mobilki */
  .contact-details {
    flex-direction: column;
    gap: 20px;
  }
}
.service-card:hover .icon-box img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--accent));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* CENNIK - TABELA */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table th,
.pricing-table td {
  padding: 18px 24px;
  text-align: left;
}

.pricing-table thead {
  background: rgba(59, 130, 246, 0.15);
}

.pricing-table th {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.05rem;
}

.pricing-table td {
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table tbody tr:hover {
  background: var(--glass);
}

.pricing-table tbody tr:hover td {
  color: var(--text-main);
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto 20px;
}

@media (max-width: 600px) {
  .pricing-table th,
  .pricing-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}
