/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --surface: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --border: #334155;
  --radius: 12px;
  --max: 960px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--accent); }

.nav {
  display: flex;
  gap: 1.75rem;
}
.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #0f172a;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0f172a;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ===== Features (Co robimy) ===== */
.features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.section-alt .feature-card {
  background: var(--bg);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #0f172a;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Audience ===== */
.audience {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .audience {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.audience-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.audience-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Status box ===== */
.status-box {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.status-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ===== Contact ===== */
.contact-box {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.contact-email {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0.5rem 0 0.75rem;
  word-break: break-all;
}
.contact-email:hover { color: var(--accent-hover); }

.contact-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== Mobile nav ===== */
@media (max-width: 699px) {
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}


/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* ===== Sekcja Produktowa ===== */
.section-product {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}
.badge-icon {
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.product-subtitle {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.product-modules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-card {
  display: flex;
  gap: 1.25rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(30, 41, 59, 0.9);
}

.module-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.module-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Karta Zakupu */
.product-checkout-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.1);
  position: sticky;
  top: 90px;
}

.pricing-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.pricing-version {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-tag .currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}
.price-tag .amount {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.price-tag .period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}
.price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.product-specs {
  margin-bottom: 1.75rem;
}
.product-specs h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.product-specs ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-specs li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-left: 1.25rem;
  position: relative;
}
.product-specs li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}
.product-specs code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--accent);
}

.btn-checkout {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 1.5rem;
}
.checkout-guarantee {
  font-size: 0.775rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-checkout-card {
    position: static;
  }
}


