/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FAF7F3;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 40px 20px;
}

.page-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.page-logo {
    max-height: 70px;
    width: auto;
    display: block;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.08);
    color: #1f2937;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.secure-icon {
    font-size: 16px;
}

/* Thank-you page styles */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, #F5F7FA 0%, #EEF3F7 100%);
}

.thank-you-card {
    width: 100%;
    max-width: 720px;
    background: white;
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: 0 10px 30px rgba(16,24,40,0.08);
    border: 1px solid rgba(16,24,40,0.04);
}

.thank-you-header {
    text-align: center;
    margin-bottom: 18px;
}

.logo {
    font-weight: 800;
    color: #6C3BFF;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    font-size: 18px;
}

.thank-you-title {
    font-size: 28px;
    color: #0F1724;
    margin: 0 0 8px 0;
}

.subtitle {
    color: #334155;
    font-size: 15px;
    margin: 0;
}

.thank-you-body p {
    color: #374151;
    font-size: 15px;
    margin: 12px 0;
}

.important {
    font-weight: 700;
    color: #0F1724;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.contact-label {
    color: #6B7280;
    font-size: 13px;
}

.contact-value {
    font-weight: 700;
    color: #0F1724;
    margin-top: 4px;
}

.payment-icon-block {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.payment-icon {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg,#0f5f66,#117a8b);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(16,118,156,0.12);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
    align-items: start;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header */
.header {
    margin-bottom: 10px;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #6C3BFF;
    margin-bottom: 12px;
}

.description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
}

/* Plans Container */
.plans-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Plan Card */
.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(108, 59, 255, 0.15);
    border-color: #6C3BFF;
}

.plan-card.selected {
    border-color: #6C3BFF;
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.05), rgba(108, 59, 255, 0.02));
    box-shadow: 0 4px 16px rgba(108, 59, 255, 0.2);
}

/* Hide default radio button */
.plan-card input[type="radio"] {
    display: none;
}

/* Selected plan card when radio is checked */
.plan-card input[type="radio"]:checked ~ .plan-content {
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.05), rgba(108, 59, 255, 0.02));
}

.plan-card input[type="radio"]:checked ~ .plan-content .radio-custom {
    border-color: #6C3BFF;
    background: #6C3BFF;
}

.plan-card input[type="radio"]:checked ~ .plan-content .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.plan-card input[type="radio"]:checked ~ .plan-content {
    box-shadow: 0 4px 16px rgba(108, 59, 255, 0.2);
    border-color: #6C3BFF;
}

.plan-card.popular input[type="radio"]:checked ~ .popular-badge {
    background: linear-gradient(135deg, #6C3BFF, #8B5CF6);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #6C3BFF, #8B5CF6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(108, 59, 255, 0.3);
}

.plan-card.popular {
    border-color: #6C3BFF;
}

/* Plan Content */
.plan-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Custom Radio Button */
.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.selected .radio-custom {
    border-color: #6C3BFF;
    background: #6C3BFF;
}

.plan-card.selected .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.plan-duration {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #6C3BFF;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #6C3BFF;
    box-shadow: 0 0 0 3px rgba(108, 59, 255, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Continue Button */
.continue-btn {
    background: linear-gradient(135deg, #6C3BFF, #8B5CF6);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(108, 59, 255, 0.3);
    width: 100%;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(108, 59, 255, 0.4);
}

.continue-btn:active {
    transform: translateY(0);
}

/* Features Under Button */
.features-under-button {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
    background: rgba(108, 59, 255, 0.05);
    border-radius: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.feature-item .icon {
    font-size: 18px;
}

/* Right Column */
.right-column {
    position: sticky;
    top: 40px;
}

/* Summary Card */
.summary-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.summary-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

/* Summary Content */
.summary-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 14px;
    color: #666;
}

.summary-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: right;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(108, 59, 255, 0.03);
    border-radius: 12px;
}

.feature-list-item {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Summary Divider */
.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, #f0f0f0, #e0e0e0, #f0f0f0);
    margin-bottom: 20px;
}

/* Summary Total */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.total-price {
    font-size: 32px;
    font-weight: 800;
    color: #6C3BFF;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .right-column {
        position: static;
    }

    .plans-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    body {
        padding: 20px 16px;
    }

    .header h1 {
        font-size: 24px;
    }

    .header h2 {
        font-size: 20px;
    }

    .description {
        font-size: 14px;
    }

    .plans-container {
        grid-template-columns: 1fr;
    }

    .plan-card {
        padding: 16px;
    }

    .plan-duration {
        font-size: 16px;
    }

    .plan-price {
        font-size: 20px;
    }

    .form-container {
        padding: 20px;
    }

    .features-under-button {
        flex-direction: column;
        align-items: center;
    }

    .summary-card {
        padding: 20px;
    }

    .summary-title {
        font-size: 20px;
    }

    .total-price {
        font-size: 28px;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .header h1 {
        font-size: 20px;
    }

    .header h2 {
        font-size: 18px;
    }

    .continue-btn {
        font-size: 16px;
        padding: 16px 24px;
    }

    .total-price {
        font-size: 24px;
    }
}
