/* EB-1A页面样式 */
@import 'reset.css';
@import 'index.css';
@import 'common.css';
@import 'components/carousel.css';

/* 标题通用样式 */
h2 {
    text-align: center;
    position: relative;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    z-index: 1;
}

h2::before {
    content: attr(data-en);
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(247, 108, 21, 0.3);
    white-space: nowrap;
    z-index: -1;
    letter-spacing: 5px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    /* 针对 WebKit 引擎，例如 Chrome, Safari */
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    /* Standard CSS */
    -webkit-mask-mode: alpha;
    /* 使用 alpha 模式，根据透明度遮罩 */
    mask-mode: alpha;
    /* Standard CSS */
}


/* 页面头部 */
.eb5-header {
    padding: 100px 0;
    /* 背景图片 + 遮罩 */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../images/eb1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
}

.eb5-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 20px 20px;
    opacity: 0.1;
}

.eb5-header h1 {
    font-size: 3rem;
    margin: 0 0 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.eb5-header .subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* 通用部分样式 */
section {
    padding: 100px 0;
    position: relative;
}

/* 项目综述 */
.summary-section {
    width: 100%;
    background: url(../images/mask/bg-mask.png);
    background-size: cover;
    display: flex;
    align-items: center;




}

.summary-content {
    margin: 0 auto;
}

.summary-content p {
    margin-bottom: 24px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
}

/* 产品核心竞争力 */
.highlights-section {
    background: url('../images/mask/bbblurry.svg');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.highlight-item {
    height: 250px;
    padding: 36px;
    border-radius: 30px 30px 20px 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.065);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-item:hover::before {
    opacity: 1;
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.highlight-item h3 {
    font-size: 1.25rem;
    margin: 0 0 16px;
    color: var(--text-color);
    font-weight: 600;
}

.highlight-item p {
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
}

/* 成功案例 */
.cases-section {

    background-image: url('../images/mask/city.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* FAQ部分 */
.faq-section {

    background-color: #fafafa;
}

.faq-list {
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::before {
    content: 'Q';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-item p {
    margin: 16px 0 0;
    color: #4a5568;
    line-height: 1.8;
    position: relative;
    padding-left: 28px;
}

.faq-item p::before {
    content: 'A';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* 解决方案部分样式 */
.solution-section {
    background: url('../images/mask/bbblurry.svg') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.solution-section .container {
    position: relative;
    z-index: 1;
}

.solution-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

.solution-content>p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.materials-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.material-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff9f43);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
}

.material-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.material-card h4 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.card-desc {
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.95rem;
}

.solution-footer {
    text-align: center;
    font-size: 1.1rem;
    color: #2d3748;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 20px;
}

@media (max-width: 768px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .solution-section {
        padding: 60px 0;
    }

    .solution-content h3 {
        font-size: 1.5rem;
    }

    .materials-title {
        font-size: 1.2rem;
    }

    .material-card {
        padding: 25px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .eb5-header {
        padding: 80px 0;
    }

    .eb5-header h1 {
        font-size: 2.5rem;
    }

    .eb5-header .subtitle {
        font-size: 1.125rem;
    }

    section {
        padding: 80px 0;
    }

    h2::before,
    .cases-section h1::before {
        font-size: 4rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .eb5-header h1 {
        font-size: 2rem;
    }

    .eb5-header .subtitle {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    h2::before,
    .cases-section h1::before {
        font-size: 3rem;
    }

    .highlight-item,
    .case-item,
    .faq-item {
        padding: 24px;
    }
}