:root {
    --bio-blue: #004B87;
    --bio-blue-dark: #002D54;
    --bio-gray: #4A5568;
    --bio-light: #F7FAFC;
    --bio-accent: #2ECC71;
    --border-color: #E2E8F0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Exo 2', sans-serif;
    color: var(--bio-blue-dark);
    background-color: var(--bio-light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
}

/* Floating Share Bar (Left Vertical) - Powiększony */
.floating-share-left {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 101;
}

.share-btn-round {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--bio-blue);
    font-family: 'Exo 2', sans-serif;
    font-weight: bold;
    font-size: 16px;
}

.share-btn-round:hover {
    background-color: var(--bio-blue);
    color: #ffffff;
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .floating-share-left {
        display: none; /* Ukryj panel boczny na tabletach i smartfonach */
    }
}

/* Navigation Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo area */
.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Kontener pionowy dopasowany dokładnie do stałej szerokości logotypu BIOFINGER (240px) */
.logo-container-vertical {
    display: inline-flex;
    flex-direction: column;
    width: 240px;
}

/* Styl logo graficznego */
.logo-graphic-box {
    border: none;
    background-color: transparent;
    padding: 0;
    display: block;
    width: 100%;
}

.logo-graphic-box a {
    display: block;
}

.logo-graphic-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slogan dopasowany wyjustowaniem dokładnie do krawędzi obrazka przy dowolnej czcionce */
.logo-sub-slogan {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px; /* Optymalny rozmiar czcionki gwarantujący ułożenie tekstu w jednej linii */
    font-weight: 600;
    text-align: justify;
    text-align-last: justify;
    margin-top: 5px;
    display: block;
    width: 100%;
    line-height: 1.2;
    white-space: nowrap; /* Gwarantuje ułożenie w jednej linii niezależnie od czcionki */
}

/* Klasa odpowiedzialna za powiększenie całego napisu */
.brand-authority {
    font-size: 14px; /* <-- TUTAJ możesz jeszcze bardziej powiększyć cały napis (np. do 14px lub 15px) */
    color: var(--bio-gray);
    border-left: 2px solid var(--border-color);
    padding-left: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Nowa reguła odpowiedzialna za rozstrzelenie liter samej marki BIOFINGER */
.brand-authority b {
    letter-spacing: 1.5px; /* <-- TUTAJ regulujesz odstęp między literami (np. 1.5px lub 2px) */
}

@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }
    .logo-container-vertical {
        align-items: center;
    }
    .brand-authority {
        border-left: none;
        padding-left: 0;
    }
}

/* Hero / Introduction */
.hero-section {
    background-color: #ffffff;
    padding: 80px 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.hero-container h1 {
    font-size: 44px;
    line-height: 1.2;
    color: var(--bio-blue-dark);
    margin-bottom: 20px;
}

.hero-container p {
    font-size: 18px;
    color: var(--bio-gray);
    margin-bottom: 40px;
}

/* --- Sekcja Prezentacji Filmów YouTube (Showcase) --- */
.video-showcase-container {
    max-width: 830px; /* Zwiększona szerokość, aby zmieścić 3 większe odtwarzacze */
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: #f0f7f9; /* Bardzo jasny, chłodny błękit */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.video-intro-text {
    font-size: 15px;
    color: var(--bio-blue-dark);
    line-height: 1.6;
    margin-bottom: 25px; /* Optymalny odstęp przed filmami */
    text-align: justify;
}

/* Przewijana pionowo/poziomo siatka na filmy Shorts */
.video-grid-scroll {
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Płynne przewijanie dotykowe na iOS */
    padding-bottom: 5px; /* Minimalny odstęp na dole */
    scrollbar-width: thin;
    scrollbar-color: var(--bio-blue) #e2e8f0;
}

/* Stylowanie paska przewijania (Webkit) */
.video-grid-scroll::-webkit-scrollbar {
    height: 6px;
}
.video-grid-scroll::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 3px;
}
.video-grid-scroll::-webkit-scrollbar-thumb {
    background-color: var(--bio-blue);
    border-radius: 3px;
}

/* Konstrukcja Iframe dla Shorts (Wymiary powiększone o ok. 25%) */
.short-iframe {
    width: 245px;
    height: 440px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #000000;
    flex-shrink: 0; /* Blokada przed kurczeniem się klatek */
}

