.pricing-section {
    background: linear-gradient(to bottom, #080122, #0c0127);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--color-white);
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.pricing-header h2 {
    font-size: 3rem;
    font-weight: var(--font-medium);
    margin-bottom: 20px;
    color: var(--color-white);
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.toggle-group {
    background: rgba(8, 1, 34, 0.6);
    border-radius: 30px;
    padding: 5px;
    display: inline-flex;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: fit-content;
}

.toggle-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border-radius: 25px;
    transition: all 0.3s ease;
    opacity: 0.7;
    min-width: 120px;
    text-align: center; 
}

.toggle-btn.active {
    opacity: 1;
    font-weight: var(--font-medium);
}

.toggle-indicator {
    position: absolute;
    height: calc(100% - 10px);
    top: 5px;
    border-radius: 25px;
    background: linear-gradient(45deg, #9932CC, #CD56FF);
    box-shadow: 0 2px 10px rgba(205, 86, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    width: 120px; 
    left: 5px;
}

body.show-resell .toggle-indicator {
    transform: translateX(120px);
}

body.show-landed .toggle-indicator {
    transform: translateX(245px);
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: rgba(8, 1, 34, 0.8);
    border-radius: 16px;
    overflow: hidden;
    width: 350px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(205, 86, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(205, 86, 255, 0.1);
}

.pricing-card.popular {
    border: 1px solid rgba(205, 86, 255, 0.5);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #CD56FF, #9932CC);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: var(--font-semibold);
}

.pricing-card-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(205, 86, 255, 0.1);
    border-radius: 50%;
    padding: 20px;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: var(--font-semibold);
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-height: 40px;
}

.pricing-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: none; 
}

.price.retail-price {
    display: block;
}

.resell-price {
    color: rgba(205, 86, 255, 0.9);
}

.landed-price {
    color: rgba(59, 244, 251, 0.9);
}

body.show-resell .retail-price {
    display: none;
}

body.show-resell .resell-price {
    display: block;
}

body.show-landed .retail-price,
body.show-landed .resell-price {
    display: none;
}

body.show-landed .landed-price {
    display: block;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #CD56FF;
    font-weight: var(--font-bold);
}

.pricing-features li.removed {
    text-decoration: line-through;
    opacity: 0.7;
}
.pricing-features li.removed::before {
    content: "✗";
    color: #ff4d6d;
}
.pricing-features li strong {
    color: #CD56FF;
}

.pricing-card-footer {
    padding: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, rgba(205, 86, 255, 0.2), rgba(205, 86, 255, 0.4));
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    border: 1px solid rgba(205, 86, 255, 0.5);
}

.pricing-button:hover {
    background: linear-gradient(45deg, rgba(205, 86, 255, 0.4), rgba(205, 86, 255, 0.7));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(205, 86, 255, 0.3);
}

.pricing-card.add-ons .pricing-card-body {
    padding-top: 20px;
}

.addon-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(8, 1, 34, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.addon-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: var(--font-medium);
}

.addon-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.addon-price {
    font-size: 1.3rem;
    font-weight: var(--font-semibold);
}

.addon-price span {
    display: none;
}

.addon-price .retail-price {
    display: block;
}

body.show-resell .addon-price .retail-price {
    display: none;
}

body.show-resell .addon-price .resell-price {
    display: block;
}

body.show-landed .addon-price .retail-price,
body.show-landed .addon-price .resell-price {
    display: none;
}

body.show-landed .addon-price .landed-price {
    display: block;
}

.pricing-notes {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-notes p {
    margin-bottom: 5px;
}

@media (max-width: 1100px) {
    .pricing-container {
        padding: 0 30px;
    }
    
    .pricing-card {
        width: calc(50% - 15px);
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: scale(1.02);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1.02) translateY(-10px);
    }
    
    .toggle-btn {
        padding: 10px 15px;
        min-width: 110px; 
    }
    
    .toggle-indicator {
        width: 110px; 
    }
    
    body.show-resell .toggle-indicator {
        transform: translateX(110px);
    }
    
    body.show-landed .toggle-indicator {
        transform: translateX(225px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 80px 0;
    }
    
    .pricing-header h2 {
        font-size: 2.2rem;
    }
    
    .pricing-card {
        width: 100%;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .price {
        font-size: 2.2rem;
    }
    
    .toggle-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
        min-width: 95px; 
    }
    
    .toggle-indicator {
        width: 95px;
    }
    
    body.show-resell .toggle-indicator {
        transform: translateX(95px);
    }
    
    body.show-landed .toggle-indicator {
        transform: translateX(195px);
    }
}

@media (max-width: 480px) {
    .pricing-header h2 {
        font-size: 2rem;
    }
    
    .pricing-subtitle {
        font-size: 1rem;
    }
    
    .pricing-card-header,
    .pricing-card-body,
    .pricing-card-footer {
        padding: 20px;
    }
    
    .pricing-icon {
        width: 70px;
        height: 70px;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .toggle-group {
        padding: 3px;
    }
    
    .toggle-btn {
        padding: 8px 5px; 
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .toggle-indicator {
        width: 80px; 
        height: calc(100% - 6px);
        top: 3px;
    }
    
    body.show-resell .toggle-indicator {
        transform: translateX(80px);
    }
    
    body.show-landed .toggle-indicator {
        transform: translateX(160px);
    }
}