/* ===== DX FOR AX GUIDE - Override Styles ===== */
/* Base styles from common/base.css */

:root {
    --accent: #f59e0b;
    --accent-dim: #f59e0b20;
    --gradient-1: linear-gradient(135deg, #f59e0b, #ef4444);
    --gradient-2: linear-gradient(135deg, #ef4444, #a78bfa);
    --gradient-3: linear-gradient(135deg, #10b981, #22d3ee);
}

/* ===== HERO GLOW ===== */

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: #f59e0b;
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #ef4444;
    bottom: -200px;
    left: -100px;
    opacity: 0.1;
}

/* ===== SYMPTOM CARDS ===== */

.symptom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.symptom-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.3s;
}

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

.symptom-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

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

.symptom-card h4 {
    font-size: 1.05rem;
    color: var(--text-strong);
    margin: 0;
}

.symptom-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 12px;
}

.symptom-fix {
    font-size: 0.82rem;
    padding: 10px 14px;
    background: rgba(16,185,129,0.08);
    border-left: 3px solid #10b981;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #10b981;
    font-weight: 500;
}

/* ===== DX FOUNDATION CARDS ===== */

.dx-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.dx-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s;
}

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

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

.dx-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
    background: var(--accent-dim);
    color: var(--accent);
}

.dx-header h3 {
    font-size: 1.15rem;
    color: var(--text-strong);
    margin: 0;
}

.dx-header .dx-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.dx-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.dx-col {
    padding: 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.6;
}

.dx-col-classic {
    background: rgba(107,114,128,0.08);
    border: 1px solid rgba(107,114,128,0.2);
}

.dx-col-ax {
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.25);
}

.dx-col-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: block;
}

.dx-col-classic .dx-col-label { color: #9ca3af; }
.dx-col-ax .dx-col-label { color: var(--accent); }

.dx-col p {
    margin: 0;
    color: var(--text);
}

.dx-why {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
}

@media (max-width: 768px) {
    .dx-comparison { grid-template-columns: 1fr; }
    .symptom-grid { grid-template-columns: 1fr; }
}

/* ===== EVOLUTION TABLE ===== */

.evo-table-wrapper {
    overflow-x: auto;
    margin-top: 32px;
}

.evo-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

.evo-table th {
    text-align: left;
    padding: 14px 18px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border);
}

.evo-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.evo-table tr:hover td {
    background: var(--bg-card);
}

.evo-table .evo-highlight {
    color: var(--accent);
    font-weight: 600;
}

/* ===== BOOTSTRAP PLAN ===== */

.plan-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.plan-week {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    transition: border-color 0.3s;
}

.plan-week:hover {
    border-color: var(--accent);
}

.plan-week-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--accent);
    color: #000;
}

.plan-week h4 {
    margin: 12px 0 10px;
    color: var(--text-strong);
    font-size: 1rem;
}

.plan-week p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* ===== SCORE CARD ===== */

.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    transition: border-color 0.3s;
}

.score-item:hover {
    border-color: var(--accent);
}

.score-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--accent-dim);
    color: var(--accent);
}

.score-legend {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 0.88rem;
}

.score-legend span {
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: 600;
}

.score-ready {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.3);
}

.score-improve {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,0.3);
}

.score-priority {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.3);
}

/* ===== INSIGHT BOX ===== */

.insight-box {
    max-width: 860px;
    margin: 40px auto;
    padding: 24px 28px;
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
}

.insight-box strong {
    color: var(--accent);
}
