.wcb-courses-section {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wcb-theme-dark {
    background-color: hsl(220, 13%, 18%);
    color: hsl(220, 9%, 85%);
}

.wcb-theme-light {
    background-color: #f8fafc;
    color: #1e293b;
}

.wcb-background-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wcb-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.wcb-theme-dark .wcb-bg-circle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: hsla(217, 91%, 60%, 0.1);
}

.wcb-theme-dark .wcb-bg-circle-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: hsla(215, 25%, 27%, 0.1);
}

.wcb-theme-light .wcb-bg-circle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(59, 130, 246, 0.08);
}

.wcb-theme-light .wcb-bg-circle-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(148, 163, 184, 0.1);
}

.wcb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.wcb-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wcb-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.wcb-theme-dark .wcb-title {
    color: hsl(220, 9%, 85%);
}

.wcb-theme-light .wcb-title {
    color: #1e293b;
}

@media (min-width: 768px) {
    .wcb-title {
        font-size: 2.25rem;
    }
}

.wcb-subtitle {
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.wcb-theme-dark .wcb-subtitle {
    color: hsl(220, 9%, 46%);
}

.wcb-theme-light .wcb-subtitle {
    color: #64748b;
}

.wcb-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.wcb-grid-single {
    grid-template-columns: 1fr;
    max-width: 28rem;
}

.wcb-grid-two {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .wcb-grid-two {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wcb-grid-multi {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .wcb-grid-multi {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .wcb-grid-multi {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wcb-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wcb-theme-dark .wcb-card {
    background-color: hsl(224, 15%, 22%);
    border: 1px solid hsl(215, 25%, 27%);
}

.wcb-theme-light .wcb-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.wcb-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.wcb-card-popular {
    border-width: 2px;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.2);
}

.wcb-card-popular:hover {
    transform: scale(1.05);
}

.wcb-product-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    border-bottom-left-radius: 0.5rem;
}

.wcb-badge-primary {
    background-color: #3b82f6;
}

.wcb-theme-dark .wcb-badge-secondary {
    background-color: hsl(215, 25%, 27%);
}

.wcb-theme-light .wcb-badge-secondary {
    background-color: #64748b;
}

.wcb-recommended {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #3b82f6;
}

.wcb-recommended svg {
    width: 16px;
    height: 16px;
}

.wcb-recommended span {
    font-size: 0.75rem;
    font-weight: 500;
}

.wcb-card-header {
    padding: 1.5rem;
    padding-bottom: 1rem;
    text-align: center;
}

.wcb-product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.wcb-theme-dark .wcb-product-name {
    color: hsl(220, 9%, 85%);
}

.wcb-theme-light .wcb-product-name {
    color: #1e293b;
}

.wcb-product-description {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.wcb-theme-dark .wcb-product-description {
    color: hsl(220, 9%, 46%);
}

.wcb-theme-light .wcb-product-description {
    color: #64748b;
}

.wcb-price-block {
    margin-top: 1rem;
}

.wcb-original-price {
    font-size: 1.125rem;
    text-decoration: line-through;
}

.wcb-theme-dark .wcb-original-price {
    color: hsl(220, 9%, 46%);
}

.wcb-theme-light .wcb-original-price {
    color: #94a3b8;
}

.wcb-current-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wcb-price-amount {
    font-size: 2.25rem;
    font-weight: 700;
}

.wcb-theme-dark .wcb-price-amount {
    color: hsl(220, 9%, 85%);
}

.wcb-theme-light .wcb-price-amount {
    color: #1e293b;
}

.wcb-card-content {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wcb-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.wcb-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.wcb-check {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.wcb-check-primary {
    color: #3b82f6;
}

.wcb-theme-dark .wcb-check-secondary {
    color: hsl(215, 25%, 45%);
}

.wcb-theme-light .wcb-check-secondary {
    color: #64748b;
}

.wcb-feature-item span {
    font-size: 0.875rem;
    line-height: 1.5;
}

.wcb-theme-dark .wcb-feature-item span {
    color: hsl(220, 9%, 85%);
}

.wcb-theme-light .wcb-feature-item span {
    color: #475569;
}

.wcb-button-wrapper {
    margin-top: auto;
}

.wcb-add-to-cart-btn {
    width: 100%;
    height: 3rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #3b82f6;
    color: white;
}

.wcb-add-to-cart-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.wcb-add-to-cart-btn.wcb-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.wcb-add-to-cart-btn.wcb-success {
    background-color: #22c55e !important;
}

.wcb-loading {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.125rem;
}

.wcb-theme-dark .wcb-loading,
.wcb-loading {
    color: hsl(220, 9%, 46%);
}

.wcb-error {
    text-align: center;
    padding: 4rem 2rem;
    color: #ef4444;
    font-size: 1.125rem;
}

.wcb-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.wcb-loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: wcb-spin 0.8s linear infinite;
}

@keyframes wcb-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .wcb-courses-section {
        padding: 1.5rem 0;
    }
    
    .wcb-container {
        padding: 0 1rem;
    }
    
    .wcb-header {
        margin-bottom: 2rem;
    }
    
    .wcb-title {
        font-size: 1.5rem;
    }
    
    .wcb-subtitle {
        font-size: 1rem;
    }
    
    .wcb-price-amount {
        font-size: 1.875rem;
    }
}

/* Price Slider Styles */
.wcb-price-slider-block {
    text-align: center;
}

.wcb-slider-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.wcb-slider-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.wcb-theme-dark .wcb-slider-currency {
    color: #22d3ee;
}

.wcb-theme-light .wcb-slider-currency {
    color: #0891b2;
}

.wcb-slider-price-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.wcb-theme-dark .wcb-slider-price-value {
    color: #22d3ee;
}

.wcb-theme-light .wcb-slider-price-value {
    color: #0891b2;
}

.wcb-slider-unit {
    font-size: 1rem;
    opacity: 0.7;
}

.wcb-slider-benefit {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.wcb-theme-dark .wcb-slider-benefit {
    color: #22d3ee;
}

.wcb-theme-light .wcb-slider-benefit {
    color: #0891b2;
}

.wcb-slider-container {
    padding: 0.5rem 0;
}

.wcb-slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.wcb-slider-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.wcb-theme-dark .wcb-slider-label {
    color: #94a3b8;
}

.wcb-theme-light .wcb-slider-label {
    color: #64748b;
}

.wcb-slider-input {
    width: 80px;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid;
    -moz-appearance: textfield;
}

.wcb-slider-input::-webkit-outer-spin-button,
.wcb-slider-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wcb-theme-dark .wcb-slider-input {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.wcb-theme-light .wcb-slider-input {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #1e293b;
}

.wcb-slider-wrapper {
    position: relative;
}

.wcb-price-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    --slider-percent: 0%;
}

.wcb-theme-dark .wcb-price-slider {
    background: linear-gradient(to right, #22d3ee 0%, #22d3ee var(--slider-percent), #334155 var(--slider-percent), #334155 100%);
}

.wcb-theme-light .wcb-price-slider {
    background: linear-gradient(to right, #0891b2 0%, #0891b2 var(--slider-percent), #e2e8f0 var(--slider-percent), #e2e8f0 100%);
}

.wcb-price-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #22d3ee var(--slider-progress, 0%), #334155 var(--slider-progress, 0%));
}

.wcb-theme-light .wcb-price-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #0891b2 var(--slider-progress, 0%), #e2e8f0 var(--slider-progress, 0%));
}

.wcb-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -8px;
    position: relative;
    z-index: 2;
}

.wcb-theme-dark .wcb-price-slider::-webkit-slider-thumb {
    background: #22d3ee;
}

.wcb-theme-light .wcb-price-slider::-webkit-slider-thumb {
    background: #0891b2;
}

.wcb-price-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: #334155;
}

.wcb-theme-light .wcb-price-slider::-moz-range-track {
    background: #e2e8f0;
}

.wcb-price-slider::-moz-range-progress {
    height: 8px;
    border-radius: 4px;
    background: #22d3ee;
}

.wcb-theme-light .wcb-price-slider::-moz-range-progress {
    background: #0891b2;
}

.wcb-price-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.wcb-theme-dark .wcb-price-slider::-moz-range-thumb {
    background: #22d3ee;
}

.wcb-theme-light .wcb-price-slider::-moz-range-thumb {
    background: #0891b2;
}

.wcb-slider-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.wcb-theme-dark .wcb-slider-range-labels {
    color: #64748b;
}

.wcb-theme-light .wcb-slider-range-labels {
    color: #94a3b8;
}

@media (max-width: 640px) {
    .wcb-slider-price-value {
        font-size: 2.5rem;
    }
    
    .wcb-slider-input {
        width: 70px;
        padding: 0.375rem 0.5rem;
    }
}

/* ========== HERO CARD STYLES ========== */

.wcb-hero {
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wcb-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.wcb-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 50%;
}

.wcb-hero-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
}

.wcb-hero-header {
    margin-bottom: 2rem;
}

.wcb-hero-title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}

.wcb-hero-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    margin: 0;
}

.wcb-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.wcb-hero-left {
    display: flex;
    flex-direction: column;
}

.wcb-hero-budget-label {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.wcb-hero-price-display {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.wcb-hero-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.wcb-hero-price-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.wcb-hero-price-unit {
    font-size: 1rem;
    opacity: 0.6;
    margin-left: 0.5rem;
}

.wcb-hero-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.wcb-hero-input-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

.wcb-hero-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.wcb-hero-input-currency {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-right: 0.25rem;
}

.wcb-hero-input {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1rem;
    font-weight: 600;
    width: 80px;
    text-align: right;
    outline: none;
    -moz-appearance: textfield;
}

.wcb-hero-input::-webkit-outer-spin-button,
.wcb-hero-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wcb-hero-input-hint {
    font-size: 0.75rem;
    opacity: 0.5;
}

.wcb-hero-slider-wrapper {
    margin-top: 0.5rem;
}

.wcb-hero-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.wcb-hero-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.wcb-hero-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #f472b6;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(244, 114, 182, 0.4);
    margin-top: -8px;
    position: relative;
    z-index: 2;
}

.wcb-hero-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.wcb-hero-slider::-moz-range-progress {
    height: 8px;
    border-radius: 4px;
    background: #f472b6;
}

.wcb-hero-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #f472b6;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(244, 114, 182, 0.4);
}

.wcb-hero-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 0.5rem;
}

.wcb-hero-right {
    display: flex;
    flex-direction: column;
}

.wcb-hero-you-get-label {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.wcb-hero-units-display {
    margin-bottom: 1.5rem;
}

.wcb-hero-units-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.wcb-hero-units-label {
    font-size: 1.25rem;
    opacity: 0.7;
}

.wcb-hero-benefits {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.wcb-hero-benefit-item {
    font-size: 0.875rem;
    padding: 0.375rem 0;
    opacity: 0.85;
}

.wcb-hero-benefit-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wcb-hero-button-wrapper {
    margin-bottom: 1rem;
}

.wcb-hero-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.wcb-hero-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.wcb-hero-footer {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

.wcb-hero-loading,
.wcb-hero-error {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
}

/* Hero Card Responsive */
@media (max-width: 768px) {
    .wcb-hero {
        padding: 2rem 1rem;
    }
    
    .wcb-hero-card {
        padding: 1.5rem;
    }
    
    .wcb-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wcb-hero-price-value,
    .wcb-hero-units-value {
        font-size: 2.5rem;
    }
    
    .wcb-hero-image {
        width: 120px;
        height: 120px;
    }
}
