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

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    padding: 20px;
    margin: 0;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-wrap: wrap;
}

.control-panel {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #eee;
    background: #fcfcfc;
}

.preview-panel {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
    padding-left: 120px;
}

label {
    position: absolute;
    left: 0;
    top: 8px;
    margin-bottom: 5px;
    color: #333;
    font-size: 13px;
}

label.checkbox-label {
    position: static;
    padding-left: 0;
    display: flex;
    align-items: center;
}

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

input:focus,
select:focus {
    border-color: #1e88e5;
    outline: none;
}

.primary-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

.primary-btn:hover {
    background-color: #45a049;
}

#sealCanvas {
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* 添加选框样式 */
input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

label input[type="checkbox"] {
    display: inline;
}

/* 滑动条容器样式 */
.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
}

.slider-container input[type="range"] {
    flex: 1;
}

.slider-container span {
    min-width: 60px;
    text-align: right;
    font-size: 12px;
    color: #666;
    background: white;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #eee;
}

/* 美化滑动条样式 */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #45a049;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background .15s ease-in-out;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #45a049;
}

.reset-btn {
    background-color: #f44336;
    margin-top: 10px;
}

.reset-btn:hover {
    background-color: #d32f2f;
}

/* 页头样式 */
.header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 2rem;
}

.header-wrapper {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.logo i {
    color: #007bff;
    font-size: 1.5rem;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item i {
    font-size: 1rem;
}

.nav-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.nav-item.active {
    background-color: #007bff;
    color: white;
}

.page-title {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.1rem;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        padding: 0.5rem;
    }

    .page-title {
        padding: 2rem 1rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 0 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #b3b3b3;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #243342;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.modal-content h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.modal-content p {
    margin: 0 0 20px 0;
    color: #666;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.confirm-btn,
.cancel-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: auto;
    margin: 0;
}

.confirm-btn {
    background-color: #f44336;
    color: white;
}

.confirm-btn:hover {
    background-color: #d32f2f;
}

.cancel-btn {
    background-color: #e0e0e0;
    color: #333;
}

.cancel-btn:hover {
    background-color: #bdbdbd;
}

/* 参数分组样式 */
.control-group {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.control-group-title {
    font-size: 14px;
    color: #1e88e5;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
    display: flex;
    align-items: center;
}

.control-group-title i {
    margin-right: 8px;
    font-size: 16px;
}

/* 操作按钮组 */
.action-buttons {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px;
    margin: 0 -20px -20px -20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.action-buttons button {
    margin: 0;
    flex: 1;
}

/* 免责声明样式 */
.disclaimer-content {
    max-width: 600px;
}

.disclaimer-text {
    max-height: 400px;
    overflow-y: auto;
    margin: 0 -30px;
    padding: 0 30px;
}

.disclaimer-text ol {
    padding-left: 20px;
    margin: 15px 0;
}

.disclaimer-text li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #444;
}

.disclaimer-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-style: italic;
}

/* 预览内容样式 */
.preview-content {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 210mm;
    min-height: 297mm;
    margin: 20px auto;
    position: relative;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.certificate {
    font-family: SimSun, serif;
    line-height: 1.8;
    width: 180mm;
    padding: 40px;
    position: relative;
    box-sizing: border-box;
}

.certificate h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: normal;
}

.certificate-content {
    margin: 30px 0;
    line-height: 2;
    letter-spacing: 1px;
}

.indent {
    text-indent: 2em;
    line-height: 2;
}

.diagnosis .indent {
    text-indent: 5em;
    line-height: 1.5;
}

.note {
    font-size: 0.9em;
    color: #333;
}

.certificate-footer {
    margin-top: 60px;
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: flex-start;
}

.company-info {
    flex: 1;
    line-height: 2;
}

.stamp-area {
    text-align: right;
    position: relative;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    mix-blend-mode: multiply;
    width: 220px;
}

.stamp-area p {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* 日期样式 */
.stamp-area p:last-child {
    margin-top: 3em;
}

/* 公章制作框样式 */
.seal-maker-content {
    max-width: 1000px;
    width: 90%;
    height: 80vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.close-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-btn i {
    font-size: 16px;
    color: #666;
}

.close-btn:hover {
    background-color: #f0f0f0;
}

.close-btn:hover i {
    color: #333;
}

.modal-body {
    padding: 20px 0;
    height: calc(100% - 120px);
}

.seal-maker-container {
    display: flex;
    gap: 20px;
    height: 100%;
}

.seal-controls {
    flex: 1;
    padding-right: 20px;
    border-right: 1px solid #eee;
    overflow-y: auto;
}

.seal-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

.secondary-btn {
    background-color: #e9ecef;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: #dee2e6;
}

.primary-btn {
    background-color: #1e88e5;
    color: white;
    margin-left: 10px;
}

.primary-btn:hover {
    background-color: #1976d2;
}

/* 做旧效果控制组样式 */
.noise-group {
    padding-left: 0;
    /* 覆盖默认的左内边距 */
}

.noise-control {
    margin-bottom: 10px;
}

.noise-control .checkbox-label {
    padding-left: 120px;
    /* 与其他表单项对齐 */
}

.noise-slider {
    position: relative;
    padding-left: 120px;
    /* 与其他表单项对齐 */
}

.noise-slider label {
    position: absolute;
    left: 0;
    top: 8px;
}

/* 字体大小控制组样式 */
.font-size-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.font-size-control select {
    width: 100%;
    margin-bottom: 5px;
}

.font-size-control .slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
}

.font-size-control .slider-container input[type="range"] {
    flex: 1;
}

.font-size-control .slider-container span {
    min-width: 50px;
    text-align: right;
}

/* 可拖拽公章式 */
.draggable-seal {
    position: absolute;
    cursor: move;
    z-index: 100;
    transform-origin: center;
    user-select: none;
    right: 0;
    top: 0;
    mix-blend-mode: multiply;
    transform: rotate(-15deg);
}

.seal-image {
    width: 200px;
    height: 200px;
    opacity: 0.75;
    transition: all 0.3s ease;
}

/* 控制手柄样式 */
.seal-controls-wrapper {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed #1e88e5;
    border-radius: 50%;
    display: none;
    pointer-events: none;
}

.draggable-seal:hover .seal-controls-wrapper {
    display: block;
}

.resize-handle,
.rotate-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #1e88e5;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.resize-handle {
    bottom: 0;
    right: 0;
    cursor: se-resize;
    z-index: 101;
    transform: translate(50%, 50%);
    transition: transform 0.2s ease;
}

.resize-handle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid transparent;
    border-right: 2px solid #1e88e5;
    border-bottom: 2px solid #1e88e5;
    border-radius: 0 0 8px 0;
    opacity: 0.5;
}

.resize-handle:hover {
    transform: translate(50%, 50%) scale(1.2);
}

.resize-handle:hover::before {
    opacity: 1;
}

.rotate-handle {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: grab;
    z-index: 101;
    transition: transform 0.2s ease;
}

.rotate-handle::before {
    content: '↻';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: #1e88e5;
    font-size: 16px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.rotate-handle:hover {
    transform: translateX(-50%) scale(1.2);
}

.rotate-handle:active {
    cursor: grabbing;
    transform: translateX(-50%) scale(0.9);
}

/* 确保公章区域有正确的定位 */
.stamp-area {
    position: relative;
    min-height: 200px;
}

#sealArea {
    position: absolute;
    top: -3em;
    right: -50px;
    z-index: 2;
    width: 100%;
    max-width: 200px;
}

/* 下划线样式 */
.underline {
    border-bottom: 1px solid #000;
    padding: 0 2px;
    /* 添加一些水平内边距 */
    margin: 0 2px;
    /* 添加一些水平外边距 */
}

/* 导航栏样式 */
.main-nav {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.nav-item {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #f0f0f0;
}

.nav-item.active {
    background-color: #007bff;
    color: white;
}

.nav-item i {
    margin-right: 0.5rem;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 统一免责声明样式 */
.disclaimer-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.disclaimer-section h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.disclaimer-text ol {
    padding-left: 1.5rem;
}

.disclaimer-text li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* 首页特有样 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
}

.features-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
    text-align: center;
}

.features-section h2 {
    margin-bottom: 3rem;
    color: #333;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    padding: 1.5rem;
}

.feature-item i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.5;
}

