/* CRITICAL:START */
:root {
  /* Wyraźnie lżejszy, elegancki i jaśniejszy granat */
  --navy-900: #2c415e; 
  --navy-800: #3a506b;
  --navy-700: #4b6280;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  
  --brand-biz: #0D9488; /* Turkus */
  --brand-biz-light: #14B8A6;
  --brand-edu: #D97706; /* Bursztyn */
  --brand-ai: #8B5CF6;  /* Fiolet */
  
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-dark: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
  
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
section[id], div[id] { scroll-margin-top: 110px; }

html, body {
  font-family: 'Inter', sans-serif;
  color: var(--navy-700);
  background-color: var(--white); /* Strona jest teraz bazowo jasna i czysta */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; font-weight: 800; color: var(--white); }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy-800); }
h3 { font-size: 1.5rem; font-weight: 600; }
p { font-size: 1.125rem; color: var(--navy-700); opacity: 0.85; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; font-size: 1rem; font-weight: 600;
  border-radius: 100px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; border: none; letter-spacing: -0.01em;
}
.btn-primary { background: var(--brand-biz); color: var(--white); box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25); }
.btn-primary:hover { background: var(--brand-biz-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35); }
.btn-secondary { background: var(--white); color: var(--navy-900); border: 1px solid var(--glass-border-dark); }
.btn-secondary:hover { border-color: rgba(0,0,0,0.15); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-hero-cta { padding: 1rem 2rem; font-size: 1rem; font-weight: 700; box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4); }
.btn-hero-cta:hover { box-shadow: 0 12px 30px rgba(13, 148, 136, 0.5); transform: translateY(-3px); }

/* Custom Psychometric Visuals */
.pattern-dots {
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pattern-grid-light {
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Navbar - Teraz Jasny dla lekkości */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border-dark); padding: 0.5rem 0;
  transition: all 0.3s;
}
.navbar .navbar-container { display: flex; justify-content: space-between; align-items: center; }

.logo-wrapper { display: flex; align-items: center; gap: 1rem; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.05em; display: flex; align-items: center; gap: 0.5rem; }
.logo svg { width: 20px; height: 20px; color: var(--brand-biz); }
.brand-owner { font-size: 0.75rem; color: var(--slate-400); display: flex; align-items: center; gap: 0.5rem; }
.brand-owner img { height: 18px; object-fit: contain; }

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  margin-left: 3rem;
}
.hamburger-btn {
  display: none;
}

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--navy-700); font-weight: 500; font-size: 0.875rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand-biz); }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-actions .btn { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.lang-switch { display: flex; gap: 0.5rem; margin-right: 1rem; padding-right: 1.5rem; border-right: 1px solid var(--glass-border-dark); }
.lang-switch a { color: var(--slate-400); font-size: 0.875rem; font-weight: 600; transition: color 0.2s; }
.lang-switch a.active { color: var(--navy-900); }
.lang-switch a:hover { color: var(--brand-biz); }

/* Hero Section - Wyraźnie lżejszy, bardzo czysty granat */
.hero {
  position: relative; padding: 7rem 0 4rem; min-height: 500px;
  background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.15), transparent 50%),
              linear-gradient(135deg, var(--navy-900) 0%, #1c2b42 100%);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border-dark);
}
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-text { position: relative; z-index: 10; }
.hero-text p { color: var(--slate-100); font-size: 1.125rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 600px; opacity: 0.9; }
.hero-visuals {
  position: relative; height: 450px; perspective: 1000px;
}
.hero-image-wrapper {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 100%; max-width: 600px; z-index: 1;
}
.hero-image {
  width: 100%; height: auto; border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px -10px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.15);
}

