/* 리뷰 페이지 전용 스타일 */

/* ===========================
   히어로 섹션
   =========================== */
.hero-section {
    padding: 80px 0 60px;
    background: #faf9f7;
    border-bottom: 1px solid #e8e4df;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    color: #8b7b6b;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    color: #5a67d8;
    text-decoration: underline;
    text-decoration-color: #c7d2fe;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.hero-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    word-break: keep-all;
}

.hero-description strong {
    color: #1a1a1a;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hero-cta-primary:hover {
    background: #333;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.75rem;
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #d1d1d1;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    border-color: #1a1a1a;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-info-card {
    background: #fff;
    border: 1px solid #e8e4df;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-info-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.hero-info-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero-info-desc {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.hero-info-divider {
    height: 1px;
    background: #f0ece7;
}

.hero-sub-note {
    font-size: 0.8rem;
    color: #aaa;
    text-align: right;
    padding-right: 0.5rem;
}

/* ===========================
   서비스 섹션 - 리스트 스타일
   =========================== */
.services-section {
    padding: 0;
    background: #fff;
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #e8e4df;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 1rem;
    border-bottom: 1px solid #e8e4df;
    text-decoration: none;
    transition: padding-left 0.2s ease;
    gap: 2rem;
}

.service-row:hover {
    padding-left: 1.5rem;
}

.service-row-left h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.service-row-left p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
    max-width: 480px;
}

.service-row-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.service-row-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.service-row-arrow {
    font-size: 1.25rem;
    color: #d1d5db;
    transition: color 0.2s ease, transform 0.2s ease;
}

.service-row:hover .service-row-arrow {
    color: #1a1a1a;
    transform: translateX(3px);
}

/* ===========================
   진행 과정 섹션
   =========================== */
.process-section {
    padding: 90px 0;
    background: #fff;
}

.process-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
}

.process-left {
    position: sticky;
    top: 120px;
}

.process-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a67d8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.process-left h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.process-desc {
    font-size: 1rem;
    color: #888;
    line-height: 1.7;
}

.process-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0ece7;
}

.process-step:last-child {
    border-bottom: none;
}

.process-num {
    font-size: 1rem;
    font-weight: 700;
    color: #d1d5db;
    min-width: 24px;
    padding-top: 2px;
}

.process-step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}

.process-step-content p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.55;
}

/* ===========================
   히어로/서비스/프로세스 반응형
   =========================== */
@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-right {
        max-width: 400px;
    }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem 0.5rem;
    }

    .service-row-right {
        width: 100%;
        justify-content: space-between;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-left {
        position: static;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-description br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-info-card {
        padding: 1.5rem 1.25rem;
    }

    .hero-info-num {
        font-size: 1.25rem;
    }

    .service-row-left h3 {
        font-size: 1.25rem;
    }

    .process-section {
        padding: 50px 0;
    }

    .process-left h2 {
        font-size: 1.6rem;
    }
}

/* 네비게이션: main.css에서 통합 관리 */

.btn-write-review {
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-write-review:hover {
    background: #333;
}

/* 리뷰 컨테이너 */
.review-container {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

/* 리뷰 헤더 */
.review-header {
    text-align: center;
    margin-bottom: 3rem;
}

.review-header h1,
.review-header h2.review-main-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.review-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    color: #5a67d8;
    -webkit-text-fill-color: #5a67d8;
}

/* 평점 요약 컨테이너 */
.rating-summary-container {
    margin-top: 2rem;
}

.rating-summary-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: none;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e8e4df;
    position: relative;
    overflow: hidden;
    align-items: center;
}

/* radial-gradient 장식 제거 */

.rating-average {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 0;
}

.rating-score {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.rating-stars {
    font-size: 2rem;
    color: #F59E0B;
}

.rating-count {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1rem;
}

/* 별점 분포 차트 */
.rating-distribution {
    position: relative;
    z-index: 0;
}

.distribution-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.distribution-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.distribution-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.distribution-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.distribution-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFB800;
    min-width: 35px;
}

.distribution-bar {
    height: 12px;
    background: rgba(229, 231, 235, 0.8);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.distribution-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFB800 100%);
    border-radius: 6px;
    width: 0;
    transition: width 1s ease-out;
    position: relative;
}

