/* 홈 화면 배너 스타일 - index.html에서 쓸 것 */

.hero-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}
.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}
.hero-btn {
    background-color: var(--blue-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
}
.hero-btn:hover { background-color: #004494; transform: translateY(-2px); }




/* --- 가운데 기능 카드 (아이콘 포인트) --- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
    gap: 30px; 
    margin-bottom: 60px;
}

/* 단, 모바일에서는 너무 좁아지니까 세로로 바뀌게 안전장치는 유지 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; 
    }
}

.feature-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column; /* 위아래로 배치 */
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 220px; /* 높이 고정 */
    position: relative;
    overflow: hidden;
}

/* 아이콘 감싸는 동그라미 박스 */
.card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

/* 텍스트 스타일 */
.card-text h3 {
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.card-text p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* 화살표 아이콘 (평소엔 회색, 호버시 색상 변함) */
.card-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: #ddd;
    font-size: 1.2rem;
    transition: 0.3s;
}

/* --- 카드별 테마 색상 설정 --- */

/* 타입 1: 블루 (AI 생성) */
.type-1 .card-icon-wrapper { background-color: #e3f2fd; color: #1976d2; }
.type-1:hover { border-color: #1976d2; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(25, 118, 210, 0.1); }
.type-1:hover .card-arrow { color: #1976d2; transform: translateX(5px); }

/* 타입 2: 보라 (변형) */
.type-2 .card-icon-wrapper { background-color: #f3e5f5; color: #7b1fa2; }
.type-2:hover { border-color: #7b1fa2; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(123, 31, 162, 0.1); }
.type-2:hover .card-arrow { color: #7b1fa2; transform: translateX(5px); }

/* 타입 3: 청록/그린 (조회) */
.type-3 .card-icon-wrapper { background-color: #e0f2f1; color: #00796b; }
.type-3:hover { border-color: #00796b; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 121, 107, 0.1); }
.type-3:hover .card-arrow { color: #00796b; transform: translateX(5px); }



/* --- 홈 화면 이용 방법 섹션 --- */

.process-section {
    text-align: center;
    padding: 60px 0;
    margin-top: 40px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}
.section-title h2 {
    font-size: 2rem;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: #888;
    margin-bottom: 50px;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.step-item {
    width: 200px;
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #e7f1ff; 
    color: var(--blue-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    transition: 0.3s;
}

/* 숫자 뱃지 (1, 2, 3) */
.step-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background-color: var(--navy-dark);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.step-item p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* 마우스 올리면 아이콘 튀어오름 */
.step-item:hover .step-icon {
    transform: translateY(-5px);
    background-color: var(--blue-primary);
    color: white;
}

.step-arrow {
    color: #ddd;
    font-size: 1.5rem;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .step-arrow { display: none; }
    .step-item { margin-bottom: 30px; }
}