body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030; /* Ensure header is above other content */
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #0d6efd;
    text-decoration: none;
}
    
/* 语言切换下拉框样式 */
.language-selector {
    margin-left: 15px;
    margin-right: 10px;
}

.language-dropdown {
    min-width: 100px;
    height: 35px;
    font-size: 0.9rem;
    border: 2px solid #0d6efd;
    border-radius: 8px;
    background-color: #fff;
    color: #0d6efd;
    font-weight: 500;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.1);
}

.language-dropdown:focus {
    outline: none;
    border-color: #0a58ca;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.language-dropdown:hover {
    background-color: #f8f9fa;
    border-color: #0a58ca;
}

/* 移动端样式调整 */
@media (max-width: 991px) {
    .language-selector {
        margin-left: 10px;
        margin-right: 8px;
    }
    
    .language-dropdown {
        min-width: 85px;
        height: 32px;
        font-size: 0.85rem;
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    .language-selector {
        margin-left: 8px;
        margin-right: 5px;
    }
    
    .language-dropdown {
        min-width: 75px;
        height: 30px;
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}
.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #0d6efd;
}

/* Footer语言切换按钮样式 */
.language-buttons {
    margin-top: 1rem;
}

.language-buttons h6 {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.btn-group-custom {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.language-btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 2px;
    min-width: 70px;
}

.language-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.language-btn.active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 移动端语言按钮调整 */
@media (max-width: 576px) {
    .btn-group-custom {
        justify-content: center;
    }
    
    .language-btn {
        font-size: 0.8rem;
        padding: 5px 10px;
        min-width: 65px;
    }
}
.main-content {
    padding: 1rem 0;
}
/* 紧凑型产品介绍区域样式 */
.product-intro-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0px 0px 12px 12px;
    padding: 1.2rem 1.5rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}
.intro-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    color: white;
}
.intro-subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0;
    margin-bottom: 0.5rem;
    color: white;
}
.highlight-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
    margin: 0 0.2rem;
    line-height: 1.2;
}

