﻿:root {
    --primary: #0a5c4a;
    --primary-light: #127a64;
    --secondary: #f4f7f6;
    --accent: #22c55e;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    interpolate-size: allow-keywords;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}
html {
    scrollbar-color: var(--primary) var(--secondary);
    scrollbar-width: thin;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Desktop/Mobile Text Toggle Utilities */
.mobile-text {
    display: none;
}
.desktop-text {
    display: inline;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { font-size: 1.1rem; color: var(--text-light); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(10, 92, 74, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 92, 74, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Header/Nav */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at top right, rgba(10, 92, 74, 0.05), transparent);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 1.25rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.stat-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.stat-badge strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-badge span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Trust Bar */













/* Method Section */
.section {
    padding: 60px 0;
    contain: content;
}

.centered-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}









/* GLP-1 Info (Dark Section) */



















/* Transformations */










/* Form Section */



input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}



/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid #f0f0f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-legal {
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Process Pillars (Revised) */

@media (max-width: 1024px) {
    
}

/* Responsive Updates */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    header nav {
        display: none; /* Hide standard nav */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    header nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .calc-container {
        padding: 25px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .range-input {
        height: 12px; /* Fattening for thumbs */
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 40px;
        text-align: center;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%; /* Full width buttons on mobile */
    }
}



/* Education Section Rebuild */
.edu-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.edu-cards {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.edu-mini-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(10,92,74,0.06);
    transition: all 0.3s ease;
}

.edu-mini-card:hover {
    box-shadow: 0 12px 30px rgba(10,92,74,0.1);
    transform: translateY(-5px);
}

.edu-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.edu-mini-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.edu-mini-card p {
    font-size: 0.95rem;
    margin: 0;
}

.edu-image-container {
    position: relative;
}

.edu-main-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.edu-floating-stat {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(10, 92, 74, 0.3);
    animation: floating 3s ease-in-out infinite;
}

.edu-floating-stat strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
}

.edu-floating-stat span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@media (max-width: 1024px) {
    .edu-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .edu-floating-stat {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* BMI Ring Component */
.bmi-ring-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}
.bmi-ring-svg {
    width: 100%;
    height: 100%;
}
.bmi-ring-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 12;
}
.bmi-ring-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.4s ease;
}
.bmi-ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bmi-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    transition: color 0.4s ease;
}
.bmi-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 2px;
}
.bmi-category {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 6px 20px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.4s ease;
}
.bmi-prediction {
    text-align: center;
    background: var(--secondary);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    width: 100%;
}
.bmi-prediction strong { color: var(--primary); }
.bmi-prediction i { color: var(--primary); margin-right: 6px; }
.bmi-scale {
    width: 100%;
}
.bmi-scale-bar {
    display: flex;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}
.bmi-scale-seg {
    flex: 1;
}
.bmi-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Typography & Reveal Animations */

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.fade-up-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.fade-up-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.0s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-layer {
    transition: transform 0.1s ease-out;
}

.hero {
    overflow: hidden; /* For parallax bounds */
}

/* Before/After Slider */
















@media (max-width: 768px) {
    .calc-container, .edu-grid {
        grid-template-columns: 1fr;
    }
    .calc-container {
        padding: 30px;
    }
}

/* ============================================
   KALKULATOR BMI - SEKCJA
   ============================================ */
.calc-section {
    padding: 100px 0;
    background: var(--secondary);
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    align-items: center;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.range-val {
    font-weight: 700;
    color: var(--primary);
}

.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, #e0e0e0 50%);
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 3px solid white;
    transition: transform 0.2s;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 3px solid white;
}

.calc-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1.5px solid #e8e8e8;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: var(--primary);
    background: var(--secondary);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.calc-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

/* Billing Toggle */

@media (max-width: 768px) {
    .calc-container {
        grid-template-columns: 1fr;
    }
    
}
/* ============================================
   STATS BAR - ANIMATED COUNTERS
   ============================================ */
