/* =====================================================
   ONE.EJS 통합 페이지 스타일
   ===================================================== */

/* =====================================================
   1. 페이지 Hero 섹션 (one- prefix)
   ===================================================== */
/* .one-hero {
    background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-600) 100%);
    padding: 12rem 0 10rem;
    text-align: center;
    color: #ffffff;
    margin-top: 0;
    position: relative;
    overflow: hidden;
} */

/* pages.css 수정 */
.one-hero {
    background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-600) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
    color: #ffffff;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.one-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    opacity: 1;
    z-index: 0;
}

/* Hero 섹션 배경 이미지 스타일 (공통 및 개별 설정) */
.one-hero.hero-index,
.one-hero.hero-about,
.one-hero.hero-technology,
.one-hero.hero-results,
.one-hero.hero-solutions,
.one-hero.hero-partners,
.one-hero.hero-resources,
.one-hero.hero-contact {
    background: none;
    position: relative;
    background-color: rgba(0, 0, 0, 0.1);
}

/* 공통 Pseudo-element 스타일 (배경 이미지 및 오버레이) */
.one-hero.hero-index::before,
.one-hero.hero-about::before,
.one-hero.hero-technology::before,
.one-hero.hero-results::before,
.one-hero.hero-solutions::before,
.one-hero.hero-partners::before,
.one-hero.hero-resources::before,
.one-hero.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: blur(3px); */
    z-index: -1;
}

.one-hero.hero-index::after,
.one-hero.hero-about::after,
.one-hero.hero-technology::after,
.one-hero.hero-results::after,
.one-hero.hero-solutions::after,
.one-hero.hero-partners::after,
.one-hero.hero-resources::after,
.one-hero.hero-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

/* 비디오 배경 스타일 */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Hero 오버레이 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

/* 개별 이미지 설정 */
.one-hero.hero-index::before {}

.one-hero.hero-about::before {
    background-image: url('/images/hero/hero-about-bg.webp');
}

.one-hero.hero-technology::before {
    background-image: url('/images/hero/hero-technology-bg.webp');
}

.one-hero.hero-results::before {
    background-image: url('/images/hero/hero-results-bg.webp');
}

.one-hero.hero-solutions::before {
    background-image: url('/images/hero/hero-solutions-bg.webp');
}

.one-hero.hero-partners::before {
    background-image: url('/images/hero/hero-partners-bg.webp');
}

.one-hero.hero-resources::before {
    background-image: url('/images/hero/hero-resources-bg.webp');
}

.one-hero.hero-contact::before {
    background-image: url('/images/hero/hero-contact-bg.webp');
}

.one-hero .container {
    position: relative;
    z-index: 1;
}

.one-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.one-hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.95;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .one-hero {
        padding: 8rem 0 5rem;
    }
}

/* =====================================================
   2. 섹션 기본 스타일 (one- prefix)
   ===================================================== */
.one-section {
    padding: 7rem 0;
    border-bottom: 1px solid #eeeeee;
}

.one-section[data-animate] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.one-section[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.one-bg-light {
    background-color: var(--color-bg-light);
}

.one-bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
}

@media (max-width: 768px) {
    .one-section {
        padding: 4rem 0;
    }
}

/* =====================================================
   3. 섹션 헤더 (one- prefix)
   ===================================================== */
.one-section-header {
    margin-bottom: 5rem;
    position: relative;
}

.one-section-header.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.one-section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-primary-50);
    border-radius: 100px;
    border: 1px solid var(--color-primary-100);
}

.one-section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.one-section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 700px;
    font-weight: 400;
}

.one-section-header.text-center .one-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .one-section-header {
        margin-bottom: 3rem;
    }

    .one-section-title {
        font-size: 2rem;
    }

    .one-section-subtitle {
        font-size: 1.1rem;
    }
}

/* =====================================================
   4. Overview 섹션 (one- prefix)
   ===================================================== */
.one-overview-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    word-break: keep-all;
}

.one-overview-text p strong {
    color: var(--color-primary-700);
    font-weight: 700;
}

.text-center .one-overview-text {
    max-width: 900px;
    margin: 0 auto;
}

