:root {
    --bg-color: #010409; /* Midnight Obsidian */
    --card-bg: #0d1117; /* Deepest Graphite */
    --accent: #f0f6fc; /* Radiant Platinum/Silver */
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --border-gold: rgba(240, 246, 252, 0.1);
    --radius: 12px;
    --max-width: 920px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    width: 100%;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

.site-wrapper {
    padding: 20px 0 100px;
    overflow-x: visible;
    width: 100%;
}

/* ??節뗪콪???????밸쭬 (???ㅿ폍??????щ４?濡ろ뜐???? */
.command-header {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 30px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-logo {
    font-weight: 950;
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.app-breadcrumb {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.app-breadcrumb .active {
    color: var(--accent);
    font-weight: 800;
}

.app-nav {
    display: flex;
    gap: 12px;
}

.btn-top-primary,
.btn-top-secondary {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-top-primary {
    background: var(--accent);
    color: #000;
}

.btn-top-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

/* 癲ル슢????????筌먲퐡??????源낇꼧??ш끽維??*/
.dashboard-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ???怨쀪퐨?????????????(1. Hero Overview) */
.hero-terminal {
    display: flex;
    gap: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 60px 50px;
    margin-bottom: 30px;
}

.terminal-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.terminal-right {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
}

.status-indicator.live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(225, 216, 201, 0.1);
    border: 1px solid rgba(225, 216, 201, 0.2);
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 30px;
}

.status-text {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--accent);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.pulse {
    animation: pulser 2s infinite;
}

@keyframes pulser {
    0% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--accent);
    display: block;
    margin-top: 5px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.6;
}

.btn-main-gold {
    display: inline-block;
    background: #ffffff;
    color: #000;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.2);
}

.btn-main-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px 0 rgba(255, 255, 255, 0.3);
    background: #f0f6fc;
}

/* ????????Β? ???Β??????숆강筌???*/
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
}

.data-cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-cell:nth-child(3),
.data-cell:nth-child(4) {
    border-bottom: none;
}

.data-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.data-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
}

.gold-text,
.data-value.gold-text {
    color: var(--accent) !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    font-weight: 900;
}

.data-value .unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 5px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-terminal {
        flex-direction: column;
        padding: 0;
        background: transparent;
        border: none;
        gap: 20px;
    }

    .terminal-top,
    .terminal-bottom {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: var(--radius);
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .data-grid {
        gap: 15px;
    }
}

/* 癲ル슢?꾤땟?????????????살씁??*/
.dash-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 60px 40px;
    margin-bottom: 30px;
}

/* Optimization for scroll animations */
.reveal {
    will-change: transform, opacity;
}

.section-meta {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.module-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.sub-module-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 30px 0 20px;
    color: var(--accent);
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-30 {
    margin-top: 30px;
}

.module-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ??怨쀫뮛?????ш끽維????숆강筌???*/
.strategic-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.strategic-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius);
}

.strategic-card.main-card {
    grid-row: span 2;
}

.icon-box {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.strategic-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.strategic-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.prop-list {
    list-style: none;
    margin-top: 30px;
}

.prop-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.prop-list i {
    color: var(--accent);
}

/* 2. 癲ル슪?ｄ펺誘ㅻ쨨???筌먐삳４??癲ル슢????용끏????(Service Matrix) */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.matrix-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: var(--radius);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.matrix-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(225, 216, 201, 0.03);
}

.card-icon i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.matrix-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.matrix-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.demand-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 10px;
}

.demand-bar .fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.demand-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

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

/* 3. ???怨뺣빰??????????? (Live Operations Log) */
.log-terminal {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Inter', monospace;
}

