/* 参考financialcommitteecenter.com风格 + jinrongfawu.com布局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* financialcommitteecenter.com 蓝色主题 */
    --primary-color: #1a4d7a;
    --secondary-color: #2c6a9e;
    --accent-color: #f4a261;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar - 白色主题 */
.top-bar {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-left a:hover {
    color: var(--primary-color);
}

.top-bar-center {
    display: flex;
    gap: 20px;
    align-items: center;
}

.date-info {
    color: var(--text-light);
}

.motto {
    color: var(--text-light);
    font-style: italic;
}

.top-bar-right {
    display: flex;
    gap: 10px;
}

.lang-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.lang-link:hover {
    color: var(--primary-color);
}

/* Header - 白色主题风格 */
.header {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.logo-section {
    flex: 1;
    min-width: 300px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tagline {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.main-nav .nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav .nav-list a:hover {
    color: var(--primary-color);
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.kakao-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(26, 77, 122, 0.2);
}

.kakao-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 77, 122, 0.3);
}

/* Hero Section - 参考jinrongfawu.com布局（左侧关于本网 + 右侧轮播） */
.hero-section {
    background: var(--bg-light);
    padding: 40px 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

/* 左侧关于本网区域 */
.hero-sidebar {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 120px;
}

.about-box h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.more-link:hover {
    gap: 10px;
}

/* 轮播图区域 */
.carousel-wrapper {
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* Introduction Section Blue - 蓝色背景介绍区域 */
.intro-section-blue {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.intro-content-blue {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-content-blue h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.intro-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-paragraphs p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Fraud Types Section - 诈骗类型展示 */
.fraud-types-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title-center {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.fraud-types-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.fraud-type-item {
    text-align: center;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fraud-type-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.fraud-type-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.fraud-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.fraud-type-item:hover .fraud-type-image img {
    transform: scale(1.1);
}

.fraud-type-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 15px 0 5px;
    font-weight: 700;
}

.fraud-type-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    padding: 0 10px;
}

/* Settlement Cases Section - 和解书案例展示 */
.settlement-cases-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.settlement-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.settlement-document {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: rotate(-2deg);
}

.settlement-document:nth-child(2) {
    transform: rotate(1deg);
}

.settlement-document:nth-child(3) {
    transform: rotate(-1deg);
}

.settlement-document:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.document-banner {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 2px solid white;
}

.document-content {
    margin-top: 20px;
}

.document-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.document-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.party-section h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.party-section p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.blank-field {
    display: inline-block;
    width: 150px;
    height: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 3px;
    margin-left: 5px;
}

.document-body {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
}

.document-body p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
}

.document-attachments {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 5px;
}

.document-date {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.signature-line {
    display: inline-block;
    width: 120px;
    height: 2px;
    background: var(--text-dark);
    margin-left: 10px;
    vertical-align: middle;
}

/* Priority Section */
.priority-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.priority-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Introduction Section */
.intro-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
}

.question-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 30px 0;
    font-style: italic;
}

.mission-text {
    margin: 40px 0;
    line-height: 2;
}

.mission-text p {
    font-size: 1.05rem;
    margin: 10px 0;
}

.priority-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f2f9ff;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.1) 0%, rgba(44, 106, 158, 0.1) 100%);
    border-radius: 8px;
}

/* Services Section - 重构后的样式 */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Promises Section - 重构后的样式 */
.promises-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.promises-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.promises-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}


.promise-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.promise-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.promise-item p {
    line-height: 1.8;
    opacity: 0.95;
}

.promises-summary {
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-dark);
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin: 15px 0;
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Solutions Section */
.solutions-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.solutions-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.solution-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.solution-date {
    color: var(--primary-color);
}

.solution-category {
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 3px;
}

.solution-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
    position: relative;
}

.footer .container {
    text-align: center;
}

.footer p {
    margin: 10px 0;
    line-height: 1.8;
    opacity: 0.9;
}

.footer .copyright {
    margin-top: 30px;
    font-size: 0.95rem;
}