/* Graphic Elements Placeholders (Pozostawiony pomocniczo dla sekcji produktów) */
.graphic-placeholder {
    background-color: #EDF2F7;
    border: 2px dashed #CBD5E0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: var(--bio-gray);
    font-size: 13px;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* High Quality / Advantages Section */
.advantages-section {
    padding: 80px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--bio-blue-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--bio-gray);
    font-size: 16px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background-color: var(--bio-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
}

.advantage-card h3 {
    font-size: 18px;
    color: var(--bio-blue);
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--bio-gray);
}

/* Product Showcase Section */
.products-section {
    padding: 80px 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr; /* 1 kolumna na smartfonach */
    }
}

.product-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--bio-blue);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 10;
}

.product-badge.budget {
    background-color: var(--bio-gray);
}

/* Nazwy modeli w dedykowanej kolorystyce brandowej marki (#00b1da), pogrubione */
.product-title {
    font-size: 24px;
    margin-top: 20px;
    font-weight: 800;
    color: #00b1da;
}

.product-desc {
    font-size: 14px;
    color: var(--bio-gray);
    margin-top: 10px;
    min-height: 66px; /* Wyrównanie wizualne wysokości kart przy różnej ilości tekstu */
}

/* Elastyczne i responsywne kontenery na zdjęcia produktów */
.product-image-wrapper {
    width: 100%;
    height: 180px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
}

.product-image-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

/* Efekt najechania wyłącznie na obrazek wewnątrz odnośnika */
.product-image-wrapper a:hover .product-image {
    transform: scale(1.05);
}

.specs-group {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.spec-label {
    font-weight: 700;
    color: var(--bio-gray);
}

.spec-value {
    color: var(--bio-blue-dark);
    text-align: right;
}

/* Elegancka prezentacja ceny netto pod specyfikacją techniczną a nad przyciskiem */
.product-card-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--bio-blue-dark);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    text-align: center;
}

.product-card-price span {
    font-size: 13px;
    font-weight: 500;
    color: var(--bio-gray);
}

.btn-product-buy {
    display: block;
    background-color: var(--bio-blue);
    color: #ffffff;
    text-align: center;
    padding: 14px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    margin-top: 15px;
    transition: background-color 0.2s;
}

.btn-product-buy:hover {
    background-color: var(--bio-blue-dark);
}

/* About Us Section (Polish Expertise) */
.about-section {
    background-color: #ffffff;
    padding: 80px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 32px;
    color: var(--bio-blue-dark);
    margin-bottom: 20px;
}

.about-container p {
    font-size: 15px;
    color: var(--bio-gray);
    margin-bottom: 20px;
    text-align: justify;
}

/* Social Share Section - Powiększony */
.social-share-container {
    text-align: center;
    padding: 40px 20px;
}

.social-share-container p {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bio-gray);
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--bio-blue);
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: var(--bio-blue);
    color: #ffffff;
    transform: scale(1.05);
}

/* Distinctive CTA Box (Jasne tło z obramowaniem 3px w kolorze zielonym #2ECC71) */
.main-resource-cta {
    background: #f0f7f9;
    color: var(--bio-blue-dark);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 75, 135, 0.05);
    margin: 60px auto;
    max-width: 1000px;
    border: 3px solid #2ECC71; /* Zmienione obramowanie na zielony #2ECC71 */
}

.main-resource-cta h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--bio-blue-dark);
}

.main-resource-cta p {
    font-size: 15px;
    color: var(--bio-gray);
    max-width: 750px;
    margin: 0 auto 30px auto;
}

.btn-main-cta {
    background-color: var(--bio-blue);
    color: #ffffff;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

.btn-main-cta:hover {
    background-color: var(--bio-blue-dark);
}

/* Footer (Głęboki, bardzo ciemny błękit wpadający w grafit #1b2a2f) */
footer {
    background-color: #1b2a2f;
    color: #CBD5E0;
    padding: 60px 20px 40px 20px;
    border-top: 5px solid var(--bio-blue);
    font-size: 14px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-about h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-about p {
    color: #CBD5E0;
    margin-bottom: 20px;
    max-width: 700px;
}

.footer-hub {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--bio-accent);
    padding: 15px;
    border-radius: 4px;
}

.footer-hub p {
    margin: 0;
    color: #ffffff;
    font-weight: bold;
}

.footer-contact h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-contact p {
    color: #CBD5E0;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Registration details layout */
.reg-details {
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    font-size: 12px;
    color: #CBD5E0;
}

@media (max-width: 600px) {
    .reg-details {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

.reg-details span strong {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #718096;
    font-size: 12px;
}