.stats-bar {
    padding: 60px 0;
    background: var(--primary);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-counter {
    color: white;
    padding: 20px 10px;
    background: transparent;
    border: none;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.stat-counter:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stat-counter:hover { 
    transform: translateY(-8px) scale(1.05);
}

.stat-counter i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
    display: block;
    color: var(--accent);
}

.counter-num {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.counter-suf {
    font-size: 1.6rem;
    font-weight: 700;
}
.stat-counter p {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .stats-bar { padding: 24px 0; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-counter {
        background: rgba(255,255,255,0.08);
        border-radius: 14px;
        padding: 14px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 110px;
    }
    .stat-counter:not(:last-child)::after { display: none; }
    .stat-counter:hover { transform: none; }
    .stat-counter i {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    .counter-num {
        font-size: 1.7rem;
    }
    .counter-suf {
        font-size: 0.85rem;
    }
    .stat-counter p {
        font-size: 0.65rem;
        margin-top: 4px;
        letter-spacing: 0;
        line-height: 1.3;
    }
}
@media (max-width: 480px) {
    .stats-bar { padding: 16px 0; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .stat-counter {
        min-height: 95px;
        padding: 12px 8px;
        border-radius: 12px;
    }
    .stat-counter i {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    .counter-num {
        font-size: 1.5rem;
        text-shadow: none;
    }
    .counter-suf {
        font-size: 0.78rem;
    }
    .stat-counter p {
        font-size: 0.6rem;
        margin-top: 3px;
        opacity: 0.75;
    }
    .stat-counter::after { display: none !important; }
}

/* ============================================
   STEPS SECTION — HORIZONTAL PROCESS TIMELINE
   ============================================ */
.steps-section {
    background: var(--secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Arrow between steps */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 52px;
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 50px;
}

/* Individual step card */
.step-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 28px;
    border: 1px solid rgba(10,92,74,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
}

.step-card:hover {
    box-shadow: 0 12px 36px rgba(10,92,74,0.12);
    transform: translateY(-5px);
}

/* Step header: number badge + icon */
.step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.step-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(10,92,74,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.step-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 18px;
}

/* Bulleted list inside step */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.55;
}

.step-list li i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.step-list li strong {
    color: var(--text-dark);
}

/* Mobile — vertical timeline */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        padding-left: 32px;
    }

    /* Vertical line on left */
    .steps-grid::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), rgba(10,92,74,0.15));
        border-radius: 2px;
    }

    .step-arrow {
        display: none;
    }

    .step-card {
        margin-bottom: 16px;
        position: relative;
    }

    /* Dot on timeline for each card */
    .step-card::before {
        content: '';
        position: absolute;
        left: -28px;
        top: 40px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--primary);
        border: 3px solid var(--white);
        box-shadow: 0 0 0 2px var(--primary);
    }

    .step-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .step-card {
        padding: 24px 20px;
    }
    .steps-grid {
        padding-left: 28px;
    }
}

/* ============================================
   VIDEO TESTIMONIALS PLACEHOLDERS
   ============================================ */