.footer .address {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-top span {
    font-size: 0.7rem;
    margin-top: 2px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .top-bar-center {
        display: none;
    }
}

@media (max-width: 1200px) {
    .fraud-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .settlement-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promises-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .promises-grid-new {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        gap: 15px;
    }

    .logo-section {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

    .logo {
        font-size: 1.3rem;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .tagline {
        display: none; /* 移动端隐藏tagline */
    }

    .menu-toggle {
        display: block !important;
        order: 2;
        flex-shrink: 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        border-top: 1px solid var(--border-color);
        display: none;
    }

    .main-nav.mobile-open {
        display: block;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }

    .kakao-btn {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .carousel-container {
        height: 400px;
    }

    .intro-content-blue h2 {
        font-size: 1.6rem;
    }

    .intro-paragraphs p {
        font-size: 1rem;
    }

    .fraud-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .settlement-cases-grid {
        grid-template-columns: 1fr;
    }

    .settlement-document {
        transform: rotate(0deg) !important;
    }

    .document-banner {
        transform: rotate(0deg);
        position: static;
        margin-bottom: 15px;
        text-align: center;
    }

    .intro-text,
    .highlight-text,
    .question-text {
        font-size: 1rem;
    }

    .cases-carousel {
        padding: 0 50px;
    }

    .case-card {
        flex: 0 0 280px;
    }

    .case-card img {
        height: 350px;
    }

    .priority-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 20px;
    }

    .icon-card {
        height: 350px;
    }

    .icon-card h3 {
        font-size: 1.4rem;
        bottom: 70px;
        left: 20px;
        right: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .icon-card p {
        font-size: 0.9rem;
        bottom: 20px;
        left: 20px;
        right: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        line-height: 1.6;
    }

    .icon-circle {
        top: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }


    .promise-point {
        height: 400px;
    }

    .point-number {
        top: 20px;
        left: 20px;
        font-size: 2.5rem;
    }

    .promise-point h3 {
        bottom: 100px;
        left: 20px;
        right: 20px;
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .promise-point p {
        bottom: 25px;
        left: 20px;
        right: 20px;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        line-height: 1.7;
    }

    .services-section .container,
    .promises-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Cases Carousel - 横向滚动案例图 */
.cases-carousel-section {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
}

.cases-header {
    text-align: center;
    margin-bottom: 50px;
}

.cases-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.cases-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.cases-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.cases-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.cases-track::-webkit-scrollbar {
    height: 6px;
}

.cases-track::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.cases-track::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.cases-track::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.case-card {
    position: relative;
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-white);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.case-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.cases-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cases-nav:hover {
    transform: translateY(-50%) scale(1.1);
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cases-nav.prev { 
    left: 0;
}

.cases-nav.next { 
    right: 0;
}

.cases-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Priority Banner */
.priority-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.priority-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.priority-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.priority-text p {
    opacity: 0.9;
}

.btn-banner {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Services Grid - 背景图风格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.icon-card {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: var(--transition);
}

.icon-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.icon-card:nth-child(1) {
    background-image: url('./bg1.png');
}

.icon-card:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=600&h=400&fit=crop');
}

.icon-card:nth-child(3) {
    background-image: url('./bg4.png');
}

.icon-card:nth-child(4) {
    background-image: url('./bg2.png');
}

.icon-card:nth-child(5) {
    background-image: url('./bg3.png');
}

.icon-card:nth-child(6) {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=600&h=400&fit=crop');
}

.icon-circle {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 2;
}

.icon-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
}

.icon-card h3 {
    position: absolute;
    bottom: 50px;
    left: 30px;
    right: 30px;
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.icon-card p {
    position: absolute;
    bottom: 15px;
    left: 30px;
    right: 30px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    z-index: 2;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    padding-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.icon-card.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--accent-color);
    border-radius: 15px;
    pointer-events: none;
    z-index: 1;
}

.icon-card.highlight .icon-circle {
    background: var(--accent-color);
    color: white;
}

/* Promises Grid - 背景图风格 */
.promises-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.promise-point {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.promise-point:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.promise-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(26 77 122 / 17%) 0%, rgba(44, 106, 158, 0.85) 100%);
    transition: var(--transition);
}

.promise-point:hover::before {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.75) 0%, rgba(44, 106, 158, 0.75) 100%);
}

.promise-point:nth-child(1) {
    background-image: url('./bg7.png');
}

.promise-point:nth-child(2) {
    background-image: url('./bg9.png');
}

.promise-point:nth-child(3) {
    background-image: url('./bg8.png');
}

.point-number {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promise-point h3 {
    position: absolute;
    bottom: 110px;
    left: 30px;
    right: 30px;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.promise-point p {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    padding-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

@media (max-width: 480px) {
    .top-bar-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .header-container {
        padding: 0 20px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    .kakao-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .cases-carousel {
        padding: 0 40px;
    }

    .case-card {
        flex: 0 0 250px;
    }

    .case-card img {
        height: 300px;
    }

    .cases-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .priority-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .priority-text h3 {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .icon-card {
        height: 300px;
        min-height: 300px;
    }

    .icon-card h3 {
        font-size: 1.1rem;
        bottom: 65px;
        left: 12px;
        right: 12px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .icon-card p {
        font-size: 0.8rem;
        bottom: 15px;
        left: 12px;
        right: 12px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
    }

    .icon-circle {
        top: 12px;
        right: 12px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .promise-point {
        height: 400px;
        min-height: 400px;
    }

    .point-number {
        top: 15px;
        left: 15px;
        font-size: 2rem;
    }

    .promise-point h3 {
        bottom: 95px;
        left: 15px;
        right: 15px;
        font-size: 1.2rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .promise-point p {
        bottom: 20px;
        left: 15px;
        right: 15px;
        font-size: 0.85rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
    }

    .promises-section h2 {
        font-size: 2rem;
    }

    .promises-grid-new {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}
