/* Reset & Common */
.max-1024 {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'NotosansKR', 'Malgun Gothic', sans-serif;
    color: #333;
}

/* Section 1: Intro */
#section1 {
    padding: 70px 0 20px;
    text-align: center;
    min-height: 300px;
}

#section1 h1 {
    position: relative;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    color: rgb(0,48,91);
    margin-bottom: 15px;
}

#section1 h1::after {
    position: absolute;
    content: '';
    bottom: -8px;
    left: 50%;
    width: 50px;
    height: 3px;
    background-color: #83b7e6;
    transform: translateX(-50%);
}

#section1 .smart-intro p {
    color: #555;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Section 2: iMOS Introduction */
#section2 {
    padding: 10px 0 15px;
    background-color: #f9fbfd;
    text-align: center;
    min-height: 200px;
}

.imos-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 3px 0;
    font-weight: 500;
}

.imos-details p::before {
    content: '✔';
    color: #83b7e6;
    margin-right: 8px;
    font-weight: bold;
}

/* Section 3: Feature Grid */
#section3 {
    padding: 15px 0;
    background-color: #fff;
    min-height: 250px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-content: center;
    justify-items: center;
}

.feature-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 170px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 48, 91, 0.15);
    border-color: #83b7e6;
}

.feature-icon {
    font-size: 1.5rem;
    color: rgb(0,48,91);
    margin-bottom: 8px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgb(0,48,91);
    margin-bottom: 5px;
}

.feature-card p {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.3;
    margin: 0;
}

/* Section 4: Pricing CTA */
#section4 {
    background: linear-gradient(135deg, rgb(0,48,91) 0%, #001f3f 100%);
    padding: 40px 0;
    text-align: center;
    min-height: 250px;
    color: #fff;
}

.pricing-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.price-tag .label {
    font-size: 1rem;
    opacity: 0.9;
    color: #fff;
}

.price-tag .amount {
    font-size: 2rem;
    font-weight: 800;
    color: #83b7e6;
}

/* Section 5: Benefits Visualization */
#section5 {
    padding: 50px 0;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
}

#section5 h2 {
    font-size: 1.8rem;
    color: rgb(0,48,91);
    margin-bottom: 30px;
    font-weight: 700;
}

.chart-container {
    position: relative;
    width: 450px;
    height: 400px;
    margin: 0 auto;
}

.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgb(0,48,91) 0%,
        rgb(0,48,91) 72deg,
        #1a5c96 72deg,
        #1a5c96 144deg,
        #3370a1 144deg,
        #3370a1 216deg,
        #4d84ac 216deg,
        #4d84ac 288deg,
        #83b7e6 288deg,
        #83b7e6 360deg
    );
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie-chart::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
}

.chart-center-text {
    position: absolute;
    z-index: 10;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgb(0,48,91);
}

.benefit-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-align: center;
    z-index: 20;
}

.benefit-label .icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    margin-bottom: 6px;
    font-size: 1rem;
    color: rgb(0,48,91);
    border: 2px solid #83b7e6;
}

.benefit-label span {
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
    line-height: 1.2;
}

.pos-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.pos-2 { top: 20%; right: 0; }
.pos-3 { bottom: 10%; right: 10px; }
.pos-4 { bottom: 10%; left: 10px; }
.pos-5 { top: 20%; left: 0; }

/* Section 6: Process (Legacy) */
#section6 {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    min-height: 250px;
}

#section6 h2 {
    color: rgb(0,48,91);
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.process-step {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    width: 160px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-3px);
}

.step-number {
    display: inline-block;
    background-color: rgb(0,48,91);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.process-step h4 {
    color: rgb(0,48,91);
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.process-step p {
    color: #666;
    font-size: 0.8rem;
}

.process-arrow {
    color: rgb(0,48,91);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    #section1 h1 { font-size: 2rem; }
    .feature-grid { 
        grid-template-columns: repeat(3, 1fr);
        padding: 0 20px; 
    }
}

@media (max-width: 768px) {
    #section1 { padding-top: 30px; }
    #section1 h1 { font-size: 1.8rem; }
    #section1 .smart-intro p { font-size: 1rem; }
    
    .imos-details p { font-size: 0.9rem; text-align: left; padding: 0 20px; }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-container { 
        width: 100%; 
        height: auto; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
    }
    
    .pie-chart {
        position: relative;
        top: 0; left: 0;
        transform: none;
        margin-bottom: 20px;
    }
    
    .benefit-label {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        transform: none;
        flex-direction: row;
        width: 100%;
        max-width: 280px;
        text-align: left;
        gap: 10px;
    }
    
    .benefit-label .icon { margin-bottom: 0; }
    
    .process-flow { flex-direction: column; gap: 20px; }
    .process-arrow { transform: rotate(90deg); }
    .process-step { width: 100%; max-width: 280px; }
}
