/* ============================================
   Landing Page Styles
   ============================================ */

/* --- 기본 설정 --- */
:root {
    --landing-bg: #ebeff4;
    --landing-primary: #0d6efd;
    --landing-primary-dark: #0a58ca;
    --landing-text: #212529;
    --landing-text-muted: #6c757d;
    --landing-card-bg: #ffffff;
    --landing-gradient-start: #667eea;
    --landing-gradient-end: #764ba2;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--landing-bg);
    font-family: 'Noto Sans KR', sans-serif;
}

/* --- 네비게이션 --- */
.landing-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.landing-logo {
    height: 40px;
    object-fit: contain;
}

.landing-navbar .nav-link {
    color: var(--landing-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.landing-navbar .nav-link:hover {
    color: var(--landing-primary);
    background-color: rgba(13, 110, 253, 0.08);
}

.landing-navbar .btn-login {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* --- 메인 콘텐츠 영역 --- */
.landing-main {
    padding-top: 76px;
    /* 네비게이션 높이 보정 */
}

/* --- 히어로 섹션 --- */
.hero-section {
    background: linear-gradient(135deg, var(--landing-gradient-start) 0%, var(--landing-gradient-end) 100%);
    color: #fff;
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;

    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-cta {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* --- 기능 섹션 --- */
.features-section {
    padding: 6rem 0;
    background-color: var(--landing-bg);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--landing-text);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--landing-text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: var(--landing-card-bg);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.feature-icon.attendance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-icon.approval {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.feature-icon.push {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-icon.sms {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--landing-text);
}

.feature-description {
    color: var(--landing-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 푸터 --- */
.landing-footer {
    background-color: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    width: 20px;
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--landing-primary);
    color: #fff;
}

/* --- 반응형 --- */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .features-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .landing-footer {
        padding: 3rem 0 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .landing-logo {
        height: 32px;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}