@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 3px rgba(0, 255, 255, 0.3), 0 0 6px rgba(0, 255, 255, 0.2), 0 0 9px rgba(0, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 0 0 10px rgba(0, 255, 255, 0.4), 0 0 15px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 3px rgba(0, 255, 255, 0.3), 0 0 6px rgba(0, 255, 255, 0.2), 0 0 9px rgba(0, 255, 255, 0.1);
    }
}
@keyframes textGlow {
    0% { text-shadow: 0 0 2px rgba(0, 255, 255, 0.5), 0 0 3px rgba(0, 255, 255, 0.3); }
    50% { text-shadow: 0 0 3px rgba(0, 255, 255, 0.7), 0 0 5px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 2px rgba(0, 255, 255, 0.5), 0 0 3px rgba(0, 255, 255, 0.3); }
}

/* Upewnij się, że te style nie kolidują z globalnym style.css lub dodaj bardziej specyficzne selektory, np. #pricing .config-section */
body.configurator-active, #pricing { /* Stosuj do body jeśli konfigurator jest główną częścią lub do sekcji #pricing */
    font-family: 'Inter', sans-serif;
    /* background-color: #0d1117; Tło już jest zdefiniowane w style.css */
    /* color: #c9d1d9; Kolor tekstu może być dziedziczony lub zdefiniowany w style.css */
}

#pricing .config-section {
    background-color: #161b22;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #30363d;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.07), 0 0 20px rgba(0, 191, 255, 0.03);
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    #pricing .config-section {
        padding: 2.5rem;
        margin-bottom: 2rem;
    }
}

#pricing .monthly-price-display-container {
    background: linear-gradient(135deg, #0d1117, #161b22);
    border: 2px solid #00aaff;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.25), inset 0 0 8px rgba(0,170,255,0.15);
}
 @media (min-width: 640px) {
    #pricing .monthly-price-display-container {
         padding: 1.5rem;
    }
}
#pricing .price-original {
    font-size: 1rem;
    color: #6b7280;
    text-decoration: line-through;
    margin-right: 0.3rem;
    display: inline-block;
    text-shadow: none;
}
#pricing .price-discount-badge {
    background-color: #39ff14;
    color: #0d1117;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.3rem;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
}
#pricing .price-brutto {
    color: #00ffff;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-shadow: 0 0 3px #00ffff, 0 0 6px rgba(0, 255, 255, 0.5);
    display: inline-block;
}
#pricing .price-netto {
    color: #88ddff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 1px rgba(0, 220, 255, 0.4);
    display: inline-block;
}
 @media (min-width: 640px) {
    #pricing .price-original { font-size: 1.1rem; }
    #pricing .price-discount-badge { font-size: 0.9rem; padding: 0.25rem 0.75rem; }
    #pricing .price-brutto { font-size: 2rem; }
    #pricing .price-netto { font-size: 1.3rem; }
}

#pricing .price-line {
    margin-bottom: 0.5rem;
    min-height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#pricing .price-label {
    font-size: 0.8rem;
    color: #77aabb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
 @media (min-width: 640px) {
    #pricing .price-label { font-size: 0.85rem; }
}

#pricing .info-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
}
#pricing .info-icon {
    cursor: help;
    color: #00aaff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    z-index: 2;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 170, 255, 0.1);
}
#pricing .info-icon:hover {
    color: #00ffff;
    text-shadow: 0 0 3px #00ffff;
    background: rgba(0, 255, 255, 0.2);
}
#pricing .custom-tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(5px);
    color: #c9d1d9;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #00aaff;
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.3);
    font-size: 0.875rem;
    line-height: 1.4;
    width: max-content;
    max-width: 280px;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

#pricing .info-icon-wrapper:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

#pricing .custom-tooltip::after {
    content: '';
    position: absolute;
    border-width: 6px;
    border-style: solid;
    border-color: transparent;
}

#pricing .custom-tooltip[style*="--arrow-position: top"]::after {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-color: transparent transparent #00aaff transparent;
}

#pricing .custom-tooltip[style*="--arrow-position: bottom"]::after {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-color: #00aaff transparent transparent transparent;
}

#pricing .custom-checkbox input[type="checkbox"] { display: none; }
#pricing .custom-checkbox label {
    position: relative; cursor: pointer; user-select: none; display: flex; align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #30363d; border-radius: 0.75rem;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-weight: 500; color: #88ddff; background-color: rgba(0, 100, 150, 0.1);
}
 @media (min-width: 640px) {
    #pricing .custom-checkbox label { padding: 0.875rem 1.25rem; }
}
#pricing .custom-checkbox label .addon-price-details {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255);
    margin-top: 0.25rem;
}
#pricing .custom-checkbox label:hover {
    background-color: rgba(0, 170, 255, 0.15); border-color: #00aaff;
    box-shadow: 0 0 3px rgba(0, 170, 255, 0.2);
}
#pricing .custom-checkbox input[type="checkbox"]:checked + label {
    background-color: rgba(0, 220, 255, 0.2); border-color: #00ffff;
    color: #ffffff; font-weight: 600; box-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
}
#pricing .custom-checkbox input[type="checkbox"]:checked + label .addon-price-details {
    color: #a0aec0;
}
#pricing .custom-checkbox label:before {
    content: ""; height: 18px; width: 18px;
    border: 2px solid #00aaff;
    border-radius: 0.25rem;
    background-color: transparent; margin-right: 10px;
    transition: border-color 0.2s, background-color 0.2s; flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}
