@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');
/* ===============================
   GLOBALNE USTAWIENIA
================================= */
*, *::before, *::after {
    box-sizing: border-box; 
}

:root {
  --primary: #1565c0;
  --secondary: #42a5f5;
  --accent: #00bcd4;
  --bg-light: rgba(255, 255, 255, 0.45); 
  --glass-border: rgba(255, 255, 255, 0.6);
  --text-dark: #0d1b2a;
  --text-light: #f4f4f4;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at 0% 0%, #e3f2fd 0%, #f4f8fb 60%);
  background-attachment: fixed; 
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  padding-left: 0; 
  overflow-x: hidden;
}

/* ===============================
   NAGŁÓWEK
================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(21, 101, 192, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  color: white;
  padding: 10px 25px; 
  box-shadow: 0 4px 20px rgba(0, 50, 100, 0.15);
  z-index: 1000;
  transition: top 0.3s ease;
}

.header:hover {
  backdrop-filter: blur(14px) saturate(1.3);
}

.top-bar {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-info, .developer-info {
    display: flex;
    align-items: center;
}

.app-logo, .dev-logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.app-info h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}
.developer-info p {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
}

#mobile-menu-toggle {
    display: none; 
    font-size: 16px;
    padding: 8px 15px;
}

/* ===============================
   GŁÓWNA TREŚĆ I ODSTĘPY DLA HEADER
================================= */
.main-content {
  text-align: center;
  padding: 0 10px 60px; 
  margin-top: 110px; /* Zwiększono margines, aby nagłówek nie zasłaniał pierwszej karty na PC */
  margin-left: 240px; 
  max-width: 100%;
}

/* ===============================
   SEKCJA HERO (MEDOPIEKUN GŁÓWNA)
================================= */
.hero-section {
    padding: 40px 50px 60px 50px; 
    max-width: 1300px;
    margin: 0 auto 60px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
    scroll-margin-top: 110px; /* Zabezpieczenie dla nawigacji z linków menu */
}

.hero-text {
    flex: 1;
    min-width: 400px;
}

.hero-section h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(21, 101, 192, 0.2);
}

.hero-section .description {
    font-size: 20px;
    max-width: 600px;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    max-width: 350px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 50, 100, 0.25);
    transform: rotateZ(2deg);
    transition: transform 0.5s ease;
}

.app-mockup:hover {
    transform: rotateZ(0deg) scale(1.03);
}

/* ===============================
   SPIS TREŚCI (TOC) - SIDEBAR
================================= */
#toc-sidebar {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 999;
    padding: 15px;
    width: 200px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 80, 160, 0.08);
}

#toc-sidebar h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}

#toc-sidebar a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 10px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 600;
}

#toc-sidebar a:hover {
    background-color: rgba(21, 101, 192, 0.1);
    color: var(--primary);
}

#toc-sidebar a.active {
    background: var(--primary);
    color: var(--text-light) !important;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.4);
}

/* ===============================
   PRZYCISKI
================================= */
.download-button img {
    width: 220px;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.download-button img:hover {
  transform: scale(1.07);
}

.video-button {
  display: inline-block;
  background: linear-gradient(90deg, #0d47a1, #1976d2);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.45); 
  transition: all 0.3s ease;
}

.video-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.6);
}

/* ===============================
   SEKCJE (GLASS)
================================= */
section {
  margin: 60px auto;
  max-width: 1100px;
  background: var(--bg-light);
  border-radius: 18px;
  backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.12);
  padding: 50px 40px;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
  text-align: left;
  scroll-margin-top: 110px; /* Zapis chroniący nagłówki sekcji przed zasłanianiem przy przewijaniu */
}

section.visible {
  transform: translateY(0);
  opacity: 1;
}

section h3 {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 12px;
}

section p {
  font-size: 17px;
  color: #102a43;
  opacity: 0.9;
}

/* ===============================
   GALERIE
================================= */
.leki-gallery, .badania-gallery, .wizyty-gallery, .info-gallery, .bezpieczenstwo-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 20px;
}

.leki-gallery img, .badania-gallery img, .wizyty-gallery img, .info-gallery img, .bezpieczenstwo-gallery img {
  max-width: calc(50% - 12.5px); 
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leki-gallery img:hover, .badania-gallery img:hover,
.wizyty-gallery img:hover, .info-gallery img:hover,
.bezpieczenstwo-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ===============================
   ABOUT (O DEWELOPERZE)
================================= */
.about-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    color: var(--text-dark);
    padding: 50px 25px;
    margin: 20px auto 60px auto;
    max-width: 1100px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.about-media {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
}

.about-media img.gutek-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.about-card p {
    font-size: 17px;
    opacity: 0.9;
}

.about-card b {
    color: var(--secondary);
}

.about-card .signature {
    margin-top: 25px;
    font-style: italic;
    color: var(--accent);
    font-size: 1.1em;
}

.about-card .contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ===============================
   SEKCJE FUNKCJONALNOŚCI
================================= */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-media {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-section h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-section ul {
    list-style: none;
    padding-left: 0;
}

.feature-section li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 1.5em;
}

.feature-section li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.9em;
}

