/* 메인 페이지 전용 스타일 */

/* 페이지 헤더 - 다른 페이지들과 일관성 유지 */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #e6a800 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

/* 배경 패턴 효과 - place-traffic.css 스타일 참고 */
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(30deg);
    opacity: 0.3;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* 브레드크럼 스타일 - component.css 참고 */
.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: #fff;
}

/* 타이틀 및 텍스트 스타일 */
.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-header .lead {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.95;
}

/* 버튼 스타일 - place-traffic.css 참고 */
.page-header .btn {
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-header .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-header .btn-outline-light:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* 오른쪽 장식 요소 - medical-review.css의 floating-card 참고 */
.page-header .position-relative > div {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Trust Indicators Section - place-seo.css 스타일 참고 */
.trust-section {
    padding: 80px 0;
    background-color: #fafbfc;
}

.trust-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 서비스 특징 카드 - medical-review.css 스타일 참고 */
.feature-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
}

/* 통계 섹션 - store-success.css 스타일 참고 */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
}

.stats-item {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
}

.stats-icon {
    max-height: 80px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), #e6a800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 성공 사례 카드 - place-seo.css 스타일 참고 */
.case-study-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-study-content {
    padding: 40px;
}

.case-study-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.case-study-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 30px;
}

/* 차별화 섹션 - medical-review.css 스타일 참고 */
.differentiator-section {
    padding: 80px 0;
    background-color: #fafbfc;
}

.marketing-intro {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.marketing-intro h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.marketing-intro p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
}

.highlight {
    background-color: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 0 2px;
}

.highlight-box {
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(252, 185, 19, 0.3);
}

/* 고객 후기 - medical-review.css 스타일 참고 */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: #fafbfc;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: rgba(252, 185, 19, 0.2);
    font-family: Georgia, serif;
}

/* FAQ 섹션 - medical-review.css 스타일 참고 */
.faq-section {
    padding: 80px 0;
    background-color: #fafbfc;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    font-weight: 600;
    padding: 20px 25px;
    color: var(--dark);
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem;
}

.accordion-body {
    padding: 25px;
    line-height: 1.7;
    color: #6c757d;
}

/* CTA 섹션 - place-traffic.css 스타일 참고 */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #e9aa11 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section .display-5 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* 블로그 카드 - store-success.css 스타일 참고 */
.blog-section {
    padding: 80px 0;
    background: white;
}

.blog-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-img {
    background: linear-gradient(135deg, var(--primary) 0%, #e6a800 100%);
    color: white;
}

.blog-card-content {
    padding: 30px;
}

.blog-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.blog-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card a {
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-card a:hover {
    text-decoration: none;
    padding-left: 5px;
}

/* 애니메이션 효과 - 여러 페이지 참고 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* 섹션 공통 스타일 */
section {
    position: relative;
    z-index: 1;
}

/* 반응형 디자인 개선 */
@media (max-width: 991px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .stats-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 5rem 0 3rem;
        margin-top: 56px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .page-header .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .page-header .btn.me-3 {
        margin-right: 0 !important;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .case-study-content {
        padding: 25px;
    }

    .testimonial-card {
        margin-bottom: 20px;
    }

    .cta-section .display-5 {
        font-size: 2rem;
    }

    #contact .form-control-lg,
    #contact .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }

    #contact .col-md-4 {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .blog-card-content {
        padding: 20px;
    }
}

/* 유틸리티 클래스 추가 */
.shadow-soft {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.shadow-medium {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.shadow-strong {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.rounded-lg {
    border-radius: 15px !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

/* 스크롤 애니메이션을 위한 클래스 */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}