/* shimmer 애니메이션 제거 */

.distribution-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    min-width: 30px;
    text-align: right;
}

/* 반응형: 태블릿 이하 */
@media (max-width: 968px) {
    .rating-summary-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .rating-average {
        padding-bottom: 2rem;
        border-bottom: 1px solid #e8e4df;
    }

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

/* 반응형: 모바일 */
@media (max-width: 640px) {
    .rating-summary-main {
        padding: 1.5rem;
    }

    .rating-score {
        font-size: 3rem;
    }

    .rating-stars {
        font-size: 1.5rem;
    }

    .distribution-item {
        gap: 0.75rem;
    }

    .distribution-label {
        min-width: 30px;
        font-size: 0.875rem;
    }

    .distribution-count {
        min-width: 25px;
        font-size: 0.875rem;
    }
}

/* 필터 컨테이너 */
.review-filters-container {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8e4df;
    overflow: visible;
}

/* 필터 헤더 */
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: #faf9f7;
    border-bottom: 1px solid #e8e4df;
    transition: background 0.2s ease;
}

.filter-header:hover {
    background: #f5f0eb;
}

.filter-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-icon {
    color: #6b7280;
    flex-shrink: 0;
}

.filter-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.filter-toggle-icon {
    color: #9ca3af;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.review-filters-container.collapsed .filter-toggle-icon {
    transform: rotate(-90deg);
}

/* 필터 컨텐츠 */
.filter-content {
    max-height: 1000px;
    overflow: visible;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 1;
    padding: 1.5rem;
}

.review-filters-container.collapsed .filter-content {
    max-height: 0;
    opacity: 0;
    padding: 0 1.5rem;
    overflow: hidden;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.25rem;
    background: #faf9f7;
    border-radius: 8px;
    border: 1px solid #f0ece7;
    overflow: visible;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.filter-buttons {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    padding: 0.5rem 0 0.25rem 0;
}

/* 레거시 필터 (호환성) */
.review-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.filter-btn {
    padding: 0.45rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-btn:hover {
    border-color: #d1d5db;
    color: #1a1a1a;
    background: #fff;
}

.filter-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

/* 리뷰 그리드 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    min-height: 400px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* 리뷰 없을 때 */
.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #faf9f7;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
}

.no-reviews-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(30%);
}

.no-reviews h3 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.no-reviews p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto;
}

.no-reviews .btn-write-review {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.no-reviews p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.no-reviews .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.no-reviews .btn:hover {
    background: #333;
}

/* 리뷰 카드 - 컴팩트 디자인 */
.review-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;

    /* 스크롤 애니메이션 초기 상태 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 스크롤 애니메이션 - 화면에 나타날 때 */
.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 순차 애니메이션 딜레이 */
.review-card:nth-child(1) { transition-delay: 0.1s; }
.review-card:nth-child(2) { transition-delay: 0.2s; }
.review-card:nth-child(3) { transition-delay: 0.3s; }
.review-card:nth-child(4) { transition-delay: 0.4s; }
.review-card:nth-child(5) { transition-delay: 0.5s; }
.review-card:nth-child(6) { transition-delay: 0.6s; }

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* 리뷰 헤더 with 아바타 - 컴팩트 */
.review-header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid var(--lavender-100);
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lavender-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--lavender-200);
    flex-shrink: 0;
}

.reviewer-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
}

.reviewer-company {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    display: block;
}

