@charset "utf-8";

/* ========================================
   WizLog 전자연구노트 스타일
   Label Comparer main.css 패턴 적용
======================================== */

:root {
    --section-gap: 3rem;
    --color-primary: #ff6b6b;
    --color-secondary: #ff5252;
    --color-orange: #ff9800;
    --color-green: #4CAF50;
    --color-blue: #2196F3;
    --color-purple: #9C27B0;
    --color-red: #f44336;
    --large-font: 2.2rem;
    --medium-font: 2rem;
    --small-font: 1.8rem;
}

body.hdn-scroll {
    height: 100vh;
    overflow-y: hidden
}

#contents {
    display: flex;
    flex-direction: column
}

/* 짝수 번째 섹션 배경색 */
#contents section:nth-of-type(even) {
    background-color: #FBFCFD;
}

#contents section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center
}

#contents [class*="section-"] .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    max-width: 106rem;
    margin: 0 auto
}

#contents [class*="section-"] .section-title {
    font-size: 5.2rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem
}

#contents [class*="section-"] .section-title .sub-title {
    font-size: var(--medium-font);
    font-weight: 300;
    color: #666
}

#contents [class*="section-"] .block {
    display: block;
    text-align: center
}

#contents [class*="section-"] .comment {
    font-size: var(--small-font);
    background-color: var(--color-primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 1rem;
    display: inline-block;
    font-weight: 300;
    position: relative
}

#contents [class*="section-"] .comment::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 0;
    height: 0;
    border-left: 0.8rem solid transparent;
    border-right: 0.8rem solid transparent;
    border-bottom: 0.8rem solid transparent;
    border-top: 0.8rem solid var(--color-primary)
}

#contents [class*="section-"] .section-desc {
    font-size: var(--large-font);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    color: #404040
}

#contents [class*="section-"] .point-txt {
    color: var(--color-primary);
    font-weight: 700
}

#contents [class*="section-"] .sec-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 0.8rem;
    background-color: #F6F9FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-primary);
}

#contents [class*="section-"] .visual img {
    display: block;
    width: 80%;
    border-radius: 2rem;
}

#contents [class*="section-"] .mt2 {
    margin-top: 2rem
}

#contents [class*="section-"] .fw300 {
    font-weight: 300
}

#contents [class*="section-"] .fw700 {
    font-weight: 700
}

/* 구독 버튼 (상단 고정) */
#contents .subscribe-btn {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%)
}

#contents .btn-primary {
    display: inline-block;
    padding: 2rem;
    border-radius: 0.8rem;
    background-color: var(--color-primary);
    color: #fff;
    font-size: var(--medium-font);
    font-weight: 300;
    text-align: center;
    line-height: 1;
    border: 1px solid transparent;
    transition: all 0.3s ease
}

#contents .btn-primary:hover,
#contents .btn-primary:focus {
    background-color: var(--color-secondary);
    color: #fff;
    border: 1px solid var(--color-secondary)
}

#contents .btn-primary.w300 {
    width: 30rem
}

#contents .btn-secondary {
    display: inline-block;
    padding: 2rem;
    border-radius: 0.8rem;
    background-color: #fff;
    color: var(--color-primary);
    font-size: var(--medium-font);
    font-weight: 700;
    text-align: center;
    line-height: 1;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease
}

#contents .btn-secondary:hover,
#contents .btn-secondary:focus {
    background-color: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary)
}

#contents .btn-secondary.w300 {
    width: 30rem
}

/* Section 1: 히어로 섹션 */
.section-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.section-1 .visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.section-1 .btn-group {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center
}

.down-icon {
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translate(-50%, 100%);
    background-color: #fff !important
}

/* Section 2: 구독 대상 */
.section-2 .workflow-users {
    display: flex;
    gap: 15rem;
    align-items: center;
    justify-content: center;
    margin: 3rem 0
}

.section-2 .user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem
}

.section-2 .user-icon {
    width: 10rem;
    height: 10rem;
    background-color: #F6F9FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--color-primary);
}

.section-2 .user-item > p {
    font-size: var(--large-font);
    font-weight: 700
}

.section-2 .user-desc {
    font-size: var(--small-font);
    color: #666;
    text-align: center
}

/* Section 3: 구독 혜택 */
.section-3 .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%
}

.section-3 .benefit-card {
    background-color: #fff;
    border-radius: 1.2rem;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease
}

.section-3 .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15)
}

.section-3 .benefit-icon {
    width: 8rem;
    height: 8rem;
    background-color: #F6F9FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-primary);
}

