
/* ==================== 统一导航栏样式 ==================== */
nav {
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .logo-img {
    max-height: 35px;
    width: auto;
}

nav .logo-text {
    color: #66bb6a !important;
    font-weight: bold !important;
    font-size: 1.4rem !important;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* 默认导航链接样式 */
nav ul li a {
    color: #666;  /* 黑灰色正常字体 */
    text-decoration: none;
    font-weight: 500;  /* 正常字重 */
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

/* 当前页面高亮样式（墨绿色加粗） */
nav ul li a.active,
nav ul li a.current-page {
    color: #66bb6a !important;  /* 墨绿色 - 强制应用 */
    font-weight: bold !important;  /* 加粗 - 强制应用 */
    background: #e8f5e9 !important;  /* 浅绿色背景 - 强制应用 */
}

/* 悬停效果 */
nav ul li a:hover {
    background: #e8f5e9;
    color: #66bb6a;
}

/* 登录 | 注册 样式（小一号墨绿色字体，不加粗） */
nav .auth-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

nav .auth-links a {
    color: #66bb6a;  /* 墨绿色 */
    font-size: 0.9rem;  /* 比其他栏目小1号（默认1rem） */
    font-weight: 400;  /* 正常字体，不加粗 */
    text-decoration: none;
    transition: all 0.3s;
}

/* 分隔符样式 - 不响应悬停 */
nav .auth-links .spacer {
    color: #999;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: default;
    pointer-events: none;
}

nav .auth-links a:hover {
    color: #66bb6a;
    text-decoration: underline;
}


/* ==================== 统一底栏样式 ==================== */
footer {
    background: white !important;
    color: #66bb6a;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;  /* 垂直居中 */
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* 垂直居中 */
    align-items: center;  /* 水平居中 */
    min-height: 100%;
}

.footer-column h4 {
    color: #66bb6a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links, .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .social-links li {
    margin-bottom: 10px;
}

.footer-links a, .social-links a {
    color: #66bb6a;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-links a:hover, .social-links a:hover {
    color: #66bb6a;
    text-decoration: underline;
}

/* Public网站全局样式 - 游客访问 - 完整版 */

/* ==================== CSS变量定义 ==================== */
:root {
    /* 主色调 */
    --primary-color: #66bb6a;
    --primary-light: #66bb6a;
    --primary-dark: #66bb6a;
    --primary-gradient: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    --primary-hover: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);

    /* 辅助色 */
    --secondary-color: #81c784;
    --accent-color: #4caf50;

    /* 功能色 */
    --success-color: #66bb6a;
    --danger-color: #e53935;
    --warning-color: #ffa726;
    --info-color: #29b6f6;

    /* 中性色 */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* 文字颜色 */
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-disabled: #bdbdbd;
    --text-inverse: #ffffff;

    /* 边框和背景 */
    --border-color: #e0e0e0;
    --border-light: #f5f5f5;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;

    /* 阴影 */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.18);
    --shadow-green: 0 4px 12px rgba(67, 160, 71, 0.2);
    --shadow-green-hover: 0 8px 24px rgba(67, 160, 71, 0.3);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* 字体 */
    --font-sans: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-mono: 'Courier New', monospace;

    /* 动画 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans), 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== 排版系统 ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ==================== 容器系统 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    position: relative;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    width: 100%;
    position: relative;
}

.main-content h1 {
    color: #66bb6a;
    font-weight: 600;
}

.main-content h1 i {
    color: #66bb6a;
    margin-right: 10px;
}



nav .logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

nav .logo-img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin: 0;
}



nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

nav ul li a:hover {
    color: var(--primary-color);
    background: var(--gray-50);
}

nav ul li a:hover::after {
    width: 80%;
}

/* ==================== 按钮系统 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-hover);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.8rem;
}

/* ==================== 卡片系统 ==================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.card-body {
    flex: 1;
}

.card-footer {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

/* ==================== 主页样式 ==================== */
#home {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

/* ==================== 主页名片样式 ==================== */
.profile-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 20px;
    padding: 40px 50px;
    margin: 10px auto;
    max-width: 850px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(102, 187, 106, 0.12);
    border: 1px solid #c8e6c9;
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #66bb6a, #81c784);
    border-radius: 2px;
}

.profile-card .profile-picture-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
}

.profile-card .profile-picture {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #c8e6c9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-card .profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.25);
    border-color: #a5d6a7;
}

.profile-card h1 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: #2e7d32;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: #2e7d32;
}

.profile-card .tagline {
    font-size: 1.05rem;
    color: #558b2f;
    font-style: italic;
    margin-bottom: 20px;
}

.profile-card .decorative-elements {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 12px;
}

