/* 全局样式优化 - DeepSeek风格 */
:root {
    --primary: #1298f8;
    --primary-dark: #0d7ac5;
    --secondary: #5f6368;
    --accent: #1298f8;
    --dark: #333;
    --light: #f8f9fa;
    --gray: rgb(81, 81, 81);
    --grey: #e0e0e0;
    --border: white;
    --mobile-nav-bg: white;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: black;
    --text-secondary: rgb(81, 81, 81);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e1b7ff 0%, #d6ffdf 100%);
    padding: 80px 0;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--grey);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #202124;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 5px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(26, 115, 232, 0.05);
}

/* wgpro */

* {
    box-sizing: border-box;
    transition: all 0.3s ease;
}

a {
    color: var(--primary);
    text-decoration: none;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--light);
    color: var(--text-primary);
    line-height: 1.6;
}

.head {
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    backdrop-filter: blur(10px);
}

.ui-top-dhl-head {
    width: 100%;
    height: 70px;
    background: white;
    border-bottom: 1px solid var(--grey);
    display: flex;
    justify-content: center;
}

.ui-top-dhl-head-main {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.ui-top-icon {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-top-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.ui-top-bar {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.ui-top-bar-text-show,
.ui-top-bar-text-show-nomargin {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.ui-top-bar-text-show::after,
.ui-top-bar-text-show-nomargin::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #58a6ff);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.ui-top-bar-text {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.ui-top-bar-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ui-top-bar-text:hover::after {
    transform: scaleX(1);
}

.ui-top-bar-text:hover {
    color: var(--primary);
}

.ui-top-dhl-bar-wap-head {
    display: none;
    /* 默认隐藏移动导航 */
}

.ui-top-right {
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    right: 15px;
}

.ui-top-left {
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    left: 15px;
    gap: 15px;
}

.ui-top-logout {
    width: 80px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #ff5858, #ff5858);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(18, 152, 248, 0.2);
    transition: all 0.3s ease;
}

.ui-top-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(18, 152, 248, 0.3);
}

.ui-top-login {
    width: 80px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary), #58a6ff);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(18, 152, 248, 0.2);
    transition: all 0.3s ease;
}

.ui-top-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(18, 152, 248, 0.3);
}

.ui-body {
    width: 100%;
    max-width: 1200px;
    margin: 90px auto 0;
    padding: 30px;
    min-height: calc(100vh - 180px);
}

.ui-body-top {
    width: 100%;
    height: 60px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.ui-body-title {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: bold;
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.ui-body-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #58a6ff);
    border-radius: 3px;
}

.ui-body-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ui-body-card {
    /*background: var(--bg-card);*/
    background: linear-gradient(135deg, #fbf0ff 0%, #fffde3 100%);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--grey);
}

.ui-body-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title b {
    background: linear-gradient(90deg, var(--primary), #58a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.2rem;
}

.card-bottom {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--gray);
}

.ui-body-item1,
.ui-body-item1-red {
    width: 100%;
    height: auto;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    position: relative;
    align-items: center;
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.ui-body-item1:hover,
.ui-body-item1-red:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ui-body-item1-red {
    background: rgba(218, 54, 51, 0.15);
    border-left: 4px solid var(--accent);
}

.ui-body-item1-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ui-body-item1-div {
    width: 100%;
    height: 100%;
    padding: 5px;
    display: flex;
    position: relative;
    flex-direction: column;
}

.ui-body-item1-div-title {
    text-decoration: none;
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 700;
    display: block;
    line-height: 1.4;
    margin-bottom: 8px;
}

.ui-body-item1-div-title:hover {
    color: var(--primary);
}

.ui-body-item1-div-text {
    text-decoration: none;
    font-size: 16px;
    color: var(--gray);
    display: block;
    line-height: 1.5;
    margin: 5px 0 10px;
}

.ui-body-item1-div-bottom {
    text-decoration: none;
    font-size: 14px;
    color: var(--gray);
    display: block;
    line-height: 1.4;
    opacity: 0.8;
}

.ui-bottom {
    width: 100%;
    height: auto;
    padding: 50px 0 30px;
    background: var(--border);
    margin-top: 50px;
    border-top: 1px solid var(--grey);
}

.ui-bottom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ui-bottom-row-div {
    margin-top: 0;
    margin-left: 0;
    flex: 1;
    padding: 0 1rem;
}

.ui-bottom-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.ui-bottom-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.ui-bottom-text {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.ui-bottom-text:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.ui-bottom-text-end {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ui-main-thanks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 15px 0;
}

/* 响应式设计优化 */
@media screen and (max-width: 940px) {
    .wapnone {
        display: none;
    }

    .ui-top-dhl-bar-wap-head {
        display: flex;
        width: 100%;
        height: 50px;
        position: fixed;
        top: 70px;
        background: var(--mobile-nav-bg);
        /* 使用浅色背景 */
        z-index: 998;
        padding: 0 15px;
        justify-content: space-around;
        border-bottom: 1px solid var(--grey);
        border-bottom: 1px solid var(--grey);
    }

    .ui-top-bar-text {
        margin-right: 0;
        font-size: 15px;
        color: var(--text-primary);
        padding: 8px 12px;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .ui-top-bar-text-show,
    .ui-top-bar-text-show-nomargin{
        margin-right: 0;
        font-size: 15px;
        color: var(--primary);
        padding: 8px 12px;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .ui-top-bar-text-show::after,
    .ui-top-bar-text-show-nomargin::after {
        height: 2px;
        background: var(--primary);
        bottom: 5px;
    }

    .ui-top-bar-text::after {
        background: var(--primary);
        bottom: 5px;
    }

    .ui-top-bar-text:hover {
        background: rgba(18, 152, 248, 0.1);
    }

    .ui-top-bar-text-show-nomargin::after {
        height: 2px;
        background: var(--light);
    }

    .ui-top-bar-text::after {
        background: var(--light);
    }

    .ui-top-left {
        left: 15px;
    }

    .ui-top-right {
        right: 15px;
    }

    .ui-body {
        max-width: calc(100% - 20px);
        padding: 20px;
        margin: 150px auto 0;
        min-height: calc(100vh - 200px);
    }

    .ui-body-title {
        font-size: 24px;
    }

    .ui-bottom-row {
        grid-template-columns: 1fr;
    }

    .ui-bottom-row-div {
        margin: 25px 0 0;
    }

    .ui-main-thanks {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .ui-top-bar {
        display: none;
    }

    .ui-body {
        padding: 15px;
        margin-top: 120px;
        margin-bottom: 0;
    }

    .ui-body-grid {
        grid-template-columns: 1fr;
    }

    .ui-body-item1,
    .ui-body-item1-red {
        border-radius: 12px;
        margin-top: 25px;
        margin-bottom: 15px;
        padding: 25px 15px;
        border-left: 4px solid var(--primary);
        border-top: none;
        border-bottom: none;
    }

    .ui-body-item1:first-child,
    .ui-body-item1-red:first-child {
        margin-top: 15px;
    }

    .ui-body-item1+.ui-body-item1,
    .ui-body-item1+.ui-body-item1-red,
    .ui-body-item1-red+.ui-body-item1,
    .ui-body-item1-red+.ui-body-item1-red {
        margin-top: 30px;
    }

    .ui-body-item1-img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .ui-top-left {
        width: auto;
    }

    .ui-top-logout,
    .ui-top-login {
        padding: 7px 14px;
        font-size: 13px;
    }

    .ui-bottom {
        margin-top: 0;
    }
}