/* ===========================================
   BUYBACK / SKUP SECTION STYLES
   =========================================== */
.buyback-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #0d0d15 50%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.buyback-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.03) 0%, transparent 40%);
    animation: buybackBgPulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes buybackBgPulse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, -2%) rotate(5deg); }
}

.buyback-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.buyback-calculator {
    background: linear-gradient(145deg, rgba(26, 26, 38, 0.95), rgba(18, 18, 26, 0.95));
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.buyback-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00f0ff, #ff00ff, #00f0ff);
    background-size: 200% 100%;
    animation: buybackGradientFlow 3s linear infinite;
}

@keyframes buybackGradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.buyback-calculator h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
}

.buyback-calculator h3 i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 255, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.buyback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.buyback-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.buyback-field label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    margin-right: 10px;
}

.buyback-field select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.buyback-field select:hover {
    border-color: rgba(0, 240, 255, 0.4);
}

.buyback-field select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.buyback-field select option {
    background: #12121a;
    color: var(--color-text);
    padding: 15px;
}

.buyback-result {
    margin-top: 25px;
    animation: buybackResultSlide 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes buybackResultSlide {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.buyback-price-box {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 255, 0.05));
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.buyback-price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 240, 255, 0.05) 50%, transparent 60%);
    animation: buybackPriceShine 3s linear infinite;
}

@keyframes buybackPriceShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.buyback-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.buyback-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00f0ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.buyback-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
}

.buyback-submit {
    margin-top: 20px;
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buyback-submit::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 ease;
}

.buyback-submit:hover::before {
    left: 100%;
}

.buyback-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.buyback-submit i {
    font-size: 1.4rem;
}

.buyback-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.buyback-info h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
}

.buyback-info h3 i {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.buyback-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.buyback-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(26, 26, 38, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buyback-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00f0ff, #ff00ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.buyback-step:hover {
    background: rgba(26, 26, 38, 0.9);
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateX(5px);
}

.buyback-step:hover::before {
    opacity: 1;
}

.step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #00f0ff, #0080ff);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0a0a0f;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
    text-shadow: none;
}

.buyback-step:hover .step-num {
    background: linear-gradient(135deg, #ff00ff, #00f0ff);
    color: #0a0a0f;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 0, 255, 0.5);
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-text);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.buyback-benefits {
    background: linear-gradient(145deg, rgba(0, 240, 255, 0.05), rgba(255, 0, 255, 0.02));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.buyback-benefits h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
}

.buyback-benefits h4 i {
    color: #00ff88;
    font-size: 1.2rem;
}

.buyback-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.buyback-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding: 8px 0;
}

.buyback-benefits li::before {
    content: '\2713';
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 240, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #00ff88;
    font-weight: 700;
}

@media (max-width: 992px) {
    .buyback-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .buyback-calculator {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .buyback-section {
        padding: 60px 0;
    }
    .buyback-calculator {
        padding: 25px 20px;
        border-radius: 16px;
    }
    .buyback-calculator h3 {
        font-size: 1.2rem;
    }
    .buyback-calculator h3 i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .buyback-field select {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    .buyback-price-box {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px;
    }
    .buyback-price {
        font-size: 1.6rem;
    }
    .buyback-step {
        padding: 15px;
    }
    .step-num {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }
    .buyback-benefits ul {
        grid-template-columns: 1fr;
    }
}
