/* ==========================================================================
   42 URODZINOWA OFERTA - CUSTOM STYLES
   ========================================================================== */

/* Hero Section */
.hero-42 {
    padding: 4rem 2rem 3rem;
    background: var(--warmth-cream);
    text-align: center;
}

.hero-42-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-42-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
}

.hero-42-number {
    font-family: 'Playfair Display', serif;
    font-size: 12rem;
    font-weight: 700;
    line-height: 1;
    color: var(--warmth-primary);
    opacity: 0.15;
}

.hero-42-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--warmth-primary);
    box-shadow: var(--shadow-medium);
}

.hero-42 h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--warmth-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-42-subtitle {
    font-size: 1.25rem;
    color: var(--warmth-charcoal);
    opacity: 0.8;
    line-height: 1.6;
}

.hero-42-subtitle strong {
    color: var(--warmth-primary);
    font-weight: 600;
}

/* Products Section */
.products-42 {
    padding: 4rem 2rem;
}

/* Hero Product Card (Option 1) */
.product-hero-card {
    background: white;
    border: 3px solid var(--warmth-primary);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.product-badge-hero {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warmth-primary);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-hero-header-section {
    text-align: center;
    margin-bottom: 3rem;
}

.product-hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--warmth-charcoal);
    margin-bottom: 1rem;
}

.product-hero-desc {
    font-size: 1.25rem;
    color: var(--warmth-charcoal);
    opacity: 0.8;
}

/* Two-column layout */
.product-hero-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left column - Package items */
.product-hero-left {
    flex: 1;
}

.package-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--warmth-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.package-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(232, 180, 143, 0.3);
}

.package-item:last-of-type {
    border-bottom: none;
}

.package-item-icon {
    width: 32px;
    height: 32px;
    background: var(--warmth-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.package-item-content {
    flex: 1;
    min-width: 0;
}

.package-item-name {
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--warmth-charcoal);
    margin-bottom: 0.25rem;
}

.package-item-name a {
    color: var(--warmth-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease-organic);
}

.package-item-name a:hover {
    border-bottom-color: var(--warmth-primary);
}

.package-item-meta {
    font-size: 0.875rem;
    color: var(--warmth-charcoal);
    opacity: 0.6;
}

.package-item-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--warmth-accent);
    white-space: nowrap;
    padding-left: 1rem;
}

.package-item-choice {
    background: rgba(232, 180, 143, 0.1);
    padding: 1.25rem;
    border-radius: 8px;
    border-bottom: none;
}

.package-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--warmth-secondary);
}

.package-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--warmth-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-total-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--warmth-accent);
}

/* Right column - Price box */
.product-hero-right {
    flex: 1;
}

.price-box {
    background: linear-gradient(135deg, var(--warmth-cream) 0%, white 100%);
    border: 3px solid var(--warmth-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-strong);
    position: sticky;
    top: 2rem;
}

.price-box-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed var(--warmth-secondary);
}

.price-box-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warmth-charcoal);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-box-savings {
    display: inline-block;
    background: var(--warmth-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.price-box-main {
    text-align: center;
    margin-bottom: 2rem;
}

.price-box-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--warmth-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.price-box-installments {
    font-size: 1rem;
    color: var(--warmth-accent);
    font-weight: 600;
}

.price-box-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2rem;
    border-radius: 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    transition: all 0.3s var(--ease-organic);
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--warmth-primary);
    color: white;
    border: 2px solid var(--warmth-primary);
    box-shadow: 0 4px 14px rgba(201, 74, 42, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--warmth-charcoal);
    border-color: var(--warmth-charcoal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 38, 37, 0.35);
}

.btn-primary.btn-full {
    box-shadow: 0 6px 18px rgba(201, 74, 42, 0.3);
}

.btn-primary.btn-full:hover {
    box-shadow: 0 10px 26px rgba(201, 74, 42, 0.4);
}

.price-box-cta .btn-primary,
.price-box-cta .btn-primary.btn-lg {
    background: var(--warmth-primary);
    color: white;
    border: 2px solid var(--warmth-primary);
}

.price-box-cta .btn-primary:hover,
.price-box-cta .btn-primary.btn-lg:hover {
    background: var(--warmth-charcoal);
    border-color: var(--warmth-charcoal);
    color: white;
    transform: translateY(-2px);
}

.price-box-cta .btn-lg::before {
    display: none;
}

