/* ===== AI NATIVE GUIDE - Override Styles ===== */
/* Base styles from common/base.css */

:root {
    --accent: #10b981;
    --accent-dim: #10b98120;
    --accent-border: rgba(16, 185, 129, 0.3);
    --accent-glow: rgba(16, 185, 129, 0.15);
    --emerald: #10b981;
    --emerald-dim: #10b98120;
    --teal: #14b8a6;
    --teal-dim: #14b8a620;
    --gradient-1: linear-gradient(135deg, #10b981, #14b8a6);
    --gradient-2: linear-gradient(135deg, #10b981, #4f8ff7);
    --gradient-3: linear-gradient(135deg, #14b8a6, #22d3ee);
    --gradient-warn: linear-gradient(135deg, #f87171, #fb923c);
}

/* ===== HERO GRID (emerald color override) ===== */
.hero-grid {
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
}

/* ===== HERO GLOW (guide-specific colors) ===== */

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--teal);
    bottom: -200px;
    left: -100px;
    opacity: 0.1;
}

/* ===== HERO BADGE (accent-border override) ===== */
.hero-badge {
    border-color: var(--accent-border);
}

/* ===== BTN (emerald shadow override) ===== */
.btn-primary {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.4);
}

/* ===== SECTION LABEL (emerald border override) ===== */
.section-label {
    border-color: rgba(16, 185, 129, 0.2);
}

/* ===== DEFINITION INTRO ===== */
.definition-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.definition-intro strong {
    color: var(--accent);
}

/* ===== FORMULA ===== */
.formula-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 48px;
}

.formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.formula-item {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.1rem;
}

.formula-result { background: var(--gradient-1); color: white; }
.formula-a { background: var(--emerald-dim); color: var(--emerald); border: 1px solid rgba(16,185,129,0.3); }
.formula-b { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(79,143,247,0.3); }
.formula-c { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(167,139,250,0.3); }
.formula-d { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(251,146,60,0.3); }

.formula-op {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
}

.formula-source {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== COMPARISON ===== */
.comparison-section {
    margin-top: 64px;
}

.comparison-table {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.comparison-col {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.comparison-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
}

.comparison-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.comparison-left .comparison-badge {
    background: var(--red-dim);
    color: var(--red);
}

.comparison-right .comparison-badge {
    background: var(--emerald-dim);
    color: var(--emerald);
}

.comparison-col ul {
    list-style: none;
    margin-bottom: 0;
}

.comparison-col ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-col ul li:last-child { border-bottom: none; }

.comparison-right ul li {
    color: var(--text);
}

.comparison-vs {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    padding: 0 8px;
}

/* ===== DEPENDENCY ===== */
.dependency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.dependency-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.dependency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.dependency-good::before { background: var(--green); }
.dependency-bad::before { background: var(--red); }

.dependency-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.dependency-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dependency-icon svg {
    width: 24px;
    height: 24px;
}

.good-icon {
    background: var(--green-dim);
    color: var(--green);
}

.bad-icon {
    background: var(--red-dim);
    color: var(--red);
}

.dependency-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.dependency-card ul {
    list-style: none;
}

.dependency-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.dependency-card ul li strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.dependency-good ul li strong { color: var(--green); }
.dependency-bad ul li strong { color: var(--red); }

.dependency-card ul li p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== INSIGHT CARD ===== */
.insight-card {
    display: flex;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--accent-dim), var(--teal-dim));
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
    align-items: flex-start;
}

.insight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent);
}

.insight-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.insight-content strong {
    color: var(--text);
}

/* ===== TRANSFORMATION ===== */
.transform-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.transform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s;
}

.transform-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.05);
}

.transform-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.transform-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
}

.transform-before,
.transform-after {
    flex: 1;
    min-width: 180px;
}

.transform-label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.transform-before .transform-label {
    background: var(--red-dim);
    color: var(--red);
}

.transform-after .transform-label {
    background: var(--emerald-dim);
    color: var(--emerald);
}

.transform-before p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.transform-after p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.transform-arrow {
    flex-shrink: 0;
    color: var(--accent);
    opacity: 0.6;
}

.transform-arrow svg {
    width: 24px;
    height: 24px;
}

.transform-detail {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
}

/* ===== PRINCIPLES ===== */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.principle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

.principle-card:hover::before { opacity: 1; }

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.principle-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.principle-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

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

.principle-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.principle-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.principle-example {
    padding: 12px 16px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.principle-example strong {
    color: var(--accent);
}

/* ===== PRACTICE ===== */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.practice-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s;
}

.practice-card:hover {
    border-color: var(--accent-border);
}

.practice-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.practice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.practice-icon svg {
    width: 22px;
    height: 22px;
}

.practice-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    flex: 1;
}