.review-rating-main {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.review-rating {
    color: #FFB800;
    font-size: 1.375rem;
    letter-spacing: 1px;
}

.review-rating-num {
    display: none;
}

.review-price {
    display: none;
}

/* 구독 배지 - 구독 종류별 디자인 */
.review-subscription {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* 구독 미이용 */
.review-subscription.no-subscription {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

/* 베이직 구독 */
.review-subscription.basic {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #7DD3FC;
}

/* 그로스 구독 */
.review-subscription.growth {
    background: #DDD6FE;
    color: #6B21A8;
    border: 1px solid #A78BFA;
}

/* 엔터프라이즈 구독 */
.review-subscription.enterprise {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.review-content {
    margin-bottom: 1.25rem;
}

/* 배지 제거 - 정보는 헤더와 푸터로 이동 */
.review-meta-badges {
    display: none;
}

.review-badge {
    display: none;
}

.review-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: none;
}

.review-text {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 0.875rem;
    white-space: pre-wrap;
    word-break: keep-all;
    word-wrap: break-word;
    font-weight: 400;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 8px;
    max-height: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    position: relative;
}

.review-text.truncated::after {
    content: '...더보기';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3rem;
    background: linear-gradient(to bottom, transparent 0%, rgba(249, 250, 251, 0.8) 30%, #F9FAFB 60%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
    color: var(--lavender-600);
    font-weight: 500;
    cursor: pointer;
    pointer-events: none;
}

/* 프로젝트 이미지 라벨 */
.project-images-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0 1rem 0;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    background-color: rgba(139, 92, 246, 0.08);
    transition: all 0.2s ease;
}

.project-images-label:hover {
    background-color: rgba(139, 92, 246, 0.15);
    transform: translateY(-1px);
}

.photo-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: #8B5CF6;
}

.photo-count {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 500;
}

/* 프로젝트 링크 */
/* 프로젝트 링크 버튼 - 카드용 CTA */
.project-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
    width: 100%;
}

.project-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.project-link-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 세부 평가 카드 - 레거시 (호환성) */
.detail-ratings-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.detail-rating-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.detail-rating-mini .rating-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

/* 세부 평가 - 컴팩트 2x2 그리드 */
.detail-ratings-compact {
    display: none;
}

.detail-rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.detail-rating-item .rating-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.rating-stars-mini {
    font-size: 0.8125rem;
    color: #FFB800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* 리뷰 푸터 - 레거시 (호환성) */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(102, 126, 234, 0.12);
    flex-wrap: wrap;
}

.review-footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-type {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, #f0f2ff 0%, #e8ebff 100%);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray-600);
    white-space: nowrap;
    flex-shrink: 0;
}

/* 리뷰 푸터 - 컴팩트 4분할 그리드 */
.review-footer-compact {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--lavender-100);
}

.project-type-compact {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: #F3F4F6;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 600;
    border: 1px solid #E5E7EB;
    white-space: nowrap;
    flex-shrink: 0;
}

.review-date-compact {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-align: center;
    white-space: nowrap;
}

/* 가격 정보 - 푸터에 작게 */
.review-price-footer {
    font-size: 0.6875rem;
    color: var(--gray-700);
    font-weight: 600;
    white-space: nowrap;
    text-align: left;
}

/* 도움됨 버튼 - 레거시 (호환성) */
.helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.helpful-btn:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #5a67d8;
    color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.helpful-btn svg {
    transition: transform 0.3s ease;
}

.helpful-btn:hover svg {
    transform: scale(1.1);
}

.helpful-btn.marked {
    background: #1a1a1a;
    border-color: transparent;
    color: white;
}

.helpful-btn.marked:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* 도움됨 버튼 - 컴팩트 버전 */
.helpful-btn-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1.5px solid var(--lavender-200);
    border-radius: 20px;
    color: var(--lavender-600);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    justify-self: end;
}

.helpful-btn-compact:hover {
    background: var(--lavender-50);
    border-color: var(--lavender-400);
    color: var(--lavender-700);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(139, 123, 168, 0.12);
}

.helpful-btn-compact svg {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.helpful-btn-compact:hover svg {
    transform: scale(1.08);
}

.helpful-btn-compact.marked {
    background: var(--lavender-600);
    border-color: transparent;
    color: white;
}

.helpful-btn-compact.marked:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 123, 168, 0.25);
}

