﻿


/* 卡片通用样式 */
.card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eef2f8;
}
/* 移动端卡片内边距优化 */
@media (max-width: 640px) {
    .card {
        padding: 1.2rem 1rem;
    }

    .card-body {
        padding: 0.5rem 0rem;
    }
}

.card:hover {
    box-shadow: 0 16px 28px -12px rgba(0, 48, 87, 0.12);
}

.section-title {
    font-size: 3.0rem;
    font-weight: 600;
    border-left: 5px solid #0f6bae;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    color: #003057;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.info-highlight {
    background: #f8fafd;
    padding: 1.2rem 1.5rem;
    border-radius: 1.2rem;
    border-left: 4px solid #0f6bae;
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f6bae;
    display: inline-block;
    margin-right: 0.5rem;
}

.card-header {
    padding: 1.4rem 2rem;
    border-bottom: 1px solid #e2f0ff;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1.8rem 1.8rem 0 0;
}

@media (max-width: 768px) {
    .card-header {
        padding: 1rem 1rem;
    }

        .card-header h2 {
            font-size: 1.3rem;
        }
}

.card-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0f4c6b;
}

    .card-header h2 i {
        color: #2c7da0;
    }

.card-body {
    padding: 1.8rem 2rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1rem 0rem;
    }
}

.intro-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.intro-text {
    flex: 2;
}

.intro-stats {
    flex: 1;
    background: #eef7ff;
    border-radius: 1.2rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid #d4e9ff;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #cce3f5;
    padding: 0.7rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat-number {
    font-weight: 700;
    color: #1f6e8c;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #e3f0fa;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #155e7b;
}

.highlight-text {
    background: #eef4fc;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #2c7da0;
}


/*新添加---------------------*/

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/

.about-body {
    font-family: 'Inter', sans-serif;
    background: white;
    color: #1e293b;
    line-height: 1.5;
    scroll-behavior: smooth;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #cfe9ff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #2c7da0;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #1f5a7a;
    }

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* 移动端容器内边距调整 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
}

.hero-wrapper {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    border-radius: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, #7EC8FF 0%, #4A9FFF 100%);
    padding: 2rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "</>";
        font-size: 180px;
        opacity: 0.05;
        position: absolute;
        bottom: -30px;
        right: 20px;
        font-family: monospace;
        pointer-events: none;
    }

. /*logo-bar {
    background: white;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #e0f0ff;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #0f5b7a, #0a3e5c);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

    .logo-icon i {
        font-size: 2rem;
        color: white;
    }

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #0a3e5c, #2c7da0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-sub {
    font-size: 0.7rem;
    color: #5f8daa;
    letter-spacing: 1px;
}*/
.contact-mini {
    font-size: 0.8rem;
    color: #2c7da0;
}

    .contact-mini i {
        margin-right: 0.3rem;
    }

.company-name {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.company-motto {
    font-style: italic;
    background: #eef3fc;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-top: 1rem;
    border-left: 5px solid #ffaa33;
    color: #2c3e4e;
    font-size: larger;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0 1rem;
}

.badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
}

.company-desc {
    max-width: 100%;
    font-size: 1rem;
    opacity: 0.95;
    margin-top: 1rem;
    border-left: 3px solid #7fc9ff;
    padding-left: 1.2rem;
}

/* 服务条目样式 (每个服务块) */
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    border-radius: 1.2rem;
    transition: background 0.2s, transform 0.1s;
}

    .service-item:hover {
        background: #f8fafd;
        transform: translateX(4px);
    }

/* 图标容器 — 圆润背景, 醒目 */
.service-icon {
    font-size: 2rem;
    min-width: 48px;
    height: 48px;
    background: #f0f4fa;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
}

.service-item:hover .service-icon {
    background: #ffe7cf;
    transform: scale(1.02);
}

/* 文字内容区 */
.service-content {
    flex: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 0.35rem;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #4a5568;
    margin: 0;
}

    /* 装饰小分隔点 (可选) */
    .service-desc strong {
        color: #2c5282;
        font-weight: 600;
    }