/* 首页专用样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo i {
    color: #007bff;
}

/* Hero 区域样式 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.primary-btn {
    background-color: #007bff;
    color: white;
}

.btn.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn.secondary-btn {
    background-color: #e9ecef;
    color: #333;
}

.btn.secondary-btn:hover {
    background-color: #dee2e6;
    transform: translateY(-2px);
}

/* 功能区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
}

.features {
    padding: 4rem 2rem;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* 优势区域样式 */
.advantages {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA 区域样式 */
.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 社交链接样式 */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 1rem 2rem;
    background: #fff;
    border-radius: 4px;
    margin: 1rem auto;
    max-width: 1200px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
}

/* 法律声明样式 */
.legal-disclaimer {
    background: #f8f9fa;
    padding: 1rem;
    margin: 2rem 0;
    border-left: 4px solid #dc3545;
}

.legal-disclaimer p {
    font-weight: bold;
    color: #dc3545;
}

.legal-disclaimer ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

/* 隐私政策和服务条款页面样式 */
.privacy-content,
.terms-content,
.contact-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.privacy-content h2,
.terms-content h2 {
    color: #333;
    margin: 2rem 0 1rem;
}

.privacy-content section,
.terms-content section {
    margin-bottom: 2rem;
}

/* Cookie 提示样式 */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1rem;
    z-index: 9999;
    text-align: center;
}