/* Dopracowane Mockupy Hero */
.ui-layer { position: absolute; border-radius: var(--radius-lg); box-shadow: 0 20px 50px -15px rgba(0,0,0,0.3); border: 1px solid var(--glass-border); }
.ui-main { width: 95%; right: 0; top: 10%; z-index: 2; background: rgba(255,255,255,0.05); backdrop-filter: blur(16px); overflow: hidden; display: flex; flex-direction: column; }
.ui-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.05); }
.ui-dots { display: flex; gap: 6px; }
.ui-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-400); opacity: 0.5; }
.ui-body { padding: 2rem; flex-grow: 1; }
.ui-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,0.1); margin-bottom: 1rem; }
.ui-radar { width: 50%; left: -5%; bottom: 5%; z-index: 3; background: rgba(58, 80, 107, 0.6); backdrop-filter: blur(24px); padding: 2rem; border-radius: 50%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.ui-ai { width: 55%; right: -5%; top: 0%; z-index: 4; background: rgba(255,255,255,0.95); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border: 1px solid rgba(139,92,246,0.3); color: var(--navy-800); }
/* CRITICAL:END */

/* Trust Section - Marquee z logotypami */
.trust {
  background: var(--white); padding: 4rem 0 2rem;
  border-bottom: none; position: relative; z-index: 20;
}
.marquee-wrapper {
  overflow: hidden; width: 100%; position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee {
  display: flex; width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex; align-items: center; justify-content: space-around;
  gap: 4rem; padding-right: 4rem;
}
.trust-logo {
  height: 48px; max-width: 150px; object-fit: contain;
  filter: grayscale(100%) opacity(85%);
  transition: all 0.3s ease;
}
.trust-logo:hover {
  filter: grayscale(0%) opacity(100%);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Proof Metrics Section */
.metrics-section {
  background: var(--white); padding: 2rem 0 5rem;
  border-bottom: 1px solid var(--glass-border-dark);
}
.metrics-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem 4rem;
  text-align: center;
}
.metric-item {
  padding: 1rem; min-width: 180px;
}
.metric-value {
  font-size: 3.5rem; font-weight: 800; color: var(--navy-900);
  line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.03em;
}
.metric-label {
  font-size: 1rem; color: var(--slate-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}

/* Path Selection - Jasne i eleganckie karty */
.paths-section { padding: 6rem 0; background: var(--slate-50); position: relative; }
.paths-header { text-align: center; max-width: 700px; margin: 0 auto 5rem; }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.path-card {
  background: var(--white); border-radius: var(--radius-xl); padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--glass-border-dark);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.path-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; opacity: 0.8;
}
.path-card.biz::before { background: var(--brand-biz); }
.path-card.edu::before { background: var(--brand-edu); }
.path-card.partner::before { background: var(--navy-800); }
.path-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.path-icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; transition: transform 0.3s; }
.path-card:hover .path-icon { transform: scale(1.05); }
.biz .path-icon { background: rgba(13,148,136,0.08); color: var(--brand-biz); }
.edu .path-icon { background: rgba(217,119,6,0.08); color: var(--brand-edu); }
.partner .path-icon { background: rgba(15,23,42,0.05); color: var(--navy-800); }
.path-features { margin: 2rem 0; flex-grow: 1; }
.path-features li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; font-size: 0.95rem; color: var(--navy-700); }
.path-features svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* Bento Box - Architektura Diagnozy */
.bento-section { padding: 6rem 0; background: var(--white); }
.bento-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(320px, auto); gap: 2.5rem;
}
.bento-item {
  background: var(--slate-50); border-radius: var(--radius-xl); padding: 3rem;
  border: 1px solid var(--glass-border-dark); position: relative; overflow: hidden;
}
.bento-item:nth-child(1) { grid-column: span 8; background: var(--navy-900); color: var(--white); display: flex; align-items: center; }
.bento-item:nth-child(1) h3 { color: var(--white); font-size: clamp(1.875rem, 6vw, 2.5rem); margin-bottom: 1rem; }
.bento-item:nth-child(1) p { color: var(--slate-300); max-width: 80%; font-size: clamp(1.0625rem, 3vw, 1.125rem); line-height: 1.5; }
.bento-item:nth-child(2) { grid-column: span 4; background: linear-gradient(135deg, rgba(13,148,136,0.05) 0%, rgba(13,148,136,0.15) 100%); border-color: rgba(13,148,136,0.2); }
.bento-item:nth-child(3) { grid-column: span 4; background: var(--white); }
.bento-item:nth-child(4) { grid-column: span 8; display: flex; align-items: center; gap: 4rem; background: var(--white); }

