/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.golden-square-list {
    list-style-type: none;
    padding-left: 50px;
}

.golden-square-list-element::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color:  rgba(var(--bs-gold-rgb),1);
    margin-right: 10px;
    border-radius: 5px;
}

.golden-square-small::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color:  rgba(var(--bs-gold-rgb),1);
    margin-right: 10px;
    border-radius: 5px;
}

.golden-square::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color:  rgba(var(--bs-gold-rgb),1);
    margin-right: 10px;
    border-radius: 5px;
}

.black-text {
    color: #000 !important;
}

/* =======================
   NOWA GŁÓWNA STRONA
   ======================= */

/* Hero Section */
.hero-section {
    background: #ffffff;
    color: #333;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-stats {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #6c757d;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.floating-card {
    position: absolute;
    top: -20px;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Floating background elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-shape 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float-shape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Course cards */
.course-card {
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.course-icon {
    text-align: center;
    padding: 1rem;
}

.course-features {
    list-style: none;
    padding: 0;
}

.course-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features i {
    width: 20px;
}

/* Benefit cards */
.benefit-card {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Testimonial cards */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 20px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-rating {
    color: #ffc107;
}

.testimonial-text {
    font-style: italic;
    color: #6c757d;
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid #f8f9fa;
    padding-top: 1rem;
}

/* FAQ Accordion */
.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: #333;
    padding: 1.5rem;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .floating-card {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Animation classes */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Hover effects */
.card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Custom colors */
.text-primary {
    color: #667eea !important;
}

.text-gold {
    color: rgba(var(--bs-gold-rgb),1) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    color: white;
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Złoty przycisk */
.btn-gold {
    background: rgba(var(--bs-gold-rgb),1) !important;
    border: 2px solid rgba(var(--bs-gold-rgb),1) !important;
    color: #000 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(var(--bs-gold-rgb),0.4);
}

.btn-gold:hover {
    background: rgba(var(--bs-gold-rgb),0.9) !important;
    border-color: rgba(var(--bs-gold-rgb),0.9) !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--bs-gold-rgb),0.6);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--bs-primary), #0056b3);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 106, 201, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, var(--bs-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 106, 201, 0.4);
}

.hero-buttons .btn-gold {
    background: linear-gradient(135deg, rgba(var(--bs-gold-rgb), 1), #ffed4e);
    color: #333;
    border: none;
    box-shadow: 0 4px 15px rgba(247, 195, 46, 0.3);
}

.hero-buttons .btn-gold:hover {
    background: linear-gradient(135deg, #ffed4e, rgba(var(--bs-gold-rgb), 1));
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 195, 46, 0.4);
}

/* Modern Pricing Cards */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card .card-header {
    position: relative;
    overflow: hidden;
}

.pricing-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #6f42c1 0%, #8e44ad 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, rgba(247, 195, 46, 1) 0%, #f39c12 100%);
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-display .currency {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.price-display .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-display .period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features li {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.pricing-features li:hover {
    transform: translateX(5px);
}

.pricing-features i {
    transition: all 0.3s ease;
}

.pricing-features li:hover i {
    transform: scale(1.2);
}

.popular-badge, .savings-badge {
    z-index: 10;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge {
    background: linear-gradient(135deg, #6f42c1 0%, #8e44ad 100%) !important;
    color: white !important;
}

.savings-badge {
    background: linear-gradient(135deg, rgba(247, 195, 46, 1) 0%, #f39c12 100%) !important;
    color: #333 !important;
}

/* Pricing card buttons */
.pricing-card .btn {
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.pricing-card .btn:hover::before {
    left: 100%;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive pricing */
@media (max-width: 768px) {
    .price-display .amount {
        font-size: 2.5rem;
    }
    
    .pricing-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .pricing-features li:hover {
        transform: translateX(3px);
    }
}

/* Price Summary */
.price-summary {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 66, 193, 0.1), transparent);
    transition: left 0.6s;
}

.price-summary:hover::before {
    left: 100%;
}

.price-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.15);
}

/* Enhanced pricing features */
.pricing-features li {
    position: relative;
    transition: all 0.3s ease;
}

/* Usunięto efekt zielonej kreski */

/* Card glow effects */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card:hover::after {
    opacity: 1;
}

/* Enhanced badges */
.popular-badge, .savings-badge {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Usunięto licznik funkcji */

.pricing-features li i {
    color: #6f42c1 !important;
    transition: all 0.3s ease;
}

.pricing-features li:hover i {
    color: rgba(247, 195, 46, 1) !important;
    transform: scale(1.1);
}

.pricing-features li .text-warning {
    color: rgba(247, 195, 46, 1) !important;
}

.pricing-features li .text-primary {
    color: #6f42c1 !important;
}

.pricing-features li .text-success {
    color: rgba(247, 195, 46, 1) !important;
}

.price-summary .text-primary {
    color: #6f42c1 !important;
}

.price-summary .text-success {
    color: rgba(247, 195, 46, 1) !important;
}

/* Info Cards - Najważniejsze informacje */
.info-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.info-card .card-header {
    position: relative;
    overflow: hidden;
}

.info-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.info-card .card-header i {
    transition: all 0.3s ease;
}

.info-card:hover .card-header i {
    transform: scale(1.1) rotate(5deg);
}

.info-card .card-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.info-card .card-body p {
    color: #6c757d;
    transition: color 0.3s ease;
}

.info-card:hover .card-body p {
    color: #495057;
}

/* Enhanced info card effects */
.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.05) 0%, transparent 50%, rgba(247, 195, 46, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.info-card:hover::after {
    opacity: 1;
}