.section-3 .benefit-card h3 {
    font-size: var(--large-font);
    font-weight: 700;
    color: #333
}

.section-3 .benefit-card p {
    font-size: var(--medium-font);
    line-height: 1.6;
    text-align: center;
    color: #666
}

.section-3 .more-info {
    margin-top: 3rem;
    text-align: center
}

.section-3 .link-detail {
    font-size: var(--medium-font);
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 700;
    transition: all 0.3s ease
}

.section-3 .link-detail:hover {
    color: var(--color-secondary)
}

/* Section 4: 구독의 장점 */
.section-4 .subscription-benefits {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto
}

.section-4 .sub-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease
}

.section-4 .sub-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15)
}

.section-4 .sub-benefit-number {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.section-4 .sub-benefit-content {
    flex: 1
}

.section-4 .sub-benefit-content h3 {
    font-size: var(--large-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333
}

.section-4 .sub-benefit-content p {
    font-size: var(--medium-font);
    line-height: 1.6;
    color: #666
}

.section-4 .compliance-info {
    width: 100%;
    margin-top: 4rem
}

.section-4 .compliance-box {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%);
    border-radius: 1.2rem;
    padding: 3rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 2rem
}

.section-4 .compliance-icon {
    width: 8rem;
    height: 8rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 4rem;
    color: #fff;
}

.section-4 .compliance-text h3 {
    font-size: var(--large-font);
    font-weight: 700;
    margin-bottom: 0.5rem
}

.section-4 .compliance-text p {
    font-size: var(--medium-font);
    font-weight: 300
}

/* Section 5: 최종 CTA */
.section-5 {
    background-color: #fff
}

.section-5 .final-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0
}

.section-5 .benefit-row {
    display: flex;
    gap: 1.5rem;
    font-size: var(--medium-font);
    font-weight: 700;
}

.section-5 .check-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.section-5 .btn-group {
    margin: 4rem 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center
}

.section-5 .final-message {
    font-size: var(--large-font);
    font-weight: 300;
    color: #666;
    text-align: center
}

/* 반응형 디자인 */
@media (max-width: 780px) {
    :root {
        --section-gap: 8rem;
        --large-font: 2rem;
        --medium-font: 1.6rem;
        --small-font: 1.4rem
    }

    #contents section {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 6rem
    }

    #contents [class*="section-"] .section-title {
        font-size: 3.2rem
    }

    #contents [class*="section-"] .inner {
        gap: 3rem;
        padding: 0 2rem
    }

    /* Section 2 */
    .section-2 .workflow-users {
        flex-direction: column;
        gap: 3rem
    }

    .section-2 .comparison-visual {
        flex-direction: column;
        gap: 2rem
    }

    .section-2 .arrow-box .arrow {
        transform: rotate(90deg)
    }

    /* Section 3 */
    .section-3 .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    /* Section 4 */
    .section-4 .process-flow {
        flex-direction: column
    }

    .section-4 .process-arrow {
        transform: rotate(90deg)
    }

    .section-4 .visual {
        padding: 2rem
    }

    /* Section 5 */
    .section-5 .template-box-container {
        flex-direction: column;
        gap: 2rem
    }

    .section-5 .arrow-animation .arrow-large {
        transform: rotate(90deg)
    }

    .section-5 .office-icons {
        gap: 2rem
    }

    /* Section 6 */
    .section-6 .hierarchy-visual {
        flex-direction: column;
        gap: 3rem
    }

    .section-6 .id-example {
        flex-direction: column;
        align-items: center
    }

    /* Section 7 */
    .section-7 .rbac-diagram {
        flex-direction: column;
        gap: 2rem
    }

    .section-7 .rbac-arrow {
        transform: rotate(90deg)
    }

    .section-7 .example-cards {
        flex-direction: column
    }

    /* Section 8 */
    .section-8 .audit-features {
        flex-direction: column;
        gap: 2rem
    }

    .section-8 .audit-demo {
        flex-direction: column;
        gap: 3rem
    }

    .section-8 .badge-content {
        flex-direction: column;
        text-align: center
    }

    /* Section 9 */
    .section-9 .logo-container img {
        max-width: 30rem
    }

    #contents .btn-primary.w300 {
        width: 100%;
        max-width: 30rem
    }
}

@media (max-width: 580px) {
    :root {
        --section-gap: 6rem
    }

    #contents [class*="section-"] .section-title {
        font-size: 2.8rem
    }

    .section-2 .user-icon {
        width: 8rem;
        height: 8rem
    }

    .section-5 .office-item img {
        width: 6rem;
        height: 6rem
    }
}