.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.video-placeholder {
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f5f3 0%, #e8f0ec 100%);
    border: 2.5px dashed rgba(10, 92, 74, 0.25);
    transition: all 0.3s ease;
}
.video-placeholder:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 92, 74, 0.1);
}
.video-placeholder-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}
.video-placeholder-inner i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}
.video-placeholder-inner p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.video-note {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
    font-style: italic;
}
@media (max-width: 768px) {
    .video-testimonials-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .video-placeholder { aspect-ratio: 9/14; }
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.team-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid rgba(10, 92, 74, 0.08);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 92, 74, 0.12);
    border-color: rgba(10, 92, 74, 0.15);
}
/* Gdy będzie prawdziwe zdjęcie — zamień placeholder na img */
.team-info {
    padding: 28px 24px;
}
.team-role {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}
.team-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.team-bio {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}
.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.team-tags span {
    background: #f0f5f3;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}
@media (max-width: 900px) {
    .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ============================================
   3D FLIP CARDS - EDUKACJA
   ============================================ */












@media (max-width: 900px) {
    
}
@media (max-width: 500px) {
    
}

/* ============================================
   TIMELINE ACCORDION - ETAPY
   ============================================ */
.timeline-item {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(10, 92, 74, 0.12);
}







/* ============================================
   DRUG TABS - GLP-1
   ============================================ */






/* ============================================
   SPLASH SCREEN
   ============================================ */
#splash-screen {
    position: fixed; inset: 0;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; }
.splash-logo {
    font-size: 4rem; font-weight: 900; color: white;
    letter-spacing: 8px; margin-bottom: 10px;
}
.splash-tagline {
    font-size: 1rem; color: rgba(255,255,255,0.6);
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 30px;
}
.splash-bar {
    width: 200px; height: 3px; background: rgba(255,255,255,0.2);
    border-radius: 10px; overflow: hidden; margin: 0 auto;
}
.splash-fill {
    height: 100%; width: 0;
    background: white; border-radius: 10px;
    animation: splashLoad 0.4s ease forwards;
}
@keyframes splashLoad {
    to { width: 100%; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--accent); width: 0%;
    z-index: 9000; transition: width 0.1s linear;
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: scroll()) {
        @keyframes grow-progress {
            from { transform: scaleX(0); }
            to { transform: scaleX(1); }
        }
        #scroll-progress {
            width: 100% !important;
            transform-origin: 0 50%;
            transform: scaleX(0);
            animation: grow-progress auto linear;
            animation-timeline: scroll();
            transition: none !important;
        }
    }
}

/* ============================================
   FLOATING CTA BUTTON
   ============================================ */
#floating-cta {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--primary);
    color: white; padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(10,92,74,0.35);
    opacity: 0; transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; z-index: 1000;
    display: flex; align-items: center; gap: 8px;
}
#floating-cta.visible {
    opacity: 1; transform: translateY(0);
    pointer-events: all;
}
#floating-cta:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10,92,74,0.45);
}

/* ============================================
   PROOF TICKER
   ============================================ */



@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
/* Testimonials Carousel Rebuild */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: var(--white);
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition);
}

.carousel-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #f0f0f0;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 10;
    transition: var(--transition);
}

.carousel-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.testi-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testi-quote {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.testi-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
}

.testi-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .testimonial-card { min-width: calc(50% - 15px); }
    .carousel-nav { display: none; }
}

@media (max-width: 768px) {
    .testimonial-card { min-width: 100%; }
}

/* ============================================
   COMPARE CARDS (nowy układ porównania)
   ============================================ */
.compare-section {
    background: var(--secondary);
}

/* Karta "słaba" — neutralna */

/* Karta wyróżniona — Biko */

/* Plakietka "Najlepsza opcja" */

/* Nagłówek karty */

/* Lista cech */

/* Przycisk na featured card */

/* Responsive */

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: 780px; margin: 40px auto 0;
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    background: white; border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #e8e8e8;
    transition: border-color 0.3s ease;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px; cursor: pointer;
    font-weight: 600; color: var(--text-dark);
    user-select: none;
}
.faq-question i { transition: transform 0.35s ease; color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    height: 0; overflow: hidden;
    font-size: 0.9rem; color: var(--text-light);
    line-height: 1.7;
    transition: height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    height: auto;
    padding: 0 24px 20px;
}

/* ============================================
   MULTI-STEP WIZARD FORM
   ============================================ */












/* Scroll-triggered reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BOOKERO CALENDAR SECTION
   ============================================ */
.bookero-section { background: var(--secondary); }

/* Override container width just for this section to be full width */
.bookero-section .container {
    max-width: 100%;
    padding: 0 20px;
}

.bookero-card {
    width: 100%;
    margin: 40px auto 0;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1.5px solid #e8f0ec;
}

.bookero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--primary);
    color: white;
}

.bookero-card-header i { font-size: 1.5rem; opacity: 0.9; }

