:root {
    --primary: #0066FF;
    --secondary: #00CCFF;
    --dark: #003366;
    --light: #F0F8FF;
    --accent: #FF6600;
    --success: #00AA88;
    --paper: #F5F5F0;
    --metal: #6C757D;
    --cardboard: #D2B48C;
    --roll: #8B5A2B;

    --light-gray: #f0f0f5;
    --primary-blue: #0066ff;
    --secondary-blue: #00a8ff;
    
    --dark-gray: #1a1a2e;
    --medium-gray: #4a4a6a;
    --highlight: #ff6b6b;
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --glow-effect: 0 0 15px rgba(0, 102, 255, 0.5);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-medium: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins', '阿里巴巴普惠体', 'Microsoft YaHei', sans-serif; */
    font-family: 'Roboto Mono', 'Microsoft YaHei', monospace;
}

h1, h2, h3, h4 {
    color: var(--dark-gray);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

body {
    font-family: 'Alibaba PuHuiTi', sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9fbfd; 
}

.container {
    max-width: full-width;
    /* 1400px; */
    margin: 0 auto;
    /* padding: 0 20px; */
    /* overflow-x: hidden; */
    /* background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); */
}

/* 酷炫导航栏 */
.mainNav {
    /* background-color: #f9fbfd;  */
    /* #f9fbfd; */
    /* var(--light-gray); */
    /* backdrop-filter: blur(10px); */
    /* box-shadow: 0 5px 30px rgba(99, 214, 64, 0.1); */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, var(--dark) 0%, var(--primary) 100%);

    /* background-color: blue; */
}

.mainNav.scrolled {
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    width: 100%;
    max-width: full-width;
    /* 1400px; */
    /* margin: 0 auto; */
    padding: 0 180px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-medium);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-medium);
}

.logo-text{
    font-size: 2.3rem;
    font-weight: 700;
    /* margin-top: 1px; */
    display: inline-block;
    background: linear-gradient(120deg, var(--primary) 0%, rgb(190, 188, 188) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo img {
    height: 45px;
    margin-right: 12px;
    width: auto;
    filter: drop-shadow(var(--glow-effect));
    transition: var(--transition-medium);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--light);
    /* var(--dark-gray); */
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-blue);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    color: var(--primary-blue);  
}

.nav-links a.active {
    width: 100%;
    color: var(--dark-gray);
    /* var(--primary-blue);   */
    font-weight: 900;
}

/* .logo-text { 
    color: var(--primary-blue);
} */

/* 现代渐变头部 */
.hero {
    background: linear-gradient(90deg, var(--dark) 0%, var(--primary) 100%);
    /* background-color: blue; */
    color: white;
    padding: 30px 20px 20px;
    margin-top: 95px;
    /* text-align: center; */
    /* position: relative; */
    /* clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); */
    box-shadow: 0 0 20px rgba(96, 125, 255, 0.8);
     /* 增加亮度和轻微模糊 */
    /* filter: brightness(1.5) blur(2px); */
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding: 10px 20px 20px; 
    text-align: center;
    /*position: absolute; /* 或者使用 relative 和 bottom: 0 */
    /*bottom: 0; /* 或者使用 position: fixed; */
    width: 100%;
    /* clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); */
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(120deg, var(--secondary) 0%, white 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.copyright {
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #FF6600 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    /* margin: 10px 5px; */
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

/* .secondary-button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
} */

.secondary-button {
    background: var(--gradient-blue);
    color: white;
    padding: 10px 25px;
    margin-left: 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-medium);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.secondary-button::before {
    left: -100%;
}

.secondary-button:hover::before {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 102, 255, 0.4);
}

/* 分类筛选 */
.filter-section {
    display: flex;
    margin-top: 120px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 2001;
}

.filter-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%,rgb(43, 96, 175) 100%);
    color: white;
    padding: 5px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin: 10px 5px;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.filter-btn:hover {
    background: linear-gradient(135deg, rgb(43, 96, 175) 0%, var(--accent) 100%);
    /* var(--primary); */
    color: white;
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--primary); 
    color: white;
    border-color: var(--primary);
}

/* 必填字段样式 */
.required-field::after {
  content: "*";
  color: red;
  margin-top: 2px;
  margin-left: 2px;
  position: absolute;
  /* float: right; */
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 10px;
    }
}