.btn-secondary-outline {
    background: var(--warmth-charcoal);
    color: white;
    border: 2px solid var(--warmth-charcoal);
    font-size: 0.9375rem;
}

.btn-secondary-outline:hover {
    background: var(--warmth-charcoal);
    color: white;
    transform: translateY(-2px);
}

/* Products Grid (Options 2-5) - 2x2 layout */
.products-grid-42 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card-42 {
    background: white;
    border: 2px solid var(--warmth-secondary);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease-organic);
}

.product-card-42:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--warmth-primary);
}

.product-card-header {
    margin-bottom: 1.5rem;
}

.product-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--warmth-charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-title-link {
    color: var(--warmth-charcoal);
    text-decoration: none;
    transition: color 0.2s var(--ease-organic);
}

.product-card-title-link:hover {
    color: var(--warmth-primary);
}

.product-card-meta {
    font-size: 0.875rem;
    color: var(--warmth-charcoal);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-body {
    flex: 1;
    margin-bottom: 1.5rem;
}

.product-card-body > p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--warmth-charcoal);
    margin-bottom: 1.5rem;
}

.product-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--warmth-charcoal);
}

.product-card-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--warmth-primary);
    border-radius: 50%;
}

.product-card-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--warmth-secondary);
}

.product-card-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--warmth-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s var(--ease-organic);
}

.product-card-link a:hover {
    color: var(--warmth-accent);
    gap: 0.75rem;
}

.product-card-footer {
    padding-top: 1.5rem;
    border-top: 2px solid var(--warmth-secondary);
}

.product-card-footer .btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: #2A5C4E;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.product-card-footer .btn:hover {
    background: #C94A2A;
    transform: translateY(-2px);
    box-shadow: 5px 12px 25px rgba(201, 74, 42, 0.12), -3px 5px 15px rgba(44, 38, 37, 0.07);
}

.product-card-price {
    margin-bottom: 1rem;
}

.product-card-price .price-original {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--warmth-charcoal);
    opacity: 0.5;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.product-card-price .price-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--warmth-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.product-card-price .price-note {
    display: block;
    font-size: 0.875rem;
    color: var(--warmth-charcoal);
    opacity: 0.6;
}

/* Timer Section */
.section-timer {
    background: var(--warmth-charcoal);
    padding: 3rem 2rem;
    margin-bottom: 0;
}