.bookero-card-header > div:nth-child(2) {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bookero-card-header strong { font-size: 1rem; font-weight: 700; }
.bookero-card-header span { font-size: 0.8rem; opacity: 0.7; }

.bookero-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.bookero-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: bookero-pulse 1.5s ease-in-out infinite;
}

@keyframes bookero-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

#bookero { 
    padding: 0; 
    min-height: 500px; 
    width: 100%; 
    display: block; 
}

 
#bookero > div {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
}

/* Aggressive overrides for Bookero colors if elements are injected directly */

#bookero [class*="primary"],
#bookero [class*="active"] {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* ============================================
   HACK WIZUALNY DLA WIDŻETU BOOKERO (IFRAME)
   Ponieważ Bookero to zamknięty iframe, nie możemy zmienić 
   jego wewnętrznego CSS. Używamy filtru graficznego, 
   aby zmienić oryginalny niebieski kolor na nasz zielony.
   ============================================ */

/* Usuwamy wewnętrzny padding karty, by iframe zajął więcej miejsca */
#bookero {
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
}

.bookero-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.bookero-footer-note i { color: var(--primary); opacity: 0.7; }

@media (max-width: 768px) {
    .bookero-card { border-radius: 16px; margin: 25px 0 0; }
    .bookero-card-header { padding: 16px 18px; flex-wrap: wrap; }
}

/* ============================================
   OFICJALNE STYLE BOOKERO (Z NADPISANIEM KOLORÓW)
   ============================================ */
#bookero-plugin {
  --bookero-plugin-color-link: #0a5c4a;
  --bookero-plugin-color-primary: #0a5c4a;
  --bookero-plugin-color-primary-dark: #084c3d; /* darken 10% */
  --bookero-plugin-color-primary-darker: #063d31; /* darken 15% */
  --bookero-plugin-color-primary-light: #169379; /* lighten 30% */
  --bookero-plugin-color-primary-lighter: #28c7a6; /* lighten 45% */
  --bookero-plugin-color-primary-lightest: rgba(10, 92, 74, 0.1);
}

/* Wymuszenie 75% szerokości widżetu i wyśrodkowanie */
#bookero-plugin {
    width: 75% !important;
    max-width: 75% !important;
    margin: 0 auto !important;
}

#bookero-plugin > div {
    max-width: 100% !important;
    width: 100% !important;
}

/* ============================================
   MOBILE: BOOKERO WEEK VIEW — UKŁAD POZIOMY (JAK DESKTOP)
   Wymuszamy kolumny obok siebie z poziomym przewijaniem
   ============================================ */
@media (max-width: 900px) {

    /* 1. Pełna szerokość widżetu */
    #bookero-plugin {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 4px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* 2. Kontener tygodnia — poziome przewijanie */
    #bookero-plugin .week,
    #bookero-plugin .week-wrapper,
    #bookero-plugin .is-term {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }

    /* 3. KLUCZOWE: Główna siatka dni — ZAWSZE poziomo (row) */
    
    #bookero-plugin .dates-section .week-wrapper > div,
    #bookero-plugin .dates-section .week-wrapper .week {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        width: auto !important;
    }

    /* 4. Każda kolumna dnia — stała szerokość */

    /* 5. Nagłówki dni — kompaktowe */

    /* 6. Sloty godzin — małe, ale klikalne (44px min.) */

    /* 7. Optymalizacja datepicker (wybór daty) */

    /* 8. Informacja o przewijaniu (tylko raz) */
    #bookero-plugin .week-wrapper::before {
        content: '← Przesuń, aby zobaczyć więcej dni →';
        display: block !important;
        text-align: center !important;
        font-size: 0.68rem !important;
        color: #9ca3af !important;
        padding: 4px 0 8px !important;
        letter-spacing: 0.02em !important;
    }
    #bookero-plugin .week::before {
        content: none !important;
    }
}

/* ============================================
   MOBILE OPTIMIZATIONS (375px)
   ============================================ */