@media (max-width: 768px) {
    .about-container {
        padding: 1rem;
    }

    .hero {
        padding: 1.5rem;
    }

    .company-name {
        font-size: 1.6rem;
    }

    .company-desc {
        max-width: 100%;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

        .logo-icon i {
            font-size: 1.5rem;
        }

    .company-motto {
        font-size: 1rem;
    }

    .badge-group .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.9rem;
    }

    .contact-mini {
        font-size: 0.7rem;
    }
}


/* 案例卡片 */
.case-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.case-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.2rem;
    border: 1px solid #d9ecff;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

    .case-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.12);
        border-color: #bddfff;
    }

.case-title {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: #0f4c6b;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.8rem;
}

.project-item {
    background: #f9fbfe;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid #e9edf2;
    display: flex;
    align-items: baseline;
    transition: background 0.1s;
    flex-wrap: wrap;
    word-break: break-word;
}

    .project-item strong {
        min-width: 48px;
        font-weight: 600;
        color: #2c6e9e;
    }

    .project-item span {
        margin-left: 8px;
        color: #2c3e4e;
        flex: 1;
    }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 0.7rem;
}

.project-item:hover {
    background: #f0f8ff;
    border-color: #bdd4ff;
}

.project-num {
    font-weight: 700;
    background: #e3f0fc;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    font-size: 0.75rem;
}

.project-domain {
    background: #e3eff9;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.project-name {
    font-size: 0.88rem;
    flex: 1;
}

.two-col-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.col {
    flex: 1;
    min-width: 280px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-left: 4px solid #2c7da0;
    padding-left: 0.8rem;
}

.ip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .ip-table {
        white-space: normal;
        word-break: break-word;
    }

        .ip-table td, .ip-table th {
            display: table-cell;
            padding: 0.6rem 0.3rem;
        }
}

.ip-table th, .ip-table td {
    border-bottom: 1px solid #e2edf8;
    padding: 0.8rem 0.5rem;
    text-align: left;
}

.ip-table th {
    background: #f2f9ff;
    font-weight: 600;
}

.about-footer {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.5);
    margin-top: 1rem;
    color: #1c5775;
    font-size: 0.8rem;
    background: rgba(255,255,240,0.2);
    border-radius: 2rem;
}

.btn-print {
    background: rgba(44, 125, 160, 0.15);
    border: 1px solid #b9d9f0;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

    .btn-print:hover {
        background: #2c7da0;
        color: white;
        border-color: #2c7da0;
    }

@media print {
    body {
        background: white;
    }

    .hero-wrapper, .card {
        background: white;
        box-shadow: none;
    }

    .btn-print {
        display: none;
    }
}

/* 新增翻译卡片网格样式，使其在手机上自适应 */
.translation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.translation-card {
    background: #fefefe;
    border-radius: 1.2rem;
    padding: 1.2rem;
    border-left: 5px solid #2c7da0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.translation-badge {
    background: #eef2fa;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.highlight-trans {
    background: #fef7e0;
    padding: 0.7rem;
    border-radius: 12px;
    margin-top: 0.7rem;
    font-size: 0.85rem;
}

.list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background: #e2f0fc;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
}

.two-columns-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

    .two-columns-layout .col {
        flex: 1;
    }

hr {
    border: none;
    border-top: 1px solid #d4eaff;
}
/* 防止表格溢出 */
.ip-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* 日语翻译项目区域完善显示 */
.translation-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
/* 国内及日本项目滚动区域在移动端友好 */
.project-list[style*="overflow-y: auto"] {
    -webkit-overflow-scrolling: touch;
}
/* 解决项目列表内边距问题 */
.project-item span {
    word-break: break-word;
}
/* 案例卡片移动端样式微调 */
@media (max-width: 560px) {
    .case-card {
        padding: 1rem;
    }

    .case-title {
        font-size: 1rem;
    }
}
/* 确保 hero 区域内容换行完整 */
.hero .company-desc br {
    display: inline;
}
/* 调整联系信息换行 */
.about-footer .about-div .about-a {
    color: #1c5775;
    text-decoration: none;
}