.profile-card .element {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.profile-card .element:nth-child(2) { animation-delay: 0.5s; }
.profile-card .element:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cover {
    margin-bottom: var(--spacing-xl);
}

.profile-picture-container {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
}

.profile-picture {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 6px solid var(--bg-white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-green-hover);
}

.cover h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
}

.decorative-elements {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.element {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.element:nth-child(2) { animation-delay: 0.5s; }
.element:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==================== 网站作品 ==================== */
#portfolio, #blog, #contact {
    padding: 20px 0;
}

/* 主页最后一个section与footer的间距 */
#blog {
    margin-bottom: 0;
    padding-bottom: 20px;
}

#portfolio h2, #blog h2, #contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 25px;  /* 添加模块之间的间距 */
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.portfolio-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.portfolio-item p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.portfolio-item a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== 经验贴吧 ==================== */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.blog-post {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.blog-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post h3 {
    padding: var(--spacing-md) var(--spacing-md) 0;
    color: var(--text-primary);
}

.blog-post p {
    padding: 0 var(--spacing-md);
    color: var(--text-secondary);
}

.blog-post a {
    display: inline-block;
    margin: var(--spacing-md);
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== 作者简历 ==================== */
.resume-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.resume-section h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.resume-section ul {
    list-style: none;
    padding-left: 0;
}

.resume-section li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.resume-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==================== 联系方式 ==================== */
.contact-info {
    text-align: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-links li a {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-base);
}

.social-links li a:hover {
    background: var(--primary-gradient);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-hover);
}



.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}



.footer-column h4 {
    color: #66bb6a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links, .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .social-links li {
    margin-bottom: 10px;
}

.footer-links a, .social-links a {
    color: #66bb6a;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-links a:hover, .social-links a:hover {
    color: #66bb6a;
    text-decoration: underline;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    nav {
        height: 50px;
    }

    nav .logo-img {
        max-height: 28px;
    }

    nav ul {
        gap: var(--spacing-sm);
    }

    nav ul li a {
        font-size: 0.8rem;
        padding: var(--spacing-xs);
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .main-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .cover h1 {
        font-size: 2rem;
    }

    .profile-picture-container {
        width: 150px;
        height: 150px;
    }

    .portfolio-grid,
    .blog-container {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== 工具类 ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* ==================== 简历请求表单样式 ==================== */
.request-resume-container {
    max-width: 800px;
    margin: var(--spacing-2xl) auto;
}

.request-resume-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-green);
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.request-resume-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.request-resume-card h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.request-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
    line-height: 1.6;
}

.request-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.request-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.request-form .required {
    color: var(--danger-color);
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.request-form input:focus,
.request-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
}

.request-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-inverse);
    border: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-base);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-hover);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .request-resume-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .request-resume-card h2 {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }
}

/* ==================== 额外的定位优化 ==================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 确保所有元素正确堆叠 */
h1, h2, h3, h4, h5, h6,
p, ul, ol, li,
table, form, fieldset {
    position: relative;
}

/* 添加清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 确保导航栏伪元素正确定位 */
nav ul li a::after {
    z-index: -1;
}

/* 修复主页装饰元素定位 */
.decorative-elements {
    width: 100%;
    position: relative;
}

/* ==================== 用户信息样式 ==================== */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    color: #66bb6a;
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-badge {
    background: #66bb6a;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

#auth-links {
    display: block;
}


/* ==================== 用户信息样式 ==================== */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    color: #66bb6a;
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-badge {
    background: #66bb6a;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

#auth-links {
    display: block;
}


/* ==================== 登录/注册页面样式 ==================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 300px);
    padding: 40px 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.auth-box {
    background: white;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 美化滚动条 */
.auth-box::-webkit-scrollbar {
    width: 8px;
}

.auth-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.auth-box::-webkit-scrollbar-thumb {
    background: #66bb6a;
    border-radius: 10px;
}

.auth-box::-webkit-scrollbar-thumb:hover {
    background: #388e3c;
}

.auth-header {
    text-align: center;
    margin-bottom: 15px;
}

.auth-header h1 {
    font-size: 2rem;
    color: #66bb6a;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header .tagline {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* 消息提示 */
.message {
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* 登录方式切换标签 */
.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 10px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-btn.active {
    background: white;
    color: #66bb6a;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    background: #e8f5e9;
    color: #66bb6a;
}

/* 表单样式 */
.auth-form,
.login-form {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #66bb6a;
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.8rem;
    font-style: italic;
}

/* 密码输入框 */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: all 0.3s;
}

.toggle-password:hover {
    transform: scale(1.1);
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666;
    font-size: 0.85rem;  /* 减小字体 */
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    color: #66bb6a;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 300 !important; /* 细体 - 强制应用 */
}

.forgot-link:hover {
    color: #66bb6a;
    text-decoration: underline;
}

/* 注册页脚链接 - 细体样式 */
.register-prompt a {
    color: #66bb6a;
    text-decoration: none;
    font-weight: 300 !important; /* 细体 - 强制应用 */
    transition: all 0.3s;
}

.register-prompt a:hover {
    color: #66bb6a;
    text-decoration: underline;
}

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

.btn-block {
    width: 100%;
    display: block;
}

/* 页脚 */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    color: #666;
    font-size: 0.85rem;  /* 减小字体 */
    margin: 0;
    display: flex;
    align-items: center;  /* 垂直居中 */
    justify-content: center;  /* 水平居中 */
}

