/* Checkout layout */
:root {
    --card-bg-strong: rgba(255, 255, 255, 0.95);
}

body {
    background: var(--light);
}

.checkout-hero {
    padding: 4rem 0 2rem;
}

.checkout-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.checkout-hero h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--dark);
}

.checkout-hero .subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-pills span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.6rem 0.9rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.trust-box {
    background: var(--card-bg-strong);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 20px 50px var(--shadow);
}

.trust-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.trust-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    color: var(--gray);
}

.trust-box li + li {
    margin-top: 0.4rem;
}

.fine-print {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.checkout-body {
    padding: 1rem 0 4rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.section-card, .summary-card {
    background: var(--card-bg-strong);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 20px 50px var(--shadow);
}

.section-card + .section-card {
    margin-top: 1rem;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--dark);
}

.section-heading .hint {
    color: var(--gray);
    font-size: 0.95rem;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.plan-card {
    position: relative;
    display: block;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.plan-card:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 34px rgba(99, 102, 241, 0.12);
}

.plan-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.plan-card.is-selected {
    border: 2px solid var(--primary);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.18);
}

.plan-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.plan-name {
    font-weight: 700;
    color: var(--dark);
}

.plan-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.4rem;
}

.plan-price span {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
}

.plan-setup {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0.35rem 0 0.6rem;
}

.plan-points {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--gray);
}

.plan-points li + li {
    margin-top: 0.35rem;
}

.badge {
    background: var(--secondary);
    color: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.payment-options {
    display: grid;
    gap: 0.75rem;
}

.payment-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
    background: #fff;
}

.payment-option input {
    width: 18px;
    height: 18px;
}

.payment-name {
    font-weight: 700;
    color: var(--dark);
}

.payment-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-field span {
    font-weight: 700;
    color: var(--dark);
}

.form-field input,
.form-field textarea {
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: #fff;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0.5rem 0 1rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.summary-card {
    position: sticky;
    top: 120px;
}

.summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.summary-price {
    text-align: right;
    font-weight: 800;
    color: var(--primary);
}

.summary-price .summary-setup {
    display: block;
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 600;
}

.summary-body {
    color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-body li + li {
    margin-top: 0.4rem;
}

.summary-note {
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 0.9rem 1rem;
    color: var(--dark);
}

.summary-safe {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.lock-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

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

    .checkout-hero-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: relative;
        top: 0;
    }
}
