/* ==========================================================================
   logistyczneai.pl — High-Tech B2B Enterprise Stylesheet (Light Aesthetic)
   Dominant White, Slate Contrast, Cobalt Blue & Emerald Green Accents
   Designed for Executive C-Level Audiences (CEO, COO, Supply Chain Directors)
   ========================================================================== */

:root {
  /* Color System — Dominant White & Clean Executive Slates */
  --bg-pure: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-card-elevated: #ffffff;

  /* Accent Neon & Corporate Tokens */
  --cobalt-primary: #1d4ed8;
  --cobalt-vivid: #2563eb;
  --cobalt-light: #3b82f6;
  --cobalt-soft: #eff6ff;
  --cobalt-glow: rgba(37, 99, 235, 0.15);

  --emerald-primary: #059669;
  --emerald-vivid: #10b981;
  --emerald-soft: #ecfdf5;
  --emerald-glow: rgba(5, 150, 105, 0.15);

  /* Borders & Dividers */
  --border-light: rgba(226, 232, 240, 0.85);
  --border-card: rgba(203, 213, 225, 0.7);
  --border-hover: rgba(37, 99, 235, 0.4);
  --border-emerald: rgba(5, 150, 105, 0.35);

  /* Typography */
  --text-main: #0f172a;        /* Deep obsidian slate */
  --text-lead: #1e293b;        /* Crisp executive tone */
  --text-body: #334155;        /* Premium readability */
  --text-muted: #64748b;       /* Muted slate */
  --text-light: #94a3b8;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Glassmorphism */
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --card-shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  --glass-blur: blur(20px);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-pure);
  color: var(--text-body);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-pure);
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(37, 99, 235, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 18%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 65%, rgba(37, 99, 235, 0.04) 0%, transparent 55%),
    linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
  background-attachment: fixed;
}

/* Crisp Architectural Blueprint Grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--cobalt-soft);
  color: var(--cobalt-primary);
}

:focus-visible {
  outline: 2px solid var(--cobalt-vivid);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Layout & Typography
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-main);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.heading-md {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.text-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-body);
  line-height: 1.7;
}

.text-gradient-cobalt {
  background: linear-gradient(135deg, #0f172a 15%, #1e40af 60%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dual {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #0f172a 30%, #059669 80%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Badges & Tags (Executive Clean White/Blue/Emerald)
   -------------------------------------------------------------------------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-lead);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-pill.badge-launch {
  border-color: rgba(5, 150, 105, 0.4);
  background: var(--emerald-soft);
  color: #065f46;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-primary);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  position: relative;
}

.badge-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald-vivid);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Buttons (B2B Executive CTAs)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.875rem 1.85rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 70%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(29, 78, 216, 0.3);
  box-shadow: 
    0 10px 20px -5px rgba(37, 99, 235, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 70%, #2563eb 100%);
  box-shadow: 
    0 15px 30px -5px rgba(37, 99, 235, 0.45),
    0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-lead);
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--cobalt-vivid);
  color: var(--cobalt-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.08);
}

.btn-icon-wrapper {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon-wrapper {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header & Navigation (Frosted White Glassmorphism)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.15rem 0;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  flex-shrink: 0;
}

.brand-logo .accent-ai {
  background: linear-gradient(135deg, #2563eb, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-cta-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Hero Inactive Newsletter Form (Pre-Launch December 2026)
   -------------------------------------------------------------------------- */
.hero-newsletter-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.25rem 1.65rem;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  box-shadow: 
    0 15px 35px -5px rgba(15, 23, 42, 0.06),
    0 0 25px -5px rgba(37, 99, 235, 0.05);
  position: relative;
  text-align: left;
}

.form-prelaunch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-primary);
  background: var(--emerald-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(5, 150, 105, 0.25);
  margin-bottom: 0.75rem;
}

.inactive-subscribe-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.form-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.form-input-disabled {
  width: 100%;
  padding: 0.85rem 6.5rem 0.85rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #64748b;
  background: #f8fafc;
  border: 1.5px dashed rgba(203, 213, 225, 0.9);
  border-radius: 10px;
  cursor: not-allowed;
  user-select: none;
  transition: var(--transition-fast);
}

.form-input-disabled::placeholder {
  color: #94a3b8;
}

.form-lock-tag {
  position: absolute;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.btn-disabled {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: #f1f5f9;
  border: 1px solid #475569;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.9;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-disabled:hover {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  transform: none;
}

.form-helper-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.45;
}

.form-helper-note strong {
  color: var(--text-main);
}

/* Toast Notification for inactive click */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #f8fafc;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: clamp(5.2rem, 8.5vh, 7rem);
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.hero-title {
  margin-bottom: 0.9rem;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Executive Metric Strip under Hero */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.85rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.metric-item {
  text-align: left;
  border-right: 1px solid rgba(226, 232, 240, 0.9);
  padding-right: 1.25rem;
}

.metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Section: "Złożoność wymaga inteligencji" (Problem & Context)
   -------------------------------------------------------------------------- */
.section-problem {
  padding: 6.5rem 0;
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(241, 245, 249, 0.5), transparent);
}

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

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--cobalt-vivid);
}