@media (max-width: 480px) {
    /* Container — więcej oddychania */
    .container {
        padding: 0 18px;
    }

    /* Hero — kompaktowy */
    .hero {
        padding: 100px 0 30px;
    }
    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.25;
    }
    .hero p {
        font-size: 0.9rem;
    }

    /* Nagłówki sekcji */
    h2 {
        font-size: 1.5rem !important;
    }
    .centered-head p {
        font-size: 0.88rem;
    }

    /* Stats bar — handled by dedicated media queries above */

    /* Journey cards */

    /* Sekcja sections — mniejszy padding */
    .section {
        padding: 45px 0;
    }

    /* Kalkulator */
    .calc-container {
        border-radius: 20px;
        padding: 20px;
    }

    /* Edukacja */
    .edu-mini-card {
        padding: 16px;
    }
    .edu-mini-card h3 {
        font-size: 0.95rem;
    }
    .edu-mini-card p {
        font-size: 0.82rem;
    }

    /* Video placeholders */
    .video-placeholder-inner i {
        font-size: 2.5rem;
    }
    .video-placeholder-inner p {
        font-size: 0.88rem;
    }

    /* Porównanie */

    /* FAQ */
    .faq-question {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
    .faq-answer {
        padding: 0 18px;
        font-size: 0.85rem;
    }
    .faq-item.open .faq-answer {
        padding: 0 18px 15px;
    }

    /* Bookero */
    .bookero-card {
        border-radius: 16px;
    }
    .bookero-card-header {
        padding: 14px 16px;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-grid {
        gap: 30px;
    }

    /* Buttons — min touch target 44px */
    .btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

.compare-section,
.bookero-section,
#zespol,
#transformacje {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ============================================
   PRICING / PAKIETY SECTION
   ============================================ */
.pricing-section {
    background: var(--secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
    align-items: stretch;
}

/* Domyślnie ukryte na desktopie (elementy mobilne) */
.pricing-features-mobile-summary {
    display: none;
}

.pricing-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px 30px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.09);
}

.pricing-card.pricing-featured {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(10, 92, 74, 0.28);
    z-index: 2;
}

.pricing-card.pricing-featured:hover {
    transform: translateY(-14px);
}

/* Badge "Najpopularniejszy" */
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Badge "Najlepsza cena" */
.pricing-badge-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-card.pricing-featured .pricing-header h3,
.pricing-card.pricing-featured .pricing-header p {
    color: rgba(255,255,255,0.9);
}

.pricing-header p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Cena */
.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin: 16px 0 4px;
    line-height: 1;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.pricing-card.pricing-featured .pricing-amount {
    color: var(--white);
}

.pricing-unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    padding-bottom: 3px;
}

.pricing-card.pricing-featured .pricing-unit {
    color: rgba(255,255,255,0.7);
}

.pricing-total {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.pricing-card.pricing-featured .pricing-total {
    color: rgba(255,255,255,0.6);
}

.pricing-klarna {
    font-size: 0.82rem;
    color: var(--primary);
    background: rgba(10, 92, 74, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 12px;
}

.pricing-card.pricing-featured .pricing-klarna {
    color: #86efac;
    background: rgba(255, 255, 255, 0.15);
}

/* Divider */
.pricing-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 14px 0;
}

.pricing-card.pricing-featured .pricing-divider {
    background: rgba(255,255,255,0.15);
}

/* Features list */
.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 16px;
}

.pricing-card.pricing-featured .pricing-features li {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-card.pricing-featured .pricing-features li i {
    color: #86efac;
}

/* CTA buttons */
.pricing-cta {
    display: block;
    text-align: center;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.pricing-cta:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 92, 74, 0.3);
}