.helpful-count {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* 토스트 메시지 */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.success {
    background: linear-gradient(135deg, #48BB78 0%, #38A169 100%);
}

.toast.info {
    background: #1a1a1a;
}

.toast.error {
    background: linear-gradient(135deg, #F56565 0%, #E53E3E 100%);
}

/* 더보기 버튼 */
.load-more-container {
    text-align: center;
    margin-top: 4rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-load-more {
    padding: 1.25rem 2.5rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-load-more:hover::before {
    width: 300px;
    height: 300px;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 리뷰 작성 페이지 */
.write-review-container {
    padding: 5rem 0 3rem;
    min-height: calc(100vh - 200px);
}

/* 인증 모달 */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-content {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.3s ease;
}

.auth-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    background: #1a1a1a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-content p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.auth-content input {
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.auth-content small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.auth-content .btn {
    width: 100%;
    margin-top: 1rem;
}

/* 인증 정보 표시 */
.auth-info {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(72, 187, 120, 0.1) 100%);
    border: 1px solid rgba(72, 187, 120, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-badge {
    font-weight: 600;
    color: #48BB78;
}

#authCustomerInfo {
    color: var(--gray-700);
}

.write-review-header {
    text-align: center;
    margin-bottom: 3rem;
}

.write-review-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* 리뷰 폼 */
.review-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-300);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* 별점 입력 */
.rating-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.rating-input .star {
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.rating-input.small .star {
    font-size: 1.5rem;
}

.rating-input .star:hover,
.rating-input .star.filled {
    color: #FFB800;
}

/* 견적 CTA 섹션 */
/* ===========================
   견적 CTA 섹션
   =========================== */
.estimate-cta-section {
    padding: 80px 0;
    background: #1a1a1a;
}

.estimate-cta-section .cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
}

.cta-left h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.cta-left p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.cta-right {
    text-align: center;
    flex-shrink: 0;
}

.btn-estimate-large {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: #fff;
    color: #1a1a1a;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-estimate-large:hover {
    background: #f0f0f0;
}

.btn-estimate-large svg {
    transition: transform 0.2s;
}

.btn-estimate-large:hover svg {
    transform: translateX(3px);
}

.cta-sub {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
    .estimate-cta-section {
        padding: 50px 0;
    }

    .estimate-cta-section .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-left h2 {
        font-size: 1.6rem;
    }

    .btn-estimate-large {
        width: 100%;
        justify-content: center;
    }
}

.rating-text {
    margin-left: 1rem;
    color: var(--gray-600);
}

/* 세부 평가 */
.detail-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-rating-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-rating-item label {
    font-weight: 500;
    color: var(--gray-700);
}

/* 라디오 그룹 */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.radio-label:hover {
    border-color: var(--primary);
}

.radio-label input[type="radio"] {
    margin-right: 0.75rem;
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--primary);
}

/* 폼 액션 */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: #1a1a1a;
    color: white;
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 푸터 */
.footer {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1a1a1a;
}

.footer .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-section {
    text-align: left;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3::before {
    content: '';
    width: 3px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 2px;
}

.company-info {
    margin-bottom: 1rem;
}

.company-info p {
    font-size: 0.8rem;
    line-height: 1.8;
    margin: 0.25rem 0;
    color: #6c757d;
    white-space: nowrap;
}

.company-info a {
    color: #5a67d8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.company-info a:hover {
    color: #4a4340;
    text-decoration: underline;
}

.footer-links {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #5a67d8;
}

.footer-links span {
    color: #dee2e6;
    font-size: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* 숨겨진 관리자 버튼 */
.admin-secret-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    background: transparent;
    opacity: 0.02;
    cursor: default;
    transition: opacity 0.3s ease;
    z-index: 9999;
    color: transparent;
    font-size: 0;
}

.admin-secret-btn:hover {
    opacity: 0.05;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        justify-content: center;
    }
    
    .company-info p {
        justify-content: center;
    }
}

/* 로고 스타일: main.css에서 통합 관리 */

/* 숨겨진 관리자 버튼 */
.admin-secret-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--gray-900);
    color: var(--gray-900);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.5rem;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.admin-secret-btn:hover {
    opacity: 0.5;
    color: var(--gray-800);
}

/* 반응형 - 컴팩트 디자인 최적화 */
@media (max-width: 968px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .detail-ratings-card,
    .detail-ratings-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .review-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .reviewer-profile {
        width: 100%;
    }

    .review-rating-main {
        text-align: left;
    }

    .review-footer-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    .project-type-compact,
    .review-price-footer,
    .review-date-compact {
        justify-self: center;
    }

    .helpful-btn-compact {
        justify-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .reviewer-info h3 {
        font-size: 1.0625rem;
    }

    .review-title {
        font-size: 1.0625rem;
    }

    .detail-ratings,
    .detail-ratings-compact {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .review-filters {
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .review-footer,
    .review-footer-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .review-footer-compact {
        grid-template-columns: 1fr;
    }

    .helpful-btn,
    .helpful-btn-compact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .review-header h1 {
        font-size: 2rem;
    }

    .review-card {
        padding: 1.125rem;
        border-radius: 14px;
    }

    .reviewer-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .reviewer-info h3 {
        font-size: 1rem;
    }

    .review-title {
        font-size: 1rem;
    }

    .review-meta-badges {
        gap: 0.375rem;
    }

    .review-badge {
        padding: 0.3rem 0.625rem;
        font-size: 0.75rem;
    }

    .detail-ratings-card,
    .detail-ratings-compact {
        padding: 0.875rem;
        gap: 0.5rem;
    }

    .detail-rating-mini .rating-label,
    .detail-rating-item .rating-label {
        font-size: 0.75rem;
    }

    .rating-stars-mini {
        font-size: 0.75rem;
    }

    .review-footer-compact {
        padding-top: 0.875rem;
        margin-top: 0.875rem;
    }

    .project-type-compact {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
    }

    .review-date-compact {
        font-size: 0.6875rem;
    }

    .review-price-footer {
        font-size: 0.625rem;
    }

    .helpful-btn-compact {
        font-size: 0.6875rem;
        padding: 0.3rem 0.625rem;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* 로딩 스피너 */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 로딩 컨테이너 */
.loading-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    text-align: center;
}

.loading-container p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* 에러 컨테이너 */
.error-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 24px;
    border: 2px dashed rgba(239, 68, 68, 0.2);
}

.error-container .error-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
}

.error-container h3 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.error-container p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 400px;
    margin: 0 auto 2rem;
}

.error-container .btn {
    margin-top: 1rem;
}

/* 토큰 오류 컨테이너 */
#tokenErrorContainer {
    min-height: 400px;
    align-items: center;
    justify-content: center;
}

.token-error {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 24px;
    border: 2px dashed rgba(239, 68, 68, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.token-error .error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.token-error h2 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-weight: 700;
}

.token-error p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.token-error .error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.token-error .error-actions .btn {
    min-width: 150px;
}

/* 바운스 애니메이션 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 이미지 모달 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--lavender-400);
    transform: scale(1.1);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
}

/* ========================================
   리뷰 작성 페이지 - 카드 스타일
======================================== */

/* 프로젝트 유형 카드 */
.project-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 0;
}

.project-type-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.project-type-card:hover {
    z-index: 100;
}

.project-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.project-type-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid var(--lavender-200);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-height: 140px;
    justify-content: center;
}

.project-type-card:hover .project-type-card-content {
    border-color: var(--lavender-400);
}

.project-type-card input[type="radio"]:checked + .project-type-card-content {
    background: var(--lavender-50);
    border-color: var(--lavender-500);
    box-shadow: 0 8px 24px rgba(139, 123, 168, 0.25);
}

.project-type-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.project-type-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.project-type-description {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* 가격 범위 카드 */
.price-range-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    position: relative;
    z-index: 0;
}

.price-range-card {
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.price-range-card:hover {
    z-index: 100;
}

.price-range-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.price-range-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border: 2px solid var(--lavender-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 60px;
}

.price-range-card:hover .price-range-content {
    border-color: var(--lavender-400);
}

.price-range-card input[type="radio"]:checked + .price-range-content {
    background: var(--lavender-600);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(139, 123, 168, 0.25);
}

.price-range-label {
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
}

.price-range-card input[type="radio"]:checked + .price-range-content .price-range-label {
    color: white;
}

/* 구독 사용 유무 카드 */
.subscription-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 0;
}

.subscription-card {
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.subscription-card:hover {
    z-index: 100;
}

.subscription-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.subscription-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid var(--lavender-200);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-height: 120px;
    justify-content: center;
}

.subscription-card:hover .subscription-card-content {
    border-color: var(--lavender-400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 123, 168, 0.15);
}

.subscription-card input[type="radio"]:checked + .subscription-card-content {
    background: var(--lavender-50);
    border-color: var(--lavender-500);
    box-shadow: 0 8px 24px rgba(139, 123, 168, 0.25);
}

.subscription-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--lavender-600);
}

