/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* ===== STICKY HEADER ===== */
.checkout-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 12px 20px;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.step {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
}

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.step.active .step-dot {
    background: #22c55e;
}

.step.completed .step-dot {
    background: #22c55e;
}

.step-arrow {
    color: #666;
}

.timer-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.5);
    padding: 8px 15px;
    border-radius: 8px;
}

.timer-icon {
    font-size: 18px;
    animation: pulse-icon 1s infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.timer-text {
    font-size: 13px;
}

.timer-count {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #ff3b30;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* ===== CHECKOUT COLUMN ===== */
.checkout-column {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.checkout-header-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.secure-badge {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkout-title {
    font-size: 18px;
    font-weight: 600;
}

/* ===== WHOP CONTAINER ===== */
/* Make container tall enough to show full checkout form with expanded address */
.whop-container {
    padding: 20px;
    min-height: 1750px;
}

/* ===== VALUE COLUMN ===== */
.value-column {
    position: sticky;
    top: 90px;
}

.order-summary {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ADVERTORIAL LABEL ===== */
.advertorial-label {
    background: #fff;
    color: #aaa;
    text-align: right;
    font-size: 9px;
    padding: 4px 20px;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 13px;
    color: #666;
}

.price-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.price-line.total {
    border-top: 2px solid #1a1a2e;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 18px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discount-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== WHAT YOU GET ===== */
.benefits-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
}

.benefits-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-check {
    width: 20px;
    height: 20px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-size: 14px;
    color: #333;
}

.benefit-text strong {
    color: #1a1a2e;
}

/* ===== GUARANTEE BOX ===== */
.guarantee-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.guarantee-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.guarantee-title {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 5px;
}

.guarantee-text {
    font-size: 13px;
    color: #78350f;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #666;
}

.trust-badge-icon {
    font-size: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    margin-top: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #22c55e;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 14px;
    color: #333;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin-top: 40px;
    max-width: 700px;
}

.faq-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    color: #555;
    font-size: 14px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .value-column {
        position: static;
        order: -1;
    }

    .header-inner {
        justify-content: center;
    }

    .step-indicator {
        display: none;
    }
}

@media (max-width: 500px) {
    .timer-box {
        width: 100%;
        justify-content: center;
    }

    .order-summary,
    .benefits-box,
    .guarantee-box {
        padding: 20px;
    }
}