#pricing .custom-checkbox input[type="checkbox"]:checked + label:before {
    background-color: #00ffff; border-color: #00ffff; box-shadow: 0 0 3px #00ffff;
}

#pricing .option-button-group {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    #pricing .option-button-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

#pricing .option-btn {
    transition: all 0.3s ease-in-out;
    border: 1px solid #00aaff;
    background-color: rgba(0, 170, 255, 0.1);
    color: #88ddff;
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    text-shadow: 0 0 2px rgba(0, 220, 255, 0.4);
    cursor: pointer;
    text-align: center;
}
 @media (min-width: 640px) {
    #pricing .option-btn { padding: 0.85rem 1rem; font-size: 1rem; }
}
#pricing .option-btn:hover {
    border-color: #00ffff;
    background-color: rgba(0, 220, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5), 0 0 12px rgba(0, 255, 255, 0.3);
}
#pricing .option-btn.selected {
    border-color: #00ffff;
    background-color: #0077cc;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, inset 0 0 5px rgba(255,255,255,0.3);
}


#pricing .section-title2 {
    font-size: 1.75rem;
    font-weight: 700; color: #ffffff; margin-bottom: 1.25rem;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.4), 0 0 5px rgba(0, 255, 255, 0.2);
}
#pricing .main-title {
    font-size: 2.2rem;
    font-weight: 800; color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6), 0 0 8px rgba(0, 255, 255, 0.4), 0 0 12px rgba(0, 255, 255, 0.2);
    animation: textGlow 3s infinite alternate ease-in-out;
}
#pricing .subtitle {
    font-size: 1.1rem;
    color: #88ddff;
    text-shadow: 0 0 2px rgba(0, 220, 255, 0.4);
}
 @media (min-width: 640px) {
    #pricing .section-title { font-size: 2rem; margin-bottom: 1.5rem;}
    #pricing .main-title { font-size: 2.8rem; }
    #pricing .subtitle { font-size: 1.25rem; }
}

#pricing #summary-details {
    border: 1px solid #0077cc;
    border-radius: 0.75rem;
    padding: 1rem;
    background-color: rgba(0, 50, 80, 0.1);
}
 @media (min-width: 640px) {
    #pricing #summary-details { padding: 1.5rem; }
}
#pricing #summary-details .summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 3px #00ffff;
    margin-bottom: 1rem;
    text-align: center;
}
 @media (min-width: 640px) {
    #pricing #summary-details .summary-title { font-size: 1.5rem; margin-bottom: 1.25rem;}
}
#pricing .summary-grid {
    display: grid;
    gap: 0.75rem;
}
 @media (min-width: 640px) {
    #pricing .summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}
#pricing .summary-item {
    background-color: #1f2937;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #30363d;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-image: linear-gradient(to bottom right, rgba(0,255,255,0.3), rgba(0,100,150,0.1)) 1;
    border-left: 3px solid #00aaff;
}
 @media (min-width: 640px) {
    #pricing .summary-item { padding: 1.5rem; border-left-width: 4px; }
}
#pricing .summary-item:hover {
    background-color: #2b3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 170, 255, 0.15);
}
#pricing .summary-item-label {
    font-weight: 500;
    color: #88ddff;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}
 @media (min-width: 640px) {
    #pricing .summary-item-label { font-size: 1rem; margin-bottom: 0.5rem; }
}
#pricing .summary-item-label i {
    margin-right: 0.5rem;
    color: #00aaff;
    width: 1.1em;
    text-shadow: 0 0 2px #00aaff;
}
#pricing .summary-item-value {
    font-weight: 600;
    color: #e0e7ff;
    font-size: 1rem;
    word-break: break-word;
    text-shadow: 0 0 1px rgba(224, 231, 255, 0.2);
}
 @media (min-width: 640px) {
    #pricing .summary-item-value { font-size: 1.25rem; }
}
#pricing .summary-addon-list {
    padding-left: 0;
    font-size: 0.8rem;
    color: #77aabb;
    list-style-type: none;
    margin-top: 0.3rem;
}
 @media (min-width: 640px) {
    #pricing .summary-addon-list { font-size: 0.9rem; margin-top: 0.5rem;}
}
 #pricing .summary-addon-list li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1rem;
    border-top: 1px dashed rgba(0, 170, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#pricing .summary-addon-list li:first-child {
    border-top: none;
}
#pricing .summary-addon-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #00ffff;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 3px #00ffff, 0 0 5px rgba(0,255,255,0.4);
}
#pricing .summary-addon-list .addon-name {
    flex-grow: 1;
}
#pricing .summary-addon-list .addon-monthly-price {
    color: rgba(255, 255, 255);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

