/* 매수대행 페이지 스타일 */

/* 배너 섹션 */

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

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content h1 span {
    color: var(--primary);
}

.banner-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 섹션 공통 스타일 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.section-title .highlight,
.cta-content .highlight {
    color: var(--primary);
}

.section-title p {
    font-size: 1.1rem;
    color: #bababa;
    max-width: 700px;
    margin: 0 auto;
}

/* 서비스 소개 섹션 */
.service-intro {
    padding: 100px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.stat-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 180px;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* 매수자 혜택 섹션 */

.benefits-section {
    position: relative;
    padding: 80px 0;
    background-image: url('../img/bg_benefit.webp');
    background-size: cover;
    background-position: center;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.345);
    /* 더 어두운 오버레이 */
    z-index: 1;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
    /* 컨텐츠를 오버레이 위에 표시 */
}

.benefits-section .section-title {
    margin-top: 100px;
    position: relative;
    z-index: 2;
}

.benefit-card {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    overflow: visible;
    transition: all 0.3s ease;
    max-width: 1000px;
    margin: 90px auto;
    z-index: 2;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-content {
    display: flex;
    padding: 40px 40px 40px 50px;
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.benefit-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.benefit-icon {
    position: absolute;
    top: -25px;
    left: -10px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #2980b9 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.benefit-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0.9);
    z-index: -1;
}

.benefit-card:hover .benefit-icon {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover .benefit-icon::before {
    transform: scale(0.9);
}

.benefit-text {
    flex: 1;
    padding-left: 20px;
}

.benefit-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.benefit-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-features li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.benefit-features li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.benefit-features li i.fa-exclamation-triangle {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .benefit-text h3 {
        font-size: 1.3rem;
    }

    .benefit-icon {
        font-size: 1.2rem;
        top: -20px;
        left: -5px;
        width: 40px;
        height: 40px;
    }

    .benefit-content {
        padding: 30px 30px 30px 40px;
    }
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* 매수자 지원 Q&A 스타일 */
.support-qa {
    margin-top: 20px;
}

.qa-item {
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

.question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.question i {
    color: #555;
    margin-right: 8px;
}

.answer {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 500;
}

.answer i {
    margin-right: 8px;
}

/* 진행 과정 섹션 */
.process-section {
    padding: 100px 0;
    background-color: var(--section-bg-2);
}



.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary);
}

.process-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.process-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.process-number {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1;
}

.process-item:nth-child(odd) .process-number {
    right: -20px;
}

.process-item:nth-child(even) .process-number {
    left: -20px;
}

.process-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.process-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.process-content p {
    color: var(--dark);
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 40px;
    }

    .process-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .process-item:nth-child(odd),
    .process-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .process-item:nth-child(odd) .process-number,
    .process-item:nth-child(even) .process-number {
        left: 0;
    }
}



.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-item {
    flex: 0 0 calc(33.333% - 30px);
    min-width: 300px;
    margin-bottom: 30px;
}

.testimonial-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    position: relative;
}

.testimonial-text p::before {
    content: '"';
    font-size: 3rem;
    color: rgba(52, 152, 219, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.95rem;
    color: #777;
}

/* CTA 섹션 */
.cta-section {
    padding: 80px 0;
    background-color: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.btn-primary i {
    margin-right: 10px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .solution-banner {
        padding: 100px 0 70px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .intro-stats {
        margin-top: 30px;
    }

    .benefit-content {
        flex-direction: column;
        padding: 30px;
    }

    .benefit-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .process-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .process-item:nth-child(odd),
    .process-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .process-item:nth-child(odd) .process-number,
    .process-item:nth-child(even) .process-number {
        left: 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* 애니메이션 클래스 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-in-down {
    transform: translateY(-30px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(30px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(-30px);
}

.animate-on-scroll.fade-down {
    transform: translateY(-30px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
    display: grid;
}

.animate-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.1s;
}

.animate-child.delay-100 {
    transition-delay: 0.2s;
}

.animate-child.delay-200 {
    transition-delay: 0.3s;
}

.animate-child.delay-300 {
    transition-delay: 0.4s;
}

.animate-child.delay-400 {
    transition-delay: 0.5s;
}

.animate-on-scroll.visible .animate-child {
    opacity: 1;
    transform: translateY(0);
}

/* 호버 효과 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 버튼 물결 효과 */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.btn-ripple:active:after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/* 강조된 카드 스타일 */
.highlight-card {
    border: 2px solid var(--primary);
    position: relative;
    overflow: visible;
}

.highlight-card::before {
    content: "HOT";
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    z-index: 2;
}

.attention-grabber {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.attention-grabber p {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
    text-align: center;
}

.big-highlight {
    font-size: 1.3rem;
    padding: 20px;
    text-align: center;
    background-color: rgba(52, 152, 219, 0.15);
}

/* 하이라이트 카드의 아이콘 색상 변경 */
.highlight-card .benefit-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* 각 혜택 카드마다 다른 아이콘 색상 */
.benefit-card:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.benefit-card:nth-child(4) .benefit-icon {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.benefit-card:nth-child(5) .benefit-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.benefit-card:nth-child(6) .benefit-icon {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.benefit-card:nth-child(7) .benefit-icon {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
}