.one-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.one-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.one-info-item strong {
    font-size: 0.9rem;
    color: var(--color-primary-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.one-info-item span {
    font-size: 1.15rem;
    color: var(--color-text-primary);
    font-weight: 600;
    line-height: 1.4;
    word-break: keep-all;
}

/* =====================================================
   5. 카드 그리드 (one- prefix)
   ===================================================== */
.one-cards-grid {
    display: grid;
    gap: 2rem;
}

.one-cards-2 {
    grid-template-columns: repeat(2, 1fr);
}

.one-cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.one-cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {

    .one-cards-3,
    .one-cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .one-cards-2,
    .one-cards-3,
    .one-cards-4 {
        grid-template-columns: 1fr;
    }
}

.one-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.one-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary-200);
}

.one-card-image {
    width: calc(100% + 5rem);
    margin: -2.5rem -2.5rem 2rem -2.5rem;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--color-bg-light);
}

.one-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.one-card:hover .one-card-image img {
    transform: scale(1.05);
}

.one-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.75rem;
    color: var(--color-primary-600);
    background: var(--color-primary-50);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.one-card:hover .one-card-icon {
    background: var(--color-primary-600);
    color: #ffffff;
    transform: scale(1.1);
}

.one-card-icon svg {
    width: 32px;
    height: 32px;
}

.one-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.one-card-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: auto;
    /* Pushes content up */
}

.one-card-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.one-card-badge {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-700);
    background: var(--color-primary-50);
    border-radius: 100px;
    align-self: flex-start;
}

.badge-primary {
    background-color: var(--color-primary-100);
    color: var(--color-primary-700);
}

.one-card-list {
    list-style: none;
    margin-top: 1.25rem;
    padding: 0;
}

.one-card-list li {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.one-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary-400);
}

.one-card-list .sub-list {
    padding-left: 1.5rem;
}

.one-card-list .sub-list li::before {
    background-color: var(--color-primary-200);
    width: 5px;
    height: 5px;
    top: 0.9em;
}

.one-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* =====================================================
   6. 프로세스 플로우 (one- prefix)
   ===================================================== */
.one-process {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 4rem 0;
    padding: 0;
}

.one-process-item {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.one-process-number {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-primary-300);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.1em;
}

.one-process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-primary-600);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.one-process-item:hover .one-process-icon {
    border-color: var(--color-primary-500);
    color: var(--color-primary-600);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.one-process-icon svg {
    width: 40px;
    height: 40px;
}

.one-process-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.one-process-item p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

.one-process-arrow {
    flex: 0 0 40px;
    height: 90px;
    /* align with icon */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
    font-size: 1.5rem;
    margin-top: 2rem;
    /* Account for number offset */
}

@media (max-width: 992px) {
    .one-process {
        flex-wrap: wrap;
        gap: 3rem;
    }

    .one-process-item {
        flex: 1 1 40%;
    }

    .one-process-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .one-process {
        flex-direction: column;
        align-items: center;
    }

    .one-process-item {
        width: 100%;
        max-width: 300px;
        padding: 0;
    }
}

/* =====================================================
   7. 통계 섹션 (one- prefix)
   ===================================================== */
.one-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.one-stat-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s ease;
}

.one-stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary-200);
    box-shadow: var(--shadow-md);
}

.one-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.one-stat-label {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

@media (max-width: 992px) {
    .one-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .one-stats {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   8. 탭 컴포넌트 (one- prefix)
   ===================================================== */
.one-tabs {
    width: 100%;
}

.one-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    border-bottom: none;
}

.one-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.one-tab-btn:hover {
    border-color: var(--color-primary-300);
    color: var(--color-primary-600);
}

.one-tab-btn.active {
    background: var(--color-primary-600);
    color: #ffffff;
    border-color: var(--color-primary-600);
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.2);
}

.one-tab-btn svg {
    width: 18px;
    height: 18px;
}

.one-tab-content {
    display: none;
    animation: oneFadeIn 0.4s ease;
}

.one-tab-content.active {
    display: block;
}

@keyframes oneFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* =====================================================
   9. FAQ 섹션 (one- prefix)
   ===================================================== */
.one-faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.one-faq-item {
    border-bottom: 1px solid var(--color-border-light);
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.one-faq-item:hover {
    border-color: var(--color-primary-200);
}

.one-faq-item.active {
    border-color: var(--color-primary-200);
    background: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.one-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: transparent;
}

.one-faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    padding-right: 1rem;
}

.one-faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.one-faq-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-text-secondary);
    transition: transform 0.3s ease;
}

