:root {
    /* 黑灰系主题色系 */
    --primary-color: #1e293b; /* 深灰黑 */
    --secondary-color: #64748b; /* 中等灰 */
    /*--accent-color: #2563eb; !* 蓝色点缀（仅用于按钮和链接）*!*/
    --accent-color: #81c109; /* 蓝色点缀（仅用于按钮和链接）*/

    /* 背景色 */
    --bg-primary: #f8fafc; /* 浅灰色背景 */
    --bg-secondary: #ffffff; /* 白色背景 */
    --bg-dark: #1e293b; /* 深灰色背景 */
    --bg-gray: #f1f5f9; /* 中等灰色背景 */

    /* 文字色 */
    --text-primary: #1e293b; /* 深灰文字 */
    --text-secondary: #64748b; /* 中等灰文字 */
    --text-light: #94a3b8; /* 浅灰文字 */
    --text-white: #ffffff;

    /* 其他 */
    --border-color: #e2e8f0; /* 边框色 */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); /* 阴影 */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* 大阴影 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    position: relative;
}

.section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    position: relative;
}

.large-title-dark {
    font-family: Inter, "Verdana", "Arial Unicode MS", sans-serif;
    font-size: 50px;
    text-align: left;
    margin: 32px;
    line-height: 45px;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.large-title-light {
    font-family: inter, "Verdana", "Arial Unicode MS", sans-serif;
    font-size: 50px;
    text-align: left;
    margin: 32px;
    line-height: 45px;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-title-dark {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 30px;
    text-align: left;
    margin-left: 32px;
    line-height: 30px;

}

.main-title-light {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 30px;
    text-align: left;
    margin-left: 32px;
    line-height: 30px;
    color: var(--bg-secondary);
}
.main-title-green {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 30px;
    text-align: left;
    margin-left: 32px;
    line-height: 30px;
    color: var(--accent-color);
}

.media-title-dark {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 20px;
    text-align: left;
    line-height: 20px;
}

.small-title-dark {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 15px;
    text-align: left;
    margin-left: 32px;
    line-height: 20px;
}

.small-title-light {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 15px;
    text-align: left;
    margin-left: 32px;
    line-height: 20px;
    color: var(--accent-color);
}

.content-text-dark {
    font-family: inrter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 16px;
    text-align: left;
    margin-left: 32px;
    line-height: 20px;
    margin-top: 25px;
    margin-right: 100px;
    color: var(--secondary-color);
}

.content-text-light {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 16px;
    text-align: left;
    margin-left: 32px;
    line-height: 20px;
    margin-top: 25px;
    margin-right: 20px;
    color: var(--bg-secondary);
}
.content-text-green {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 16px;
    text-align: left;
    line-height: 20px;
    color: var(--accent-color);
}

.inCard-content-text {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 15px;
    line-height: 18px; /* 或 12px */
    color: gray;
    margin-top: 15px;
}

.inCard-content-text-light {
    font-family: Inter, "Arial Unicode MS", 'Roboto Light', "Verdana", 'Arial', sans-serif;
    font-size: 15px;
    line-height: 18px; /* 或 12px */
    color: var(--bg-primary);
    margin-top: 15px;
}

/* 版面1 - 首页 */
.section.hero {
    background: var(--bg-secondary);
    text-align: center;
    min-height: 85vh;
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: none;
    /*text-transform: uppercase;*/
    font-family: Inter, sans-serif;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 6px 28px;
    background: var(--accent-color); /* 使用纯蓝色 */
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px; /* 圆角矩形 */
    font-size: 1.0rem;
    transition: all 0.3s ease;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: var(--shadow);
    /*font-weight: 600;*/
    letter-spacing: 1px;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: var(--accent-color); /* 保持纯蓝色 */
    border-color: var(--accent-color);
    color: white;
}

.line_btn {
    width: 130px;
    height: 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.line_btn:hover {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.line_btn a {
    color: var(--bg-primary);
    font-size: 14px;
    text-decoration: none;
}

.line_btn:hover a {
    color: var(--accent-color);
}


/* 版面3 - 关于我们 */
.section.about {
    background: var(--bg-dark);
    color: var(--bg-secondary);
    padding: 6rem 2rem;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--bg-secondary);
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0.9;
}



/* 顶部导航 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
}

.navDark{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
}


.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0;
    font-size: 0.9rem;
}

.nav-links-dark a {
    text-decoration: none;
    color: var(--text-white);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0;
    font-size: 0.9rem;
}

.nav-links-dark a:hover {
    color: var(--accent-color)!important;
}

.nav-links a:hover {
    color: var(--accent-color)!important;
}

/* 添加下划线 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

/* 鼠标悬停时显示下划线 */
.nav-links a:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo img {
    max-height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.demo-btn {
    width: 100px;
    height: 30px;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease; /* 添加过渡效果 */
    cursor: pointer;
}

.demo-btn a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease; /* 添加过渡效果 */
    font-size: 0.9rem;
}

.demo-btn:hover {
    transform: translateY(-3px); /* 向上移动 */
    box-shadow: var(--shadow-lg); /* 添加大阴影 */
    background-color: var(--accent-color); /* 保持背景色 */
}

.demo-btn a:hover {
    color: white; /* 保持白色文字 */
}


/* 添加到 main_styles.css 中 */
.demo-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(226, 18, 18, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(132, 175, 250, 0.4);
}




/* 内容区预留空间 */
.content-wrapper {
    margin-top: 25px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .about, .contact {
        padding: 3rem 1.5rem;
    }

    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .logo {
        height: 30px;
    }

    .nav-links {
        gap: 1rem;
    }
}