.log-header {
    display: grid;
    grid-template-columns: 120px 150px 1fr 100px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.log-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.log-list li {
    display: grid;
    grid-template-columns: 120px 150px 1fr 100px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    align-items: center;
    font-size: 0.85rem;
    color: #ccc;
    transition: 0.2s;
}

.log-list li:hover {
    background: rgba(255, 255, 255, 0.02);
}

.log-status {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
}

.badge-success {
    background: rgba(255, 255, 255, 0.05);
    color: #f0f6fc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.badge-active {
    background: rgba(255, 255, 255, 0.05);
    color: #f0f6fc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.log-loc {
    font-weight: 700;
    color: #fff;
}

.log-date {
    color: var(--text-muted);
    text-align: right;
}

@media (max-width: 900px) {
    .log-header {
        display: none;
    }

    .log-list li {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px;
        position: relative;
    }

    .log-date {
        text-align: left;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

/* 4. ?嶺? 癲ル슣????????????(Process Flow) */
.support-terminal {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
}

.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.support-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.support-header h2 i {
    color: var(--accent);
    margin-right: 10px;
}

.highlight-badge {
    background: #fff;
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
}

.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.flow-step {
    flex: 1;
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    background: rgba(225, 216, 201, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--accent);
    font-family: monospace;
}

.flow-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.flow-arrow {
    padding-top: 10px;
    color: var(--border-color);
    font-size: 1.2rem;
}

.double-action .fill-btn {
    background: var(--accent);
    color: var(--bg-deep);
}

@media (max-width: 600px) {
    .dash-final .double-action {
        flex-direction: row !important;
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .process-flow {
        flex-direction: column;
        gap: 30px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
}

.tour-info-box h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.tour-info-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .tour-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .tour-grid {
        grid-template-columns: 1fr;
    }
}

.award-full-view {
    margin-top: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
}

.award-full-view img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(0.2);
    transition: 0.5s;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.award-full-view:hover img {
    filter: grayscale(0);
    transform: scale(1.01);
}

.award-caption {
    margin-top: 15px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ????밸쭬 ??ш끽維곩ㅇ????ш끽維곻쭚?? */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid var(--border-color);
    margin-right: 20px;
}

.avatar-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.user-role {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .user-profile {
        margin-right: 10px;
        padding-right: 0;
        border-right: none;
    }

    .user-info {
        display: none;
    }
}

/* 癲ル슔?됭짆?륂렭???嚥▲꺂???嶺뚮ㅎ???(CTA) */
.dash-final {
    text-align: left;
    padding: 100px 40px !important;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.final-inner h2 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.btn-main-gold {
    background: var(--accent);
    color: #000;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    transition: 0.3s;
}

.btn-main-gold:hover {
    background: #fff;
}

.btn-main-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    margin-left: 15px;
}

/* ???쒓낮????????ル늅??씤異?에?ル씔???(Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .command-header {
        top: 10px;
        padding: 15px 20px;
        margin: 0 10px 20px;
    }

    .app-header {
        padding: 5px 15px;
        /* ????밸쭬 ?亦껋꼨援????????⑤베源??*/
    }

    .app-header {
        padding: 2px 12px;
        /* ????밸쭬 ?亦껋꼨援????숆강揶?????⑤베源??*/
    }

    .app-logo {
        font-size: 0.8rem;
        /* ?棺??짆?????μ쪚獄??????쒋??*/
    }

    .btn-top-primary,
    .btn-top-secondary {
        padding: 6px 10px;
        /* ?類???????熬곸쥓嫄??嶺뚮ㅏ援앯뵳???*/
        font-size: 0.8rem;
    }

    .dash-hero {
        padding: 40px 20px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 5px !important;
        /* ????筌먲퐢六??袁⑸즴甕??? ?袁⑸읈?癲?*/
        word-break: keep-all;
    }

    .hero-content {
        gap: 10px !important;
        /* ???????????筌먲퐢六??袁⑸즴甕????????좊즲??좊뙀?????????끹렏??*/
    }

    .hero-summary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dash-section {
        padding: 15px 15px !important;
        margin-bottom: 20px;
    }

    #awards.dash-section {
        background: transparent !important;
        border: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .db-header {
        margin-bottom: 5px !important;
        /* ????? ??嚥▲꺂????????????⑤베源??*/
    }

    .portfolio-container {
        padding: 0 !important;
        overflow: hidden;
        margin-top: -15px !important;
        /* ??ш끽裕㎩쳞?????????袁⑸즴?袁?맪?????????*/
        /* ??????????域밸Ŧ遊얕짆?嶺? ??좊젽?????????? ??????좊즲??좊뙀???⑤베源??*/
    }

    .portfolio-db-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0 15px 0 !important;
        /* ???? ????노윝 ??癰귙끋源?(??????????노윝??癲ル슪?ｇ몭?? */
        gap: 15px !important;
        grid-template-columns: none !important;
        margin-left: -15px;
        /* ??????????노윝 ???ㅼ굡?????ш낄援??癲ル슢??????怨뺤릇 癲ル슢???띤맪?*/
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .project-card .project-img {
        height: 160px !important;
        /* ????癲ル슣?? ??關履? ??좊읈??棺??짆?듬뭄???ヂ???볥뼀??怨뚮옖??鈺곗뼚臾??嶺뚮ㅎ?붷ㅇ???⑤베源??*/
    }

    .project-info h3 {
        font-size: 1.1rem !important;
        /* ??れ꽔?????????⑤베源??*/
    }

    .project-info p {
        font-size: 0.8rem !important;
    }

    .ticker-item {
        width: 220px !important;
    }

    .portfolio-thumb {
        height: 130px !important;
    }

    .portfolio-db-grid::-webkit-scrollbar {
        display: none;
        /* ???袁⑹뵫?棺堉??벬???? */
    }

    .project-card {
        flex: 0 0 85% !important;
        scroll-snap-align: center;
        margin-bottom: 0 !important;
        background: var(--card-bg);
        border-radius: 12px;
        overflow: hidden;
        margin-left: 15px;
        /* ????????癲??怨멸텭???????*/
    }

    .project-card:last-child {
        margin-right: 15px;
        /* 癲ル슢???癲??怨멸텭???????*/
    }

    .project-info {
        padding: 15px;
        /* ????몄릇?嶺? ?袁⑸즴甕????獄쏅챸諭???됰Ŧ?? ????녳뵣??????노윝 ?嶺뚮㉡?€쾮?*/
    }

    .module-title {
        font-size: 1.5rem;
    }

    .strategic-grid,
    .portfolio-db-grid,
    .wiki-layout {
        grid-template-columns: 1fr;
        gap: 15px;
        /* ??좊즲??좊뙀????? ??⑤베源??*/
    }

    .tour-preview-card {
        height: 250px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        padding: 0;
        /* ???? ??????癰귙끋源??筌뚯슦肉?????癲ル슣?? ?嶺뚮Ĳ???*/
    }

    .award-full-view {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 15px;
    }

    .award-img-container {
        padding: 0 !important;
        margin-top: 10px;
    }

    .award-img-container img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        transform: scale(1.05);
        /* ??鶯??釉뚰??????嶺? */
    }

    .dash-final {
        padding: 60px 20px !important;
    }

    .final-inner h2 {
        font-size: 1.4rem !important;
        /* 癲ル슢?꾤땟??????좊읈?????좊렰 ???ㅺ강????ш낄援?????μ쪚獄???⑤베源??*/
        line-height: 1.4;
        word-break: keep-all;
    }

    .final-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .btn-main-gold,
    .btn-main-outline {
        white-space: nowrap !important;
        /* ????몄릇??嚥싲갭?泳?낑??濚욌꼬釉먮쳥???? ?袁⑸젻泳? */
        font-size: 0.85rem !important;
        padding: 15px 10px !important;
    }

    .app-nav {
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .app-nav a {
        width: auto !important;
        white-space: nowrap;
        font-size: 0.65rem !important;
        padding: 6px 12px !important;
        border-radius: 4px;
    }

    .btn-top-secondary {
        border: 1px solid var(--border-color) !important;
        background: var(--card-bg);
        color: var(--text-main);
    }

    .btn-top-primary {
        background: var(--accent) !important;
        color: #000 !important;
        font-weight: 800;
    }

    .btn-main-gold,
    .btn-main-outline {
        width: 100%;
        margin-left: 0;
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

/* 癲ル슔?됭짆?륂렭???嚥▲꺂???嶺뚮ㅎ???(CTA) */
.dash-final {
    text-align: left;
    padding: 100px 40px !important;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.final-inner h2 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.btn-main-gold {
    background: var(--accent);
    color: #000;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    transition: 0.3s;
}

.btn-main-gold:hover {
    background: #fff;
}

.btn-main-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    margin-left: 15px;
}

/* ???쒓낮????????ル늅??씤異?에?ル씔???(Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ?縕????癲ル슢?꾤땟????????*/
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .card-value {
        font-size: 1.1rem !important;
    }
}

/* ??ш끽維곩ㅇ???됰씭肄????ㅳ늾??癲ル슢?꾤땟????????*/
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-main);
    margin: 2% auto;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 15px 25px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.close-modal {
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    flex: 1;
    width: 100%;
    height: 100%;
}

#project-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 5. ???깆쓧 ???筌뤾쑴理??熬곥굦??(Compliance) */
.compliance-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.comp-box.highlight-box {
    background: rgba(225, 216, 201, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.comp-box .icon-large {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.comp-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.comp-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comp-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius);
}

.comp-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.comp-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comp-text strong {
    font-size: 1rem;
    color: #fff;
}

.comp-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .compliance-layout {
        grid-template-columns: 1fr;
    }
}


/* Ticker Override & Empty Image Placeholder */
.ticker-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    padding: 10px 0;
}

.ticker-track {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.ticker-track.active-drag {
    cursor: grabbing;
}

.ticker-inner {
    display: flex;
    gap: 20px;
    will-change: transform;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    width: 300px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.empty-img-placeholder {
    width: 100%;
    height: 180px;
    background: #1a1a1a;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.empty-img-placeholder::after {
    content: "\f03e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
}

.ticker-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticker-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    white-space: normal;
    line-height: 1.4;
    margin: 0;
}

/* Stacked Support Conditions CSS */
.stacked-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    text-align: center;
    align-items: center;
}

.stacked-header p.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.support-conditions-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.condition-item {
    padding: 20px 30px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

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

.condition-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.condition-item.highlight-condition {
    background: #fff2b2;
}

.condition-item.highlight-condition p {
    color: #000;
    font-weight: 800;
    line-height: 1.5;
}


/* --- REDESIGN: Clean Hero --- */
.hero-terminal.clean-hero {
    border: none;
    background: transparent;
    padding: 20px 0 60px 0;
}

.terminal-right-clean {
    flex: 1;
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 60px;
}

.data-grid.clean-grid {
    gap: 40px;
}

.clean-grid .data-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.clean-grid .data-cell:nth-child(3),
.clean-grid .data-cell:nth-child(4) {
    border-bottom: none;
}

@media (max-width: 768px) {
    .terminal-right-clean {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 40px;
    }
}

/* --- REDESIGN: Clean Gov Support (Dark Theme) --- */
.support-terminal.clean-support {
    background: transparent;
    border: none;
    padding: 0;
}

.support-conditions-list.dark-list {
    border: none;
    border-radius: 12px;
}

.dark-list .condition-item {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: none;
}

.dark-list .condition-item p {
    color: #eee;
}

.dark-list .condition-item.highlight-condition-gold {
    background: rgba(225, 216, 201, 0.1);
}

.dark-list .condition-item.highlight-condition-gold p {
    color: var(--accent);
}

/* --- FAQ Accordion --- */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.faq-header p {
    color: var(--text-muted);
    line-height: 1.6;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.acc-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.acc-q {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
}

.acc-q:hover,
.acc-q.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.acc-a {
    max-height: 0;
    padding: 0 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    overflow: hidden;
}

.acc-q.active+.acc-a {
    max-height: 500px;
    padding: 0 25px 25px 25px;
    opacity: 1;
}

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* --- REDESIGN: Hero Top-Bottom Layout --- */
.hero-terminal.hero-vertical {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 60px 20px;
    border: none;
    background: transparent;
}

.hero-vertical .terminal-top {
    width: 100%;
    max-width: 800px;
    margin-bottom: 50px;
}

.hero-vertical .sys-status {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.hero-vertical .hero-desc {
    margin: 0 0 40px 0;
}

.hero-vertical .terminal-bottom {
    width: 100%;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
}

.data-grid.horizontal-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.horizontal-grid .data-cell {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    padding: 10px 0;
}

.horizontal-grid .data-cell:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .data-grid.horizontal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .horizontal-grid .data-cell:nth-child(2) {
        border-right: none;
    }

    .horizontal-grid .data-cell:nth-child(1),
    .horizontal-grid .data-cell:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* --- REDESIGN: Section 2 Differentiators --- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.diff-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.diff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 216, 201, 0.3);
}

.gold-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.diff-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.diff-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

/* --- REDESIGN: Service Matrix Image Placeholders --- */
.empty-img-placeholder-small {
    width: 100%;
    height: 140px;
    background: #0f172a;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.empty-img-placeholder-small::after {
    content: "\f03e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.05);
    font-size: 2rem;
}


/* --- REDESIGN 2: Stacked Differentiators --- */
.diff-stacked {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.diff-row {
    display: flex;
    align-items: center;
    padding: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.diff-row:last-child {
    border-bottom: none;
}

.diff-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.diff-num {
    font-family: "Inter", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.8;
    margin-right: 40px;
    line-height: 1;
    min-width: 80px;
}

.diff-content h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.diff-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.diff-content strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .diff-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }

    .diff-num {
        font-size: 2rem;
        margin-bottom: 4px;
        text-align: left;
        margin-right: auto;
        width: 100%;
    }
}


/* --- REDESIGN 3: Portfolio Thumbnails & Modal --- */
.ticker-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.ticker-item:hover {
    transform: translateY(-3px);
}

.portfolio-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    contain: layout paint;
    transform: translateZ(0);
}

.portfolio-thumb::after {
    content: "사진 보기";
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.ticker-item:hover .portfolio-thumb::after {
    opacity: 1;
}

/* Portfolio Lightbox Modal */
.port-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

.port-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.port-modal-content {
    background: #0f172a;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.port-modal-overlay.active .port-modal-content {
    transform: translateY(0);
}

.port-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
}

.port-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.port-close-btn {
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.port-close-btn:hover {
    color: #fff;
}

.port-modal-gallery {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #030712;
}

.port-modal-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Scrollbar for modal gallery */
.port-modal-gallery::-webkit-scrollbar {
    width: 8px;
}

.port-modal-gallery::-webkit-scrollbar-track {
    background: #0f1c14;
}

.port-modal-gallery::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.port-modal-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}





/* --- PREMIUM HERO WITH BACKGROUND IMAGE --- */
.dash-hero {
    position: relative;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 160px 60px 100px;
}

.dash-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(3, 7, 18, 0.7) 0%, 
        rgba(3, 7, 18, 0.85) 60%, 
        rgba(3, 7, 18, 1) 100%
    );
    z-index: 1;
}

