.purchase-header {
    background: linear-gradient(135deg, #b039d6 0%, #8b2fc9 100%);
    color: white;
    padding: 18px 24px;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 8px rgba(176, 57, 214, 0.2);
    position: relative;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.back-btn:hover {
    color: #f0e6f6;
    text-decoration: none;
}

.purchase-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.purchase-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 8px 20px 100px;
    background: #fafafa;
    min-height: calc(100vh - 54px);
}

.phone-number-section {
    background: white;
    border-radius: 12px;
    padding: 12px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-info {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.phone-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.phone-value {
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

.change-link {
    color: #b039d6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.change-link:hover {
    text-decoration: underline;
}

.features-section {
    background: white;
    border-radius: 12px;
    padding: 2px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

.features-list li {
    padding: 6px 0;
    color: #444;
    font-size: 13px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

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

.features-list .icon {
    margin-right: 14px;
    font-size: 15px;
    font-weight: bold;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    color: #27ae60;
}

.icon-info {
    color: #5a9fd4;
    margin-right: 14px;
    font-size: 15px;
    font-weight: bold;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.questions-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 4px;
}

.questions-text {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.faq-link {
    color: #b039d6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

/* FAQ Modal Styles */
.faq-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.faq-modal {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.faq-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.faq-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.faq-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.2s ease;
}

.faq-close:hover {
    color: #333;
}

.faq-content {
    padding: 20px 28px 28px;
    overflow-y: auto;
    flex: 1;
}

.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    margin-bottom: 12px;
}

.faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    padding-left: 4px;
}

@media (max-width: 768px) {
    .faq-overlay {
        padding: 16px;
    }

    .faq-modal {
        max-height: 85vh;
        border-radius: 12px;
    }

    .faq-header {
        padding: 20px 20px;
    }

    .faq-header h3 {
        font-size: 18px;
    }

    .faq-close {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .faq-content {
        padding: 16px 20px 20px;
    }

    .faq-item {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer {
        font-size: 13px;
    }
}

.plans-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.plan-option {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.plan-option:has(> input[type="radio"]:checked) {
    border-color: #b039d6;
    border-width: 3px;
}

.plan-option:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-option input[type="radio"]:checked + label {
    background-color: transparent;
}

.plan-option input[type="radio"]:checked + label .radio-circle {
    border-color: #b039d6;
}

.plan-option input[type="radio"]:checked + label .radio-circle::after {
    opacity: 1;
}

.plan-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    margin: 0;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.plan-content {
    flex: 1;
}

.promo-label {
    color: #e63946;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}

.plan-price-text {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.save-badge {
    display: inline-block;
    background: #d4f4dd;
    color: #27ae60;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #b039d6;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-continue {
    background: linear-gradient(135deg, #b039d6 0%, #8b2fc9 100%);
    border: none;
    color: white;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    display: block;
    box-shadow: 0 4px 12px rgba(176, 57, 214, 0.3);
    margin-bottom: 14px;
}

.btn-continue:hover {
    background: linear-gradient(135deg, #9d2ec0 0%, #7628b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 57, 214, 0.4);
}

.terms-text {
    color: #777;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .purchase-body {
        padding: 20px 16px 80px;
    }

    .phone-number-section {
        padding: 14px 20px;
        margin-bottom: 12px;
    }

    .phone-label {
        font-size: 13px;
    }

    .phone-value {
        font-size: 13px;
    }

    .change-link {
        font-size: 13px;
    }

    .features-section {
        padding: 14px 20px;
        margin-bottom: 12px;
    }

    .features-list li {
        font-size: 12px;
        padding: 7px 0;
    }

    .features-list .icon,
    .icon-info {
        font-size: 14px;
        margin-right: 12px;
    }

    .questions-section {
        margin-bottom: 14px;
    }

    .questions-text,
    .faq-link {
        font-size: 14px;
    }

    .plan-option label {
        padding: 14px 16px;
    }

    .promo-label {
        font-size: 11px;
    }

    .plan-price-text {
        font-size: 14px;
    }

    .save-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    .btn-continue {
        font-size: 15px;
        padding: 13px 28px;
    }

    .terms-text {
        font-size: 11px;
    }
}