.one-faq-item.active .one-faq-toggle {
    background: var(--color-primary-100);
}

.one-faq-item.active .one-faq-toggle svg {
    stroke: var(--color-primary-700);
    transform: rotate(180deg);
}

.one-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.one-faq-item.active .one-faq-answer {
    max-height: 500px;
}

.one-faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   10. CTA 섹션 (one- prefix)
   ===================================================== */
.one-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #ffffff 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.one-cta-quote {
    margin-bottom: 2rem;
    color: var(--color-primary-200);
}

.one-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 3rem;
}

.one-cta-title .text-primary {
    color: var(--color-primary-600);
    display: block;
}

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

.one-cta-buttons .btn {
    min-width: 180px;
}

/* =====================================================
   12. Approach Grid (one- prefix) - Added for Problem Section
   ===================================================== */
.one-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.one-approach-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.one-approach-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-600);
    border: 2px solid var(--color-primary-100);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.one-approach-item:hover .one-approach-circle {
    background: var(--color-primary-600);
    color: #ffffff;
    border-color: var(--color-primary-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 77, 64, 0.2);
}

.one-approach-circle svg {
    width: 24px;
    height: 24px;
}

.one-approach-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

@media (max-width: 480px) {
    .one-approach-grid {
        gap: 0.5rem;
    }

    .one-approach-circle {
        width: 48px;
        height: 48px;
    }

    .one-approach-circle svg {
        width: 20px;
        height: 20px;
    }

    .one-approach-item span {
        font-size: 0.8rem;
    }
}

/* =====================================================
   13. Flow Steps (one- prefix) - Added for Research Intro
   ===================================================== */
.one-flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.one-flow-step {
    background: #ffffff;
    color: var(--color-primary-700);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--color-primary-100);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.one-flow-step:hover {
    background: var(--color-primary-50);
    border-color: var(--color-primary-200);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.15);
    color: var(--color-primary-800);
}

.one-flow-separator {
    color: var(--color-primary-200);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

@media (max-width: 640px) {
    .one-flow-steps {
        gap: 0.5rem;
        flex-direction: column;
    }

    .one-flow-separator {
        transform: rotate(90deg);
        margin: -0.25rem 0;
    }

    .one-flow-step {
        width: 100%;
        max-width: 240px;
        text-align: center;
    }
}

/* =====================================================
   14. Content Box (one- prefix) - For Grouped Sections
   ===================================================== */
.one-content-box {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--color-border-light);
    width: 100%;
}

.one-content-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

/* Reuse item styling within box */
.one-content-box .one-card-icon {
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    /* Keep consistent with one-card-icon */
}

.one-content-box .one-card-icon svg {
    width: 28px;
    height: 28px;
}

.one-content-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.one-content-box p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
    word-break: keep-all;
}

/* =====================================================
   15. Two Column Layout (one- prefix) - For Lists
   ===================================================== */
.one-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.one-two-columns h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.one-two-columns h3 i {
    color: var(--color-primary-600);
}

.one-two-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.one-two-columns li {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    word-break: keep-all;
}

.one-two-columns li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.2em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary-500);
}

@media (max-width: 768px) {
    .one-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =====================================================
   16. Service Split Layout (one- prefix) - For App/Monitoring Services
   ===================================================== */
.one-service-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.one-service-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.one-service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary-600);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    align-self: flex-start;
}

.one-service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.3;
    margin: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(255, 200, 150, 0.3) 0%, transparent 100%);
    border-left: 4px solid #ff9966;
}

.one-service-desc {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin: 0;
    word-break: keep-all;
}

.one-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.one-service-list li {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    word-break: keep-all;
}

.one-service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary-600);
    font-size: 1.5rem;
    line-height: 1.3;
}

.one-service-screens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.one-service-screens-4 {
    grid-template-columns: repeat(4, 1fr);
}