#pricing #form-trigger-button {
    background-image: linear-gradient(to right, #0077cc, #00aaff); color: white;
    font-weight: bold; padding: 0.8rem 2rem; border-radius: 0.75rem;
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.5), 0 0 15px rgba(0, 170, 255, 0.3), inset 0 0 4px rgba(255,255,255,0.15);
    transition: all 0.3s ease-in-out; text-transform: uppercase; letter-spacing: 0.1em;
    border: 2px solid #00aaff;
    text-shadow: 0 0 2px rgba(0,0,0,0.2);
    font-size: 1rem;
}
 @media (min-width: 640px) {
    #pricing #form-trigger-button { padding: 1rem 2.5rem; font-size: 1.125rem; }
}
#pricing #form-trigger-button:hover {
    background-image: linear-gradient(to right, #00aaff, #00ddff);
    box-shadow: 0 0 12px rgba(0, 220, 255, 0.6), 0 0 20px rgba(0, 220, 255, 0.4), inset 0 0 6px rgba(255,255,255,0.2);
    transform: translateY(-2px) scale(1.05);
}
#pricing #confirmation-message { color: #39ff14; text-shadow: 0 0 3px #39ff14; }

#order-modal.modal-overlay { /* Styl dla modala konfiguratora, jeśli jest inny od globalnego modal-overlay */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 25, 50, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Wyższy z-index niż LED border */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 1rem;
}
#order-modal.modal-overlay.active {
    display: flex;
    opacity: 1;
}
#order-modal .modal-content {
    background-color: #161b22;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #00aaff;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.3), 0 0 40px rgba(0, 170, 255, 0.2);
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}
 @media (min-width: 640px) {
    #order-modal .modal-content { padding: 2.5rem; max-width: 600px; }
}
#order-modal.modal-overlay.active .modal-content {
    transform: scale(1);
}
#order-modal .modal-content h2 {
    color: #00ffff;
    text-shadow: 0 0 4px #00ffff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}
 @media (min-width: 640px) {
    #order-modal .modal-content h2 { font-size: 1.75rem; margin-bottom: 1.5rem;}
}
#order-modal .modal-close-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.8rem;
    color: #00aaff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
#order-modal .modal-close-button:hover {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}
#order-modal .form-group { margin-bottom: 0.75rem; }
#order-modal .form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    color: #88ddff;
    font-size: 0.9rem;
}
#order-modal .form-group input[type="text"],
#order-modal .form-group input[type="email"],
#order-modal .form-group input[type="tel"],
#order-modal .form-group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #30363d;
    border-radius: 0.5rem;
    background-color: #0d1117;
    color: #c9d1d9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    font-size: 0.9rem;
}
#order-modal .form-group input[type="text"]:focus,
#order-modal .form-group input[type="email"]:focus,
#order-modal .form-group input[type="tel"]:focus,
#order-modal .form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2), inset 0 1px 3px rgba(0,0,0,0.3);
}
 #order-modal .form-group textarea {
    min-height: 70px;
    resize: vertical;
}
#order-modal .modal-submit-button {
    width: 100%;
    background-image: linear-gradient(to right, #00aaff, #00ddff);
    color: #0d1117;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    box-shadow: 0 0 8px rgba(0,221,255,0.6);
    font-size: 0.9rem;
}
#order-modal .modal-submit-button:hover {
    background-image: linear-gradient(to right, #00ddff, #39ff14);
    color: #0d1117;
    box-shadow: 0 0 12px rgba(0,221,255,0.8), 0 0 15px rgba(57,255,20,0.5);
    transform: translateY(-1px);
}
#order-modal .form-error {
    color: #f72585;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}
#film-option-warning-box { /* Ten element jest częścią konfiguratora, więc może być ostylowany tutaj */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background-color: #1e293b;
    color: #f87171;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #f87171;
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.2);
    z-index: 10001; /* Wyżej niż modal */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
#film-option-warning-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


@media (max-width: 768px) {
    #pricing .option-button-group { flex-direction: column; }
    #pricing .option-btn { width: 100%; margin-bottom: 0.5rem;}
    #pricing .custom-tooltip {
        max-width: 250px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    #pricing .info-icon {
        width: 22px;
        height: 22px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #pricing .custom-tooltip {
        max-width: 220px;
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }
}

@media (max-width: 640px) {
    #pricing .custom-checkbox label .addon-price-details {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
        font-size: 0.75rem;
    }
    
    #pricing .custom-checkbox label {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    #pricing .summary-addon-list .addon-monthly-price {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
        font-size: 0.75rem;
    }
    
    #pricing .summary-addon-list li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
    }
}