:root {
    --primary: #4361ee;
    --primary-light: #4895ef;
    --accent-red: #ff0000;
    --white: #ffffff;
    --gray: #606060;
    --light-bg: #f8f9fa;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --text: #333;
    --primary-blue: #0066cc;
    --dark-blue: #003366;
    --accent-orange: #ff6600;
    --success: #10b981;
    --light-bg: #f8fafc;
    --text-dark: #333;
    --text-light: #666;
    --light-text: #ecf0f1;
    --border-color: #e0e6ed;
    --secondary: #3a0ca3;
    --accent: #4895ef;
    --light: #f8f9fa;
    --text: #2b2d42;
    --accent-blue: #4361ee;
    --border-color: rgba(255, 255, 255, 0.1);
    --color-blue-200: rgb(190, 219, 255);
    --color-blue-50: rgb(239, 246, 255);
    --muted-foreground: rgb(106, 113, 121);
    --accent-orange: #ff6600;
    --success-green: #10b981;
}

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

ul li {
    list-style: none;

}

a {
    text-decoration: none;
}

body {
    font-family: 'Segoe UI', 'Noto Sans SC', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧悬浮导航 */
.floating-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 120px;
}

.nav-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 页眉 */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2667cc 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 内容区块 */
.section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--dark);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* 公司概况 */
.company-profile {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-text {
    flex: 1;
}

.profile-text p {
    text-indent: 2rem;
    margin-bottom: 15px;
}

.profile-image {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.profile-image div {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image div:hover {
    transform: translateY(-5px);
}

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

.office-scenes {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.scene {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: white;
}

.scene:hover {
    transform: translateY(-5px);
}

.scene img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.scene-caption {
    padding: 20px;
    background: white;
}

.scene-caption h3 {
    color: #0066cc;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.scene-caption p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 768px) {
    .office-scenes {
        flex-direction: column;
    }

    .scene {
        margin-bottom: 20px;
    }
}

/* 悬浮导航容器 */
.floating-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

/* 导航按钮基础样式 */
.nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
    padding-left: 20px;
}

/* 按钮悬停效果 */
.nav-btn:hover {
    width: 200px;
    box-shadow: 0 12px 30px rgba(67, 97, 238, 0.4);
}

/* 按钮图标 */
.nav-icon {
    font-size: 1.5rem;
    /* min-width: 30px; */
    transition: all 0.3s ease;
}

.nav-btn:hover .nav-icon {
    transform: scale(1.1);
}

/* 按钮文字 */
.nav-text {
    white-space: nowrap;
    margin-left: 15px;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease 0.1s;
}

.nav-btn:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

/* 联系我们按钮特殊样式 */
.contact-btn-container {
    position: relative;
}

.qrcode-text {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

/* 悬停显示二维码 */
.contact-btn-container:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
    left: 220px;
}

/* 按钮图标颜色 */
.fa-building {
    color: rgba(255, 255, 255, 0.9);
}

.fa-users {
    color: rgba(255, 255, 255, 0.9);
}

.fa-chart-line {
    color: rgba(255, 255, 255, 0.9);
}

.fa-hand-holding-heart {
    color: rgba(255, 255, 255, 0.9);
}

.fa-envelope {
    color: rgba(255, 255, 255, 0.9);
}

/* 按钮悬停时图标动画 */
.nav-btn:hover .fa-building {
    transform: rotate(-5deg);
}

.nav-btn:hover .fa-users {
    transform: translateY(-3px);
}

.nav-btn:hover .fa-chart-line {
    transform: scale(1.1) rotate(5deg);
}

.nav-btn:hover .fa-hand-holding-heart {
    animation: pulse 1s infinite;
}

.nav-btn:hover .fa-envelope {
    transform: translateY(-2px) rotate(5deg);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .floating-nav {
        left: 15px;
    }

    .nav-btn {
        width: 55px;
        height: 55px;
        padding-left: 15px;
    }

    .nav-icon {
        font-size: 1.4rem;
    }

    .nav-btn:hover {
        width: 180px;
    }
}

/* 页脚 */
.footer {
    /* background: var(--dark-blue); */
    background: rgb(8 8 8);
    color: var(--light-text);
    /* padding: 50px 0 20px; */
    padding-bottom: 20px;
    font-family: 'Segoe UI', 'Noto Sans SC', sans-serif;
}

.footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-container .company-info {
    display: flex;
    flex-direction: column;
}

.footer-container .logo-brand {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.footer-container .logo-brand i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-right: 10px;
}

.footer-container .logo-brand h3 {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-container .logo-brand h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-blue);
}

.footer-container .company-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-container .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-container .contact-item {
    display: flex;
    align-items: center;
}

.footer-container .contact-item i {
    width: 25px;
    color: var(--accent-blue);
    font-size: 1rem;
}

.footer-container .contact-item span {
    font-size: 0.95rem;
}

.footer-container .section-title {
    text-align: left;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-container .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
}

.footer-container .footer-links {
    list-style: none;
}

.footer-container .footer-links li {
    margin-bottom: 12px;
}

.footer-container .footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-container .footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    opacity: 0.7;
    /* background: linear-gradient(160deg, #0a192f 0%, #1a4f8c 100%);; */
}

.copyright a {
    color: #ffffff;
}

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

    .section-title {
        margin-top: 20px;
    }
}

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

.feedback-modal.active {
    display: flex;
}

.feedback-modal .modal-content {
    width: 100%;
    max-width: 520px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-modal .modal-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    text-align: center;
}

.feedback-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.feedback-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
}

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