.one-service-screen {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.one-service-screen img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.one-service-screen:hover img {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.one-service-screen-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    .one-service-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .one-service-screens {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .one-service-screens-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .one-service-title {
        font-size: 1.75rem;
    }

    .one-service-desc,
    .one-service-list li {
        font-size: 1rem;
    }

    .one-service-screens {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .one-service-screens-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .one-service-screen-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .one-service-screens {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .one-service-screens-4 {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   17. Dashboard Service Layout (one- prefix) - For Dashboard System
   ===================================================== */
.one-dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.one-dashboard-desc {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin: 0;
}

.one-dashboard-options {
    margin-top: 4rem;
    padding: 3rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--color-border-light);
}

.one-dashboard-options-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.one-dashboard-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.one-dashboard-option-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.one-dashboard-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.one-dashboard-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--color-primary-50);
    color: var(--color-primary-600);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.one-dashboard-option-card:hover .one-dashboard-option-icon {
    background: var(--color-primary-600);
    color: #ffffff;
}

.one-dashboard-option-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 1rem 0;
}

.one-dashboard-option-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.one-dashboard-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.one-dashboard-preview {
    position: relative;
}

.one-dashboard-preview img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border-light);
}

.one-dashboard-preview-label {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 1.5rem;
}

.one-dashboard-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.one-dashboard-feature {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.one-dashboard-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-200);
}

.one-dashboard-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--color-primary-50);
    color: var(--color-primary-600);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.one-dashboard-feature:hover .one-dashboard-feature-icon {
    background: var(--color-primary-600);
    color: #ffffff;
}

.one-dashboard-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.4;
}

.one-dashboard-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.one-dashboard-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.one-dashboard-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.one-dashboard-gallery-item:hover img {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.one-dashboard-gallery-label {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .one-dashboard-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .one-dashboard-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .one-dashboard-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .one-dashboard-desc {
        font-size: 1.1rem;
    }

    .one-dashboard-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .one-dashboard-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .one-dashboard-options {
        padding: 2rem;
    }

    .one-dashboard-options-title {
        font-size: 1.5rem;
    }

    .one-dashboard-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .one-dashboard-features {
        grid-template-columns: 1fr;
    }

    .one-dashboard-options {
        padding: 1.5rem;
    }
}

/* =====================================================
   18. Demonstration Locations Grid (one- prefix) - For Demo Sites
   ===================================================== */
.one-demo-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.one-demo-location {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.one-demo-image {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.one-demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.one-demo-location:hover .one-demo-image {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.one-demo-location:hover .one-demo-image img {
    transform: scale(1.05);
}

.one-demo-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .one-demo-locations {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =====================================================
   19. Certifications Gallery (one- prefix) - For Certificates & Patents
   ===================================================== */
.one-cert-category {
    margin-bottom: 5rem;
}

.one-cert-category:last-of-type {
    margin-bottom: 0;
}

.one-cert-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.one-cert-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-50);
    color: var(--color-primary-600);
    border-radius: 12px;
}

.one-cert-category-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.one-cert-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.one-cert-gallery-1 {
    justify-content: center;
}

.one-cert-gallery-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.one-cert-gallery-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.one-cert-gallery-label {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-top: 2rem;
}

.one-cert-gallery-stack {
    justify-content: center;
}

.one-cert-stack {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.one-cert-stack .one-cert-image {
    position: absolute;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
}

.one-cert-stack .one-cert-image:nth-child(1) {
    position: relative;
    transform: rotate(0deg);
    z-index: 4;
}

.one-cert-stack .one-cert-image:nth-child(2) {
    top: 20px;
    left: 30px;
    transform: rotate(2deg);
    z-index: 3;
}

.one-cert-stack .one-cert-image:nth-child(3) {
    top: 40px;
    left: 60px;
    transform: rotate(4deg);
    z-index: 2;
}

.one-cert-stack .one-cert-image:nth-child(4) {
    top: 60px;
    left: 90px;
    transform: rotate(6deg);
    z-index: 1;
}

.one-cert-stack:hover .one-cert-image:nth-child(1) {
    transform: rotate(-2deg) translateY(-10px);
    z-index: 10;
}

.one-cert-stack:hover .one-cert-image:nth-child(2) {
    transform: rotate(3deg) translateY(-8px);
    z-index: 9;
}

.one-cert-stack:hover .one-cert-image:nth-child(3) {
    transform: rotate(5deg) translateY(-6px);
    z-index: 8;
}

.one-cert-stack:hover .one-cert-image:nth-child(4) {
    transform: rotate(7deg) translateY(-4px);
    z-index: 7;
}

.one-cert-stack .one-cert-label {
    position: relative;
    z-index: 20;
    margin-top: calc(100% + 1rem);
}

.one-cert-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.one-cert-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    background: #ffffff;
}

.one-cert-gallery-4 .one-cert-image-wrapper {
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
}

.one-cert-gallery-4 .one-cert-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.one-cert-image-wrapper:hover .one-cert-image {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.one-cert-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: center;
    margin: 0;
}

.one-cert-conclusion {
    margin-top: 5rem;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.03) 0%, rgba(0, 150, 136, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid var(--color-primary-100);
}

.one-cert-conclusion p {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin: 0;
    font-weight: 400;
}

.one-cert-conclusion strong {
    color: var(--color-primary-700);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .one-cert-gallery-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .one-cert-category {
        margin-bottom: 4rem;
    }

    .one-cert-category-header {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .one-cert-category-header h3 {
        font-size: 1.5rem;
    }

    .one-cert-gallery-2,
    .one-cert-gallery-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .one-cert-stack .one-cert-image:nth-child(2) {
        left: 15px;
    }

    .one-cert-stack .one-cert-image:nth-child(3) {
        left: 30px;
    }

    .one-cert-stack .one-cert-image:nth-child(4) {
        left: 45px;
    }

    .one-cert-conclusion {
        margin-top: 4rem;
        padding: 2rem 1.5rem;
    }

    .one-cert-conclusion p {
        font-size: 1.15rem;
    }
}

/* =====================================================
   20. Organization Chart (one- prefix) - For Organization Diagram
   ===================================================== */
.one-org-chart {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border-light);
}

.one-org-chart-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
}

.one-org-chart-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 2rem;
}


.one-org-chart-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.one-org-chart-image-large {
    padding: 3rem;
}

.one-org-chart-image-large img {
    max-width: 1000px;
}

@media (max-width: 768px) {
    .one-org-chart {
        margin-top: 4rem;
        padding-top: 3rem;
    }

    .one-org-chart-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .one-org-chart-image {
        padding: 1rem;
    }
}

/* =====================================================
   21. Resources Library (one- prefix) - For News, Research, Exhibition
   ===================================================== */
.one-resource-section {
    margin-bottom: 5rem;
}

.one-resource-section:last-child {
    margin-bottom: 0;
}

.one-resource-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2.5rem;
}