/* Footer spacing fix */
footer {
    margin-top: 0;
    background: white;
    border-top: 1px solid var(--warmth-secondary);
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.popup-container {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.timer-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.timer-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.timer-box p {
    font-size: 1.125rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Countdown Timer */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--warmth-charcoal);
    line-height: 1;
    min-width: 80px;
    text-align: center;
    background: var(--warmth-cream);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--warmth-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.countdown-separator {
    font-size: 3rem;
    color: var(--warmth-cream);
    font-weight: 700;
    line-height: 1;
    margin: 0 0.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid-42 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-42-header {
        flex-direction: column;
        gap: 2rem;
    }

    /* FIX #3: Ukryj liczbę 42 na mobile */
    .hero-42-number {
        display: none;
    }

    .hero-42-photo {
        width: 150px;
        height: 150px;
    }

    .hero-42 h1 {
        font-size: 2.5rem;
    }

    .hero-42-subtitle {
        font-size: 1.125rem;
    }

    /* FIX #2: Cała sekcja szersza - mniej paddingu */
    .products-42 {
        padding: 3rem 1rem;
    }

    /* FIX #2: Szerszy pakiet - mniej paddingu po bokach */
    .product-hero-card {
        padding: 2rem 1rem;
    }

    /* FIX #1: Badge mniejszy na mobile żeby nie nachodzić */
    .product-badge-hero {
        font-size: 0.75rem;
        padding: 0.4rem 1.25rem;
        top: -14px;
    }

    .product-hero-header-section {
        margin-top: 1rem;
    }

    .product-hero-content h2 {
        font-size: 2rem;
    }

    .product-hero-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .price-box {
        position: static;
        order: -1;
    }

    .price-box-value {
        font-size: 2.75rem;
    }

    /* FIXED: Mobile 768px - match HTML structure (content + price ONLY, no icon) */
    .package-item {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: start;
        padding: 1rem 0;
    }

    .package-item-content {
        flex: 1;
        min-width: 0;
    }

    .package-item-name {
        font-size: 0.9375rem;
        line-height: 1.4;
        margin-bottom: 0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .package-item-name a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .package-item-meta {
        font-size: 0.8125rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .package-item-price {
        font-size: 1rem;
        font-weight: 700;
        color: var(--warmth-accent);
        padding-left: 0.75rem;
        white-space: nowrap;
        align-self: flex-start;
    }

    /* Bonus item - reduce font for long text */
    .package-item[style*="border-left"] .package-item-meta {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .package-total-value {
        font-size: 1.5rem;
    }

    .products-grid-42 {
        grid-template-columns: 1fr;
    }

    .timer-box h2 {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-value {
        font-size: 2.5rem;
        min-width: 60px;
        padding: 0.75rem 0.25rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .countdown-separator {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-42-header {
        gap: 1.5rem;
    }

    /* FIX #3: Ukryj liczbę 42 na małym mobile */
    .hero-42-number {
        display: none;
    }

    .hero-42-photo {
        width: 120px;
        height: 120px;
        border: 3px solid var(--warmth-primary);
    }

    .hero-42 h1 {
        font-size: 2rem;
    }

    /* FIX #2: Cała sekcja MAKSYMALNIE szeroka na małym mobile */
    .products-42 {
        padding: 2.5rem 0.75rem;
    }

    /* FIX #2: Main hero card - MAKSYMALNA szerokość na małym mobile */
    .product-hero-card {
        padding: 1.5rem 0.75rem;
    }

    /* FIX #1: Badge jeszcze mniejszy na małym mobile */
    .product-badge-hero {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
        top: -12px;
        letter-spacing: 0.03em;
    }

    .product-hero-header-section {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .product-hero-content h2 {
        font-size: 1.75rem;
    }

    .product-hero-desc {
        font-size: 1rem;
        line-height: 1.5;
    }

    .price-box {
        padding: 1.5rem 1.25rem;
    }

    .price-box-value {
        font-size: 2.5rem;
    }

    .package-title {
        font-size: 1rem;
    }

    /* FIXED: Mobile package item - cena obok nazwy, nie pod! */
    .package-item {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .package-item-content {
        flex: 1;
        min-width: 0;
    }

    .package-item-name {
        font-size: 0.9375rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .package-item-name a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .package-item-meta {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .package-item-price {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--warmth-primary);
        text-align: right;
        padding: 0;
        margin: 0;
        align-self: flex-end;
    }

    /* Bonus item with lots of text */
    .package-item[style*="border-left"] {
        padding: 1rem;
    }

    .package-item[style*="border-left"] .package-item-meta {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .package-item[style*="border-left"] .package-item-meta div {
        margin-bottom: 0.5rem;
    }

    .package-total-value {
        font-size: 1.5rem;
    }

    .product-card-header h3 {
        font-size: 1.5rem;
    }

    /* FIX #2: Timer ZAWSZE w 1 linii - nowrap + mniejsze fonty */
    .countdown {
        gap: 0.15rem;
        flex-wrap: nowrap;
    }

    .countdown-value {
        font-size: 1.75rem;
        min-width: 45px;
        padding: 0.5rem 0.2rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
        margin: 0;
    }
}

/* ==========================================================================
   ROADMAP MODAL - 4-MIESIĘCZNA TRANSFORMACJA
   ========================================================================== */

/* Modal Overlay */
.roadmap-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 38, 37, 0.92);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

/* Modal Container */
.roadmap-modal-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-strong);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s var(--ease-organic);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.roadmap-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--warmth-cream);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--warmth-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease-organic);
    line-height: 1;
}

.roadmap-modal-close:hover {
    background: var(--warmth-primary);
    color: white;
    transform: rotate(90deg);
}

/* Modal Header */
.roadmap-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--warmth-secondary);
}

.roadmap-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--warmth-charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.roadmap-modal-subtitle {
    font-size: 1.25rem;
    color: var(--warmth-primary);
    font-weight: 600;
    margin: 0;
}

/* Overview */
.roadmap-overview {
    margin: 2rem 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.roadmap-overview-item {
    background: var(--warmth-cream);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(232, 180, 143, 0.7);
    box-shadow: var(--shadow-light);
}

.roadmap-overview-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(44, 38, 37, 0.7);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.roadmap-overview-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--warmth-charcoal);
}

/* Path */
.roadmap-path {
    position: relative;
    margin-top: 2rem;
    padding-top: 0.5rem;
}

.roadmap-path-line {
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-image: repeating-linear-gradient(
        to bottom,
        #E8B48F,
        #E8B48F 8px,
        transparent 8px,
        transparent 16px
    );
    opacity: 0.6;
}

.roadmap-station {
    position: relative;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.roadmap-marker {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--warmth-primary);
    color: var(--warmth-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
    z-index: 1;
    margin-left: 0;
}

.roadmap-station-content {
    flex: 1;
    background: var(--warmth-cream);
    border-radius: 16px;
    border: 1px solid rgba(232, 180, 143, 0.4);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-light);
}

.roadmap-station-time {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(44, 38, 37, 0.7);
    margin: 0 0 0.4rem 0;
    font-weight: 600;
}

.roadmap-station-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--warmth-charcoal);
    margin: 0;
}

.roadmap-station-details {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.roadmap-list-block span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(44, 38, 37, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.roadmap-list-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.roadmap-list-block li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--warmth-charcoal);
}

.roadmap-list-block li:before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--warmth-primary);
    font-size: 0.9rem;
    top: 0.15rem;
}

