/* Rules of Engagement Page Styles */

/* Introduction Section */
.rules-intro {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.rules-intro h1 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.2rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
}

/* Framework Overview */
.framework-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
    flex-wrap: wrap;
}

.framework-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.framework-badge.scan {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
}

.framework-badge.focus {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
}

.framework-badge.act {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.framework-arrow {
    font-size: 1.5rem;
    color: #64748b;
}

.framework-subtitle {
    color: #64748b;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Principles Section */
.principles-section {
    margin-bottom: 3rem;
}

.principles-section h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Principle Cards */
.principle-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.principle-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.principle-card h3 {
    color: #1e3a8a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.principle-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.principle-highlight {
    background: #f8fafc;
    border-left: 3px solid #3b82f6;
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    color: #334155;
}

.principle-highlight strong {
    color: #1e3a8a;
}

/* Breakout Section */
.breakout-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breakout-section h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.breakout-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.breakout-stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    min-width: 120px;
}

.breakout-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1;
}

.breakout-stat .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.breakout-arrow {
    font-size: 2rem;
    color: #3b82f6;
}

.breakout-description {
    text-align: center;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Reference */
.quick-reference {
    margin-bottom: 2rem;
}

.quick-reference h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.reference-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reference-card.do {
    border-top: 4px solid #10b981;
}

.reference-card.dont {
    border-top: 4px solid #ef4444;
}

.reference-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reference-card.do h3 {
    color: #10b981;
}

.reference-card.dont h3 {
    color: #ef4444;
}

.reference-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.reference-card li:last-child {
    border-bottom: none;
}

.reference-card.do li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.reference-card.dont li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    color: white;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button.primary {
    background: white;
    color: #1e3a8a;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .rules-intro h1 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .framework-overview {
        flex-direction: column;
    }

    .framework-arrow {
        transform: rotate(90deg);
    }

    .breakout-info {
        flex-direction: column;
    }

    .breakout-arrow {
        transform: rotate(90deg);
    }

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

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

@media print {
    .cta-section {
        display: none;
    }

    .principle-card {
        break-inside: avoid;
    }
}