.feedback-modal .modal-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.feedback-modal .tab-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.feedback-modal .tab-btn.active {
    color: #4361ee;
}

.feedback-modal .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4361ee;
    border-radius: 3px 3px 0 0;
}

.feedback-modal .modal-body {
    padding: 25px;
    height: 420px;
    overflow: auto;
}

.feedback-modal .tab-content {
    display: none;
}

.feedback-modal .tab-content.active {
    display: block;
}

.feedback-modal .feedback-text {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feedback-modal .qr-code-container {
    text-align: center;
    margin: 20px 0;
}

.feedback-modal .qr-code-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.feedback-modal .qr-code-placeholder i {
    font-size: 3rem;
    color: #ccc;
}

.feedback-modal .qr-code-placeholder img {
    height: 200px;
    width: 200px;
}

.feedback-modal .qr-code-note {
    font-size: 0.85rem;
    color: #ff9800;
    background-color: #fff8e1;
    padding: 10px;
    border-radius: 6px;
    margin: 15px 0;
    line-height: 1.5;
}

.feedback-modal .email-note {
    font-size: 0.85rem;
    color: #4361ee;
    text-align: center;
    margin-top: 15px;
}

.feedback-modal .job-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.feedback-modal .trait-list {
    color: #555;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.feedback-modal .trait-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.feedback-modal .trait-list li::before {
    content: '•';
    position: absolute;
    top: -12px;
    left: -5px;
    color: var(--muted-foreground);
    font-size: 2rem;
}

.feedback-modal .apply-info {
    padding: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    background-color: var(--color-blue-50);
    border-color: var(--color-blue-200);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.feedback-modal .apply-info p {
    margin-top: 8px;
}

.feedback-modal .apply-email {
    font-weight: 600;
    color: #4361ee;
}

.feedback-modal .apply-format {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 20px;
    color: #666;
    /* padding: 8px 12px; */
    border-radius: 4px;
    display: inline-block;
    /* margin-top: 10px; */
}

/* 右侧悬浮按钮 */
.float-sidebar {
    position: fixed;
    right: 20px;
    bottom: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 999;
}

.float-btn,
.float-more-btn {
    width: 3.33rem;
    height: 3.33rem;
    border-radius: 50%;
    background: #ffffff;
    color: #007fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.float-more-btn {
    box-shadow: none;
}

.float-children-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    /* background: #ffffff; */
    color: #007fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    margin: 0.3rem;
}

.float-tools-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    width: 3.5rem;
    height: 15rem;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.float-tools-btn .float-children-btn img {
    width: 60%;
    height: 60%;
}

.feedback-modal .tools-list {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.feedback-modal .tools-list li {
    width: 3rem;
    height: 3rem;
}

.tools-list .float-children-btn img {
    width: 100%;
    height: 100%;
}

.tools-list .float-children-btn p {
    font-size: 12px;
    color: #333;
}

.float-btn:hover {
    /* background: var(--dark-blue); */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.back-to-top {
    opacity: 1;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 工具箱弹窗 */
/* 触发按钮样式 */
.trigger-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
}

.trigger-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

/* 弹窗容器 */
.tools-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.tools-modal.active {
    display: flex;
}

/* 弹窗内容 */
.modal-content {
    width: 90%;
    max-width: 520px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalFadeIn 0.4s ease-out;
}

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

/* 弹窗头部 */
.tools-modal .modal-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tools-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.tools-modal .close-btn {
    background: none;
    border: none;
    /* color: white; */
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* 弹窗主体 */
.tools-modal .modal-body {
    padding: 25px;
    max-height: 50vh;
    overflow-y: auto;
}

/* 分类盒子 */
.tools-modal .category-box {
    margin-bottom: 30px;
}

.tools-modal .category-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    position: relative;
}

.tools-modal .category-title::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

/* 工具项列表 */
.tools-modal .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

/* 圆形工具项 */
.tools-modal .tool-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.tools-modal .tool-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    /* overflow: hidden; */
    /* border: 2px solid var(--border-color); */
}

.tools-modal .tool-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tools-modal .tool-name {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    font-weight: 500;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 操作按钮 */
.tools-modal .action-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
    border: 2px solid var(--white);
}

.tools-modal .remove-btn {
    background: var(--accent-red);
}

.tools-modal .tool-item:hover .action-btn {
    opacity: 1;
    transform: scale(1);
}

/* 悬停效果 */
.tools-modal .tool-item:hover .tool-logo {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.tools-modal .tool-item:hover .tool-logo img {
    transform: scale(1.1);
}

/* 最近使用分类特殊样式 */
.tools-modal .recent-tools .tool-logo {
    background: rgba(255, 255, 255, 0.05);
    /* border: 2px dashed rgba(67, 97, 238, 0.3); */
}
/* 底部操作按钮 */
.tools-modal .modal-footer {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #ccc;
}

.tools-modal .footer-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tools-modal .confirm-btn {
    background: var(--primary);
    color: white;
    border: none;
}

.tools-modal .confirm-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.tools-modal .cancel-btn {
    background: transparent;
    color: var(--gray);
    border: 1px solid var(--border-color);
}

.tools-modal .cancel-btn:hover {
    background: var(--light-bg);
    border-color: var(--gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tools-modal .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .tools-modal .tool-logo {
        width: 60px;
        height: 60px;
    }
    
    .tools-modal .tool-logo img {
        width: 35px;
        height: 35px;
    }
    .tools-modal .modal-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tools-modal .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tools-modal .footer-btn {
        padding: 8px 16px;
    }
}