.feature-media img.mockup {
    max-width: calc(50% - 10px); 
    width: 100%;    
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-media img.mockup:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.gallery-2-up img.mockup, 
.gallery-3-up img.mockup {
    max-width: calc(50% - 10px);
}

/* ===============================
   LINKI SPOŁECZNOŚCIOWE
================================= */
.social-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social:hover {
  transform: scale(1.07);
}

.social.facebook { background: #1877f2; }
.social.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.social.youtube { background: #ff0000; }
.social.tiktok { background: linear-gradient(45deg, #69c9d0, #ee1d52); }

/* ===============================
   GRID APLIKACJI
================================= */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.app-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.app-card img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #333;
}

.app-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    flex-grow: 1;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { 
    background: #e8f5e9; 
    color: #2e7d32; 
    border: 1px solid #c8e6c9;
}

.badge-warning { 
    background: #fff3e0; 
    color: #ef6c00; 
    border: 1px solid #ffe0b2;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* ===============================
   STOPKA
================================= */
.footer {
  background: rgba(21, 101, 192, 0.85);
  color: white;
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

/* ===============================
   RESPONSYWNOŚĆ
================================= */
@media (min-width: 1001px) {
    .main-content {
        margin-left: 240px; 
    }
}

@media (max-width: 1000px) {
    #toc-sidebar {
        display: none;
    }
    
    body {
        padding-left: 0;
    }

    .main-content {
        margin-left: 0; 
        margin-top: 100px; /* Dostosowano dla średnich ekranów */
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
        scroll-margin-top: 100px;
    }

    .hero-section h2 {
        font-size: 44px;
    }
    
    .feature-section, .feature-section.reverse {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }
    
    .feature-text, .feature-media {
        min-width: auto;
        width: 100%;
    }

    .feature-section .feature-text {
        order: 1; 
        margin-bottom: 30px;
    }

    .feature-section .feature-media {
        order: 2; 
        margin-bottom: 0;
    }
    
    section {
        scroll-margin-top: 100px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 90px; /* Dostosowano dla szerokości telefonów */
    }

    .hero-section {
        padding: 20px 20px 40px 20px;
        scroll-margin-top: 90px;
    }
    
    .hero-section h2 {
        font-size: 36px;
    }
    
    .hero-media img.mockup {
        max-width: 250px;
    }

    #mobile-menu-toggle {
        display: inline-block;
    }

    .gallery-2-up img.mockup, 
    .gallery-3-up img.mockup {
        max-width: 90%;
        height: auto;
    }

    .header {
        padding: 10px 20px; 
    }

    .top-bar {
        justify-content: space-between;
        gap: 0;
    }
    
    .developer-info {
        display: flex; 
    }

    .app-logo {
        height: 40px; 
        margin-right: 8px;
    }

    .app-info h1 {
        font-size: 20px; 
    }

    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        max-width: 95%;
        margin: 20px auto 40px auto;
    }
    
    .about-text, .about-media {
        width: 100%; 
        min-width: auto;
    }

    .about-text {
        order: 1; 
        margin-bottom: 25px;
        padding: 0; 
    }

    .about-media {
        order: 2; 
        margin-top: 0;
        max-width: 100%;
    }
    
    .about-media img.gutek-photo {
        max-width: 180px;
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    section {
        scroll-margin-top: 90px;
    }
   
   .hero-text {
        min-width: 0;
        width: 100%;
    }

    .hero-section .description {
        max-width: 100%;
        width: 100%;
    }

    section {
        width: 100%;
        max-width: 100%;
        padding: 35px 20px;
    }

    .app-details-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===============================
   MOBILNE MENU OVERLAY
================================= */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

#mobile-menu-overlay.open {
    transform: translateX(0);
}

#mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 24px;
    padding: 5px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}

#mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

#mobile-toc {
    max-height: 100%;
    overflow-y: auto; 
    margin-top: 80px; 
    padding-bottom: 40px;
    text-align: center;
    width: 100%;
}

#mobile-toc h4 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 25px;
}

#mobile-toc a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    margin: 10px auto;
    border-radius: 8px;
    font-size: 20px;
    max-width: 300px;
    transition: background-color 0.2s;
}

#mobile-toc a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.appinfo-gallery img {
  width: auto;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#info-section .feature-media {
  margin-top: 40px;
}

/* =========================================================
   GUTEK DEVELOPER — WIZUALNY LIFT V2
   Zachowuje dotychczasowy układ i responsywność,
   ale wzmacnia branding, hierarchię i efekt "premium".
========================================================= */

