/* =========================================
   POZNAJADHD.PL - GŁÓWNY ARKUSZ STYLÓW
   ========================================= */

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  color: #1B2A41;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* CSS VARIABLES */
:root {
  --navy: #1B2A41;
  --navy-dark: #111c2d;
  --navy-mid: #253650;
  --orange: #F39C12;
  --orange-dark: #d4880e;
  --orange-light: #fff3dc;
  --bg: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  --white: #ffffff;
  --gray-light: #f4f6f9;
  --gray-mid: #e2e6ec;
  --text-muted: #5a6a7e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(27,42,65,0.08);
  --shadow-hover: 0 12px 40px rgba(27,42,65,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TYPOGRAPHY */
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(243,156,18,0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(243,156,18,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* LAYOUT HELPERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* HEADER / NAV */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253,251,251,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27,42,65,0.08);
  padding: 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.nav-logo-text span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  background: var(--gray-light);
  color: var(--orange);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* MENU TOGGLE (Mobile Hamburger) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--orange);
  cursor: pointer;
  padding: 10px;
}

/* HERO */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243,156,18,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  border: 1px solid rgba(243,156,18,0.3);
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero h1 {
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(27,42,65,0.18);
  width: 100%;
  max-width: 460px;
}

.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  animation: float 3s ease-in-out infinite;
}

.hero-visual-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: var(--orange-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* STATS / PROBLEM */
.section-problem {
  background: var(--white);
}

.section-problem .inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-problem h2 {
  margin-bottom: 1rem;
}

.section-problem p {
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.map-placeholder {
  background: var(--gray-light);
  border: 2px dashed var(--gray-mid);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  opacity: 0.7;
}

.map-placeholder-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-mid);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--orange);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* 5 PILLARS */
.section-pillars {
  background: var(--gray-light);
}

.section-pillars .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-mid);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.pillar-card.featured p, .pillar-card.featured .pillar-title {
  color: var(--white);
}

.pillar-card.featured .pillar-link {
  color: var(--orange);
}

.pillar-card.featured .pillar-icon {
  background: rgba(243,156,18,0.15);
  color: var(--orange);
}

.pillar-card.featured::after {
  background: var(--orange);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pillar-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.pillar-link:hover {
  gap: 8px;
}

/* FINANCING */
.section-financing {
  background: var(--white);
}

.section-financing .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.financing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.financing-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-mid);
  transition: all var(--transition);
}

.financing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.financing-icon {
  width: 64px;
  height: 64px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 1rem;
  box-shadow: 0 6px 20px rgba(243,156,18,0.3);
}

.financing-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.financing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.financing-cta {
  text-align: center;
}

/* CSR / BUSINESS */
.section-csr {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.section-csr::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243,156,18,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.csr-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-csr .section-label {
  background: rgba(243,156,18,0.2);
  color: var(--orange);
}

.section-csr h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.section-csr p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.csr-highlight {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(243,156,18,0.12);
  border: 1px solid rgba(243,156,18,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.csr-highlight i {
  font-size: 2rem;
  color: var(--orange);
}

.csr-highlight-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.csr-highlight-text strong {
  color: var(--orange);
  display: block;
  font-size: 1rem;
}

.csr-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* AUTHOR */
.section-author {
  background: var(--gray-light);
}

.author-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.author-photo-wrap {
  text-align: center;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--orange);
  box-shadow: 0 8px 32px rgba(243,156,18,0.25);
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.author-role {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}

.author-content h2 {
  margin-bottom: 1rem;
}

.author-content p {
  margin-bottom: 1rem;
}

.author-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.author-tag {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* FOOTER */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-platform {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(243,156,18,0.15);
  border: 1px solid rgba(243,156,18,0.3);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-top: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--orange);
}


/* =========================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .financing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 3rem;
  }
  .author-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .author-photo {
    margin: 0 auto;
  }
  .author-tags {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 3.5rem 0 3rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .nav-cta {
    display: none;
  }
  nav {
    position: relative;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    justify-content: center;
  }
  .csr-buttons {
    flex-direction: column;
  }
  .csr-buttons .btn {
    justify-content: center;
  }
  .financing-grid {
    max-width: 100%;
  }
}

/* =========================================
   MOBILE MENU / HAMBURGER (Cleaned up)
   ========================================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: block !important;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }
}