.practice-tag {
    padding: 4px 12px;
    background: var(--bg-surface);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.practice-body {
    padding: 24px 28px;
}

/* Practice: Flow Steps */
.practice-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.flow-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.flow-step-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.flow-step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Practice: PR Checklist */
.pr-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pr-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

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

.pr-check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.pr-item strong {
    color: var(--text);
}

.pr-item span {
    color: var(--text-secondary);
}

/* Practice: Meeting Flow */
.meeting-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meeting-phase {
    padding: 16px;
    background: var(--bg-surface);
    border-radius: var(--radius);
}

.meeting-phase-label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meeting-phase-label.before {
    background: var(--blue-dim);
    color: var(--blue);
}

.meeting-phase-label.during {
    background: var(--emerald-dim);
    color: var(--emerald);
}

.meeting-phase-label.after {
    background: var(--purple-dim);
    color: var(--purple);
}

.meeting-phase p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Practice: Senior Role */
.senior-role {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.senior-before,
.senior-after {
    padding: 16px;
    background: var(--bg-surface);
    border-radius: var(--radius);
}

.senior-before h4 {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.senior-after h4 {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.senior-role ul {
    list-style: none;
}

.senior-role ul li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.senior-role ul li::before {
    content: '\2022';
    margin-right: 8px;
    color: var(--text-muted);
}

.senior-after ul li {
    color: var(--text);
}

.senior-after ul li::before {
    color: var(--accent);
}

/* ===== ROLES ===== */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.role-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.role-card[data-color="emerald"]::before { background: var(--emerald); }
.role-card[data-color="blue"]::before { background: var(--blue); }
.role-card[data-color="purple"]::before { background: var(--purple); }
.role-card[data-color="orange"]::before { background: var(--orange); }

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.role-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.role-card[data-color="emerald"] .role-icon { background: var(--emerald-dim); color: var(--emerald); }
.role-card[data-color="blue"] .role-icon { background: var(--blue-dim); color: var(--blue); }
.role-card[data-color="purple"] .role-icon { background: var(--purple-dim); color: var(--purple); }
.role-card[data-color="orange"] .role-icon { background: var(--orange-dim); color: var(--orange); }

.role-icon svg { width: 24px; height: 24px; }

.role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--bg-surface);
    color: var(--text-muted);
    margin-bottom: 12px;
}

.role-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.role-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.role-tasks {
    list-style: none;
}

.role-tasks li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.role-tasks li:last-child { border-bottom: none; }

.role-tasks li::before {
    content: '\2022';
    margin-right: 8px;
}

.role-card[data-color="emerald"] .role-tasks li::before { color: var(--emerald); }
.role-card[data-color="blue"] .role-tasks li::before { color: var(--blue); }
.role-card[data-color="purple"] .role-tasks li::before { color: var(--purple); }
.role-card[data-color="orange"] .role-tasks li::before { color: var(--orange); }

.roles-note {
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.roles-note p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.roles-note strong {
    color: var(--accent);
}

/* ===== ANTI-PATTERNS ===== */
.antipatterns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.antipatterns-grid .antipattern-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.antipattern-card {
    background: var(--bg-card);
    border: 1px solid rgba(248, 113, 113, 0.15);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.antipattern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warn);
}

.antipattern-card:hover {
    border-color: rgba(248, 113, 113, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(248, 113, 113, 0.08);
}

.antipattern-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 12px;
}

.antipattern-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--red-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    margin-bottom: 16px;
}

.antipattern-icon svg { width: 22px; height: 22px; }

.antipattern-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--red);
}

.antipattern-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ROADMAP ===== */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-step {
    display: flex;
    gap: 32px;
    position: relative;
    padding-bottom: 40px;
}

.roadmap-step:last-child {
    padding-bottom: 0;
}

.roadmap-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 32px;
}

.roadmap-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.roadmap-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 8px;
}

.roadmap-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    flex: 1;
    transition: all 0.3s;
}

.roadmap-content:hover {
    border-color: var(--accent-border);
}

.roadmap-step-label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--accent-dim);
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.roadmap-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.roadmap-details ul {
    list-style: none;
    margin-bottom: 12px;
}

.roadmap-details ul li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.roadmap-details ul li::before {
    content: '\2022';
    margin-right: 8px;
    color: var(--accent);
}

.roadmap-duration {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-surface);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== TEAM RULES ===== */
.team-rules-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rule-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

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

.rule-check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.rule-item span:last-child {
    color: var(--text-secondary);
}

/* ===== CLOSING QUOTE ===== */
.closing-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.closing-quote blockquote {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text);
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--accent-dim), var(--teal-dim));
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-xl);
    position: relative;
}

.closing-quote blockquote::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* ===== MATURITY CHECKLIST ===== */
.maturity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.maturity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.3s;
}

.maturity-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

.maturity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.maturity-level {
    padding: 6px 14px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.85rem;
    background: var(--gradient-1);
    color: white;
}

.maturity-card[data-level="1"] .maturity-level { opacity: 0.5; }
.maturity-card[data-level="2"] .maturity-level { opacity: 0.7; }
.maturity-card[data-level="3"] .maturity-level { opacity: 0.85; }
.maturity-card[data-level="4"] .maturity-level { opacity: 1; }

.maturity-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.maturity-card ul {
    list-style: none;
}

.maturity-card ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

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

.maturity-check {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.maturity-check.checked {
    background: var(--accent);
    border-color: var(--accent);
}

.maturity-check.checked::after {
    content: '\2713';
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 700;
}

/* ===== METRICS ===== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.3s;
}

.metric-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.metric-icon svg { width: 24px; height: 24px; }

.metric-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-card > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.metric-example {
    padding: 8px 14px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
}

/* ===== FOOTER (guide-specific additions) ===== */
.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== RESPONSIVE (guide-specific) ===== */
@media (max-width: 1024px) {
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
    .maturity-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .comparison-table { flex-direction: column; }
    .comparison-vs { justify-content: center; padding: 8px; }

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

    .transform-card { flex-direction: column; }
    .transform-content { flex-direction: column; align-items: flex-start; }
    .transform-arrow { transform: rotate(90deg); align-self: center; }

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

    .roles-grid { grid-template-columns: 1fr; }
    .antipatterns-grid { grid-template-columns: 1fr; }
    .antipatterns-grid .antipattern-card:last-child { max-width: none; }

    .maturity-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }

    .senior-role { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .formula { gap: 6px; }
    .formula-item { padding: 8px 14px; font-size: 0.9rem; }
    .team-rules-card { padding: 24px; }
    .closing-quote blockquote { padding: 24px; font-size: 1rem; }
}