:root {
    --primary-dark: #0d47a1;
    --surface: rgba(255, 255, 255, 0.58);
    --surface-strong: rgba(255, 255, 255, 0.72);
    --border-soft: rgba(255, 255, 255, 0.72);
    --shadow-soft: 0 16px 50px rgba(15, 65, 115, 0.10);
    --shadow-hover: 0 22px 60px rgba(15, 65, 115, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(66, 165, 245, 0.20), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(0, 188, 212, 0.12), transparent 24%),
        radial-gradient(circle at 75% 88%, rgba(21, 101, 192, 0.08), transparent 28%),
        linear-gradient(135deg, #eef7ff 0%, #f7fbff 45%, #edf5fb 100%);
}

.header {
    background: rgba(13, 71, 161, 0.82);
    border-bottom-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 30px rgba(0, 50, 100, 0.16);
}

.top-bar {
    min-height: 54px;
}

.developer-info {
    gap: 0;
    padding: 4px 12px 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dev-logo {
    border-radius: 0;
}

.developer-info h1 {
    letter-spacing: -0.02em;
}

#mobile-menu-toggle {
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.main-content {
    padding-top: 6px;
}

section {
    border-color: var(--border-soft);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.40));
}

section:hover {
    box-shadow: var(--shadow-hover);
}

.about-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(66, 165, 245, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.38));
    box-shadow: 0 18px 55px rgba(13, 71, 161, 0.13);
}

.about-section::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -75px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.18), rgba(0, 188, 212, 0.04));
    pointer-events: none;
}

.section-eyebrow,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(21, 101, 192, 0.15);
    background: rgba(255, 255, 255, 0.52);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.section-lead {
    margin: -2px 0 8px;
    color: #3b5872;
    font-size: 16px;
}

.apps-overview > h2 {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -0.03em;
}

.app-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.80);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.76), rgba(255,255,255,0.45));
    box-shadow: 0 10px 35px rgba(15, 65, 115, 0.08);
}

.app-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(255,255,255,0.25), transparent 35%);
    pointer-events: none;
}

.app-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(15, 65, 115, 0.15);
}

.app-card img {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 50, 100, 0.12);
}

.app-card h3 {
    letter-spacing: -0.02em;
}

.app-card p {
    color: #486278;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.20);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
    transform: translateX(-140%);
    transition: transform 0.55s ease;
}

.btn-primary:hover::after {
    transform: translateX(140%);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 85% 25%, rgba(66,165,245,0.18), transparent 30%),
        radial-gradient(circle at 12% 90%, rgba(0,188,212,0.10), transparent 26%),
        linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,255,255,0.42));
    box-shadow: 0 22px 65px rgba(13, 71, 161, 0.14);
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -95px;
    bottom: -105px;
    border-radius: 50%;
    border: 1px solid rgba(21, 101, 192, 0.08);
    box-shadow: 0 0 0 25px rgba(21, 101, 192, 0.03), 0 0 0 50px rgba(21, 101, 192, 0.018);
    pointer-events: none;
}

.hero-section h2 {
    max-width: 760px;
    letter-spacing: -0.045em;
}

.hero-eyebrow {
    color: var(--primary-dark);
    background: rgba(227, 242, 253, 0.80);
}

.hero-section .description {
    line-height: 1.75;
    color: #314c65;
}

.app-mockup {
    box-shadow: 0 28px 65px rgba(0, 50, 100, 0.24);
    transform: rotate(2.5deg) translateY(-4px);
}

.download-button {
    display: inline-block;
    border-radius: 12px;
}

.download-button img:hover {
    transform: scale(1.045) translateY(-2px);
}

#toc-sidebar {
    width: 205px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 16px 50px rgba(0, 80, 160, 0.10);
}

#toc-sidebar h4 {
    letter-spacing: 0.02em;
}

#toc-sidebar a {
    position: relative;
}

#toc-sidebar a.active {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    box-shadow: 0 6px 16px rgba(21, 101, 192, 0.22);
}

.feature-section h3,
.section-header h2 {
    letter-spacing: -0.025em;
}

.feature-media img.mockup {
    box-shadow: 0 14px 35px rgba(0, 50, 100, 0.13);
}

.feature-media img.mockup:hover {
    transform: scale(1.025) translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 50, 100, 0.20);
}

.social {
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.social:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 24px rgba(0,0,0,0.13);
}

#zapiszto-section {
    background:
        radial-gradient(circle at 20% 10%, rgba(66,165,245,0.14), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.43));
}

.zapiszto-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 6px;
}

.zapiszto-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(227, 242, 253, 0.72);
    border: 1px solid rgba(21, 101, 192, 0.10);
    color: #164a79;
    font-size: 13px;
    font-weight: 700;
}

.status-box {
    padding: 18px;
    margin-top: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.footer {
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(13,71,161,0.92), rgba(21,101,192,0.84));
}

.footer-inner p {
    margin: 7px 0;
}

.footer-privacy {
    color: rgba(255,255,255,0.92);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-privacy:hover {
    color: #ffffff;
    opacity: 1;
}

/* Lepsza widoczność klawiatury / dostępność */
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(0, 188, 212, 0.75);
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    .developer-info {
        padding-right: 9px;
    }

    .hero-section {
        min-height: 0;
    }

    .section-eyebrow,
    .hero-eyebrow {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .developer-info {
        max-width: calc(100% - 86px);
    }

    .developer-info h1 {
        font-size: 17px;
        white-space: nowrap;
    }

    .dev-logo {
        height: 42px;
    }

    .hero-section h2 {
        letter-spacing: -0.035em;
    }

    .section-lead {
        font-size: 15px;
    }

    .zapiszto-highlights {
        justify-content: center;
    }

    .status-box {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