.subscription-card input[type="radio"]:checked + .subscription-card-content .subscription-icon {
    color: var(--lavender-700);
}

.subscription-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.subscription-description {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* 구독 종류 카드 */
.subscription-type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 0;
}

.subscription-type-card {
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.subscription-type-card:hover {
    z-index: 100;
}

.subscription-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.subscription-type-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--lavender-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 80px;
}

.subscription-type-card:hover .subscription-type-content {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 123, 168, 0.12);
}

.subscription-type-badge {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 베이직 */
.subscription-type-card.basic .subscription-type-content {
    border-color: #7DD3FC;
}

.subscription-type-card.basic:hover .subscription-type-content {
    border-color: #38BDF8;
}

.subscription-type-card.basic input[type="radio"]:checked + .subscription-type-content {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-color: #0EA5E9;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.subscription-type-card.basic .subscription-type-badge {
    color: #075985;
}

/* 그로스 */
.subscription-type-card.growth .subscription-type-content {
    border-color: #A78BFA;
}

.subscription-type-card.growth:hover .subscription-type-content {
    border-color: #8B5CF6;
}

.subscription-type-card.growth input[type="radio"]:checked + .subscription-type-content {
    background: linear-gradient(135deg, #DDD6FE 0%, #C4B5FD 100%);
    border-color: #7C3AED;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.subscription-type-card.growth .subscription-type-badge {
    color: #5B21B6;
}

/* 엔터프라이즈 */
.subscription-type-card.enterprise .subscription-type-content {
    border-color: #FBBF24;
}

.subscription-type-card.enterprise:hover .subscription-type-content {
    border-color: #F59E0B;
}

.subscription-type-card.enterprise input[type="radio"]:checked + .subscription-type-content {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-color: #D97706;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

.subscription-type-card.enterprise .subscription-type-badge {
    color: #92400E;
}

/* 추천 의향 카드 */
.recommend-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 0;
}

.recommend-card {
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.recommend-card:hover {
    z-index: 100;
}

.recommend-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.recommend-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid var(--lavender-200);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-height: 140px;
    justify-content: center;
    text-align: center;
}

.recommend-card:hover .recommend-card-content {
    border-color: var(--lavender-400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 123, 168, 0.15);
}

.recommend-card input[type="radio"]:checked + .recommend-card-content {
    background: var(--lavender-50);
    border-color: var(--lavender-500);
    box-shadow: 0 8px 24px rgba(139, 123, 168, 0.25);
}

.recommend-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.recommend-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.recommend-description {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* 반응형 - 카드 그리드 */
@media (max-width: 968px) {
    .price-range-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-type-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-range-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscription-type-cards {
        grid-template-columns: 1fr;
    }

    .recommend-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-type-cards {
        grid-template-columns: 1fr;
    }

    .subscription-cards {
        grid-template-columns: 1fr;
    }

    .price-range-cards {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   리뷰 작성 폼 - Enhanced 스타일
======================================== */

/* 진행 단계 표시기 (Progress Stepper) */
.progress-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    position: relative;
}

.progress-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--lavender-200);
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 140px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--lavender-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-400);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.step-item.active .step-circle {
    background: var(--lavender-600);
    border-color: var(--lavender-600);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 123, 168, 0.3);
    transform: scale(1.1);
}

.step-item.completed .step-circle {
    background: linear-gradient(135deg, #48BB78 0%, #38A169 100%);
    border-color: #38A169;
    color: white;
}

.step-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.step-item.active .step-label {
    color: var(--lavender-700);
    font-weight: 700;
}

.step-item.completed .step-label {
    color: #38A169;
}

/* 반응형 - 진행 단계 */
@media (max-width: 768px) {
    .progress-stepper {
        padding: 0 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .progress-stepper::before {
        left: 10%;
        right: 10%;
    }

    .step-label {
        font-size: 0.6875rem;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }
}

/* 리뷰 폼 컨테이너 */
.review-form-enhanced {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: visible;
    border: 1px solid var(--lavender-100);
}

/* 폼 단계 */
.form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.form-step.active {
    display: block;
}

/* 섹션 */
.form-section-enhanced {
    padding: 2.5rem;
    overflow: visible;
}

.section-header {
    margin-bottom: 2rem;
    text-align: left;
}

.section-title-enhanced {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.section-icon {
    font-size: 2rem;
}

.section-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
}

/* 폼 그룹 */
.form-group-enhanced {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: auto;
}

.form-group-enhanced label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.625rem;
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
    font-style: italic;
}

/* 입력 필드 */
.input-enhanced {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--lavender-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.input-enhanced:focus {
    outline: none;
    border-color: var(--lavender-500);
    box-shadow: 0 0 0 4px rgba(139, 123, 168, 0.15), 0 4px 12px rgba(139, 123, 168, 0.1);
    transform: translateY(-1px);
}

.input-enhanced::placeholder {
    color: var(--gray-400);
}

.textarea-enhanced {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--lavender-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    resize: vertical;
    min-height: 150px;
}

.textarea-enhanced:focus {
    outline: none;
    border-color: var(--lavender-500);
    box-shadow: 0 0 0 4px rgba(139, 123, 168, 0.15), 0 4px 12px rgba(139, 123, 168, 0.1);
    transform: translateY(-1px);
}

.textarea-enhanced::placeholder {
    color: var(--gray-400);
}

/* 단계 액션 버튼 */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.5rem 2.5rem 2.5rem;
    background: linear-gradient(180deg, transparent 0%, var(--lavender-50) 100%);
    border-top: 1px solid var(--lavender-100);
}

.step-actions .btn {
    flex: 1;
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
}

.step-actions .btn-primary {
    background: var(--lavender-600);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 123, 168, 0.25);
}

.step-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 123, 168, 0.35);
}