.pricing-card.pricing-featured .pricing-cta {
    background: white;
    color: var(--primary);
    border-color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.pricing-card.pricing-featured .pricing-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Nota o leku */

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.pricing-featured {
        transform: none;
        order: -1;
    }

    .pricing-card.pricing-featured:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   MOBILE RESPONSIVE OVERRIDES (<= 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Mobile/Desktop Text Toggle Overrides */
    .mobile-text {
        display: inline !important;
    }
    .desktop-text {
        display: none !important;
    }

    /* Horizontal Carousels for Team and Testimonials */
    .team-grid,
    .video-testimonials-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 25px;
        gap: 16px;
        max-width: none;
        grid-template-columns: none; /* Reset grids */
    }

    .team-grid::-webkit-scrollbar,
    .video-testimonials-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    /* Cards snap-align and width sizing */
    .team-card,
    .video-placeholder {
        flex: 0 0 82vw;
        min-width: 82vw;
        max-width: 320px;
        scroll-snap-align: center;
        margin: 0;
        height: auto;
    }

    /* Pricing Section Rebuild (Compact vertical cards) */
    .pricing-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
        padding-bottom: 0;
        overflow-x: visible;
        scroll-snap-type: none;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        scroll-snap-align: none;
        padding: 24px 20px 20px;
        border-radius: 20px;
        text-align: left;
        height: auto;
        border-width: 1.5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        box-sizing: border-box;
    }

    .pricing-card.pricing-featured {
        transform: none;
        box-shadow: 0 15px 35px rgba(10, 92, 74, 0.15);
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
        order: unset; /* natural chronological order */
    }
    .pricing-card.pricing-featured:hover {
        transform: translateY(-2px);
    }

    /* Badges */
    .pricing-badge,
    .pricing-badge-value {
        font-size: 0.7rem;
        padding: 4px 12px;
        top: -12px;
        left: 20px;
        transform: none;
        text-align: center;
        border-radius: 12px;
        width: auto;
        box-sizing: border-box;
    }

    .pricing-header h3 {
        font-size: 1.15rem;
        margin-bottom: 2px;
        text-align: left;
    }

    .pricing-header p {
        display: block;
        font-size: 0.75rem;
        margin-top: 2px;
        color: var(--text-light);
    }
    .pricing-card.pricing-featured .pricing-header p {
        color: rgba(255, 255, 255, 0.75);
    }

    .pricing-price {
        margin: 8px 0 2px;
        justify-content: flex-start;
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .pricing-amount {
        font-size: 1.8rem;
    }

    .pricing-unit {
        font-size: 0.9rem;
        padding-bottom: 0;
    }

    .pricing-total {
        font-size: 0.8rem;
        line-height: 1.35;
        margin-bottom: 4px;
        height: auto;
        display: block;
        text-align: left;
    }

    .pricing-klarna {
        font-size: 0.78rem;
        padding: 4px 8px;
        border-radius: 6px;
        margin-top: 4px;
        margin-bottom: 12px;
        display: inline-flex;
        line-height: 1.3;
        height: auto;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    /* Hide features lists and divider inside pricing cards */
    .pricing-features,
    .pricing-divider {
        display: none;
    }

    .pricing-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 30px;
        width: 100%;
        text-align: center;
        margin-top: 4px;
        box-sizing: border-box;
    }

    /* Single pricing features summary container below the grid */
    .pricing-features-mobile-summary {
        display: block;
        margin-top: 16px;
        background: var(--white);
        border: 1.5px solid #e5e7eb;
        border-radius: 16px;
        padding: 12px 16px;
        text-align: left;
        box-shadow: var(--card-shadow);
    }
    .pricing-features-mobile-summary .summary-title {
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--primary);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .pricing-features-mobile-summary .summary-list {
        list-style: none;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .pricing-features-mobile-summary .summary-list li {
        font-size: 0.78rem;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .pricing-features-mobile-summary .summary-list li i {
        color: var(--accent);
        font-size: 0.72rem;
    }

    /* Comparison Section Mobile (Hide cards, show streamlined matrix table) */

    /* Sliders Thumb Target Size (Fitts' Law optimization) */
    .range-input::-webkit-slider-thumb {
        width: 28px;
        height: 28px;
    }
    .range-input::-webkit-slider-thumb:active {
        transform: scale(1.15);
    }
    .range-input::-moz-range-thumb {
        width: 28px;
        height: 28px;
    }
    .range-input::-moz-range-thumb:active {
        transform: scale(1.15);
    }

    /* Bottom Sticky CTA Bar (Thumb zone optimization) */
    #floating-cta {
        position: fixed;
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: auto;
        border-radius: 50px;
        margin: 0;
        padding: 14px 20px;
        font-size: 0.95rem;
        background: var(--primary);
        color: white;
        text-align: center;
        justify-content: center;
        box-shadow: 0 8px 25px rgba(10,92,74,0.35);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        z-index: 1000;
        display: flex; align-items: center; gap: 8px;
    }
    
    #floating-cta.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    #floating-cta:hover {
        background: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(10, 92, 74, 0.45);
    }

    /* Adjust footer padding-bottom to prevent content cutoff under sticky CTA bar */
    footer {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
}

/* ============================================
   WEIGHT LOSS CHART
   ============================================ */
.weight-loss-chart-container {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 40px auto 0;
}
.chart-header {
    text-align: center;
    margin-bottom: 30px;
}
.chart-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.chart-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}
.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.color-dot.biko {
    background: var(--primary);
}
.color-dot.diet {
    background: #bbb;
}
.chart-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    height: 0;
}
.chart-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .weight-loss-chart-container {
        padding: 25px 15px;
    }
    .chart-wrapper {
        padding-bottom: 65%;
    }
}

