/* ==========================================================================
   PROFIL METABOLICZNY - MODERN SCIENTIFIC & HEALTH DESIGN SYSTEM (2026)
   Certyfikowane Centrum Badań i Edukacji Metabolicznej
   ========================================================================== */

:root {
  --primary: #0d9488;         /* Deep medical teal */
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --primary-glow: rgba(13, 148, 136, 0.15);
  
  --accent: #2563eb;          /* Royal clinical blue */
  --accent-light: #dbeafe;
  
  --emerald: #10b981;         /* Vitality green */
  --amber: #f59e0b;           /* Warning / Attention */
  --rose: #f43f5e;            /* Vitality accent */
  
  --bg-main: #f8fafc;         /* Clean slate white */
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;         /* Deep navy slate for footer */
  
  --text-main: #1e293b;       /* Crisp charcoal */
  --text-muted: #64748b;      /* Slate grey */
  --text-light: #94a3b8;
  --text-inverse: #ffffff;
  
  --border: #e2e8f0;
  --border-focus: #0d9488;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(13, 148, 136, 0.25);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style-position: inside;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #334155;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

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

@keyframes pulse-ring {
  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); }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.top-notice {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.top-notice strong {
  color: #38bdf8;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand:hover {
  color: #0f172a;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-menu li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.885rem;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--primary);
  color: white !important;
  padding: 0.58rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  color: #334155;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  line-height: 1;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.5) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(219, 234, 254, 0.4) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item h4 {
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Cards & Components */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

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

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

/* Interactive Analyzer (IWM 2026) */
.analyzer-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.analyzer-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 2rem 2.5rem;
}

.analyzer-header h3 {
  color: white;
  margin-bottom: 0.4rem;
}

.analyzer-header p {
  color: #94a3b8;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.analyzer-body {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #334155;
}

.range-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-slider {
  flex: 1;
  height: 6px;
  accent-color: var(--primary);
  background: #e2e8f0;
  border-radius: 4px;
}

.range-val {
  min-width: 48px;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
}

.radio-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.5rem;
}

.radio-pills label {
  display: block;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  text-align: center;
  background: #ffffff;
  transition: var(--transition);
  user-select: none;
}

.radio-pills input[type="radio"] {
  display: none;
}

.radio-pills input[type="radio"]:checked + span {
  font-weight: 700;
}

.radio-pills label.selected,
.radio-pills input[type="radio"]:checked ~ span {
  color: var(--primary-dark);
}

.radio-pills label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.results-panel {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.score-meter {
  text-align: center;
  padding: 1.25rem 0;
}

.score-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: white;
  border: 6px solid var(--primary);
  margin: 0 auto 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.score-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.score-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.score-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.badge-grade-b {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-grade-a {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-grade-c {
  background: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
}

/* Synergy Tool */
.synergy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.synergy-select-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.synergy-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.synergy-item:hover {
  background: var(--bg-subtle);
}

.synergy-item.checked {
  background: var(--primary-light);
  border-color: var(--primary);
}

.synergy-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.synergy-display {
  background: #0f172a;
  color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.synergy-display h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.synergy-bar-wrap {
  margin: 1.5rem 0;
}

.synergy-bar-bg {
  height: 14px;
  background: #334155;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.synergy-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #38bdf8 100%);
  width: 65%;
  transition: width 0.4s ease;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 3px;
  background: #cbd5e1;
}

.timeline-step {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-bullet {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Habit Tracker (14 Day Protocol) */
.habit-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.habit-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.habit-card:hover {
  border-color: var(--primary);
}

.habit-card.completed {
  background: #f0fdf4;
  border-color: #86efac;
}

.habit-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--emerald);
  cursor: pointer;
}

.habit-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.habit-info p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.protocol-progress {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Hydration Calculator */
.calc-hydration {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 750px;
  margin: 0 auto;
}

.hydration-result {
  text-align: center;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.hydration-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0284c7;
}

/* Scientific Board */
.board-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.board-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--primary-light);
  overflow: hidden;
  background: #e2e8f0;
}

.board-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.board-title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* FAQ Accordion */
.faq-search-box {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.faq-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  outline: none;
  background: white;
  transition: var(--transition);
}

.faq-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.faq-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* Blog / Articles Grid */
.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-thumb {
  height: 200px;
  background: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1rem;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-read-btn {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Footer & Compliance */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.875rem;
}

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

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #94a3b8;
}

.disclaimer-box strong {
  color: #cbd5e1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748b;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 440px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  animation: slideUp 0.35s ease-out;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-cookie-accept {
  flex: 1;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-cookie-decline {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: #475569;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Buttons */
.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-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  color: #334155 !important;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

/* Forms */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Content Pages (O nas, Artykuły, Regulamin, itp.) */
.page-header {
  padding: 4rem 0 2.5rem;
  background: white;
  border-bottom: 1px solid var(--border);
}

.content-article {
  max-width: 820px;
  margin: 3.5rem auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.content-article h2 {
  margin-top: 2.5rem;
  color: #0f172a;
}

.content-article h3 {
  margin-top: 2rem;
  color: #0f172a;
}

.content-article ul, .content-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-article li {
  margin-bottom: 0.5rem;
}

.info-callout {
  background: #f0fdfa;
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1120px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .mobile-menu-open .nav-menu li {
    width: 100%;
  }
  .mobile-menu-open .nav-menu .nav-link {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
  .mobile-menu-open .nav-menu .nav-btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 992px) {
  .hero-grid, .analyzer-body, .synergy-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