.roadmap-list-block p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--warmth-charcoal);
}

.roadmap-station-result .roadmap-station-content {
    background: linear-gradient(135deg, #FBF7F2 0%, rgba(232, 180, 143, 0.35) 100%);
    border-color: rgba(232, 180, 143, 0.8);
}

/* Modal CTA */
.roadmap-modal-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--warmth-secondary);
}

.roadmap-modal-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    background: var(--warmth-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s var(--ease-organic);
    border: 2px solid var(--warmth-primary);
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
}

.roadmap-modal-cta .btn:hover {
    background: var(--warmth-charcoal);
    border-color: var(--warmth-charcoal);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.roadmap-modal-timer {
    font-size: 0.9375rem;
    color: var(--warmth-charcoal);
    margin: 0;
    font-weight: 500;
}

/* Responsive Design - Modal */
@media (max-width: 768px) {
    /* MOBILE FIX: Overlay scrolluje, NIE container! */
    .roadmap-modal-overlay {
        padding: 0;
        align-items: flex-start;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    /* MOBILE FIX: Container pełnoekranowy, BEZ overflow */
    .roadmap-modal-container {
        padding: 4rem 1.5rem 2rem;
        max-height: none;
        min-height: 100vh;
        overflow-y: visible;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* Modal header - margin od góry dla fixed close button */
    .roadmap-modal-header {
        padding-right: 3rem;
        margin-top: 0;
    }

    .roadmap-modal-header h2 {
        font-size: 1.875rem;
        line-height: 1.3;
    }

    .roadmap-modal-subtitle {
        font-size: 1.125rem;
    }

    /* Close button FIXED position - zawsze widoczny */
    .roadmap-modal-close {
        position: fixed;
        width: 44px;
        height: 44px;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        z-index: 10001;
        background: var(--warmth-primary);
        color: white;
    }

    .roadmap-overview {
        grid-template-columns: 1fr;
    }

    .roadmap-path-line {
        display: none;
    }

    .roadmap-station {
        flex-direction: column;
        gap: 0.75rem;
    }

    .roadmap-marker {
        width: 44px;
        height: 44px;
    }

    .roadmap-station-details {
        grid-template-columns: 1fr;
    }

    .roadmap-modal-cta .btn {
        width: 100%;
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    /* MOBILE FIX: Container mniejszy padding na small mobile */
    .roadmap-modal-container {
        padding: 4rem 1rem 2rem;
    }

    /* Modal header - mniejszy na small mobile */
    .roadmap-modal-header {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
        padding-right: 3.5rem;
    }

    .roadmap-modal-header h2 {
        font-size: 1.625rem;
        line-height: 1.3;
    }

    /* Close button DUŻY i widoczny na small mobile */
    .roadmap-modal-close {
        width: 50px;
        height: 50px;
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
    }

    .roadmap-overview-item {
        padding: 0.875rem 1rem;
    }

    .roadmap-station-content h3 {
        font-size: 1.375rem;
    }
}
/* ==========================================================================
   TOOLTIP (Asystent AI info)
   ========================================================================== */

.tooltip-trigger {
    position: relative;
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--warmth-primary);
    color: var(--warmth-charcoal);
}

.tooltip-trigger::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    width: max-content;
    max-width: 280px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.tooltip-trigger::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.tooltip-trigger:hover::before,
.tooltip-trigger:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
    .tooltip-trigger::before {
        max-width: 220px;
        font-size: 0.8125rem;
        padding: 0.625rem 0.875rem;
    }
}