/* AI Premium Section - Zachowane jako Premium Accent */
.ai-premium {
  padding: 6rem 0; background: var(--navy-900); color: var(--white);
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  max-width: 1200px; margin: 0 auto;
}
.ai-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 60%); pointer-events: none; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; position: relative; z-index: 10; padding: 0 4rem; }
.ai-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; border-radius: 100px; background: rgba(139,92,246,0.2); border: 1px solid rgba(139,92,246,0.3); color: #D8B4FE; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; }
.ai-heading { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; line-height: 1.1; }
.ai-chat-mockup {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 2.5rem; backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.chat-bubble { padding: 1.25rem 1.5rem; border-radius: 16px; margin-bottom: 1rem; max-width: 85%; font-size: 0.95rem; line-height: 1.5; }
.chat-bubble.user { background: rgba(255,255,255,0.1); margin-left: auto; border-bottom-right-radius: 4px; }
.chat-bubble.ai { background: linear-gradient(135deg, rgba(139,92,246,0.2) 0%, rgba(139,92,246,0.05) 100%); border: 1px solid rgba(139,92,246,0.2); border-bottom-left-radius: 4px; }

/* Reports Artifacts Gallery - Realistyczne miniatury */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 5rem;
}
.reports-section { padding: 6rem 0; background: var(--slate-50); }
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.report-card {
  background: var(--white); border: 1px solid var(--glass-border-dark); border-radius: var(--radius-lg); padding: 2rem;
  transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column;
}
.report-card:hover { border-color: var(--brand-biz); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.report-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--navy-800); }
.report-card p { font-size: 0.9rem; margin-bottom: 1.5rem; flex-grow: 1; }
.report-mockup { height: 160px; background: var(--slate-100); border-radius: 12px; margin-bottom: 2rem; border: 1px solid var(--glass-border-dark); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;}

/* Realistyczne mockupy raportów CSS */
.pdf-mockup { width: 65%; height: 85%; background: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.08); padding: 12px; display: flex; flex-direction: column; gap: 8px; border: 1px solid rgba(0,0,0,0.05); }
.pdf-header { width: 40%; height: 6px; background: var(--brand-biz); border-radius: 3px; }
.pdf-line { width: 100%; height: 4px; background: var(--slate-100); border-radius: 2px; }
.pdf-chart { display: flex; gap: 4px; margin: 8px 0; align-items: flex-end; height: 30px; }
.pdf-bar { width: 8px; background: var(--brand-biz); border-radius: 2px 2px 0 0; }

/* News / Changelog */
.news-section { padding: 6rem 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-border-dark); transition: box-shadow 0.3s; display: block;
}
.news-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.news-image { height: 220px; background: var(--slate-100); position: relative; }
.news-tag { position: absolute; top: 1.5rem; left: 1.5rem; background: var(--white); padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.news-content { padding: 2.5rem; }
.news-date { font-size: 0.875rem; color: var(--slate-400); margin-bottom: 0.75rem; display: block; }
.news-content h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--navy-800); }

/* Certyfikacja & Partnerzy */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; margin-bottom: 2.5rem; }
.partnerzy-banner { background: var(--white); border-radius: var(--radius-xl); padding: 2rem 2.5rem; border: 1px solid var(--glass-border-dark); display: flex; align-items: center; justify-content: space-between; gap: 2rem; box-shadow: var(--shadow-sm); }

/* Footer */
footer { background: var(--slate-50); color: var(--navy-700); padding: 5rem 0 2rem; border-top: 1px solid var(--glass-border-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1.5rem; font-size: 0.95rem; max-width: 320px; color: var(--slate-400); }
.footer-nav h4 { color: var(--navy-900); font-size: 1rem; margin-bottom: 1.5rem; font-weight: 700; }
.footer-nav li { margin-bottom: 0.75rem; }
.footer-nav a { transition: color 0.2s; font-size: 0.95rem; color: var(--navy-700); }
.footer-nav a:hover { color: var(--brand-biz); }
.footer-bottom { border-top: 1px solid var(--glass-border-dark); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--slate-400); }

/* CRITICAL:START */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-text p { margin: 0 auto 2.5rem; }
  .hero-visuals { height: auto; perspective: none; margin-top: 2rem; }
  .hero-image-wrapper { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 600px; margin: 0 auto; }
}
/* CRITICAL:END */

