/* ===========================================
   Protocol Preview Section Styles
   =========================================== */

.protocol-section {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
}

/* Section Header */
.protocol-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.protocol-tagline {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.protocol-header h2 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
}

.protocol-intro {
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

/* Protocol Steps Grid */
.protocol-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

/* Individual Step */
.protocol-step {
    display: flex;
    gap: var(--space-md);
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.protocol-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
}

.step-content h3 {
    font-size: var(--text-lg);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.step-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.step-highlights li {
    font-size: var(--text-xs);
    color: var(--color-primary);
    background: var(--color-bg-alt);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

/* Protocol CTA */
.protocol-cta {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    border: 2px dashed var(--color-border);
}

.cta-content h3 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
}

.cta-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Supplement Callout */
.supplement-callout {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    color: var(--color-white);
}

.callout-image {
    text-align: center;
}

.callout-image img {
    max-width: 150px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.callout-content {
    text-align: center;
}

.callout-content h3 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.callout-content p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.callout-content .btn-primary {
    background: var(--color-gold);
    color: var(--color-text);
    border-color: var(--color-gold);
}

.callout-content .btn-primary:hover {
    background: #c49a3d;
    border-color: #c49a3d;
}

/* Responsive - Tablet */
@media (min-width: 576px) {
    .protocol-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-actions {
        flex-direction: row;
    }
}

/* Responsive - Desktop */
@media (min-width: 768px) {
    .supplement-callout {
        grid-template-columns: auto 1fr;
        text-align: left;
    }

    .callout-content {
        text-align: left;
    }

    .callout-image img {
        max-width: 180px;
    }

    .protocol-cta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cta-content {
        flex: 1;
    }
}

/* Responsive - Large Desktop */
@media (min-width: 992px) {
    .protocol-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Make step 7 span full width centered */
    .protocol-step:nth-child(7) {
        grid-column: 2 / 3;
    }
}

/* Alternative: 4-column layout for larger screens */
@media (min-width: 1200px) {
    .protocol-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .protocol-step:nth-child(7) {
        grid-column: auto;
    }

    /* Last row: 3 items centered */
    .protocol-step:nth-child(5),
    .protocol-step:nth-child(6),
    .protocol-step:nth-child(7) {
        /* These will naturally flow */
    }
}