/* ==========================================================================
   SIN SOFTWARE - MODERN SAAS DESIGN SYSTEM 2026
   Responsywny, nowoczesny interfejs zoptymalizowany pod Desktop i Smartfon
   ========================================================================== */

:root {
  --bg-dark: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 56, 0.85);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-hover: rgba(59, 130, 246, 0.4);

  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: rgba(59, 130, 246, 0.15);

  --emerald: #10b981;
  --emerald-light: rgba(16, 185, 129, 0.15);

  --purple: #8b5cf6;
  --purple-light: rgba(139, 92, 246, 0.15);

  --amber: #f59e0b;
  --cyan: #06b6d4;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET I BAZA */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* EFEKTY TŁA I ŚWIATŁO */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.bg-glow-1 {
  top: -100px;
  left: 10%;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.bg-glow-2 {
  top: 600px;
  right: 5%;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.bg-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

/* KONTENER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* TYPOGRAFIA I AKCENTY */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

.text-emerald {
  color: var(--emerald) !important;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  background: var(--primary-light);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 1rem;
}

.section-tag-emerald {
  background: var(--emerald-light);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.section-tag-purple {
  background: var(--purple-light);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.25);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

/* PRZYCISKI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.shadow-glow {
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.btn-outline:hover {
  background: var(--purple-light);
  border-color: #a78bfa;
  transform: translateY(-2px);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

/* NAGŁÓWEK / MENU */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 0.9rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-badge {
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.logo-dot {
  color: var(--emerald);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 110;
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* HERO SECTION */
.hero-section {
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
}

.hero-container {
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  margin-bottom: 1.8rem;
  color: #e2e8f0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--bg-card-border-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* KARTY PRODUKTÓW */
.product-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.product-highlight-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.product-grid-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.product-grid-reverse .product-content {
  order: 2;
}

.product-grid-reverse .product-preview {
  order: 1;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.product-pill-emerald {
  background: var(--emerald-light);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-pill-blue {
  background: var(--primary-light);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.product-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.product-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.benefit-icon {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
}

.benefit-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.benefit-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-cta-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* PODGLĄD MOCKUPU / SYMULATOR */
.mockup-frame {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.mockup-header {
  background: #1f2937;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b5563;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-address {
  font-size: 0.78rem;
  color: #9ca3af;
  font-family: var(--font-mono);
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-badge-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.badge-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-info {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.mockup-inspection-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.2rem;
}

.inspection-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.inspection-meta {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.8rem;
}

.inspection-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.chip-item {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  color: #cbd5e1;
}

.signature-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.8rem;
  margin-bottom: 1rem;
}

.sig-label {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.sig-line {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 1.5rem;
  color: #38bdf8;
  letter-spacing: 0.05em;
}

.mockup-action-btn {
  width: 100%;
  background: #2563eb;
  border: none;
  color: white;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.mockup-footer-info {
  font-size: 0.82rem;
  color: #cbd5e1;
  text-align: center;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* EMAIL MOCKUP KSEF */
.email-mockup {
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.email-subject {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.email-meta-box {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.email-file-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.file-chip {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: var(--font-mono);
}

.alert-box-safe {
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  padding: 0.8rem;
  border-radius: 6px;
  line-height: 1.4;
}

/* SEKCJA NA ZAMÓWIENIE */
.custom-dev-card {
  background: linear-gradient(135deg, rgba(24, 24, 43, 0.9) 0%, rgba(18, 24, 38, 0.9) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
}

.custom-dev-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.custom-quote-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--purple);
  padding: 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.quote-text {
  font-size: 1.15rem;
  font-style: italic;
  color: #e2e8f0;
  max-width: 760px;
}

.quote-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: #a78bfa;
}

.quote-cta {
  margin-top: 0.5rem;
}

/* CENNIK */
.billing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--bg-card-border);
  margin-bottom: 3.5rem;
}

.billing-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.discount-badge {
  background: var(--emerald-light);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-left: 0.35rem;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: #374151;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: var(--transition);
}

.toggle-switch.active .toggle-knob {
  left: 27px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(30, 48, 80, 0.85) 0%, rgba(18, 24, 38, 0.9) 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
  transform: scale(1.02);
}

.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}

.pricing-product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 0.25rem;
}

.pricing-plan-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.price-val {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1;
}

.price-custom {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-left: 0.2rem;
}

.price-subtext {
  font-size: 0.78rem;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 1.8rem;
  min-height: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.87rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* KALKULATOR */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
}

.calculator-header {
  margin-bottom: 3rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-control-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-label {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-range-val {
  background: var(--primary-light);
  color: #60a5fa;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.custom-range {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
}

.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.calc-assumptions {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  border-top: 1px solid var(--bg-card-border);
  padding-top: 1rem;
}

.calc-result-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.result-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.result-tile-highlight {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.result-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

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

.roi-summary {
  font-size: 0.95rem;
  color: #e2e8f0;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

/* FAQ */
.faq-container {
  max-width: 840px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item[open] {
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion-header {
  padding: 1.3rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: var(--transition);
}

.accordion-item[open] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* KONTAKT */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.detail-link, .detail-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.detail-link:hover {
  color: #60a5fa;
}

/* FORMULARZ */
.contact-form-wrapper {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

select option {
  background: #111827;
  color: #ffffff;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 24px;
}

/* STOPKA */
.site-footer {
  border-top: 1px solid var(--bg-card-border);
  background: #070a12;
  padding: 4.5rem 0 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links-group h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: #ffffff;
}

.footer-links-group li {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSYWNOŚĆ DUAL-SCREEN (TABLET I SMARTFON)
   Brak uciętych tekstów, pełna czytelność i ergonomia na ekranach mobile
   ========================================================================== */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 868px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid, .product-grid-reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-grid-reverse .product-content {
    order: 1;
  }

  .product-grid-reverse .product-preview {
    order: 2;
  }

  .product-highlight-card {
    padding: 2.2rem 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-card, .calculator-card, .custom-dev-card {
    padding: 2.2rem 1.5rem;
  }

  /* MENU MOBILNE */
  .burger-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: #0f172a;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 105;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 0.5rem 0;
  }

  .nav-cta {
    margin-top: 1rem;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