/* 统一的卡片样式 */
.unified-content-panel, .related-content {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.unified-content-panel:hover, .related-content:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.unified-content-panel {
    background: linear-gradient(145deg, #f8f9ff 0%, #ffffff 100%);
}
.related-content {
    height: fit-content;
    background: linear-gradient(145deg, #fff8f0 0%, #ffffff 100%);
}

/* 配置区域和预览区域内部样式 */
.config-section {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}
.preview-section {
    min-height: 400px;
}
.ads-container {
    text-align: center;
}
.ad-item {
    transition: transform 0.3s ease;
}
.ad-item:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

/* 新增区域样式 */
.extra-content-area {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.extra-content-area:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.placeholder-area {
    background: linear-gradient(145deg, #f0f8ff 0%, #ffffff 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.content-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}
.content-list li:last-child {
    border-bottom: none;
}
.content-list li:hover {
    color: #007bff;
    cursor: pointer;
}
.email {
    background-image: url('/assets/images/contact.png');
    background-repeat: no-repeat;
    width: 250px;
    display: block;
    height: 31px;
    background-color: #6d67ca;
}

/* 桌面端布局优化 */
@media (min-width: 992px) {
    .main-content {
        padding: 0rem 0;
    }
    .container {
        max-width: 1400px;
    }
    .row {
        margin: 0 -15px;
    }
    .col-12, .col-lg-3, .col-lg-4, .col-lg-5 {
            padding: 0 15px;
        }
    .unified-content-panel {
        margin-bottom: 1rem;
        padding: 2rem;
    }
}

/* 平板端适配 */
@media (max-width: 991px) and (min-width: 768px) {
    .worksheet-preview {
        max-height: 60vh;
    }
    .config-panel {
        padding: 1.5rem;
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    .logo{
        font-size: 1.1em;;
    }
    .main-content {
        padding: 0rem;
    }
    .product-intro-compact {
        padding: 1rem;
        border-radius: 0px 0px 10px 10px;
    }
    .intro-title {
        font-size: 1.3rem;
    }
    .intro-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }
    .intro-features {
        gap: 0.4rem;
    }
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    .unified-content-panel, .related-content {
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .worksheet-preview {
        padding: 8mm;
        font-size: 0.85em;
        /* 移除max-height限制，让aspect-ratio正常工作 */
    }
    .worksheet-title {
        font-size: 14pt;
    }
    .problem-item {
        font-size: 11pt;
        padding: 2mm;
        min-height: 10mm;
    }
    .ad-item {
        margin-bottom: 1rem !important;
    }
    .ads-container h5 {
        font-size: 1rem;
    }
}

/* 超小屏幕适配 */
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* 预览区域样式 */
.preview-section {
    padding: 1.5rem;
}
.preview-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}
.worksheet-preview {
    border: 2px solid #666; /* 深灰色边框模拟A4纸 */
    border-radius: 0; /* 直角边框 */
    padding: 15px;
    background-color: white;
    margin: 0 auto 1.5rem;
    aspect-ratio: 210 / 297; /* A4纸比例 */
    overflow: hidden; /* 隐藏滚动条 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* 桌面端固定A4尺寸 */
@media (min-width: 992px) {
    .worksheet-preview {
        width: 420px; /* A4纸宽度的2倍比例 */
        height: 594px; /* A4纸高度的2倍比例 */
        max-width: none;
    }
}

/* 移动端和平板端保持420:594宽高比 */
@media (max-width: 991px) {
    .worksheet-preview {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 420 / 594; /* 确保420:594宽高比 */
    }
}

/* 平板端优化 */
@media (min-width: 768px) and (max-width: 991px) {
    .worksheet-preview {
        max-width: 420px;
        aspect-ratio: 420 / 594; /* 确保420:594宽高比 */
    }
}
.worksheet-preview:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer {
    background: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* 工具推荐区域样式 */
.related-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.category-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    z-index: 10;
    line-height: 1;
}

.category-badge.math {
    background: linear-gradient(135deg, #4c63d2, #6c5ce7);
    color: white;
}

.category-badge.writing {
    background: linear-gradient(135deg, #fd7e14, #ff6b35);
    color: white;
}

.category-badge.typing {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.tool-item {
    position: relative;
}

.tool-link {
    display: block;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.8rem 0.5rem;
    text-decoration: none;
    color: #343a40;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.tool-link:hover {
    border-color: #fd7e14;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.2);
    color: #343a40;
}

.tool-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.tool-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fd7e14;
    margin-bottom: 0.3rem;
}

.tool-name {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
}

.current-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #28a745;
    color: white;
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 500;
    z-index: 10;
}

.coming-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #ffc107;
    color: #343a40;
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 500;
    z-index: 10;
}

.tool-item.current .tool-link {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.tool-item.coming-soon .tool-link {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}
/* 工作表表头样式 */
.worksheet-header {
    flex-shrink: 0;
    text-align: right;
    margin-right: 8px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 6px;
}

.worksheet-logo {
    width: 82px;
    height: 30px;
    margin-right: 8px;
    flex-shrink: 0;
}

.worksheet-title {
    font-size: 13pt;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
}

.student-info {
    display: flex;
    justify-content: space-around;
    font-size: 7pt;
    color: #666;
    margin-bottom: 4px;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-item .label {
    font-weight: 500;
    margin-right: 4px;
}

.info-item .underline {
    text-align: left;
    border-bottom: 1px solid #333;
    min-width: 80px;
    height: 14px;
}

/* 工作表页脚样式 */
.worksheet-footer {
    flex-shrink: 0;
    text-align: center;
    margin-top: 6px;
    /* padding-top: 4px; */
    border-top: 1px solid #ddd;
}

.website-url {
    font-size: 7pt;
    color: #666;
    font-style: italic;
}
.website-url .slogan {
    border: 1px solid #666;
    padding: 3px 6px;
    border-radius: 8px;
}
.problem-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(55px, 1fr)); */
    gap: 4px;
    flex: 1;
    align-content: start;
}
.problem-item {
    font-size: 8pt;
    padding: 4px;
    border: none;
    border-radius: 0;
    text-align: left;
    background-color: transparent;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    word-break: keep-all;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

/* 竖式计算保持居中对齐 */
.problem-item.vertical-style {
    text-align: center;
    justify-content: center;
}

/* 题目编号样式 - 弱化视觉 */
.problem-item.has-number {
    padding-top: 4px;
    padding-left: 20px;
}

.problem-item.has-number::before {
    content: attr(data-number);
    position: absolute;
    top: 1px;
    left: 3px;
    font-size: 6pt;
    font-weight: normal;
    color: #444;
    font-family: Arial, sans-serif;
    opacity: 0.7;
}

/* 增强题目本身的视觉样式 */
.problem-item {
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

/* 竖式计算样式 */
.problem-item.vertical-style {
    padding: 2px;
    min-height: 35px;
}

.vertical-problem {
    font-size: 8pt;
    text-align: right;
    font-family: 'Courier New', monospace;
    line-height: 1.1;
}

.vertical-problem .with-line,.vertical-problem .with-line {
    margin-bottom: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 1px;
}

.vertical-problem .result {
    margin-top: 1px;
    min-height: 24px;
    color: #dc3545; /* Bootstrap danger color - 红色 */
    font-weight: 700;
}

/* 横式计算答案样式 */
.problem-item .answer {
    color: #dc3545; /* Bootstrap danger color - 红色 */
    font-weight: 700;
}



/* 桌面端题目样式优化 */
@media (min-width: 992px) {
    /* 桌面端表头样式 */
    .worksheet-header {
        margin-bottom: 12px;
    }
    
    .worksheet-title {
        font-size: 14pt;
    }
    
    .student-info {
        font-size: 6pt;
        margin-bottom: 6px;
    }
    
    .info-item .underline {
        min-width: 90px;
        height: 14px;
    }
    
    /* 桌面端页脚样式 */
    .worksheet-footer {
        margin-top: 10px;
        /* padding-top: 6px; */
    }
    
    .website-url {
        font-size: 8pt;
    }
    .problem-grid {
        /* grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); */
        gap: 6px;
    }
    .problem-item {
        font-size: 9pt;
        padding: 5px;
        min-height: 35px;
        border: none;
        background-color: transparent;
        text-align: left;
        justify-content: flex-start;
        font-weight: 700;
        color: #111;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .problem-item.has-number {
        padding-top: 2px;
        padding-left: 20px;
    }
    
    .problem-item.has-number::before {
        font-size: 7pt;
    }
    
    /* 桌面端竖式计算保持居中对齐并优化样式 */
    .problem-item.vertical-style {
        text-align: center;
        justify-content: center;
        padding: 3px;
        min-height: 40px;
    }
    
    
    .vertical-problem .with-line {
        /* font-size: 11pt; */
        border-bottom: 1px solid #333;
        padding-bottom: 1px;
        margin-bottom: 3px;
    }
    
    .vertical-problem .result {
        /* font-size: 11pt; */
        min-height: 28px;
    }
}

/* 区域标题样式 */
.config-section h2, .preview-section h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.config-section h2 {
    color: #4c63d2;
}
.preview-section h2 {
    color: #28a745;
}

/* 表单优化 */
.form-select, .form-control {
    border-radius: 10px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}
.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-image: var(--bs-form-select-bg-img);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}
.form-select:focus, .form-control:focus {
    border-color: #4c63d2;
    box-shadow: 0 0 0 0.2rem rgba(76, 99, 210, 0.15);
    background: white;
}

/* 加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}
.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    width: 90%;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4c63d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.loading-tip {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 按钮加载状态 */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

/* 按钮优化 */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #4c63d2 0%, #667eea 100%);
    box-shadow: 0 4px 15px rgba(76, 99, 210, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 99, 210, 0.4);
}
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}
.btn-outline-success, .btn-outline-primary {
    border: 2px solid currentColor;
}
.btn:hover {
    transform: translateY(-1px);
}

/* 首页英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.home .tools-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

.home .tools-container h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* 工具网格样式 */
.home .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.home .tool-item {
    position: relative;
}

.home .category-badge {
    position: absolute;
    top: -8px;
    left: -8px ;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    z-index: 10;
    line-height: 1;
}

.home .category-badge.math {
    background: linear-gradient(135deg, #4c63d2, #6c5ce7);
    color: white;
}

.home .category-badge.writing {
    background: linear-gradient(135deg, #fd7e14, #ff6b35);
    color: white;
}

.home .category-badge.typing {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

.home .tool-link {
    display: block;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: #343a40;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    height: 100%;
}

.home .tool-link:hover {
    border-color: #fd7e14;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.2);
    color: #343a40;
}

.home .tool-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.home .tool-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fd7e14;
    margin-bottom: 0.8rem;
    display: block;
}

.home .tool-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.home .tool-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.home .coming-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #ffc107;
    color: #343a40;
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 500;
    z-index: 10;
}

.home .tool-item.coming-soon .tool-link {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

/* 介绍区域样式 */
.intro-section {
    background: linear-gradient(145deg, #f8f9ff 0%, #ffffff 100%);
    padding: 1rem 0;
}

.intro-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.intro-content h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.intro-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer {
    background: #343a40;
    color: white;
    padding: 2rem 0;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tool-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .tool-link {
        padding: 1rem 0.5rem;
    }
    
    .tool-icon {
        font-size: 2rem;
    }
}