/* === SUBSCRIBE PAGE === */
.subscribe-section {
    padding: 0 40px 80px;
}

.subscribe-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 35px;
    align-items: start;
}

/* === FORM CARD === */
.subscribe-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
}

.subscribe-form-card h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* === FORM GROUPS === */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* === PLAN SELECTOR === */
.plan-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-option {
    cursor: pointer;
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-option-content {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    transition: all 0.3s;
    position: relative;
}

.plan-option input:checked + .plan-option-content {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.06);
}

.plan-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.plan-option-name {
    font-weight: 700;
    font-size: 1rem;
}

.plan-option-price {
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-option-desc {
    font-size: 0.8rem;
    color: #777;
}

.plan-option-badge {
    position: absolute;
    top: -10px;
    left: 15px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

/* === PAYMENT METHODS === */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.payment-option input:checked + .payment-option-content {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.06);
}

.payment-icon {
    font-size: 1.2rem;
}

/* === SUBMIT === */
.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 212, 255, 0.3);
}

/* === ORDER SUMMARY === */
.order-summary {
    position: sticky;
    top: 90px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 30px;
}

.summary-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-plan {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 47, 247, 0.08));
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-plan-name {
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.summary-plan-duration {
    color: #00d4ff;
    font-size: 0.85rem;
}

.summary-details {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    color: #bbb;
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    margin-top: 5px;
    padding-top: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.summary-row.total span:last-child {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem;
}

.summary-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-feature {
    font-size: 0.85rem;
    color: #888;
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #999;
}

/* === SUCCESS MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #1a1a2e;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal-content p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .subscribe-container {
        grid-template-columns: 1fr;
    }

    .subscribe-form-card {
        padding: 25px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .modal-content {
        padding: 35px 25px;
    }
}
