.detailed-roadmap-section {
    width: 100%;
    height: 100%;
    padding: 42px 58px 48px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 85% 18%, rgba(212, 175, 55, 0.10), transparent 22%),
        linear-gradient(180deg, #FAFAFA 0%, #F2F4F7 100%);
    font-family: 'Noto Sans KR', sans-serif;
    overflow: hidden;
}

.reveal h2.slide-header {
    margin: 0 0 30px 0;
    text-align: center;
    font-size: 2.18rem;
    line-height: 1.1;
    font-weight: 900;
    color: #202020;
    letter-spacing: -0.055em;
}

.reveal h2.slide-header span {
    color: #D4AF37;
}

.roadmap-ir {
    width: 100%;
    height: calc(100% - 72px);
    display: flex;
    flex-direction: column;
}

/* Phase */
.phase-container {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 10px;
    height: 42px;
    margin-bottom: 8px;
}

.phase-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%, 4% 50%);
}

.phase-box:first-child {
    clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
}

.phase-box:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 4% 50%);
}

.phase-1 { background: #243646; }
.phase-2 { background: #657486; }
.phase-3 { background: linear-gradient(90deg, #D4AF37, #C8A12E); }

/* Timeline */
.timeline-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    height: 36px;
    margin-bottom: 20px;
}

.time-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E9EEF2;
    border-radius: 6px;
    border-bottom: 3px solid #D4AF37;
    color: #222;
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.8);
}

/* Cards */
.roadmap-grid-ir {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.roadmap-card-ir {
    position: relative;
    min-width: 0;
    max-height: 350px;
    padding: 18px 17px 18px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(210, 214, 220, 0.9);
    border-radius: 20px;
    box-shadow:
        0 16px 32px rgba(29, 43, 58, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.roadmap-card-ir::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: #D4AF37;
}

.roadmap-card-ir::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.09);
    z-index: 0;
}

.roadmap-card-ir.scale {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,248,228,0.95) 100%);
    border-color: rgba(212, 175, 55, 0.35);
}

.card-top,
.roadmap-card-ir h3,
.key-output,
.roadmap-card-ir ul {
    position: relative;
    z-index: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.quarter {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(36, 54, 70, 0.08);
    color: #243646;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.card-num {
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.28);
    letter-spacing: -0.04em;
}

.roadmap-card-ir h3 {
    margin: 0 0 10px 0;
    color: #111;
    font-size: 0.96rem;
    line-height: 1.27;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.key-output {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    margin-bottom: 14px;
    padding: 4px 9px;
    border-radius: 7px;
    background: rgba(212, 175, 55, 0.13);
    color: #8A6A12;
    font-size: 0.62rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.01em;
    white-space: normal;
}

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

.roadmap-card-ir li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 12px;
    color: #3A3A3A;
    font-size: 0.72rem;
    line-height: 1.38;
    font-weight: 500;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.roadmap-card-ir li:last-child {
    margin-bottom: 0;
}

.roadmap-card-ir li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4.8px;
    height: 4.8px;
    border-radius: 50%;
    background: #D4AF37;
}

.roadmap-card-ir strong {
    color: #111;
    font-weight: 900;
}

/* Print */
@media print {
    .detailed-roadmap-section {
        width: 1280px !important;
        height: 720px !important;
        overflow: hidden !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}