@media (max-width: 1024px) {
  .bento-grid, .paths-grid, .news-grid, .feature-grid { grid-template-columns: 1fr; }
  .bento-item { grid-column: 1 / -1 !important; }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-premium { margin: 0; border-radius: 0; }
  .ai-grid { padding: 0 2rem; }
}
/* CRITICAL:START */
@media (max-width: 768px) {
  .hero { padding: 6rem 0 3rem; min-height: auto; }
  .hero-text { text-align: center; }
  .hero-text > div:last-child { justify-content: center !important; margin: 0 auto !important; }
  h1 { font-size: clamp(2.25rem, 8vw, 2.625rem); } /* 36px-42px na mobile */
  
  /* System font stack on mobile for instant first-fold render (no font-swap/FOUC or request overhead) */
  .hero-text h1, 
  .hero-text p, 
  .btn-hero-cta {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  }
}
/* CRITICAL:END */

@media (max-width: 768px) {
  .paths-section, .bento-section, .ai-premium, .reports-section, .news-section { padding: 4rem 0; }
  footer { padding: 4rem 0 2rem; }
  .bento-item, .path-card, .report-card, .use-cases-section .container > div > div, .news-item {
    text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0 !important;
  }
  .bento-item > div { margin-left: auto; margin-right: auto; max-width: 95% !important; }
  .bento-item h3, .bento-item h4 { font-size: clamp(1.5rem, 5.5vw, 1.875rem) !important; overflow-wrap: normal !important; word-break: keep-all !important; hyphens: none !important; line-height: 1.3 !important; }
  .bento-item p { font-size: 1.125rem !important; max-width: 100% !important; line-height: 1.5 !important; }
  .path-card { padding: 2rem 1.5rem; }
  .news-content { padding: 1.5rem; }
  .ai-grid, .trust-grid, .feature-grid { grid-template-columns: 1fr; padding: 0; }
  .feature-grid { gap: 3rem; }
  .ai-grid > div:first-child { max-width: 94%; margin: 0 auto; padding: 0 0.5rem; text-align: center; }
  .ai-badge { margin: 0 auto 1.5rem auto !important; }
  .feature-grid > div, .cert-grid > div { text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
  
  /* Centrowanie list jako bloków z lewostronnym wyrównaniem tekstu */
  .feature-grid ul, .ai-grid ul, .cert-grid ul { display: inline-block !important; text-align: left !important; margin-left: auto !important; margin-right: auto !important; }
  .feature-grid li, .ai-grid li, .cert-grid li { justify-content: flex-start !important; }

/* CRITICAL:START */
@media (max-width: 768px) {
  .navbar .navbar-container { flex-direction: row; justify-content: space-between; align-items: center; padding: 0.5rem 1.5rem; }
  .logo-wrapper { justify-content: flex-start; width: auto; }
  
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }
  .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--navy-900);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Hamburger to X animation */
  .navbar.menu-open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .navbar.menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    padding: 4rem 2rem;
    z-index: 1090;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  }

  .navbar.menu-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-900);
  }

  .nav-actions {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
  }

  .lang-switch {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
    font-size: 1.125rem;
    gap: 1.5rem;
    display: flex;
    justify-content: center;
  }

  .nav-actions .btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    white-space: nowrap !important; 
    display: inline-flex !important; 
    align-items: center !important;
    justify-content: center !important; 
    text-align: center !important; 
    line-height: 1 !important;
    flex-shrink: 0;
  }
}
/* CRITICAL:END */

@media (max-width: 768px) {
  .reports-grid { grid-template-columns: 1fr; }
  .cert-grid > div { text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
  .cert-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .partnerzy-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .trust-logos { justify-content: center; }
  .metrics-grid { gap: 2rem; }
}

/* Contact Modal Styles */
.contact-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.contact-modal[aria-hidden="false"] {
  opacity: 1; visibility: visible;
}
.contact-modal-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(8px);
}
.contact-modal-content {
  position: relative; background: var(--white); width: 90%; max-width: 600px;
  max-height: 90vh; overflow-y: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-modal[aria-hidden="false"] .contact-modal-content {
  transform: translateY(0) scale(1);
}
.contact-modal-header {
  padding: 1.5rem 2rem; border-bottom: 1px solid var(--glass-border-dark);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: var(--white); z-index: 10;
}
.contact-modal-header h3 { font-size: 1.25rem; color: var(--navy-900); }
.contact-modal-close {
  background: none; border: none; font-size: 1.75rem; color: var(--slate-400);
  cursor: pointer; transition: color 0.2s; line-height: 1;
}
.contact-modal-close:hover { color: var(--navy-900); }
.contact-modal-body { padding: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy-800); margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem; font-size: 0.95rem;
  border: 1px solid var(--slate-300); border-radius: var(--radius-md);
  transition: all 0.2s; color: var(--navy-900);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand-biz); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Custom Checkbox */
