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

/* 배너 섹션 */
.solution-banner.sell-solution-banner {
    background-color: var(--dark);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: url('../img/banner_sell.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.solution-banner.sell-solution-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(45deg, rgba(46, 196, 182, 0.3) 0%, rgba(46, 196, 182, 0) 50%),
        linear-gradient(45deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0) 50%);
    z-index: 1;
}

/* 배너 텍스트 스타일 */
.heading-text {
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    display: inline-block;
    margin-bottom: 10px;
}

.highlight-badge {
    background-color: rgba(33, 150, 243, 0.19);
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    margin: 8px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #1976d2;
}

.success-badge {
    font-size: 1.4em;
    color: #ffeb3b;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    display: inline-block;
    margin: 10px 0;
    background-color: rgba(255, 87, 34, 0.1);
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dark-badge {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 배너 기능 항목 스타일 */
.banner-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .banner-features {
        margin-top: 30px;
    }
}

.banner-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.banner-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.banner-feature-icon i {
    font-size: 22px;
    color: var(--primary);
}

.banner-feature-text {
    flex: 1;
}

.banner-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.banner-feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

.attention-grabber {
    background-color: rgba(255, 69, 27, 0.12);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid rgba(255, 69, 27, 0.7);
}

.attention-grabber p {
    margin: 0;
}

.attention-grabber strong {
    font-size: 0.9em;
    letter-spacing: 1px;
    line-height: 1.5;
}

.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);
    margin-bottom: 30px;
}

/* 섹션 공통 스타일 */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* 서비스 소개 섹션 */
.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.893);
    /* 더 어두운 오버레이 */
    z-index: 1;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

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

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

.benefit-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.benefit-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.benefit-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.benefit-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

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

.attention-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
}

.attention-box p {
    font-size: 1.1rem;
    color: #795548;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attention-box i {
    color: #ff9800;
    font-size: 1.3rem;
}

.stress-relief-box {
    background-color: #e8f5e9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stress-relief-box i {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 15px;
    display: block;
}

.stress-relief-box p {
    font-size: 1.2rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 600;
}

.stress-relief-box p:last-child {
    margin-bottom: 0;
}

.warning-box {
    background-color: #fef2f2;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.warning-box h4 {
    font-size: 1.3rem;
    color: #b91c1c;
    margin-bottom: 15px;
    font-weight: 600;
}

.warning-list li {
    font-size: 1.05rem;
    color: #7f1d1d;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.warning-list li i {
    color: #ef4444;
    margin-right: 10px;
    font-size: 1.1rem;
}

.benefit-highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: auto;
    text-align: center;
}

.benefit-highlight p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

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

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

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

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

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .banner-features {
        justify-content: center;
    }

    .banner-feature-item {
        min-width: 180px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .benefit-header {
        padding: 20px;
    }

    .benefit-header h3 {
        font-size: 1.4rem;
    }

    .benefit-icon {
        flex: 0 0 50px;
        height: 50px;
    }

    .benefit-content {
        padding: 20px;
        overflow: visible;
    }

    .benefit-content p {
        font-size: 1rem;
    }

    .benefit-highlight p {
        font-size: 1.1rem;
    }

    .solution-banner {
        padding: 100px 0 70px;
    }

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

    .banner-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 90%;
    }

    .banner-feature-item {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 15px 25px;
        text-align: left;
        gap: 20px;
    }

    .banner-feature-text {
        display: block;
        text-align: left;
        flex: 1;
        max-width: 70%;
    }

    .banner-feature-icon {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 0;
        flex-shrink: 0;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .banner-feature-icon i {
        font-size: 22px;
        color: var(--primary);
    }

    .banner-feature-text h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        white-space: nowrap;
        color: white;
        font-weight: 600;
    }

    .banner-feature-text p {
        font-size: 0.9rem;
        text-align: left;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
    }

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

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

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

/* 진행 과정 섹션 */
.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-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.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(255, 107, 53, 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(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: #e74c3c;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

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

/* 애니메이션 클래스 */
.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 {
    display: grid;
    opacity: 1;
    transform: translate(0, 0);
}

.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(255, 107, 53, 0.3);
    z-index: 2;
}

.attention-grabber {
    background-color: rgba(255, 107, 53, 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(255, 107, 53, 0.15);
}

/* 거래 플랫폼 강조 섹션 */
.platform-highlight {
    background-color: #e7f2ff;
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.platform-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.platform-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.platform-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.platform-text {
    flex: 1;
}

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

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

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.platform-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #444;
}

.platform-features li i {
    color: var(--primary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .platform-content {
        flex-direction: column;
        text-align: center;
    }

    .platform-features {
        grid-template-columns: 1fr;
    }

    .platform-features li {
        justify-content: center;
    }
}

/* 성공 사례 섹션 */
.case-studies {
    padding: 100px 0;
    background-color: var(--section-bg-3);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.case-tag.contract-complete {
    background-color: #130f0bb2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.case-details {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.case-details li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #666;
}

.case-details li i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.case-description {
    margin-top: 15px;
    color: #666;
    line-height: 1.6;
}