:root {
    --color-bg: #f8fafc;
    --color-text: #2d3748;
    --color-primary: #dd5862;
    --color-secondary: #ff9735;
    --color-secondary-hover: #e6892e;
    --color-accent: #4299e1;
    --color-border: #e2e8f0;
    --color-success: #c6f6d5;
    --color-success-text: #22543d;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 5px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* 链接样式 */
a {
    color: var(--color-accent);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

a:hover:after {
    width: 100%;
}

/* 容器布局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.top-1 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--color-primary);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-light);
    min-height: 60px;
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: inline-flex;
    align-items: center;
    height: 65px;
    overflow: hidden;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.logo:after {
    display: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* 导航菜单 */
.container ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
}

.container ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    color: var(--color-text);
    transition: var(--transition);
}

.container ul li a:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

/* 卡片样式 */
.cnt-t,
.cnt-t2,
.cnt-3 {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    margin-bottom: 25px;
    padding: 24px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.cnt-t:hover,
.cnt-t2:hover,
.cnt-3:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-2px);
}

.cnt-t span {
    color: var(--color-secondary);
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

/* 表单元素美化 */
.form-control {
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 15px;
    height: 44px;
    padding: 10px 16px;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    outline: none;
}

.input-lg {
    border-radius: var(--radius-md);
    font-size: 16px;
    height: 52px;
    padding: 14px 20px;
}

select.input-lg {
    height: 52px;
    line-height: normal;
}

/* 网格布局 */
.cnt-3-1,
.cnt-3-2,
.cnt-3-3 {
    float: left;
    margin-bottom: 15px;
}

.cnt-3-1 {
    width: 25%;
}

.cnt-3-2 {
    width: calc(50% - 10px);
    margin-left: 10px;
}

.cnt-3-3 {
    width: calc(16% - 10px);
    margin-left: 10px;
}

/* 按钮美化 */
.btn {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    display: block;
    font-size: 16px;
    font-weight: 600;
    height: 52px;
    letter-spacing: 0.5px;
    padding: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    user-select: none;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 151, 53, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn:hover:before {
    left: 100%;
}

/* 成功消息 */
.cnt-4-1 {
    background: linear-gradient(135deg, var(--color-success) 0%, #e6fffa 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-success-text);
    margin-bottom: 25px;
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.cnt-4-1:before {
    content: '✓';
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
}

/* 卡片网格 */
.cnt-5 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cnt-5 dl {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.cnt-5 dl:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
    border-color: var(--color-accent);
}

.cnt-5 dl dt img {
    height: 40px;
    width: auto;
    max-width: 100%;
    margin-bottom: 15px;
}

.cnt-5 dl dd {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cnt-5 dl:hover dd {
    opacity: 1;
    max-height: 200px;
    margin-top: 10px;
}

/* 底部导航 */
.cnt-6 {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.cnt-6 ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    list-style: none;
    padding: 0;
}

.cnt-6 ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

/* 页脚 */
.foot-1 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: 60px;
    padding: 40px 0;
}

.foot-1-1 {
    text-align: center;
    color: #718096;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .cnt-4,
    .cnt-5 {
        display: none;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 16px;
    }
    
    .cnt-3-1,
    .cnt-3-2,
    .cnt-3-3 {
        float: none;
        margin: 10px 0 0 0;
        width: 100%;
    }
    
    .cnt-3-2,
    .cnt-3-3 {
        margin-left: 0;
    }
    
    .cnt-5 {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .top-1 {
        margin-bottom: 25px;
        min-height: 55px;
    }
    
    .logo {
        height: 55px;
        font-size: 1.3rem;
    }
    
    .container ul {
        gap: 20px;
        padding: 15px 0;
        justify-content: center;
    }
    
    .cnt-t,
    .cnt-t2,
    .cnt-3 {
        padding: 20px;
    }
    
    .btn {
        height: 48px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .container ul {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .cnt-6 ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cnt-t,
    .cnt-t2,
    .cnt-3 {
        padding: 16px;
    }
    
    .form-control {
        height: 40px;
        font-size: 14px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cnt-t,
.cnt-t2,
.cnt-3,
.cnt-5 dl {
    animation: fadeIn 0.5s ease-out;
}

/* 工具类 */
.clear::after {
    clear: both;
    content: " ";
    display: table;
}

.lf {
    float: left;
}

.lr {
    float: right;
}