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

:root {
    --primary-blue: #0037ff;
    --footer-bg: #0037ff;
    --text-white: #ffffff;
    --text-dark: #333333;
    --header-transparent-white: rgba(255, 255, 255, 0.95);
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Noto Sans KR', 'Black Han Sans', sans-serif;
    font-weight: 700;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    background: var(--header-transparent-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 900;
    font-size: 18px;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: var(--text-white);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: #0028cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 55, 255, 0.3);
}

header.scrolled .phone-link {
    color: var(--text-white);
}

/* 메인 콘텐츠 */
main {
    margin-top: 90px;
}

.hero-section {
    width: 100%;
    margin-bottom: 0;
}

.hero-image {
    width: 100%;
    display: block;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pc-only {
    display: block;
}

.mob-only {
    display: none;
}

/* 실시간 후기 섹션 */
.reviews-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.reviews-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* PC용 후기 컨테이너 */
.pc-reviews-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
    width: 100%;
    display: block;
}

.pc-reviews-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    width: max-content;
}

/* 모바일용 후기 컨테이너 */
.mob-reviews-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
    width: 100%;
    display: none;
}

.mob-reviews-slider {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 20px;
}

.review-card {
    min-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
}

.star-rating {
    display: flex;
    gap: 3px;
}

.star {
    color: #ffc107;
    font-size: 18px;
}

.review-content {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

/* 모바일 후기 스타일 */
.mob-review-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mob-review-card.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* 실시간 신청 현황 섹션 */
.application-section {
    padding: 80px 20px;
    background: white;
}

.application-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.application-board {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    overflow: hidden;
    height: 450px;
    position: relative;
}

.application-list {
    position: relative;
    height: 100%;
}

.application-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.application-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.application-category {
    font-weight: 800;
    font-size: 18px;
    color: var(--primary-blue);
}

.application-info {
    font-size: 14px;
    color: #666;
}

.application-time {
    font-size: 12px;
    color: #999;
}

/* 푸터 */
footer {
    background: var(--footer-bg);
    color: var(--text-white);
    padding: 50px 20px;
    margin-bottom: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 16px;
    font-weight: 700;
}

.footer-info a {
    color: var(--text-white);
    text-decoration: none;
}

.footer-links p {
    font-size: 14px;
    font-weight: 700;
}

/* PC 전용 스타일 - 모바일 요소 숨김 */
@media (min-width: 769px) {
    .mobile-bottom-buttons {
        display: none !important;
    }

    .mobile-top-btn {
        display: none !important;
    }
}

/* PC 우측 하단 고정 버튼들 */
.pc-fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fixed-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary-blue);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 55, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.fixed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 55, 255, 0.4);
}

.fixed-btn svg {
    width: 24px;
    height: 24px;
}

.top-btn {
    background: #666;
}

.top-btn:hover {
    background: #555;
}

/* 모바일 하단 고정 버튼들 */
.mobile-bottom-buttons {
    display: none;
}

.mobile-top-btn {
    display: none;
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .mob-only {
        display: block;
    }

    .pc-fixed-buttons {
        display: none;
    }

    /* 모바일 우측 하단 Top 버튼 */
    .mobile-top-btn {
        position: fixed;
        bottom: 100px;
        right: 20px;
        z-index: 998;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #666;
        color: var(--text-white);
        border: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        visibility: visible !important;
    }

    .mobile-top-btn:active {
        background: #555;
        transform: translateY(-2px);
    }

    .mobile-top-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-bottom-buttons {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        visibility: visible !important;
    }

    .mobile-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 15px 10px;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 800;
        font-size: 14px;
        transition: background 0.3s ease;
        border-right: 1px solid #e0e0e0;
    }

    .mobile-btn:last-child {
        border-right: none;
    }

    .mobile-btn.phone-btn-mobile {
        background: var(--primary-blue);
        color: var(--text-white);
    }

    .mobile-btn.phone-btn-mobile:active {
        background: #0028cc;
    }

    .mobile-btn.sms-btn-mobile:active {
        background: #f5f5f5;
    }

    .mobile-btn svg {
        width: 24px;
        height: 24px;
    }

    .mobile-btn span {
        font-size: 13px;
    }

    header .container {
        padding: 15px 20px;
    }

    .logo img {
        height: 40px;
    }

    .phone-link {
        font-size: 14px;
        padding: 8px 16px;
    }

    main {
        margin-top: 70px;
        padding-bottom: 80px;
    }

    .reviews-section h2,
    .application-section h2 {
        font-size: 28px;
    }

    /* PC용 후기 숨김 */
    .pc-reviews-container {
        display: none;
    }

    /* 모바일용 후기 표시 */
    .mob-reviews-container {
        display: block;
    }

    .mob-reviews-slider {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .review-card {
        min-width: 100%;
        width: 100%;
        max-width: 400px;
    }

    .application-board {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .reviews-section,
    .application-section {
        padding: 50px 15px;
    }

    .mobile-btn {
        padding: 12px 8px;
        font-size: 12px;
    }

    .mobile-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-btn span {
        font-size: 12px;
    }
}