.auth-footer a {
    color: #66bb6a;
    text-decoration: none;
    font-weight: 300; /* 改为细体 */
    font-size: 0.85rem;  /* 减小字体 */
    transition: all 0.3s;
}

.auth-footer a:hover {
    color: #66bb6a;
    text-decoration: underline;
}

/* 第三方登录 */
.third-party-login {
    margin-top: 25px;
    text-align: center;
}

.third-party-login .divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
    font-size: 0.9rem;
}

.third-party-login .divider::before,
.third-party-login .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.third-party-login .divider span {
    padding: 0 15px;
}

.social-login-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    border-color: #66bb6a;
    background: #e8f5e9;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-box {
        padding: 30px 20px;
        margin: 20px;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .social-login-buttons {
        flex-direction: column;
    }
}


/* ==================== 网站作品页面样式（图文并茂） ==================== */
.portfolio-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-radius: 15px;
    border-left: 4px solid #66bb6a;
}

/* 作品卡片 */
.portfolio-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #66bb6a;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(67, 160, 71, 0.15);
}

/* 卡片头部 */
.portfolio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.portfolio-title {
    flex: 1;
    min-width: 200px;
}

.portfolio-title h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    color: #333;
}

.portfolio-title h3 a {
    color: #66bb6a;
    text-decoration: none;
    transition: all 0.3s;
}

.portfolio-title h3 a:hover {
    color: #66bb6a;
    text-decoration: underline;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #66bb6a;
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 查看详情按钮 */
.toggle-details {
    padding: 10px 20px;
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toggle-details:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

.toggle-details:active {
    transform: translateY(0);
}

/* 简介部分 */
.portfolio-summary {
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 3px solid #e0e0e0;
}

.portfolio-summary p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* 详情部分 */
.portfolio-details {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e8f5e9;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    color: #66bb6a;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4 i {
    color: #66bb6a;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.detail-section li {
    padding: 8px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s;
}

.detail-section li:hover {
    background: #e8f5e9;
    border-color: #66bb6a;
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .portfolio-title h3 {
        font-size: 1.2rem;
    }

    .toggle-details {
        width: 100%;
        justify-content: center;
    }

    .detail-section ul {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        padding: 20px;
    }
}

/* ====== AI工具样式 ====== */

/* AI工具容器 */
.ai-tools-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* 工具分类 */
.tools-category {
    margin-bottom: 50px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tools-category:hover {
    box-shadow: 0 8px 30px rgba(67, 160, 71, 0.15);
}

/* 分类标题 */
.tools-category h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.8rem;
}

/* 分类头部 */
.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e8f5e9;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

/* 工具卡片 */
.tool-card {
    background: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(67, 160, 71, 0.2);
    border-color: #66bb6a;
}

/* 工具名称 */
.tool-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.tool-name i {
    color: #66bb6a;
    font-size: 1.2rem;
}

/* 工具描述 */
.tool-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
}

/* 工具链接 */
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    justify-content: center;
    margin-top: auto;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
    background: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
}

.tool-link i {
    font-size: 0.9rem;
}

/* 博客文章样式 */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(67, 160, 71, 0.2);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post h3 {
    padding: 20px 20px 10px;
    color: #2c3e50;
    font-size: 1.4rem;
}

.blog-post p {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
}

.blog-post a {
    display: block;
    margin: 0 20px 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #66bb6a 0%, #66bb6a 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-post a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .blog-container {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

/* AI工具页面 - 每行4个布局 */
#ai-tools .portfolio-item, .main-content #ai-tools .portfolio-item {
    display: inline-block;
    width: calc(25% - 20px);
    margin: 10px;
    vertical-align: top;
}

@media (max-width: 1200px) {
    #ai-tools .portfolio-item, .main-content #ai-tools .portfolio-item {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    #ai-tools .portfolio-item, .main-content #ai-tools .portfolio-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    #ai-tools .portfolio-item, .main-content #ai-tools .portfolio-item {
        width: 100%;
    }
}

/* 注册表单两列布局 */
/* ==================== 页面滚动动画效果 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滑入动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 滑出动画 */
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ==================== 软件系统介绍页面样式 ==================== */

