/* =====================================================
   index.css — 메인 홈 화면 전용 스타일
   ===================================================== */

/* =============================================
   공통
   ============================================= */

.hero,
.quick-features,
.region-spotlight,
.top-salons,
.top-designers,
.recent-reviews,
.cta-banner {
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-header__title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.section-header__desc {
    font-size: 0.96rem;
    color: var(--text-sub);
    line-height: 1.7;
}

.section-more {
    margin-top: 28px;
    text-align: center;
}

.section-more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--gold);
    transition: var(--transition);
}

.section-more a:hover {
    transform: translateY(-1px);
    color: var(--gold-light);
}


/* =============================================
   1. 히어로 배너
   ============================================= */

.hero {
    padding: 56px 0 44px;
    background:
            radial-gradient(circle at top right, rgba(201, 168, 76, 0.18), transparent 30%),
            linear-gradient(135deg, #171719 0%, #1f2024 48%, #131314 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    filter: blur(10px);
}

.hero::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    filter: blur(8px);
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    color: #fff;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.26);
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero__title {
    font-size: 3.1rem;
    line-height: 1.22;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero__title--gold {
    color: var(--gold-light);
}

.hero__desc {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.9;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.hero__stats,
.hero__stat,
.hero__stat-divider {
    display: none;
}

.btn-hero-primary,
.btn-hero-outline {
    min-width: 148px;
    padding: 13px 22px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    transition: var(--transition-slow);
    border: 1px solid transparent;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #161616;
    box-shadow: var(--shadow-gold);
}

.btn-hero-primary:hover {
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(201, 168, 76, 0.38);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-hero-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 168, 76, 0.38);
    transform: translateY(-2px);
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__visual-box {
    width: 100%;
    max-width: 360px;
    min-height: 400px;
    border-radius: 32px;
    padding: 36px 30px;
    background:
            linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__visual-box::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px dashed rgba(201, 168, 76, 0.22);
    pointer-events: none;
}

.hero__visual-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.14);
    color: var(--gold-light);
    font-size: 2.2rem;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.25);
}

.hero__visual-text {
    font-family: Georgia, serif;
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    margin: 0;
}

.hero__visual-sub {
    color: rgba(255,255,255,0.66);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
}


/* =============================================
   2. 빠른 기능 카드
   ============================================= */

.quick-features {
    padding: 34px 0 24px;
    background: transparent;
    margin-top: -8px;
}

.quick-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    min-height: 132px;
    color: var(--text-main);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-border);
    color: var(--text-main);
}

.feature-card--gold {
    background: linear-gradient(135deg, #fffaf0 0%, #fff 100%);
    border-color: rgba(201, 168, 76, 0.38);
}

.feature-card__icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    font-size: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.18);
    color: #8b6820;
}

.feature-card__icon-svg {
    width: 28px;
    height: 28px;
    display: block;
}

.feature-card__body {
    flex: 1;
}

.feature-card__body strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 6px;
}

.feature-card__body p {
    color: var(--text-sub);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.feature-card__arrow {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
}

.feature-card:hover .feature-card__arrow {
    transform: translateX(3px);
}


/* =============================================
   3. 지역 스포트라이트
   ============================================= */

.region-spotlight {
    padding: 20px 0 10px;
}

.region-spotlight__panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 24px;
    background:
            radial-gradient(circle at top left, rgba(201, 168, 76, 0.14), transparent 32%),
            linear-gradient(135deg, #fffef9 0%, #fff8ec 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    box-shadow: var(--shadow-sm);
}

.region-spotlight__eyebrow {
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.region-spotlight__title {
    margin-bottom: 8px;
    color: var(--text-main);
}

.region-spotlight__desc {
    color: var(--text-sub);
    line-height: 1.7;
}

.region-spotlight__status {
    min-width: 220px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(23, 23, 25, 0.96);
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.region-spotlight__label,
.region-spotlight__timer {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
}

.region-spotlight__status strong {
    display: block;
    margin: 8px 0 6px;
    color: var(--gold-light);
    font-size: 1.2rem;
}

.region-spotlight__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.region-spotlight__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(23, 23, 25, 0.18);
    transition: var(--transition);
}

.region-spotlight__dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--gold);
}


/* =============================================
   4. TOP 3 미용실
   ============================================= */

.top-salons {
    padding: 72px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f8f3 100%);
}

.top-salons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.salon-rank-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

.salon-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-border);
}

.salon-rank-card__rank {
    padding: 14px 18px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}