@media (max-width: 768px) {
    /* Navigation Links Touch Targets */
    header nav a {
        padding: 14px 20px !important;
        margin: 6px 0 !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 1.1rem !important;
        display: block !important;
    }

    header nav a.btn-primary {
        margin-left: 0 !important;
        margin-top: 12px !important;
    }

    /* Mobile menu hamburger touch target */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        cursor: pointer;
    }
}



/* Quiz Modal Styles */
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Hero Mobile Redesign & Carousel */

/* Desktop floating styles */

@media (max-width: 991px) {
    .hero .container {
        display: flex;
        flex-direction: column; 
        padding-top: 20px;
    }
    .hero-content {
        margin-bottom: 20px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    /* Carousel on mobile */
    .hero-image {
        margin-top: 0;
        animation: none;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        z-index: 10;
    }
    .hero-image img {
        height: auto;
        max-height: 400px;
        width: 100%;
        object-fit: cover;
    }
}

/* Quiz Modal CSS */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Kwalifikacja Page Styles */
/* Ensure quiz container looks good inline */

/* ============================================
   SEKCJA: CZY TO DLA CIEBIE? (pain-section)
   ============================================ */
.pain-section {
    background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
    padding: 80px 0;
}

.pain-tag {
    background: #fff3cd;
    color: #856404;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    letter-spacing: 0.05em;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pain-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px 28px;
    border: 1.5px solid rgba(10, 92, 74, 0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.pain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 92, 74, 0.1);
    border-color: rgba(10, 92, 74, 0.2);
}

.pain-card:hover::before {
    transform: scaleX(1);
}

.pain-emoji {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.pain-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pain-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.pain-bridge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary), #127a64);
    color: var(--white);
    border-radius: 20px;
    padding: 28px 36px;
    box-shadow: 0 10px 40px rgba(10, 92, 74, 0.25);
}

.pain-bridge i {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.pain-bridge p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.6;
}

.pain-bridge strong {
    color: var(--white);
}

@media (max-width: 900px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pain-bridge {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .pain-card {
        padding: 24px 20px;
    }
}

/* ============================================
   SEKCJA: CO SIĘ DZIEJE PO ZAKUPIE?
   ============================================ */
.after-purchase-section {
    background: var(--white);
    padding: 80px 0;
}

.after-purchase-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* Video Side */
.video-side {
    position: sticky;
    top: 100px;
}

.dietitian-video-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 92, 74, 0.12);
    border: 1px solid rgba(10, 92, 74, 0.08);
    background: var(--white);
}