.one-resource-section-title i {
    color: var(--color-primary-600);
}

/* 뉴스 링크 카드 */
.one-card-link {
    text-decoration: none;
    color: inherit;
    position: relative;
}

.one-card-link .one-card-link-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-50);
    color: var(--color-primary-600);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.one-card-link:hover .one-card-link-icon {
    opacity: 1;
    transform: translateY(0);
}

.one-card-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* 파일 다운로드 카드 */
.one-card-file {
    text-align: center;
}

.one-card-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-primary-50);
    color: var(--color-primary-600);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.one-card-file:hover .one-card-file-icon {
    background: var(--color-primary-600);
    color: #ffffff;
    transform: scale(1.1);
}

.one-card-file h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.one-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary-600);
    color: #ffffff;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.2);
}

.one-btn-download:hover {
    background: var(--color-primary-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 150, 136, 0.3);
    color: #ffffff;
}

/* 전시회 정보 */
.one-exhibition-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
}

.one-exhibition-info h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.one-exhibition-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.one-exhibition-link:hover {
    color: var(--color-primary-700);
    gap: 0.75rem;
}

/* 전시회 갤러리 */
.one-exhibition-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.one-exhibition-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.one-exhibition-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.one-exhibition-item:hover img {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.one-exhibition-label {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .one-exhibition-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .one-resource-section {
        margin-bottom: 4rem;
    }

    .one-resource-section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .one-exhibition-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .one-exhibition-info {
        padding: 1.5rem;
    }

    .one-exhibition-info h4 {
        font-size: 1.15rem;
    }
}

/* =====================================================
   22. Seoul Loneliness Status Chart Section (one- prefix)
   ===================================================== */

/* 서울시 지도 섹션 */
.seoul-map-section {
    text-align: center;
}

.seoul-map-wrapper {
    max-width: 800px;
    margin: 0 auto 2rem;
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.seoul-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.seoul-map-legend {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.legend-color {
    width: 24px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.seoul-map-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

/* 차트 영역 */
.seoul-charts-row {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.seoul-charts-row:last-child {
    margin-bottom: 0;
}

.seoul-charts-row.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.seoul-charts-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.seoul-chart-box {
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.seoul-chart-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 1.25rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.seoul-chart-container {
    height: 250px;
    position: relative;
}

@media (max-width: 992px) {
    .seoul-charts-row.three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .seoul-charts-row.two-cols,
    .seoul-charts-row.three-cols {
        grid-template-columns: 1fr;
    }

    .seoul-chart-container {
        height: 200px;
    }

    .seoul-map-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .seoul-map-wrapper {
        padding: 1.5rem;
    }
}

/* =====================================================
   23. Now Seoul Interactive Dashboard (now-seoul- prefix)
   ===================================================== */

/* Main Grid Layout */
.now-seoul-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .now-seoul-grid {
        grid-template-columns: 300px 1fr;
    }
}

/* Sidebar Panel */
.now-seoul-sidebar {
    background-color: #ffffff;
    padding: 0;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: fit-content;
    overflow: hidden;
}

/* 사이드바 상단 영역 (지표 선택 + 범례) */
.now-seoul-sidebar-top {
    padding: 1.25rem;
    background: #fff;
}

/* 사이드바 하단 영역 (자치구 목록) */
.now-seoul-sidebar-bottom {
    border-top: 2px solid #e2e8f0;
    background: #f8fafc;
}

.now-seoul-sidebar-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.now-seoul-select {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.now-seoul-select:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1);
}

/* Legend Section */
.now-seoul-legend {
    margin-top: 1.5rem;
}

.now-seoul-legend-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.now-seoul-legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.now-seoul-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.now-seoul-legend-box {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.now-seoul-legend-box.level-critical {
    background-color: #ef4444;
}

.now-seoul-legend-box.level-high {
    background-color: #f97316;
}

.now-seoul-legend-box.level-medium {
    background-color: #eab308;
}

.now-seoul-legend-box.level-low {
    background-color: #3b82f6;
}

.now-seoul-legend-box.level-safe {
    background-color: #10b981;
}

.now-seoul-legend-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Details Panel */
.now-seoul-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

/* Visuals Area */
.now-seoul-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card Styles */
.now-seoul-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.now-seoul-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.now-seoul-card-title-group {
    flex: 1;
}

.now-seoul-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.now-seoul-card-description {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

.now-seoul-card-metric {
    text-align: right;
}

.now-seoul-metric-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e11d48;
}

.now-seoul-card-title-small {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.now-seoul-card-title-small i {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    color: var(--color-primary-600);
}

/* Map Container */
.now-seoul-map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--color-bg-white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.now-seoul-map-svg {
    width: 100%;
    height: 100%;
}

.now-seoul-map-path {
    transition: all 0.3s ease;
    cursor: pointer;
}

.now-seoul-map-path:hover {
    opacity: 0.8;
}

/* Charts Grid */
.now-seoul-charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .now-seoul-charts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.now-seoul-chart-container {
    position: relative;
    height: 16rem;
    width: 100%;
}

/* Factors Panel */
.now-seoul-factors {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Animations */
.now-seoul-fade-in {
    animation: nowSeoulFadeIn 0.5s ease-in;
}

@keyframes nowSeoulFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Hidden utility */
.now-seoul-hidden {
    display: none;
}

/* ========================================
   Now Seoul - 리스트 + 상세 패널 UI
======================================== */

/* 자치구 목록 헤더 */
.now-seoul-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.now-seoul-list-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.now-seoul-list-sort {
    font-size: 0.6875rem;
    color: #64748b;
}

.now-seoul-gu-list {
    overflow-y: auto;
    background: #fff;
}

/* 자치구 아이템 */
.now-seoul-gu-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s ease;
}

.now-seoul-gu-item:hover {
    background: #f8fafc;
}

.now-seoul-gu-item--selected {
    background: #fef2f2;
    border-left: 3px solid #e11d48;
}

.now-seoul-gu-item--selected:hover {
    background: #fef2f2;
}

.now-seoul-gu-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.now-seoul-gu-item--selected .now-seoul-gu-rank {
    background: #e11d48;
    color: #fff;
}

.now-seoul-gu-info {
    flex: 1;
    min-width: 0;
}

.now-seoul-gu-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.0625rem;
}

.now-seoul-gu-rate {
    font-size: 0.6875rem;
    color: #64748b;
}

.now-seoul-gu-score-wrap {
    text-align: right;
    margin-left: 0.5rem;
}

.now-seoul-gu-score {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
}

.now-seoul-gu-badge {
    display: inline-block;
    padding: 0.0625rem 0.375rem;
    border-radius: 9999px;
    font-size: 0.5625rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.125rem;
}

.now-seoul-gu-badge--critical {
    background: #ef4444;
}

.now-seoul-gu-badge--high {
    background: #f97316;
}

.now-seoul-gu-badge--medium {
    background: #eab308;
}

.now-seoul-gu-badge--low {
    background: #3b82f6;
}

.now-seoul-gu-badge--safe {
    background: #10b981;
}

/* 상세 정보 패널 (차트 그리드 아래) */
.now-seoul-detail-panel {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.now-seoul-detail-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    min-height: auto;
    color: #94a3b8;
    font-size: 0.9375rem;
}

/* 상세 헤더 */
.now-seoul-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.now-seoul-detail-title-area {
    flex: 1;
}

.now-seoul-detail-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.now-seoul-detail-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.now-seoul-detail-badge--critical {
    background: #ef4444;
}

.now-seoul-detail-badge--high {
    background: #f97316;
}

.now-seoul-detail-badge--medium {
    background: #eab308;
}

.now-seoul-detail-badge--low {
    background: #3b82f6;
}

.now-seoul-detail-badge--safe {
    background: #10b981;
}

.now-seoul-detail-rank-text {
    font-size: 0.875rem;
    color: #64748b;
}

.now-seoul-detail-gu-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.now-seoul-detail-score-area {
    text-align: right;
}

.now-seoul-detail-score-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.now-seoul-detail-score-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e11d48;
    line-height: 1;
}

/* 요약 카드 */
.now-seoul-summary-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.now-seoul-summary-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.now-seoul-summary-card-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.now-seoul-summary-card-label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #94a3b8;
    border-radius: 50%;
}

.now-seoul-summary-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.now-seoul-summary-card-value small {
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748b;
}

/*  세부 요인 차트 */
.now-seoul-factor-chart-section {
    margin-bottom: 1.5rem;
}

.now-seoul-factor-chart-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 1rem;
}

.now-seoul-factor-chart-container {
    height: 200px;
}

/* 정책적 시사점 박스 */
.now-seoul-policy-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border: 1px solid #fecdd3;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
}

.now-seoul-policy-box::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 3rem;
    color: #fda4af;
    font-family: Georgia, serif;
    line-height: 1;
}