/* Hero 区域优化 */
.software-hero {
    background: linear-gradient(135deg, #66bb6a 0%, #81c784 50%, #a5d6a7 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.software-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.software-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.3;
}

.software-subtitle {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0.95;
}

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

.hero-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.hero-badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* 主容器 */
.software-container {
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 10;
}

/* 统计卡片 */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #66bb6a, #81c784);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102,187,106,0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: #66bb6a;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* 章节样式 */
.software-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s;
}

.software-section:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #66bb6a, #81c784);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102,187,106,0.4);
}

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 子章节 */
.subsection {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #66bb6a;
}

.subsection h3 {
    color: #66bb6a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.subsection p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* 信息框 */
.info-box {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    border-left: 5px solid #66bb6a;
}

.info-box-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* 功能网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-item:hover {
    background: white;
    border-color: #66bb6a;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102,187,106,0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #66bb6a, #81c784);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item h3 i:first-child {
    color: #66bb6a;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 技术标签 */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #66bb6a, #81c784);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(102,187,106,0.3);
}

.tech-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(102,187,106,0.4);
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #66bb6a, #81c784);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #66bb6a;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #66bb6a;
}

.timeline-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.timeline-item h3 i {
    color: #66bb6a;
}

.timeline-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA 区域 */
.software-section:last-of-type {
    text-align: center;
    background: linear-gradient(135deg, #66bb6a, #81c784);
    color: white;
}

.software-section:last-of-type .section-title {
    color: white;
    justify-content: center;
}

.software-section:last-of-type i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.software-section:last-of-type p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.software-section:last-of-type .btn-primary {
    background: white;
    color: #66bb6a;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

/* CTA 按钮特殊样式 - 更小的宽度和居中对齐 */
.software-section:last-of-type .btn-cta {
    background: white;
    color: #66bb6a;
    padding: 12px 45px;
    font-size: 1.25rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 0;
    max-width: 280px;
    width: auto;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    line-height: 1;
    white-space: nowrap; /* 确保文字在一行显示 */
    text-decoration: none; /* 移除下划线 */
    height: 50px; /* 固定高度确保一致性 */
}

/* 确保按钮内的图标和文字垂直居中 */
.software-section:last-of-type .btn-cta i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: baseline;
    line-height: 1;
    font-size: 1.1em; /* 图标稍小于文字 */
    flex-shrink: 0; /* 防止图标收缩 */
}

.software-section:last-of-type .btn-cta i:first-child {
    margin-right: 0;
}

/* 帮助提示区域的图标 - 更小的尺寸 */
.software-section:last-of-type p:last-of-type i {
    font-size: 0.75rem;
    margin-right: 5px;
    vertical-align: middle;
}

.software-section:last-of-type .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.software-section:last-of-type .btn-cta:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.software-section:last-of-type p:last-of-type {
    margin-top: 30px;
    font-size: 0.95rem;
}

.software-section:last-of-type a {
    color: white;
    text-decoration: underline;
}

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

    .software-subtitle {
        font-size: 1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .stat-cards {
        grid-template-columns: 1fr;
    }

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

    .software-section {
        padding: 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .timeline {
        padding-left: 20px;
    }
}

/* AI+模块卡片样式 */
/* ==================== 统一模块卡片样式 ==================== */

/* 网站应用模块 - 每行2个 */
.portfolio-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .portfolio-modules {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 统一卡片基础样式 */
.module-card,
.blog-category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部装饰条 */
.module-card::before,
.blog-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #66bb6a, #81c784);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 悬停效果 */
.module-card:hover,
.blog-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(102, 187, 106, 0.15);
    border-color: #c8e6c9;
}

.module-card:hover::before,
.blog-category-card:hover::before {
    opacity: 1;
}

/* 图标样式 */
.module-card .module-icon,
.blog-category-card .category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    color: #66bb6a;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.module-card:hover .module-icon,
.blog-category-card:hover .category-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #c8e6c9 0%, #dcedc8 100%);
}

/* 标题样式 */
.module-card h3,
.blog-category-card h3 {
    font-size: 1.35em;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

/* 描述文字 */
.module-card p,
.blog-category-card p {
    color: #666;
    font-size: 0.92em;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* 链接样式 */
.module-card .module-link,
.blog-category-card .more-link {
    color: #66bb6a;
    font-size: 0.92em;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.module-card:hover .module-link,
.blog-category-card:hover .more-link {
    color: #4caf50;
}

/* 强制2列布局 */
#portfolio .portfolio-modules {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    padding: 20px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

#portfolio .portfolio-modules .module-card {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
}

/* 经验贴吧模块 - 每行3个 */
.blog-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-category-card {
    padding: 30px 22px;
}

.blog-category-card .category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8em;
}

.blog-category-card h3 {
    font-size: 1.15em;
}

.blog-category-card p {
    font-size: 0.88em;
}

@media (max-width: 900px) {
    .blog-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-categories {
        grid-template-columns: 1fr;
    }
}
