:root {
    --primary: #1a5cb8;
    --primary-dark: #0d3d80;
    --primary-light: #2d7dd2;
    --accent: #4a9ff5;
    --bg-light: #f5f8fc;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    -webkit-text-size-adjust: 100%;
}

a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

@media screen and (max-width: 768px) {
    .layui-container { padding: 0 15px; }
}

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.site-header .layui-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: bold;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    color: var(--primary-dark);
}

.logo-sub {
    font-size: 11px;
    color: #888;
    font-weight: normal;
    letter-spacing: 1px;
}

.site-nav {
    display: flex;
    gap: 5px;
}

.site-nav a {
    padding: 8px 20px;
    font-size: 15px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
}

.site-nav a:hover { color: var(--primary); }

.site-nav a.active {
    color: var(--primary);
    background: rgba(26,92,184,0.08);
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
}

.mobile-nav-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    max-width: 80vw;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transition: right 0.3s ease;
    padding: 60px 0 20px;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav.open { right: 0; }
.mobile-nav-mask.show { display: block; }

.mobile-nav-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(26,92,184,0.08);
    color: var(--primary);
    padding-left: 30px;
}

/* ========== Hero ========== */
.hero-section {
    background: linear-gradient(135deg, #1a5cb8 0%, #4a9ff5 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-section .tagline {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-section h1 {
    font-size: 42px;
    margin: 0 0 18px;
    letter-spacing: 4px;
}

.hero-section .subtitle {
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 36px;
    opacity: 0.95;
}

.hero-section .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-section .btn-white {
    padding: 12px 35px;
    background: #fff;
    color: var(--primary);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.hero-section .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-section .btn-outline {
    padding: 12px 35px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.hero-section .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* ========== Page Banner ========== */
.page-banner {
    background: linear-gradient(135deg, #1a5cb8 0%, #4a9ff5 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 32px;
    margin: 0 0 8px;
    letter-spacing: 4px;
}

.page-banner .sub-en {
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.8;
}

.breadcrumb-bar {
    background: #f5f8fc;
    padding: 12px 0;
    font-size: 13px;
    color: #666;
}

.breadcrumb-bar a {
    color: var(--primary);
}

.breadcrumb-bar span {
    margin: 0 8px;
}

/* ========== Content Sections ========== */
.content-section {
    padding: 60px 0;
}

.content-section.gray-bg {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title .title-line {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: 28px;
    margin: 0 0 10px;
    color: #222;
}

.section-title p {
    color: #888;
    font-size: 15px;
    margin: 0;
}

/* ========== Stat Boxes ========== */
.stat-box {
    text-align: center;
    padding: 30px 15px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(26,92,184,0.12);
}

.stat-num {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #888;
}

/* ========== Feature Cards ========== */
.feature-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(26,92,184,0.1) 0%, rgba(74,159,245,0.1) 100%);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 18px;
    margin: 0 0 12px;
    color: #222;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.biz-list {
    margin: 14px 0;
    text-align: left;
}

.biz-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
    color: #555;
}

.biz-list li:last-child {
    border-bottom: none;
}

.biz-list li::before {
    content: '›';
    color: var(--primary);
    margin-right: 6px;
}

.learn-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.learn-more:hover {
    text-decoration: underline;
}

/* ========== News ========== */
.news-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    padding: 8px 0;
    background: var(--bg-light);
    border-radius: 6px;
}

.news-date .day {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.news-date .month {
    font-size: 11px;
    color: #999;
}

.news-title {
    flex: 1;
    color: #333;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-title:hover {
    color: var(--primary);
}

.news-arrow {
    color: #ccc;
    font-size: 20px;
}

.notice-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 14px;
    border-left: 4px solid var(--primary);
}

.notice-bar strong {
    flex-shrink: 0;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.notice-bar.success { border-left-color: #52c41a; }
.notice-bar.success strong { background: #52c41a; }
.notice-bar.info { border-left-color: #1890ff; }
.notice-bar.info strong { background: #1890ff; }

.notice-bar span {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ========== About Page ========== */
.about-text h2 {
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.about-text p {
    line-height: 2;
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
    text-indent: 2em;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-stats .stat-item {
    text-align: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #f5f8fc 0%, #e8f0fa 100%);
    border-radius: 8px;
}

.about-stats .stat-number {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary);
}

.about-stats .stat-label {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #eee;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,92,184,0.1) 0%, rgba(74,159,245,0.1) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 15px;
    margin: 0 0 8px;
    color: #222;
}

.contact-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* ========== Process Steps ========== */
.process-step {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    height: 100%;
}

.process-step .step-num {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.process-step h4 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #222;
}

.process-step p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

/* ========== Guarantee Form ========== */
.guarantee-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.guarantee-form-wrap .form-title {
    text-align: center;
    font-size: 24px;
    color: var(--primary-dark);
    margin: 0 0 8px;
}

.guarantee-form-wrap .form-desc {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}

#captchaImg {
    display: inline-block;
    width: 100px;
    height: 38px;
    user-select: none;
}

.captcha-input {
    width: 150px;
}

.captcha-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 110px;
    cursor: pointer;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    padding: 0 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 4px;
    text-align: center;
    user-select: none;
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.captcha-img:hover {
    border-color: var(--primary);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06), 0 0 0 2px rgba(26,92,184,0.15);
}

.captcha-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(26,92,184,0.03) 3px, rgba(26,92,184,0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(26,92,184,0.02) 5px, rgba(26,92,184,0.02) 6px);
    pointer-events: none;
}

.captcha-img span {
    display: inline-block;
    color: var(--primary);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.captcha-block {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.guarantee-form-wrap .layui-form-item:last-child {
    margin-top: 20px;
}

/* ========== Footer ========== */
.site-footer {
    background: #1a2a44;
    color: #aaa;
    padding: 50px 0 0;
    margin-top: 30px;
}

.site-footer h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.site-footer p {
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 10px;
    color: #aaa;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    font-size: 13px;
    color: #aaa;
    transition: color 0.3s;
}

.site-footer ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #888;
}

/* ========== Mobile (max-width: 768px) ========== */
@media screen and (max-width: 768px) {
    .site-header .layui-container {
        height: 64px;
    }

    .site-nav { display: none; }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .logo-text { font-size: 16px; }
    .logo-sub { display: none; }
    .site-logo img { height: 42px; }

    .hero-section {
        padding: 45px 0;
    }

    .hero-section h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .hero-section .subtitle {
        font-size: 14px;
        line-height: 1.8;
    }

    .content-section { padding: 35px 0; }

    .section-title h2 { font-size: 22px; }
    .section-title { margin-bottom: 25px; }

    .page-banner { padding: 30px 0; }
    .page-banner h1 { font-size: 22px; }

    .guarantee-form-wrap {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .captcha-input {
        width: 40% !important;
        flex-shrink: 0;
    }

    .captcha-img {
        min-width: 80px !important;
        padding: 0 8px !important;
        font-size: 18px !important;
        letter-spacing: 3px !important;
        flex-shrink: 0;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-num { font-size: 24px; }

    .news-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .news-title { white-space: normal; }

    .feature-card {
        padding: 22px 18px;
    }

    .site-footer { padding-top: 35px; }
}

@media screen and (max-width: 480px) {
    .hero-section h1 { font-size: 22px; }
}

