
/* 1. Hero Section */
.hero-banner { position: relative; height: 531px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(91.22deg, #000 7.52%, rgba(0,0,0,0) 92.41%); opacity: 0.2; }
.hero-content { z-index: 2; }
.hero-label { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.hero-main-title { font-family: 'Nanum Gothic', sans-serif; font-weight: 800; font-size: 48px; color: #fff; line-height: 1.4; margin-bottom: 32px; }
.text-point { color: var(--color-point); }

/* 2. Review Overlap */
.overlap-reviews { margin-top: -77px; position: relative; z-index: 10; padding-bottom: 100px; }
.review-white-box { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.review-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
.review-card { background: var(--color-bg-light); padding: 20px; border-radius: 16px; height: auto; display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; }
.user-info { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.profile-img { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(104,121,148,0.2); display: flex; align-items: center; justify-content: center; }
.profile-img img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-weight: 700; font-size: 14px; }
.review-comment { font-size: 14px; color: var(--color-gray-1); line-height: 1.5; word-break: keep-all; }

/* Grids */
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.expert-grid, .event-grid, .program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.expert-card { min-width: 0; width: 100%; overflow: hidden; }
.card-thumb { position: relative; height: 200px; border-radius: 24px; overflow: hidden; width: 100%; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-recommend { position: absolute; top: 16px; left: 16px; }

.expert-card .card-body { padding: 24px 0; width: 100%; }
.expert-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}
.expert-name:hover {
    overflow: visible;
    -webkit-line-clamp: unset;
    background: #fff;
    position: relative;
    z-index: 10;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 3.2em; /* Approx 2 lines */
    overflow: hidden;
    position: relative;
    width: 100%;
}
.tag-group:hover {
    max-height: none;
    overflow: visible;
    background: #fff;
    z-index: 10;
}

.tag {
    background: var(--color-gray-0);
    color: var(--color-gray-1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.event-card.empty { background: #F3F4F6; border-radius: 24px; }
.event-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,16,0) 0%, #101010 100%); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.event-title { font-size: 28px; font-weight: 700; margin-bottom: 4px; }

/* 6. Process Steps */
.bg-light { background-color: var(--color-bg-light); }
.process-container { display: flex; align-items: center; justify-content: space-between; margin-top: 60px; }
.process-item { width: 282px; background: #fff; border-radius: 24px; padding: 40px 24px; }
.icon-box { width: 47px; height: 47px; margin-bottom: 24px; position: relative; }
.icon-box img { width: 100%; height: 100%; object-fit: contain; }
.step-icon-search .base-icon { position: relative; z-index: 1; }
.step-icon-search .top-icon { position: absolute; bottom: -4px; right: -8px; width: 28px !important; height: 28px !important; z-index: 2; background-color: #fff; border-radius: 50%; padding: 2px; }
.process-arrow { flex: 0 0 23px; height: 1px; background: #D1D5DC; position: relative; margin-top: -40px; }

/* 7. Why Choose ENTEE (Phone Layout) */
.why-wrapper { display: flex; align-items: center; justify-content: center; margin-top: 80px; gap: 60px; }
.why-side { flex: 1; display: flex; flex-direction: column; gap: 150px; }
.why-side.left { text-align: left; }
.why-side.right { text-align: right; }
.why-mockup { flex: 0 0 466px; }
.why-mockup img { width: 100%; }
.feature-item img { width: 52px; height: 52px; object-fit: contain !important; margin-bottom: 16px; }
.feature-item h3 { font-size: 30px; font-weight: 700; margin-bottom: 16px; }
.feature-item p { color: var(--color-gray-1); font-size: 16px; line-height: 1.4; }

/* 8. Partners Grid */
.partner-section { background: linear-gradient(180deg, var(--color-main-1) 0%, var(--color-main-2) 100%); }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 60px; }
.partner-card { background: #fff; height: 86px; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 0; box-sizing: border-box; overflow: hidden; border: none !important; outline: none !important; box-shadow: none !important; }
.partner-card .p-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.partner-card .p-logo img { width: 100%; height: 100%; object-fit: contain; border: none; outline: none; box-shadow: none; }

/* 9. FAQ Section */
.faq-section { padding: 100px 0; }
.faq-section .section-title.large { font-size: 44px; letter-spacing: -1.32px; line-height: 1.4; font-weight: 800; margin-bottom: 60px; }
.highlight-blue { color: #008BFF; }
.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faq-card { background-color: #F9FAFB; padding: 32px 24px; border-radius: 24px; height: 234px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.faq-card.dark { background-color: #101828; color: #fff; }
.q-badge { background-color: #6531FF; color: #fff; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }
.faq-card p { color: #687994; font-size: 14px; }
.faq-card.dark p { color: rgba(255,255,255,0.7); }

/* Responsive Styles for Main Page */
@media (max-width: 1200px) {
    .hero-banner { height: 400px; }
    .hero-main-title { font-size: 40px; }
    .review-list { grid-template-columns: repeat(2, 1fr); }
    .expert-grid, .event-grid, .program-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .why-side.left {text-align: center}
    .why-side.right {text-align: center}
}

@media (max-width: 768px) {
    h2 { font-size: 22px !important; }
    h3 { font-size: 20px !important; }
    .expert-name { font-size: 20px !important; }
    .section-header { margin-bottom: 0px; }
    .hero-banner { height: 400px; padding: 0; }
    .hero-main-title { font-size: 32px; margin-bottom: 24px; }
    .hero-label { font-size: 16px; }
    .hero-btn { 
        padding: 12px 24px; 
        font-size: 16px; 
        border-radius: 50px; 
        width: fit-content;
    }

    /* Review List Horizontal Scroll */
    .review-white-box { padding: 20px 0 20px 20px; overflow: hidden; }
    .review-white-box .section-title { padding-right: 20px; }
    .review-list {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .review-list::-webkit-scrollbar { display: none; } /* Chrome, Safari, Opera */
    .review-card { flex: 0 0 280px; }

    .expert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .card-thumb { height: 130px; border-radius: 16px 16px 0px 0px; }
    .event-grid, .program-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .overlap-reviews { margin-top: -60px; position: relative; z-index: 10; padding-bottom: 60px; }
    .review-white-box { padding: 20px; }
    .process-container { flex-direction: column; gap: 20px; }
    .process-arrow { display: none; }
    .why-wrapper { flex-direction: column; gap: 40px; }
    .why-side { gap: 40px; }
    .why-mockup {display: none}
    .why-side.left {text-align: center}
    .why-side.right {text-align: center}
}

@media (max-width: 480px) {
    h2 { font-size: 22px !important; }
    h3 { font-size: 20px !important; }
    .expert-name { font-size: 20px !important; }
    .section-header { margin-bottom: 0px; }
    .hero-banner { height: 400px; }
    .hero-main-title { font-size: 28px; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .review-white-box { padding: 16px 16px 16px 16px; }
    .review-white-box .section-title { padding-right: 16px; }
    .review-card { flex: 0 0 240px; }
    .process-item { padding: 30px 20px; }
    .why-mockup {display: none}
    .why-side.left {text-align: center}
    .why-side.right {text-align: center}
}