.now-seoul-policy-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #e11d48;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.now-seoul-policy-text {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.move-to-link {
    cursor: pointer;
}

/* =====================================================
   Homepage - Button Components (one-btn)
   ===================================================== */
.one-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}

.one-btn-primary {
    background: var(--color-primary-600);
    color: #ffffff;
    border-color: var(--color-primary-600);
}

.one-btn-primary:hover {
    background: var(--color-primary-700);
    border-color: var(--color-primary-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(54, 144, 194, 0.3);
}

.one-btn-outline {
    background: transparent;
    color: var(--color-primary-600);
    border-color: var(--color-primary-600);
}

.one-btn-outline:hover {
    background: var(--color-primary-600);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(54, 144, 194, 0.3);
}

.one-btn-outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.one-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    transform: translateY(-2px);
}

.one-btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

/* =====================================================
   Homepage - CTA Section
   ===================================================== */
.one-cta-section {
    background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-900) 100%);
    color: #ffffff;
    padding: 7rem 0;
    border-bottom: none;
}

.one-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.one-cta-section .one-cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.one-cta-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.one-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.one-cta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.one-cta-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* =====================================================
   Homepage - News Card Link Style
   ===================================================== */
a.one-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

a.one-card-link:hover {
    color: var(--color-primary-700);
    gap: 0.5rem;
}

/* =====================================================
   Homepage - Dark section card hover fix
   ===================================================== */
.one-bg-dark .one-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}