* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e40af;
    --primary-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --dark-navy: #0f172a;
    --medium-navy: #1e293b;
    --light-navy: #334155;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}


/* Page Header */
.page-header {
    padding: 1.3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 15px;
    background: linear-gradient(135deg, #6963ff 0%, #040033 80%);
    box-shadow: 0 4px 25px #bcbcbc;
    border-radius: 15px;

}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header-use::before {
    background: linear-gradient(135deg, #ffb67f 0%, #6f2f06 80%);
}

.page-header h1 {
    font-size: 3.0rem;
    margin-bottom: 0.97rem;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header h4 {
    font-size: 3.0rem;
    margin-bottom: 0.97rem;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.5;
    color: #c0c0ff;
}



.about-text {
    color: #e2e8f0;
    text-align: center;
    /* 텍스트 중앙정렬 */
    margin: 0 auto;
    /* ✅ 블록 자체도 가운데 정렬 */
    max-width: 1200px;
    /* 중앙 기준으로 고정 폭 */
    padding: 0 20px;
    /* 여백 확보 */
    flex-direction: column;
    align-items: center;
    /* ✅ 내부 블록 중앙 */
}

.about-text h2 {
    font-size: 2.5rem;
    margin-top: 5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.about-text p {
    color: #94a3b8;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: center;
}

.about-text strong {
    color: #10b981;
    font-weight: 600;
}

/* Container */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}


.services-grid {
    display: grid;

    gap: 1.5rem;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1200px;
    margin: 0 auto;


}

.service-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--medium-navy) 100%);
    border-radius: 16px;
    padding: 1rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 카드 박스 */
.service-card2 {
    background: linear-gradient(135deg, rgba(79, 79, 219, 0.57) 0%, rgba(12, 0, 74, 0.72) 100%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3);
}

.service-icon {
    font-size: 3rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.service-card .btn {
    display: inline-block;
    padding: 0.28rem 3rem;
    background: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.service-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}



/* Content Sections */
.content-section {
    max-width: 1200px;
    background: var(--medium-navy);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h2 {
    font-size: 2rem;

    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Service Cards Grid */
.yesmap-main {
    padding: 2.5rem 2rem;
    background: var(--medium-navy);
    margin-top: -8px;
    align-items: center;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.content-section {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--medium-navy) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section strong {
    color: #00b0ff;
    font-weight: 600;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.content-section p {
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;

}

.content-section2 {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--medium-navy) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section2 strong {
    color: #00b0ff;
    font-weight: 600;
}

.content-section2 h2 {
    font-size: 2rem;
    margin-bottom: 11.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.content-section2 p {
    color: #fffee0;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--medium-navy) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #94a3b8;
    font-size: 1rem;
}


/* Impact Banner - 회색 테마 */
.impact-banner {
    background: linear-gradient(135deg, rgb(107, 114, 128) 0%, rgba(55, 65, 81, 0.9) 100%);
    border: 3px solid #8190e5;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 50rem;
    position: relative;
    overflow: hidden;
}

.impact-banner::before {
    content: '🕊️';
    position: absolute;
    top: -15px;
    right: 1px;
    font-size: 6rem;
    opacity: 0.3;
}

.impact-banner h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.impact-banner h2 {
    font-size: 1.8rem;
    color: #91bfff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.impact-banner p {
    font-size: 1.3rem;
    color: #e5e7eb;
    line-height: 1.8;
}

.highlight-gray {
    color: #fde68a;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(253, 230, 138, 0.6);
}



/* ------------------------------------------ */
/* ------------------------------------------ */
/* ------------------------------
   GLOBAL: 이미지/텍스트 선택 방지
--------------------------------*/

/* 설명 텍스트 */
.sub-desc {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ddd;
    line-height: 1.8;
}

/* 이미지 드래그 방지 */
.img-compare img {
    user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: none !important;
}

/* 라벨 드래그 방지 */
.label {
    user-select: none !important;
    pointer-events: none !important;
}

/* Tabs */
.compare-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.tab-btn {
    padding: 8px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    color: #eee;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    width: 120px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #06b6d4;
    color: #f0ff49;
    border-color: #196153;
}

.icon {
    margin-right: 5px;
}

/* Slider Container */
.img-compare {
    position: relative;
    width: 100%;
    height: 650px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.img-compare img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-left {
    z-index: 1;
}

.img-right {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
}

/* Labels */
.label {
    position: absolute;
    top: 12px;
    padding: 8px 16px;
    background: rgba(6, 33, 124, 0.49);
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.left-label {
    left: 12px;
}

.right-label {
    right: 12px;
}

/* Slider handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #00b9ff;
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-50%);
}

.slider-handle::after {
    content: "⬌";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00b9ff;
    color: #3c00ff;
    padding: 0.1rem 0.2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.content-section>p {
    text-align: center;
    color: #ccc;
    margin: 15px 0;
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    /* 기본 버튼 스타일 */
    .hero {
        margin-top: 10px;
        padding: 1.3rem 2rem;
        height: 380px;
    }

    .hero-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        font-weight: 400;

    }

    /* 주요 버튼 (지도형 홈페이지 만들기) */
    .hero-btn-primary {
        height: 30px;
        width: 200px;
    }

    /* 주요 버튼 (지도형 홈페이지 만들기) */
    .hero-btn-primary2 {
        height: 30px;
        width: 200px;

    }

    .section-subtitle {
        text-align: center;
        font-size: 1.0rem;
        margin-bottom: 3rem;
        color: #fff8b8;
    }


    .page-header {
        padding: 3rem 1.4rem;

    }

    .page-header h1 {
        font-size: 2rem;

    }

    .page-header h4 {
        font-size: 1.7rem;
        margin-bottom: 0.4rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .tech-comparison {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
    }

    .process-flow .arrow {
        transform: rotate(90deg);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-specs td:first-child {
        width: 40%;
        font-size: 0.9rem;
    }

    .tech-specs td {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .highlight-box h3 {
        margin-top: 15px;
        color: #10b981;
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.97rem;
        color: white;
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .cta-box p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }

    .content-section2 {
        padding: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .content-section2 strong {
        font-weight: 500;
    }

    .content-section2 h2 {
        font-size: 1.8rem;
    }

    .content-section2 p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .img-compare {
        height: 300px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .sub-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Impact Banner - 회색 테마 */
    .impact-banner {
        margin: 2rem 0.5rem;
        padding: 2rem 1rem;
        margin-top: 4rem;
    }
    .impact-banner::before {
        top: -25px;
        right: -10px;
        font-size: 4rem;
    }

.impact-banner h1 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.impact-banner h2 {
    font-size: 1.2rem;
    color: #91bfff;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.impact-banner p {
    font-size: 1.2rem;
    color: #e5e7eb;
    line-height: 1.4;
}

    .about-text h2 {
        margin-top: 4rem;
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    
.content-section2 {
    padding: 2rem 0.5rem;
}
    
.content-section2 p {
    font-size: 1.0rem;
    line-height: 1.6;
    margin-bottom: 0;
}
    
    
.content-section {
    margin: 0;
    margin-bottom: 5rem;
    padding: 0.5rem;
}
.content-section p {
    font-size: 1.0rem;
    line-height: 1.6;
    margin-bottom: 0;
}    
    
.service-card {
    padding: 2.0rem 0.5rem;
} 
    
    
    
    


.feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.feature-card {
    padding: 0.5rem;
    min-width: 155px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.feature-card h4 {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 400;
}
    
   
.content-section-prss {
    background: rgba(59, 130, 246, 0.1); 
    padding: 1.5rem; 
    border-radius: 10px; 
    border-left: 4px solid #3b82f6;
    margin-bottom: 1rem;
}    
    
    
    
    
.service-icon {
    font-size: 3rem;
}

.feature-liet {
        margin-bottom: 2rem;
}    
    
.feature-item li {
        margin-bottom: -0.3rem;
    font-size: 0.95rem;
}   
    
 
    
    
    
    
    
.service-card p {
    padding: 0.5rem;
    margin-bottom: 0.1rem;
}
    
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    
    line-height: 1.3; /* 행간 (줄 사이 간격) */
}

.service-card p {
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0.1rem;
}    
    
    
    
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Tabs */
    .compare-tabs {
        gap: 0.5rem;
        margin: 0.5rem;
    }

    .tab-btn {
        padding: 8px 4px;
        color: #eee;
        font-size: 0.9rem;
        margin-bottom: -0.8rem;
    }

    .tab-btn.active {
        background: #79bfff;
        color: #000000;
        font-weight: 600;
    }


    .img-compare {
        height: 250px;
        margin-bottom: -1.7rem;
    }


    .stat-number {
        font-size: 2.5rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }
}