.step-actions .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 123, 168, 0.25);
}

.step-actions .btn-secondary {
    background: white;
    color: var(--lavender-700);
    border: 2px solid var(--lavender-300);
}

.step-actions .btn-secondary:hover {
    background: var(--lavender-50);
    border-color: var(--lavender-400);
    transform: translateY(-2px);
}

.step-actions .btn-secondary:active {
    transform: translateY(0);
    background: var(--lavender-100);
}

/* 별점 입력 */
.overall-rating-container {
    text-align: center;
    padding: 2rem;
    background: var(--lavender-50);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.rating-main-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.rating-input-enhanced {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.star-large {
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-large svg {
    width: 48px;
    height: 48px;
    stroke: #FFB800;
    fill: transparent;
    transition: all 0.3s ease;
}

.star-large:hover svg,
.star-large.filled svg {
    fill: #FFB800;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.4));
    transform: scale(1.1);
}

.rating-text-enhanced {
    font-size: 0.9375rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* 세부 평가 */
.detail-ratings-enhanced {
    margin-top: 2rem;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.subsection-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.detail-rating-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.detail-rating-card {
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--lavender-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.detail-rating-card:hover {
    border-color: var(--lavender-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 123, 168, 0.12);
}

.rating-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.detail-rating-card label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.rating-input-small {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
}

.star-small {
    font-size: 1.5rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-small:hover,
.star-small.filled {
    color: #FFB800;
    transform: scale(1.1);
}

/* 이미지 업로드 */
.image-upload-area {
    margin-top: 0.75rem;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 2px dashed var(--lavender-300);
    border-radius: 16px;
    background: var(--lavender-50);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    border-color: var(--lavender-500);
    background: var(--lavender-100);
}

.upload-placeholder svg {
    color: var(--lavender-400);
    margin-bottom: 1rem;
}

.upload-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 0.5rem 0;
}

.upload-placeholder span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.image-preview-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--lavender-200);
    transition: all 0.3s ease;
}

.image-preview-item:hover {
    border-color: var(--lavender-400);
    transform: scale(1.02);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.image-preview-remove:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: scale(1.1);
}

.preview-images {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.preview-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--lavender-200);
}

/* 리뷰 미리보기 */
.review-preview-card {
    padding: 2rem;
    background: var(--lavender-50);
    border: 2px solid var(--lavender-200);
    border-radius: 16px;
}

/* 반응형 */
@media (max-width: 768px) {
    .form-section-enhanced {
        padding: 2rem 1.5rem;
    }

    .step-actions {
        padding: 1.25rem 1.5rem 2rem;
        flex-direction: column;
    }

    .step-actions .btn {
        width: 100%;
    }

    .detail-rating-grid {
        grid-template-columns: 1fr;
    }

    .section-title-enhanced {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-section-enhanced {
        padding: 1.5rem 1rem;
    }

    .star-large svg {
        width: 36px;
        height: 36px;
    }

    .rating-input-enhanced {
        gap: 0.5rem;
    }
}
/* ==========================================
   리뷰 상세 모달
   ========================================== */

.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.review-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.review-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    margin: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모달 헤더 */
.review-modal-header {
    padding: 2rem 2.5rem;
    border-bottom: 2px solid var(--lavender-100);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.review-modal-header-info {
    flex: 1;
}

.review-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: none;
}

.review-modal-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.review-modal-customer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}

.review-modal-company {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.review-modal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: #FFB800;
}

.review-modal-close {
    background: var(--gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--gray-600);
}

.review-modal-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

/* 모달 바디 */
.review-modal-body {
    padding: 2.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.review-modal-content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-800);
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 2rem;
}

/* 세부 평가 섹션 */
.review-modal-ratings {
    background: var(--lavender-50);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--lavender-200);
}

.review-modal-ratings-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
}

