/* sarampass.com - 사람패스 (Human Identification) - Neomorphism */
/* Colors: #F0F2F5, #D1D5DB, #FFFFFF, #718096, #4A5568, #2D3748, #4299E1, #48BB78 */

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

body {
    background-color: #F0F2F5;
    color: #4A5568;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Heartbeat overlay */
.heartbeat-overlay {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.heartbeat-path {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: heartbeatDraw 8s linear infinite;
}

@keyframes heartbeatDraw {
    0% { stroke-dashoffset: 2400; }
    100% { stroke-dashoffset: 0; }
}

/* Main Column */
#main-column {
    position: relative;
    z-index: 1;
}

/* Sections */
.section-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-wide {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #2D3748;
    margin-bottom: 1rem;
}

.center-text { text-align: center; }

.section-desc {
    font-size: 1.05rem;
    color: #718096;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Neomorphic Cards */
.neo-card {
    background: #F0F2F5;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 8px 8px 16px #D1D5DB, -8px -8px 16px #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neo-card:hover {
    transform: translateY(-2px);
    box-shadow: 10px 10px 20px #D1D5DB, -10px -10px 20px #FFFFFF;
}

.neo-inset {
    box-shadow: inset 4px 4px 8px #D1D5DB, inset -4px -4px 8px #FFFFFF;
}

.neo-inset:hover {
    box-shadow: inset 4px 4px 8px #D1D5DB, inset -4px -4px 8px #FFFFFF;
    transform: none;
}

/* Hero */
.hero-neo {
    text-align: center;
    padding: 4rem 3rem;
}

.verification-icon {
    margin-bottom: 2rem;
}

.shield-icon {
    width: 80px;
    height: 80px;
}

.check-mark {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: checkDraw 1s ease 0.5s forwards;
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

.hero-kr {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #2D3748;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.hero-en {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #718096;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.15rem;
    color: #4A5568;
    font-weight: 600;
}

/* Identity Stack */
.identity-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.identity-layer {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.identity-layer.revealed {
    opacity: 1;
    transform: translateY(0);
}

.layer-badge {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #4299E1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.layer-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #2D3748;
    margin-bottom: 0.3rem;
}

.layer-desc {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 1rem;
}

/* Neomorphic Progress Bar */
.neo-progress {
    height: 8px;
    border-radius: 4px;
    background: #F0F2F5;
    box-shadow: inset 2px 2px 4px #D1D5DB, inset -2px -2px 4px #FFFFFF;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #4299E1, #48BB78);
    width: 0%;
    transition: width 1s ease;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.revealed {
    opacity: 1;
    transform: scale(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
}

/* Seal Section */
.seal-card {
    text-align: center;
    padding: 3.5rem 2rem;
}

.seal-badge {
    margin-bottom: 1.5rem;
}

.seal-svg {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
}

.seal-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #48BB78;
    margin-bottom: 0.75rem;
}

.seal-desc {
    font-size: 1rem;
    color: #718096;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.seal-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #48BB78;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #48BB78;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-narrow,
    .section-wide {
        padding: 3rem 1.5rem;
    }

    .neo-card {
        padding: 2rem 1.5rem;
    }
}