.dash-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(240, 246, 252, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 246, 252, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.dash-hero .hero-terminal {
    position: relative;
    z-index: 10;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100%;
}

.hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .site-wrapper {
        padding-top: 0 !important;
    }

    .dashboard-main {
        padding: 0 !important;
    }

    .command-header {
        display: none !important;
    }

    .dash-section {
        padding: 0 20px !important;
        margin-bottom: 40px !important;
    }

    .dash-hero {
        background-attachment: scroll;
        min-height: auto;
        padding: 80px 0 60px !important;
        background-position: center;
        width: 100vw !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }

    .dash-hero .hero-terminal,
    .dash-hero .hero-terminal.hero-vertical,
    .dash-hero .terminal-top,
    .dash-hero .terminal-bottom {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 24px !important;
        margin: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
        font-weight: 900 !important;
        line-height: 1.25 !important;
        word-break: keep-all !important;
        text-shadow: 0 2px 20px rgba(0,0,0,1) !important;
        margin-bottom: 25px !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
        color: #eee !important;
        word-break: keep-all !important;
        text-shadow: 0 1px 10px rgba(0,0,0,1) !important;
        margin-bottom: 40px !important;
        line-height: 1.6 !important;
    }

    .btn-main-gold {
        width: 100% !important;
        padding: 18px !important;
        font-weight: 700 !important;
    }

    .terminal-bottom {
        margin-top: 50px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 30px !important;
    }

    .data-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 25px 15px !important;
    }

    .data-value {
        font-size: 1.4rem !important;
        font-weight: 850 !important;
    }
}