.cookie-notice p {
    margin: 0;
    display: inline-block;
    margin-right: 1rem;
}

.cookie-notice a {
    color: #007bff;
    text-decoration: underline;
}

.accept-cookies {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accept-cookies:hover {
    background: #0056b3;
}

/* 修改备案号链接样式，其他样式保持不变 */
.beian {
    color: white;
    /* 改为更深的颜色 */
    text-decoration: none;
    font-size: 14px;
    /* 增大字号 */
    line-height: 1.5;
    font-weight: 500;
    /* 稍微加粗 */
}

.beian:hover {
    color: #1a73e8;
    /* 使用更鲜明的蓝色 */
    text-decoration: underline;
}


@media only screen and (max-width: 600px) {
    .container {
        flex-direction: column-reverse;
    }

    .preview-content {
        min-height: auto;
    }

    .certificate {
        padding: 0;
    }

    .operationPanel .preview-panel {;
        position: sticky;
        top: 0;
        padding: 0;
    }

    .operationPanel {
        width: 200%;
        transform: scale(0.5);
        transform-origin: top center;
        margin-left: -50% !important;
        margin-top: -25%;
        margin-bottom: -25%;
    }

    .operationPanel.fixed {
        position: fixed;
        top: 112px;
        left: 0;
        right: 0;
        z-index: 99;
        background: white;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        height: 198vh;
        overflow: auto;
        flex-wrap: nowrap;
    }

    .seal-maker-container {
        transform: scale(0.5);
        width: 200%;
        margin-left: -50%;
        height: 212%;
        margin-top: -35%;
    }

    .modal-content {
        padding: 10px;
    }

    .seal-controls {
        padding-right: 0;
    }

    .seal-controls .noise-slider {
        padding-left: 0;
    }

    .seal-controls .form-group {
        padding-left: 0;
        margin-bottom: 20px;
    }

    .seal-controls .form-group label {
        top: -20px;
    }
}