/* 메인 페이지 전용 CSS - 수리나인 인테리어 플랫폼 */

/* 메인 콘텐츠 */
.ai_main_content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* 히어로 섹션 - 2025 트렌드 화이트 배경 디자인 */
.ai_hero_section {
    background: #ffffff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.ai_hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 87, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.ai_hero_content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ai_hero_title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.ai_hero_highlight {
    color: var(--ai-primary-color);
    position: relative;
    display: inline-block;
}

.ai_hero_highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--ai-primary-color), var(--ai-accent-color));
    border-radius: 4px;
    opacity: 0.2;
    z-index: -1;
}

.ai_hero_description {
    font-size: 1.25rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

.ai_hero_actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.ai_hero_btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.ai_hero_btn_primary {
    background: var(--ai-primary-color);
    color: var(--ai-white);
    box-shadow: 0 4px 20px rgba(0, 87, 255, 0.25);
}

.ai_hero_btn_primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 87, 255, 0.35);
    background: #0047e6;
}

.ai_hero_btn_secondary {
    background: transparent;
    color: var(--ai-primary-color);
    border: 2px solid var(--ai-primary-color);
    box-shadow: 0 2px 10px rgba(0, 87, 255, 0.1);
}

.ai_hero_btn_secondary:hover {
    background: var(--ai-primary-color);
    color: var(--ai-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 87, 255, 0.25);
}



/* 수리전문가 섹션 */
.ai_experts_section {
    background: #f8f9fa;
    padding: 100px 0;
    position: relative;
}

.ai_experts_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.ai_expert_card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(0, 87, 255, 0.1);
}

.ai_expert_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 87, 255, 0.15);
    border-color: rgba(0, 87, 255, 0.2);
}

.ai_expert_image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ai_expert_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ai_expert_card:hover .ai_expert_image img {
    transform: scale(1.05);
}

.ai_expert_badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--ai-primary-color), #003dcc);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 87, 255, 0.3);
}

.ai_expert_content {
    padding: 25px;
}

.ai_expert_name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.ai_expert_specialty {
    color: var(--ai-primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.ai_expert_stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ai_expert_rating {
    font-size: 0.9rem;
    color: #ff6b35;
    font-weight: 600;
}

.ai_expert_reviews {
    font-size: 0.85rem;
    color: #666;
}

.ai_expert_description {
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.ai_expert_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai_expert_tag {
    background: rgba(0, 87, 255, 0.1);
    color: var(--ai-primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 87, 255, 0.2);
    transition: all 0.2s ease;
}

.ai_expert_tag:hover {
    background: var(--ai-primary-color);
    color: white;
    transform: translateY(-1px);
}

/* 섹션 액션 버튼 */
.ai_section_action {
    text-align: center;
    margin-top: 50px;
}

.ai_view_all_btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--ai-primary-color), #003dcc);
    color: white;
    padding: 16px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 87, 255, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ai_view_all_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ai_view_all_btn:hover::before {
    left: 100%;
}

.ai_view_all_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 87, 255, 0.4);
    background: linear-gradient(135deg, #0047e6, #0033b3);
}


/* 고객 후기 섹션 */
.ai_reviews {
    padding: 80px 0;
    background-color: var(--ai-white);
}

.ai_reviews_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.ai_review_card {
    background: var(--ai-white);
    border-radius: var(--ai-border-radius);
    padding: 30px;
    box-shadow: var(--ai-shadow);
    border-left: 4px solid var(--ai-secondary-color);
    transition: var(--ai-transition);
}

.ai_review_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ai_review_text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.ai_review_author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai_review_avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--ai-secondary-color), var(--ai-primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.ai_review_info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--ai-primary-color);
}

.ai_review_info p {
    color: #666;
    font-size: 0.9rem;
}


/* 반응형 디자인 */
@media (max-width: 768px) {
    .ai_hero_title {
        font-size: 2.5rem;
    }
    
    .ai_hero_description {
        font-size: 1.1rem;
    }
    
    .ai_experts_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ai_expert_card {
        margin: 0 10px;
    }
    
    .ai_expert_image {
        height: 180px;
    }
    
    .ai_expert_content {
        padding: 20px;
    }
    
    .ai_expert_name {
        font-size: 1.3rem;
    }
    
    .ai_reviews_grid {
        grid-template-columns: 1fr;
    }
    
    .ai_view_all_btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* 반응형 브레이크포인트 */
@media (min-width: 768px) {
    .ai_main_content {
        margin-top: 70px;
    }
    
    .ai_hero_section {
        padding: 140px 0;
    }
    
    .ai_hero_title {
        font-size: 4rem;
    }
    
    .ai_hero_description {
        font-size: 1.3rem;
    }
    
    .ai_reviews_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ai_main_content {
        margin-top: 70px; /* 상단헤더(40px) + 메인헤더(70px) */
    }
    
    .ai_hero_section {
        padding: 160px 0;
    }
    
    .ai_hero_title {
        font-size: 4.5rem;
    }
    
    .ai_hero_description {
        font-size: 1.4rem;
    }
    
    .ai_hero_actions {
        gap: 24px;
    }
    
    .ai_hero_btn {
        padding: 20px 40px;
        font-size: 1.15rem;
    }
    
    .ai_reviews_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .ai_hero_section {
        padding: 100px 0;
    }
    
    .ai_hero_title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .ai_hero_description {
        font-size: 1.1rem;
        margin: 0 auto 40px;
        line-height: 1.6;
    }
    
    .ai_hero_actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .ai_hero_btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1.05rem;
    }
    
    .ai_services,
    .ai_popular_cases,
    .ai_reviews,
    .ai_cta {
        padding: 60px 0;
    }
    
    .ai_cta h2 {
        font-size: 2rem;
    }
    
    .ai_cta_buttons {
        flex-direction: column;
        align-items: center;
    }
}