.dietitian-video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0a5c4a 0%, #127a64 50%, #1a9c7a 100%);
    overflow: hidden;
}

.dietitian-video-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.dietitian-bg-icon {
    font-size: 5rem;
    color: rgba(255,255,255,0.25);
}

.dietitian-coming-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.dietitian-coming-label i {
    font-size: 0.85rem;
}

.dietitian-quote {
    padding: 24px 28px;
    border-top: 1px solid rgba(10, 92, 74, 0.08);
}

.dietitian-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.dietitian-avatar-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dietitian-identity strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.dietitian-identity span {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.dietitian-quote blockquote {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin: 0;
}

/* Timeline Side */
.purchase-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 28px;
    width: 2px;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, var(--primary) 0%, rgba(10,92,74,0.1) 100%);
}

.timeline-dot {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    border: 3px solid;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

.timeline-dot.today {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.timeline-dot.soon {
    background: var(--primary);
    border-color: var(--primary);
}

.timeline-dot.week {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.timeline-dot.month {
    background: #1a9c7a;
    border-color: #1a9c7a;
}

.timeline-content {
    padding-bottom: 32px;
    flex: 1;
}

.timeline-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.timeline-list li i {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.after-purchase-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(10,92,74,0.06), rgba(34,197,94,0.06));
    border: 1.5px solid rgba(10,92,74,0.15);
    border-radius: 16px;
    padding: 18px 22px;
}

.after-purchase-badge > i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.after-purchase-badge strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.after-purchase-badge span {
    font-size: 0.82rem;
    color: var(--text-light);
}

@media (max-width: 960px) {
    .after-purchase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-side {
        position: static;
    }
}

@media (max-width: 600px) {
    .after-purchase-section {
        padding: 60px 0;
    }
    .dietitian-quote {
        padding: 18px 20px;
    }
    .timeline-label {
        font-size: 0.7rem;
    }
    .timeline-list li {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) { .hero-fast-steps { flex-direction: column; gap: 10px; } }

.hero-fast-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 12px 24px;
    box-shadow: 0 10px 40px rgba(10, 92, 74, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: fit-content;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #e6f4f1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(10, 92, 74, 0.1);
}

.step-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.step-arrow {
    color: var(--primary);
    font-size: 0.8rem;
    opacity: 0.4;
    margin: 0 20px;
}

@media (max-width: 768px) {
    .hero-fast-steps {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 0;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 12px 0 12px 14px;
    }
}

/* ========================================= */
/* JOURNEY PROGRESS BAR (STICKY SCROLLYTELLING) */
/* ========================================= */
.journey-bar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 15px 0;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.journey-bar-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.journey-step {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.journey-step:hover {
    opacity: 0.9;
}

.journey-step.active {
    opacity: 1;
    color: var(--primary);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.journey-step.active .step-num {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(10, 92, 74, 0.3);
}

.journey-divider {
    flex: 1;
    height: 2px;
    background: #eaeaea;
    margin: 0 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.journey-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.5s ease;
}

/* Kiedy poprzedni krok jest aktywny, divider si� "zape�nia" w JS (dodamy klas�) */
.journey-divider.filled::after {
    width: 100%;
}

@media (max-width: 768px) {
    .journey-bar-inner {
        padding: 0 10px;
    }
    .journey-step {
        flex-direction: column;
        gap: 5px;
        font-size: 0.75rem;
    }
    .journey-divider {
        margin: 0 10px;
    }
}

/* HOTFIX FOR JOURNEY BAR Z-INDEX AND OVERLAP */
.journey-bar {
    top: 72px !important;
    z-index: 999 !important;
}



/* HOTFIX: Idealne poziome wyrównanie linii i list w kartach */
.step-card {
    display: flex;
    flex-direction: column;
}
.step-desc {
    min-height: 100px;
}
.step-list {
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 16px !important;
    flex-grow: 1; /* Pozwala liście zająć resztę miejsca w dół */
}
