:root {
    --red: #c92020;
    --red-bright: #e02525;
    --charcoal: #0d0000;
    --slate: #1a0000;
    --white: #ffffff;
    --grey: #a0a0a0;
    --gold: #ffd700;
    --font-sub: 'Montserrat', sans-serif;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--charcoal);
    color: var(--white);
    font-family: var(--font-sub);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

/* Warning Bar */
.warning-bar {
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.warning-bar b { color: var(--gold); }

/* Header/Logo Bar */
.logo-bar {
    background: #000;
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 12px;
}
.logo-bar img { height: 40px; justify-self: start; }
.help-link { font-size: 0.8rem; text-align: right; justify-self: end; }
.help-link a { color: var(--red); text-decoration: none; font-weight: 700; }

/* Main Grid */
.checkout-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 40px;
}
.checkout-content   { grid-column: 1; grid-row: 1; align-self: start; }
.checkout-extras    { grid-column: 1; grid-row: 2; align-self: start; }
.checkout-form-area { grid-column: 2; grid-row: 1 / 3; align-self: start; }

@media (max-width: 991px) {
    .checkout-container { display: flex; flex-direction: column; }
}

/* Left Content Area */
.checkout-content { text-align: center; }

.checkout-content h1 {
    font-family: var(--font-sub);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}
.checkout-content h1 .accent { color: var(--red); }

.price-stack { margin-bottom: 30px; }
.retail-price { font-size: 1.2rem; color: var(--grey); text-decoration: line-through; }
.today-price { font-size: 1.8rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }

.main-bundle-img {
    max-width: 460px;
    width: 100%;
    margin: 20px 0;
    border-radius: 6px;
}

/* Trust badges row */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px auto;
    max-width: 420px;
}
.trust-badge {
    background: var(--slate);
    border: 1px solid #440000;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Testimonial */
.testimonial-box {
    margin-top: 30px;
    padding: 24px;
    background: var(--slate);
    border-radius: 10px;
    border: 1px solid rgba(201, 32, 32, 0.2);
    text-align: left;
}
.stars { color: var(--gold); margin-bottom: 10px; font-size: 1rem; }
.quote-text { font-style: italic; font-size: 1.05rem; margin-bottom: 10px; color: var(--white); }
.quote-author { font-weight: 700; font-size: 0.85rem; color: var(--grey); }

/* Right Form Area */
.checkout-card {
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--red), #7a0f0f);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    background: #f1f1f1;
    color: #333;
    border-bottom: 1px solid #ddd;
}
.step {
    flex: 1;
    padding: 12px 6px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #e0e0e0;
    color: #777;
}
.step.active { background: #fff; color: var(--red); }
.step.done { background: #f1f1f1; color: #333; }
.step-num {
    display: inline-block;
    background: #aaa;
    color: #fff;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 6px;
}
.step.active .step-num { background: var(--red); }
.step.done .step-num { background: #333; }

/* Form */
.form-body { padding: 28px; }
.form-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--white);
    background: #1c1c1c;
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-sub);
    font-size: 1rem;
    color: #333;
}
.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(201, 32, 32, 0.15);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* Order Bumps */
.order-bumps { margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.order-bump {
    background: #fcf8e3;
    border: 2px dashed #000;
    padding: 14px;
    color: #333;
    border-radius: 5px;
}
.bump-title {
    color: var(--red);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}
.bump-title input { margin-top: 4px; transform: scale(1.2); }
.bump-body { font-size: 0.8rem; line-height: 1.45; color: #333; }
.bump-img { max-width: 160px; display: block; margin: 8px auto 0; }
.bump-price { font-weight: 700; color: var(--red); margin-top: 4px; display: block; }

/* Order Summary */
.order-summary {
    margin-top: 20px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    color: #333;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.summary-row.bump { color: var(--red); font-weight: 600; }
.summary-total {
    font-weight: 900;
    font-size: 1.15rem;
    border-top: 2px solid #000;
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

/* Submit Button */
.btn-checkout {
    width: 100%;
    background: linear-gradient(180deg, #34a853 0%, #218838 100%);
    color: #fff;
    border: none;
    padding: 18px;
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(33, 136, 56, 0.4);
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.btn-checkout:hover { background: linear-gradient(180deg, #3eb963 0%, #28a13f 100%); transform: translateY(-2px); }
.btn-checkout:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-back {
    width: 100%;
    background: transparent;
    color: var(--grey);
    border: 1px solid #444;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    display: block;
    text-align: center;
}
.btn-back:hover { color: var(--white); border-color: #666; }

.privacy-note {
    text-align: center;
    margin-top: 10px;
    font-size: 0.7rem;
    color: #777;
}

.cc-icons {
    text-align: center;
    margin: 14px 0;
}
.cc-icons img { max-width: 220px; width: 100%; height: auto; }

/* Error message */
.error-msg {
    background: #ffe6e6;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    display: none;
}
.error-msg.show { display: block; }

/* Terms / fine print */
.terms-block {
    margin-top: 30px;
    text-align: left;
    font-size: 0.78rem;
    color: var(--grey);
    line-height: 1.6;
}
.terms-block p { margin-bottom: 10px; }
.terms-block strong { color: var(--white); }

/* Guarantee strip */
.guarantee-strip {
    background: var(--slate);
    border-top: 1px solid #330000;
    border-bottom: 1px solid #330000;
    padding: 24px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}
.guarantee-strip img { max-width: 110px; height: auto; }
.guarantee-strip .text { max-width: 500px; text-align: left; }
.guarantee-strip .text h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; color: var(--white); }
.guarantee-strip .text p { font-size: 0.85rem; color: var(--grey); }

/* FAQ */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}
.faq-section h2 {
    font-family: var(--font-sub);
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 1px;
}
.faq-item {
    background: var(--slate);
    margin-bottom: 12px;
    border-radius: 5px;
    border-left: 5px solid var(--red);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.faq-q {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.faq-q span {
    color: var(--red);
    font-size: 1.4rem;
    margin-right: 14px;
    font-weight: 900;
}
.faq-a {
    padding: 0 20px 18px 50px;
    color: var(--grey);
    display: none;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #000;
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer img { margin-bottom: 14px; }
.footer-links { font-size: 0.78rem; color: var(--grey); }
.footer-links a { color: #fff; margin: 0 10px; text-decoration: none; }
.footer-copyright { margin-top: 14px; font-size: 0.75rem; color: var(--grey); }

/* Loading indicator */
.loading-indicator {
    display: none;
    text-align: center;
    margin-top: 10px;
}
.loading-indicator i { font-size: 1.5rem; color: var(--red); }

/* Mobile tweaks */
@media (max-width: 600px) {
    .checkout-content h1 { font-size: 1.6rem; }
    #leftHeading, .price-stack { display: none; }
    .form-body { padding: 20px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .checkout-container { margin: 20px auto; padding: 0 14px; gap: 24px; }
    .main-bundle-img { max-width: 100% !important; }
    .logo-bar { padding: 12px 14px; }
    .logo-bar img { height: 32px; }
    .help-link { font-size: 0.7rem; }
    .warning-bar { font-size: 0.75rem; padding: 8px 10px; letter-spacing: 0.5px; }
    .guarantee-strip { padding: 20px 14px; gap: 14px; }
    .guarantee-strip .text { text-align: center; }
    .terms-block { font-size: 0.75rem; }
    .faq-section { padding: 0 14px; margin: 40px auto; }
    .checkout-card { border-radius: 8px; }
    .cc-icons img { max-width: 100%; }
}