.salon-rank-card--1 .salon-rank-card__rank {
    background: linear-gradient(135deg, #d9b458 0%, #b38b2f 100%);
}

.salon-rank-card--2 .salon-rank-card__rank {
    background: linear-gradient(135deg, #8e959e 0%, #6e757e 100%);
}

.salon-rank-card--3 .salon-rank-card__rank {
    background: linear-gradient(135deg, #b27c55 0%, #8b5c39 100%);
}

.salon-rank-card__body {
    padding: 24px 22px 22px;
}

.salon-rank-card__name {
    font-size: 1.34rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.salon-rank-card__addr {
    color: var(--text-sub);
    font-size: 0.92rem;
    margin-bottom: 18px;
    min-height: 44px;
}

.salon-rank-card__stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.star-filled {
    color: #e2b53f;
    letter-spacing: 0.08em;
    font-size: 0.98rem;
}

.salon-rank-card__stars strong {
    color: var(--text-main);
    font-size: 1.02rem;
}

.salon-rank-card__count {
    color: var(--text-sub);
    font-size: 0.84rem;
}

.salon-rank-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 18px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
}

.salon-rank-card__btn:hover {
    color: #fff;
    background: #000;
}


/* =============================================
   5. 인기 디자이너
   ============================================= */

.top-designers {
    padding: 72px 0;
    background: var(--bg-soft);
}

.designers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.designer-card {
    background: var(--white);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition-slow);
}

.designer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-border);
}

.designer-card__avatar {
    width: 82px;
    height: 82px;
    margin: 24px auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-soft) 0%, #fff 100%);
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.22);
}

.designer-card__body {
    padding: 0 20px 16px;
}

.designer-card__name {
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.designer-card__salon,
.designer-card__career {
    margin: 0;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.designer-card__career {
    margin-top: 4px;
}

.designer-card__stars {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 700;
}

.designer-card__count {
    color: var(--text-sub);
    font-size: 0.84rem;
    font-weight: 500;
}

.designer-card__link {
    margin-top: auto;
    display: block;
    padding: 14px 18px;
    background: #faf8f1;
    color: var(--text-main);
    border-top: 1px solid var(--border);
    font-weight: 700;
    transition: var(--transition);
}

.designer-card__link:hover {
    background: var(--gold-soft);
    color: var(--text-main);
}


/* =============================================
   6. 최근 리뷰
   ============================================= */

.recent-reviews {
    padding: 72px 0;
    background: #fff;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: 22px 20px;
    transition: var(--transition-slow);
    height: 100%;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-border);
}

.review-card__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.review-card__name {
    display: block;
    color: var(--text-main);
    margin-bottom: 2px;
}

.review-card__info {
    margin: 0;
    color: var(--text-sub);
    font-size: 0.86rem;
}

.review-card__stars {
    margin-left: auto;
    color: #dcae32;
    font-size: 0.95rem;
    white-space: nowrap;
    font-weight: 700;
}

.review-card__content {
    color: var(--text-main);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 16px;
    min-height: 86px;
}

.review-card__date {
    color: var(--text-sub);
    font-size: 0.82rem;
}

.region-empty-card {
    grid-column: 1 / -1;
    padding: 36px 20px;
    border-radius: 22px;
    background: var(--white);
    border: 1px dashed var(--gold-border);
    text-align: center;
    color: #7b6e56;
}


/* =============================================
   7. CTA 배너
   ============================================= */

.cta-banner {
    padding: 84px 20px 96px;
    background:
            linear-gradient(rgba(20, 20, 22, 0.92), rgba(20, 20, 22, 0.92)),
            radial-gradient(circle at top, rgba(201,168,76,0.18), transparent 40%);
    text-align: center;
    overflow: hidden;
}

.cta-banner__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(201, 168, 76, 0.18);
    box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.cta-banner__title {
    color: #fff;
    font-size: 2.3rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.cta-banner__title--gold {
    color: var(--gold-light);
}

.cta-banner__desc {
    color: rgba(255,255,255,0.72);
    margin-bottom: 24px;
    font-size: 0.98rem;
}

.cta-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #141414;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}

.cta-banner__btn:hover {
    color: #111;
    transform: translateY(-2px);
}


/* =============================================
   JS 연동용 상태 클래스
   ============================================= */

.hero__content,
.hero__visual,
.feature-card,
.salon-rank-card,
.designer-card,
.review-card,
.cta-banner__inner {
    opacity: 1;
    transform: none;
}

.feature-card:hover,
.salon-rank-card:hover,
.designer-card:hover,
.review-card:hover {
    will-change: transform;
}


/* =============================================
   반응형
   ============================================= */

@media (max-width: 1100px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero__visual {
        justify-content: flex-start;
    }

    .quick-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .designers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .region-spotlight__panel {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 900px) {
    .top-salons__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .section-header__title {
        font-size: 1.7rem;
    }

    .hero__title {
        font-size: 2.45rem;
    }

    .cta-banner__title {
        font-size: 1.95rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 34px 0 28px;
    }

    .hero__inner {
        padding: 0 20px;
    }

    .hero__title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero__desc {
        font-size: 0.94rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
    }

    .hero__visual-box {
        min-height: 280px;
        max-width: 100%;
    }

    .quick-features__grid,
    .designers__grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .cta-banner {
        padding: 64px 16px 72px;
    }

    .cta-banner__inner {
        padding: 34px 20px;
    }

    .cta-banner__title {
        font-size: 1.6rem;
    }
}
