/* === MPP Brand Variables === */
:root {
    --mpp-purple: #635BFF;
    --mpp-purple-hover: #4F46E5;
    --mpp-dark: #1A1F36;
    --mpp-gray: #697386;
    --mpp-light-gray: #F6F9FC;
    --mpp-border: #E3E8EE;
    --mpp-green: #30D158;
    --mpp-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--mpp-font);
    background: var(--mpp-light-gray);
}

/* === MPP Header === */
.mpp-header {
    background: var(--mpp-dark);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mpp-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mpp-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.mpp-header__logo-icon {
    width: 32px;
    height: 32px;
    background: var(--mpp-purple);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mpp-header__logo span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.mpp-header__badge {
    background: rgba(99, 91, 255, 0.2);
    color: var(--mpp-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === Product Grid === */
.mpp-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.mpp-product-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--mpp-border);
    padding: 24px;
    transition: box-shadow 0.2s;
}

.mpp-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.mpp-product-card__image {
    height: 180px;
    background: var(--mpp-light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 48px;
}

.mpp-product-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--mpp-dark);
    margin-bottom: 4px;
}

.mpp-product-card__sku {
    font-size: 12px;
    color: var(--mpp-gray);
    margin-bottom: 12px;
}

.mpp-product-card__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--mpp-dark);
    margin-bottom: 16px;
}

.btn-mpp {
    width: 100%;
    padding: 12px 20px;
    background: var(--mpp-purple);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-mpp:hover {
    background: var(--mpp-purple-hover);
}

.btn-mpp:disabled {
    background: #C4C8D8;
    cursor: not-allowed;
}

/* === Protocol Log === */
.mpp-log-section {
    margin-top: 40px;
}

.mpp-log-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--mpp-dark);
    margin-bottom: 16px;
}

.mpp-log {
    background: var(--mpp-dark);
    border-radius: 10px;
    padding: 20px;
    font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #E3E8EE;
    max-height: 500px;
    overflow-y: auto;
}

.mpp-log:empty::after {
    content: "Click 'Purchase via MPP' on a product to see the protocol in action...";
    color: var(--mpp-gray);
    font-style: italic;
}

.log-step {
    margin-bottom: 2px;
}

.log-arrow {
    color: var(--mpp-purple);
    font-weight: 600;
}

.log-status-402 {
    color: #FF6B6B;
    font-weight: 600;
}

.log-status-200 {
    color: var(--mpp-green);
    font-weight: 600;
}

.log-info {
    color: var(--mpp-gray);
}

.log-header {
    color: #A5B4FC;
}

.log-success {
    color: var(--mpp-green);
    font-weight: 600;
}

.log-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    .mpp-products {
        grid-template-columns: 1fr;
    }
}