/* ========================================
   ?곕떽?: ?袁⑥뵭 ?????癰귣똻??
   ======================================== */

/* 1. 2??ｍ????筌왖 獄쏅벡??(PC: 甕곕뜇????삘뀲筌잛럩肉???뽯뻻) */
.diff-image-box {
    width: 280px;
    height: 180px;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.diff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 768px) {
    .diff-row {
        flex-direction: column;
        gap: 6px;
    }
    .diff-image-box {
        width: 100%;
        height: 160px;
        margin-top: 4px;
        border-radius: 8px;
    }
}

.section-meta {
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    opacity: 0.9 !important;
    letter-spacing: 2px !important;
}

@media (max-width: 768px) {
    .section-meta {
        margin-top: 30px;
        margin-bottom: 25px !important;
    }
}

/* 3. ?紐낃숲 餓λ쵐釉??類ｌ졊 */
.app-footer {
    text-align: center !important;
    padding: 40px 24px !important;
    line-height: 1.8;
}

/* 4. PC/筌뤴뫀而???얜챷??甕곌쑵???紐꾪뀱 ??뽯선 */
.mobile-contact-group {
    display: none !important;
}
.pc-contact-group {
    display: block !important;
}

@media (max-width: 768px) {
    .mobile-contact-group {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-contact-group a {
        flex: 1 1 0 !important;
        min-width: 0;
        padding: 12px 8px;
        font-size: 0.8rem;
        white-space: normal !important;
        word-break: keep-all;
        line-height: 1.3;
        text-align: center;
        box-sizing: border-box;
    }
    .pc-contact-group {
        display: none !important;
    }
}

/* --- 4. 서비스 범위 (Service Range) 스타일 --- */
#service-range {
    /* 공통 .dash-section 스타일 상속 */
}

