:root {
    --primary-color: #4caf50; /* Green */
    --background-color: #f0f8ff; /* Light blue */
    --text-color: #333; /* Dark gray */
    --border-color: #d3d3d3; /* Light gray */
    --success-color: #ff9800; /* Orange */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); /* Slightly more intense shadow */
}

h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222; /* Darker header */
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.toggle-buttons {
    display: flex;
    gap: 1.5rem;
}

.toggle-button {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.toggle-button input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.toggle-button span {
    display: block;
    padding: 1rem;
    text-align: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.toggle-button.active span {
    background: #fff3e0; /* Soft orange background */
    border-color: var(--success-color);
    color: var(--success-color);
}

.payment-button {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.payment-button:hover {
    background: #ff7043; /* Darker orange */
    background-color: #ff5722;
}

.credit-card {
    background: #212121;
    color: white;
}

.paypal {
    background: #00bcd4; /* Light cyan */
    color: white;
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.plan-details {
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.price {
    text-align: right;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 0.5rem;
}

.discounted-price {
    color: var(--primary-color);
    font-weight: 700;
}

.total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-top: 1rem;
}

.support-section {
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.guarantee {
    color: #888;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