.custom-checkbox {
  display: flex; align-items: flex-start; cursor: pointer; position: relative;
  padding-left: 28px; font-size: 0.85rem; color: var(--slate-400); line-height: 1.4;
}
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
  position: absolute; top: 2px; left: 0; height: 18px; width: 18px;
  background-color: var(--white); border: 1px solid var(--slate-300); border-radius: 4px;
  transition: all 0.2s;
}
.custom-checkbox:hover input ~ .checkmark { border-color: var(--brand-biz); }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--brand-biz); border-color: var(--brand-biz); }
.checkmark:after {
  content: ""; position: absolute; display: none;
  left: 6px; top: 2px; width: 4px; height: 9px;
  border: solid white; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked ~ .checkmark:after { display: block; }

.btn-submit { width: 100%; margin-top: 1rem; position: relative; }
.btn-submit.loading span { opacity: 0; }
.btn-submit.loading .spinner { display: block !important; }

.spinner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%; border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.form-status { margin-top: 1rem; font-size: 0.9rem; font-weight: 500; text-align: center; padding: 0.75rem; border-radius: var(--radius-md); display: none; }
.form-status.success { display: block; background: rgba(20, 184, 166, 0.1); color: var(--brand-biz); border: 1px solid rgba(20, 184, 166, 0.2); }
.form-status.error { display: block; background: rgba(239, 68, 68, 0.1); color: #DC2626; border: 1px solid rgba(239, 68, 68, 0.2); }

@media (max-width: 600px) {
  .form-row { flex-direction: column; gap: 0; }
  .contact-modal-content { width: 94vw; max-height: 90vh; margin: 0; }
  .contact-modal-body { padding: 1.5rem; }
  .contact-modal-header { padding: 1rem 1.5rem; }
}

/* Form Inline Validation */
.form-error { color: #DC2626; font-size: 0.8rem; margin-top: 0.25rem; display: none; }
.form-group.has-error input, .form-group.has-error textarea, .form-group.has-error .checkmark { border-color: #DC2626; }
.form-group.has-error .form-error { display: block; }

/* iP CV Dedykowana Sekcja - Nowy Układ z pionowym stosem kart */
.ipcv-features-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  width: 100%;
}
.ipcv-feature-card-horizontal {
  background: var(--slate-50);
  border: 1px solid var(--glass-border-dark);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: left;
}
.ipcv-feature-card-horizontal:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-biz);
}
.ipcv-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--brand-biz);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.ipcv-feature-card-horizontal:hover .ipcv-feature-icon {
  transform: scale(1.1);
}
.ipcv-feature-content {
  flex: 1;
}
.ipcv-feature-card-horizontal h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 0.25rem 0;
}
.ipcv-feature-card-horizontal p {
  font-size: 0.85rem;
  color: var(--navy-700);
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
}
.ipcv-image-side .screenshot-container {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border-dark);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ipcv-image-side .screenshot-container:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .ipcv-feature-card-horizontal:hover {
    transform: none; /* Disable slide on mobile hover to avoid layout shifts */
  }
}

/* CRITICAL:START */
@media (max-width: 768px) {
  /* Optimize logos marquee for mobile viewports */
  .marquee-wrapper {
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .marquee {
    animation: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem 3rem !important;
    width: 100% !important;
    padding: 0 !important;
  }
  .marquee-content {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem 3rem !important;
    padding-right: 0 !important;
  }
  .marquee-content[aria-hidden="true"] {
    display: none !important; /* Hide duplicate copy on mobile */
  }
}
/* CRITICAL:END */

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation-play-state: paused !important;
  }
}

