* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    /* margin: 100px auto 0; */
    height: calc(100vh - 100px);
    min-height: 500px;
    display: flex;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}



/* Accent Section */
.accent-section {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, #3e44c6 0%, #5a5fcf 50%, #7c81d8 100%);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accent-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.accent-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.accent-content p {
    opacity: 0.9;
    font-size: 1.1rem;
}



/* Already Subscribed Message */
.subscribed-section {
    flex: 1;
    max-width: 500px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
	align-items: center;
    justify-content: center;
}
.message-box {
    background: linear-gradient(135deg, #ecedff 0%, #d5d7ff 50%, #d7d9ff 100%);
    border: 2px solid #3e44c6;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(62, 68, 198, 0.1);
}

.message-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: #3e44c6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 0.25rem;
}

.message-content {
    flex: 1;
}

.message-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.message-text {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.message-link {
    color: #3e44c6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.message-link:hover {
    color: #2e34a6;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .message-box {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .message-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .message-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .message-title {
        font-size: 1.1rem;
    }
    
    .message-text {
        font-size: 0.9rem;
    }
}



/* Main Section */
.main-section {
    flex: 1;
    max-width: 500px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}



/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-circle {
    background-color: #e5e7eb;
    color: white;
}

.step-circle.current {
    background-color: #3e44c6;
    color: white;
}

.step-circle.completed {
    background-color: #1a1a1a;
    color: #6b7280;
}

.step-text {
    font-weight: 500;
    color: #374151;
}

.step-divider {
    height: 2px;
    width: 3rem;
    background-color: #e5e7eb;
}



/* Payment Plans */
.purchase-main-container {
    display: none;
    overflow-y: auto;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
}

.plans-container {
    display: none;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
	margin-bottom: 2rem;
}

.purchase-main-container::-webkit-scrollbar {
    width: 6px;
}

.purchase-main-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.purchase-main-container::-webkit-scrollbar-thumb {
    background: #3e44c6;
    border-radius: 3px;
}

.purchase-main-container::-webkit-scrollbar-thumb:hover {
    background: #2e34a6;
}

.plan-tile {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
	/* min-height: 350px; */
}

.plan-content {
    padding: 1.5rem;
}

.plan-ribbon {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.plan-ribbon.free {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(219,192,246,1) 50%);
    color: white;
}

.plan-ribbon.standard {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(62,68,198,1) 50%);
    color: white;
}

.plan-ribbon.offer {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(237,185,7,1) 50%);
    color: white;
}

.plan-tile:hover {
    border-color: #3e44c6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 68, 198, 0.1);
}

.plan-tile.selected {
    border-color: #3e44c6;
    background: #f8fafc;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
	height: 75px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3e44c6;
}

.plan-original-price {
    font-size: 1rem;
    color: #6b7280;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.plan-badge {
    background: #3e44c6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.plan-features {
    list-style: none;
    color: #4b5563;
}

.plan-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3e44c6;
    font-weight: 700;
}



/* Basket Section */
.basket-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.basket-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.basket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.basket-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.basket-item-name {
    color: #4b5563;
}

.basket-item-price {
    color: #3e44c6;
    font-weight: 600;
}



/* Terms / Privacy */
.terms-section {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    margin-top: 2rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    background-color: white;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
	left: 25%;
    top: 0;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #3e44c6;
    border-color: #3e44c6;
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.terms-checkbox:hover .checkmark {
    border-color: #3e44c6;
    box-shadow: 0 0 0 2px rgba(62, 68, 198, 0.1);
}

.terms-text {
    color: #4b5563;
    font-weight: 500;
}

.terms-link {
    color: #3e44c6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terms-link:hover {
    color: #2e34a6;
    text-decoration: underline;
}

.terms-checkbox input[type="checkbox"]:focus + .checkmark {
    outline: 2px solid #3e44c6;
    outline-offset: 2px;
}



/* Payment */
.payment-section {
	display: none;
}

.payment-methods-container {
	position: relative;
}

/* Payment Overlay */
#payment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

#payment-overlay::before {
    content: "Please agree to the Privacy Policy and Terms and Conditions to continue";
    background: #374151;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	max-width: 80%;
}

#payment-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Payment Methods */
.payment-method-section {
	display: none;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}

.payment-method-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.trial_button_container {
    display: none;
    flex-direction: column;
    align-items: center;
}

.payment-button {
    background: #f9c512;
    padding: 8px 45px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
	max-width: 384px;
	transition: all 0.2s ease;
	width: 100%;
    text-align: center;
    font-weight: 500;
}

.payment-button:hover {
    background: #dbaa00;
    transform: translateY(-1px);
}

#trial_button {
    background: #5a62ff;
}

#trial_button:hover {
    background: #494fcd;
    transform: translateY(-1px);
}

.trial_checkout_note {
    font-size: 0.8em;
    margin-top: 10px;
}

/* Continue Button */
#continue-button {
    background: #3e44c6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    width: 100%;
}

#continue-button:hover {
    background: #2e34a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 68, 198, 0.3);
}

#back-button {
	display: none;
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    width: 100%;
}

#back-button:hover {
    background: #4b5563;
    transform: translateY(-1px);
}


/* Mobile */

@media (max-width: 768px) {
    .accent-section {
        display: none;
    }
    .main-section {
        max-width: none;
    }
}