.range-board {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(225, 216, 201, 0.08);
    border-radius: 24px;
    padding: 60px 20px;
    margin-top: 40px;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.cube-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.cube-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    flex-wrap: nowrap; /* 강제 한 줄 정렬 */
}

/* PC Offset: Row 2 (5 items) pushes slightly */
.row-5 {
    padding: 0 40px;
}

.cube-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 130px;
    flex-shrink: 0;
}

.cube-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.cube-image {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.cube-image::after {
    content: '''';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cube-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.range-footer {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
}

.range-footer p {
    font-size: 1.4rem;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gold-text-bold {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: var(--accent) !important;
    letter-spacing: -1px;
}

/* Mobile: 3-column grid layout */
@media (max-width: 768px) {
    .cube-grid-v2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0;
    }
    .cube-row {
        display: contents;
    }
    .cube-item {
        width: 100%;
        align-items: center;
    }
    .cube-image {
        width: 100%;
        max-width: 90px;
        aspect-ratio: 1;
        height: auto;
        border-radius: 22px;
    }
    .cube-label {
        font-size: 0.9rem;
    }
    .gold-text-bold {
        font-size: 1.6rem !important;
    }
    /* 벽지: 모바일에서 숨김 (3열 4줄 = 12개 유지) */
    .cube-row:last-child .cube-item:last-child {
        display: none;
    }

    /* range-board 모바일 패딩 축소 */
    .range-board {
        padding: 30px 12px;
        margin-top: 20px;
    }
    .range-footer {
        margin-top: 20px;
        padding-top: 10px;
    }
}

/* 모바일 포트폴리오 모달 최적화 */
@media (max-width: 768px) {
    .port-modal-content {
        width: 96%;
        height: 90vh;
    }
    .port-modal-header {
        padding: 15px 18px;
    }
    .port-modal-gallery {
        padding: 12px;
        gap: 12px;
    }
}

/* 모바일 3단계: 개별 카드 + 5단계 하단 여백 */
@media (max-width: 768px) {
    .diff-stacked {
        background: transparent;
        border: none;
        border-radius: 0;
        overflow: visible;
        gap: 12px;
    }
    .diff-row {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 12px;
        overflow: hidden;
        padding: 20px;
    }
    .diff-row:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }
    #differentiators.dash-section {
        padding-bottom: 24px !important;
    }
    #service-range.dash-section {
        padding-bottom: 24px !important;
    }
    #faq.dash-section {
        padding-bottom: 24px !important;
    }

    /* 모바일 2단계: reveal 애니메이션 즉시 표시 */
    #portfolio.reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
