/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #050505 0%, #090707 100%);
    color: #f8fafc;
    line-height: 1.6;
    min-height: 100vh;
    padding: 24px;
}

button,
select,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(250, 190, 24, 0.08), transparent 22%),
                radial-gradient(circle at bottom right, rgba(250, 190, 24, 0.06), transparent 28%);
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: screen;
}

.page-header {
    max-width: 1240px;
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.page-logo {
    max-height: 56px;
    width: auto;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.secure-icon {
    font-size: 16px;
}

.checkout-page {
    max-width: 1240px;
    margin: 0 auto;
}

.checkout-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.image-panel,
.info-panel {
    padding: 32px;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}

.zoom-button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #080808;
    color: #050505;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoom-button:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.product-intro {
    max-width: 640px;
    margin-bottom: 24px;
}

.product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d6b2ff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
}

.product-intro h1 {
    font-size: clamp(36px, 4.5vw, 52px);
    line-height: 1.02;
    margin-bottom: 16px;
    color: #ffffff;
}

.product-subtitle {
    max-width: 640px;
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.8;
}

.price-summary {
    margin-bottom: 28px;
}

.price-range {
    display: inline-block;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.current-price {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    color: #fabe18;
    font-weight: 800;
    line-height: 1;
}

.feature-list {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list li {
    list-style: none;
    color: #e5e7eb;
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li::before {
    content: '✓';
    color: #fabe18;
    flex-shrink: 0;
    margin-top: 2px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.option-group {
    display: grid;
    gap: 10px;
}

.option-group label {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
}

.option-group select {
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    color: #f8fafc;
    border: 1px solid rgba(250, 190, 24, 0.35);
    border-radius: 12px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.option-group select:focus {
    border-color: #fabe18;
    box-shadow: 0 0 0 4px rgba(250, 190, 24, 0.12);
}

.reset-button {
    margin-bottom: 28px;
    background: transparent;
    border: none;
    color: #fabe18;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    text-align: left;
    transition: color 0.2s ease, transform 0.2s ease;
}

.reset-button:hover,
.reset-button:focus {
    color: #ffffff;
    transform: translateX(2px);
}

.form-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    border-color: #fabe18;
    box-shadow: 0 0 0 4px rgba(250, 190, 24, 0.12);
}

.purchase-panel {
    display: grid;
    gap: 18px;
}

.final-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.final-price span {
    color: #d1d5db;
    font-size: 14px;
    font-weight: 600;
}

.final-price strong {
    font-size: 36px;
    color: #fabe18;
    font-weight: 800;
}

.continue-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(135deg, #fabe18, #ddb53f);
    color: #050505;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.continue-btn:hover,
.continue-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(192, 38, 255, 0.2);
    filter: brightness(1.05);
}

.payment-icon-block {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.payment-icon {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.close-lightbox {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    font-size: 20px;
    cursor: pointer;
}

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

    .image-panel,
    .info-panel {
        padding: 26px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 18px;
    }

    .page-header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .page-logo {
        max-height: 48px;
    }

    .secure-badge {
        margin-top: 12px;
        justify-content: center;
    }

    .checkout-card {
        border-radius: 20px;
    }

    .image-panel,
    .info-panel {
        padding: 22px;
    }

    .product-intro h1 {
        font-size: 38px;
    }

    .price-range {
        font-size: 13px;
    }

    .current-price {
        font-size: 44px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .final-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .product-intro h1 {
        font-size: 32px;
    }

    .product-subtitle {
        font-size: 15px;
    }

    .feature-list {
        padding: 18px;
    }

    .final-price {
        padding: 20px;
    }

    .continue-btn {
        min-height: 48px;
        font-size: 16px;
    }
}