.problem-narrative p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
}

.comparison-box {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.compare-card {
  padding: 1.35rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.compare-card.old {
  border-left: 4px solid #ef4444;
  background: #fffdfd;
}

.compare-card.new {
  border-left: 4px solid var(--emerald-primary);
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.3);
}

.compare-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.compare-card.old .compare-title { color: #dc2626; }
.compare-card.new .compare-title { color: var(--emerald-primary); }

.compare-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* High-Tech Canvas Visualizer Card (Light Aesthetic) */
.visualizer-wrapper {
  position: relative;
}

.visualizer-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.08),
    0 0 40px -15px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

.visualizer-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, #10b981, transparent);
}

.viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.viz-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.viz-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.viz-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: #065f46;
  font-weight: 700;
  background: #d1fae5;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.viz-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-primary);
}

.canvas-container {
  width: 100%;
  height: 270px;
  position: relative;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

#networkCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.viz-live-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.telemetry-cell {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.85rem;
}

.telemetry-title {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.telemetry-data {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.telemetry-data.green { color: var(--emerald-primary); }
.telemetry-data.blue { color: var(--cobalt-primary); }

/* --------------------------------------------------------------------------
   Section: "Obszary transformacji" (Bento Grid)
   -------------------------------------------------------------------------- */
.section-bento {
  padding: 6.5rem 0;
  position: relative;
}

.section-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.75rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--card-shadow-hover);
}

.bento-card.card-large {
  grid-column: span 7;
}

.bento-card.card-medium {
  grid-column: span 5;
}

.bento-card.card-bottom-left {
  grid-column: span 5;
}

.bento-card.card-bottom-right {
  grid-column: span 7;
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.bento-icon-box.blue {
  background: var(--cobalt-soft);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--cobalt-primary);
}

.bento-icon-box.emerald {
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-primary);
}

.bento-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.bento-card:nth-child(1) .bento-kicker { color: var(--cobalt-primary); }
.bento-card:nth-child(2) .bento-kicker { color: var(--emerald-primary); }
.bento-card:nth-child(3) .bento-kicker { color: var(--emerald-primary); }
.bento-card:nth-child(4) .bento-kicker { color: var(--cobalt-primary); }

.bento-title {
  margin-bottom: 1rem;
}

.bento-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.bento-feature-pills {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-lead);
}

/* --------------------------------------------------------------------------
   Section: "Dla kogo tworzymy logistyczneai.pl?"
   -------------------------------------------------------------------------- */
.section-audience {
  padding: 6.5rem 0;
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(248, 250, 252, 0.8), transparent);
}

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

.audience-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt-vivid);
  box-shadow: var(--card-shadow-hover);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt-primary);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.audience-card:hover .audience-icon {
  background: var(--cobalt-soft);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--cobalt-vivid);
}

.audience-role {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.audience-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.audience-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.audience-takeaway {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-lead);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Pre-launch Executive Manifesto Banner
   -------------------------------------------------------------------------- */
.section-manifesto {
  padding: 5rem 0 6.5rem;
}

.manifesto-box {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 
    0 25px 50px -15px rgba(15, 23, 42, 0.08),
    0 0 40px -10px rgba(37, 99, 235, 0.1);
  overflow: hidden;
}

.manifesto-box::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 90%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-badge {
  margin-bottom: 1.25rem;
}

.manifesto-title {
  max-width: 820px;
  margin: 0 auto 1.25rem;
}

.manifesto-desc {
  max-width: 700px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  color: var(--text-body);
}

.manifesto-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-card);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-body);
  max-width: 380px;
  line-height: 1.65;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--cobalt-primary);
}

.footer-status-card {
  padding: 1.35rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.footer-status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-primary);
  margin-bottom: 0.5rem;
}

.footer-status-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal Component */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface);
}

.modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Mobile & Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .bento-card.card-large,
  .bento-card.card-medium,
  .bento-card.card-bottom-left,
  .bento-card.card-bottom-right {
    grid-column: span 12;
  }

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

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .metric-item:nth-child(2) {
    border-right: none;
  }

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

@media (max-width: 768px) {
  .site-header {
    padding: 0.85rem 0;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-cta-btn {
    display: none;
  }

  .badge-pill.badge-launch {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    padding-right: 0;
  }

  .metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

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

  .comparison-box {
    grid-template-columns: 1fr;
  }

  .manifesto-box {
    padding: 2.5rem 1.5rem;
  }

  .hero-newsletter-box {
    padding: 1.35rem 1rem;
  }

  .inactive-subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }

  .form-lock-tag {
    display: none;
  }

  .form-input-disabled {
    padding-right: 1rem;
  }

  .btn-disabled {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}