.review-modal-ratings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.review-modal-rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--lavender-200);
}

.review-modal-rating-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
}

.review-modal-rating-stars {
    font-size: 1rem;
    color: #FFB800;
}

/* 프로젝트 정보 */
.review-modal-project-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.review-modal-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.875rem;
}

.review-modal-info-label {
    color: var(--gray-600);
    font-weight: 500;
}

.review-modal-info-value {
    color: var(--gray-900);
    font-weight: 600;
}

/* 모달 내 프로젝트 사진 섹션 */
.review-modal-images-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.review-modal-images-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.review-modal-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.review-modal-image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--gray-100);
}

.review-modal-image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review-modal-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .review-modal-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.review-modal-project-link {
    margin-top: 1.5rem;
}

.review-modal-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.review-modal-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
    .review-modal {
        padding: 1rem 0.5rem;
    }

    .review-modal-header {
        padding: 1.5rem;
    }

    .review-modal-title {
        font-size: 1.25rem;
    }

    .review-modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }

    .review-modal-ratings-grid {
        grid-template-columns: 1fr;
    }

    .review-modal-project-info {
        flex-direction: column;
    }
}

/* 리뷰 카드 클릭 가능 표시 */
.review-card {
    cursor: pointer;
}

.review-card:hover .review-text {
    background: #F3F4F6;
}
