/* 基础样式重置 - 解决浏览器兼容性问题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 移除所有元素的默认边距和内边距 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 统一列表样式 */
ol, ul {
    list-style: none;
}

/* 统一引用样式 */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* 统一表格样式 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 统一按钮样式 */
button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
}

/* 统一输入框样式 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* 统一链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 统一图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 统一HTML和Body样式 */
html {
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    /* Edge浏览器修复 */
    -ms-overflow-style: scrollbar;
    -ms-touch-action: manipulation;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
    /* Edge浏览器修复 */
    -ms-overflow-style: scrollbar;
    -ms-touch-action: manipulation;
    -ms-content-zooming: none;
    -ms-user-select: none;
    position: relative;
}

/* 浏览器兼容性和移动端触摸优化 */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 修复IE盒模型 */
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    /* 移除默认样式 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* 修复Safari和Chrome的默认样式 */
input[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/* 修复Firefox的默认样式 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/* 修复IE的默认样式 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/* 统一滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    /* Edge浏览器修复 */
    min-width: 0;
    -ms-flex: 1 1 auto;
    -ms-overflow-style: scrollbar;
}

/* 确保所有区域的一致性 */
section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Edge浏览器修复 */
    min-width: 100%;
    max-width: 100%;
    -ms-flex: 1 1 auto;
    -ms-overflow-style: scrollbar;
}

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

/* 确保flex容器的一致性 */
.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* 确保grid容器的一致性 */
.grid-container {
    display: -ms-grid;
    display: grid;
    box-sizing: border-box;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 20, 147, 0.1);
    -webkit-box-shadow: 0 2px 20px rgba(255, 20, 147, 0.1);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Edge浏览器修复 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#F2FFFFFF,endColorstr=#F2FFFFFF)";
    min-width: 100%;
    max-width: 100%;
}

.navbar .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.nav-brand h1 {
    color: #ff1493;
    font-size: 2rem;
    font-weight: 700;
}

/* Logo图片样式 */
.nav-logo {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* 更具体的选择器确保样式优先级 */
.navbar .nav-brand .nav-logo {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff1493;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 主横幅区域 */
.hero {
    background: 
        linear-gradient(135deg, rgba(255, 20, 147, 0.2) 0%, rgba(255, 105, 180, 0.2) 50%, rgba(255, 192, 203, 0.2) 100%),
        url('../images/1.png') center top/cover no-repeat,
        linear-gradient(135deg, #ff1493 0%, #ff69b4 50%, #ffc0cb 100%);
    background-attachment: scroll;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    /* Edge浏览器修复 */
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/1.png', sizingMethod='scale')";
    min-width: 100%;
    max-width: 100%;
    height: 100vh;
}

/* 云朵动画 */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    opacity: 0.7;
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation: float 20s infinite linear;
}

.cloud1:before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud1:after {
    width: 60px;
    height: 20px;
    top: -10px;
    right: 10px;
}

.cloud2 {
    width: 80px;
    height: 30px;
    top: 60%;
    right: 15%;
    animation: float 25s infinite linear reverse;
}

.cloud2:before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.cloud2:after {
    width: 50px;
    height: 15px;
    top: -5px;
    right: 15px;
}

.cloud3 {
    width: 120px;
    height: 50px;
    top: 40%;
    right: 5%;
    animation: float 30s infinite linear;
}

.cloud3:before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud3:after {
    width: 70px;
    height: 25px;
    top: -15px;
    right: 20px;
}

@keyframes float {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

/* 桌面端显示主横幅和文字内容 */
@media (min-width: 769px) {
    .hero {
        display: flex !important;
    }
    
    .hero-content {
        display: block !important;
    }
    
    .services {
        margin-top: 0 !important;
    }
    
    .footer {
        padding: 300px 0 30px !important;
    }
    
    .teamwork-illustration2 {
        margin-top: 0 !important;
        margin-bottom: -250px !important;
    }
}



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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}



/* 服务区域 */
.services {
    padding: 0;
    background: #f8f9fa;
}

/* 服务区域文字部分 */
.services-text {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

/* 服务区域插画部分 */
.services-illustration {
    padding: 0;
    background: 
        url('../images/2.png') center/cover no-repeat;
    background-size: 100% auto;
    min-height: 1200px;
    position: relative;
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.service-illustration {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-background {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #4169e1, #87ceeb);
    clip-path: polygon(0 100%, 20% 60%, 40% 80%, 60% 40%, 80% 70%, 100% 50%, 100% 100%);
}

.character {
    position: absolute;
    left: 30%;
    bottom: 20%;
    z-index: 5;
}

.character-img {
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: block;
}

.phone-mockup {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 350px;
    background: #333;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.app-interface {
    padding: 20px;
}

.app-header {
    background: #ff1493;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    margin: -20px -20px 20px -20px;
}

.service-item {
    background: #f8f9fa;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid #ff1493;
}

/* 招募师傅区域 */
.recruitment {
    padding: 0;
    background: white;
}

/* 招募师傅文字部分 */
.recruitment-text {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

/* 招募师傅插画部分 */
.recruitment-illustration {
    padding: 0;
    background: 
        url('../images/3.png') center/cover no-repeat;
    background-size: 100% auto;
    min-height: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: -250px;
}

.recruitment-illustration .container {
    padding: 100px 20px;
}

/* 招募师傅第二个插画部分 */
.recruitment-illustration2 {
    padding: 0;
    background: 
        url('../images/4.png') center/cover no-repeat;
    background-size: 100% auto;
    min-height: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: -300px;
}

.recruitment-illustration2 .container {
    padding: 100px 20px;
}

.isometric-rooms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
    perspective: 1000px;
}

.room {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #ff69b4, #ffc0cb);
    border-radius: 10px;
    position: relative;
    transform: rotateX(15deg) rotateY(-15deg);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.room:hover {
    transform: rotateX(15deg) rotateY(-15deg) translateY(-10px);
}

.room:nth-child(2n) {
    transform: rotateX(15deg) rotateY(15deg);
}

.room:nth-child(2n):hover {
    transform: rotateX(15deg) rotateY(15deg) translateY(-10px);
}

.room-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.room-label {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.photo-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ddd, #f0f0f0);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* 群策群力区域 */
.teamwork {
    padding: 0;
    background: white;
}

/* 群策群力文字部分 */
.teamwork-text {
    background: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

/* 群策群力插画部分 */
.teamwork-illustration {
    padding: 0;
    background: 
        url('../images/5.png') center bottom/cover no-repeat;
    background-size: 100% auto;
    min-height: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.teamwork-illustration .container {
    padding: 100px 20px;
}

.teamwork-illustration .section-title,
.teamwork-illustration .section-subtitle {
    color: white;
}

/* 群策群力第二个插画部分 */
.teamwork-illustration2 {
    padding: 0;
    background: 
        url('../images/6.png') center top/cover no-repeat;
    background-size: 100% auto;
    min-height: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: -300px;
}

.teamwork-illustration2 .container {
    padding: 100px 20px;
}

.team-illustration {
    margin-top: 50px;
}

.workers-scene {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.worker {
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #4169e1, #87ceeb);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    margin: 0 auto;
    position: relative;
    animation: bounce 2s infinite ease-in-out;
}

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

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

.tools-display {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.tool-item {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

/* 底部样式 */
.footer {
    background: #4a5568;
    color: white;
    padding: 300px 0 40px;
    position: relative;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 400px;
}



.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}



/* 二维码区域 */
.qr-section {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #666;
}

.qr-code p {
    font-size: 16px;
    color: #ccc;
}

/* 联系信息区域 */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    margin: 0 auto 0 20px;
    width: fit-content;
    max-width: 300px;
}

.contact-item {
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    flex-direction: row;
    gap: 8px;
    font-size: 10px;
    width: 100%;
    display: flex;
}

.contact-item .label {
    min-width: 70px;
    font-size: 9px;
    font-weight: 600;
    flex-shrink: 0;
    color: #ccc;
    text-align: left;
}

.contact-item .value {
    font-size: 10px;
    word-break: break-all;
    flex: 1;
    color: white;
    text-align: left;
}

/* 社交媒体区域 */
.social-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 10px;
}

/* 为图标预留背景图片路径 */
.social-icon.weibo {
    background: rgba(255, 255, 255, 0.1) url('../images/social/weibo.png') center/30px 30px no-repeat !important;
}

.social-icon.wechat {
    background: rgba(255, 255, 255, 0.1) url('../images/social/wechat.png') center/30px 30px no-repeat !important;
}

.social-icon.tiktok {
    background: rgba(255, 255, 255, 0.1) url('../images/social/tiktok.png') center/30px 30px no-repeat !important;
}



.social-icon.xiaohongshu {
    background: rgba(255, 255, 255, 0.1) url('../images/social/xiaohongshu.png') center/30px 30px no-repeat !important;
}

/* 公司信息区域 */
.company-section {
    max-width: 100%;
}

.company-info {
    text-align: center;
}

.company-info p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
    line-height: 1.5;
}

.company-info p:first-child {
    font-size: 18px;
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

.company-info strong {
    color: white;
}

/* 安全认证图标样式 */
.security-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px;
    display: inline-block;
}

/* 营业执照预览样式 */
.license-preview {
    color: white;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.license-preview:hover {
    color: #4fc3f7;
    text-decoration-color: #4fc3f7;
    transform: translateY(-1px);
}

/* 营业执照模态框样式 */
.license-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.license-modal-content {
    position: relative;
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.license-modal-header {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.license-close {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.license-close:hover {
    transform: scale(1.1);
}

.license-modal-body {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
}

.license-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.license-image:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}



/* 中等屏幕自适应 */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        -ms-grid-columns: 1fr 30px 1fr;
    }
    
    /* IE Grid 兼容性 */
    .footer-content > *:nth-child(1) {
        -ms-grid-column: 1;
        -ms-grid-row: 1;
    }
    
    .footer-content > *:nth-child(2) {
        -ms-grid-column: 3;
        -ms-grid-row: 1;
    }
    
    .footer-content > *:nth-child(3) {
        -ms-grid-column: 1;
        -ms-grid-row: 3;
    }
    
    .footer-content > *:nth-child(4) {
        -ms-grid-column: 3;
        -ms-grid-row: 3;
    }
    
    .qr-section {
        justify-content: center;
    }
    
    .company-info {
        text-align: left;
    }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    /* 重置容器样式 */
    .container {
        padding: 0 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 导航栏移动端优化 */
    .navbar {
        padding: 0;
        height: 70px;
        z-index: 1001;
        width: 100%;
        left: 0;
        right: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .navbar .container {
        padding: 0.8rem 15px;
        height: 100%;
        align-items: center;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    /* 移动端Logo样式 */
    .nav-logo {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        overflow: hidden;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    
    /* 移动端更具体的选择器 */
    .navbar .nav-brand .nav-logo {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding-top: 50px;
        -webkit-transition: left 0.3s ease;
        transition: left 0.3s ease;
        z-index: 999;
        margin: 0;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 20, 147, 0.1);
    }
    
    /* 主横幅移动端优化 */
    .hero {
        margin-top: 70px;
        padding: 0;
        background: 
            url('../images/1.png') center top/100% auto no-repeat !important;
        background-attachment: scroll !important;
        min-height: 0;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 比例，可根据实际图片比例调整 */
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    /* 移动端隐藏云朵动画 */
    .cloud {
        display: none;
    }
    
    .hero-content {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
        line-height: 1.6;
    }
    

    
    /* 服务区域移动端优化 */
    .services {
        margin-top: 70px;
    }
    
    .services-text {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .services-illustration {
        min-height: 400px;
        background-size: 100% auto !important;
        background-position: center !important;
        background-attachment: scroll !important;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .service-illustration {
        padding: 40px 0;
        height: auto;
    }
    
    .phone-mockup {
        width: 120px;
        height: 200px;
        padding: 12px;
    }
    
    .character-img {
        width: 80px;
        height: 120px;
    }
    
    /* 招募师傅区域移动端优化 */
    .recruitment-text {
        padding: 40px 0;
    }
    
    .recruitment-text .section-title {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 0.8rem;
    }
    
    .recruitment-text .section-subtitle {
        font-size: 1rem;
        color: #666;
        margin-bottom: 2rem;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .recruitment-illustration,
    .recruitment-illustration2 {
        min-height: 400px;
        background-size: 100% auto !important;
        background-position: center !important;
        background-attachment: scroll !important;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .recruitment-illustration {
        margin-bottom: -150px;
    }
    
    .recruitment-illustration2 {
        margin-top: 0;
        margin-bottom: -150px;
    }
    
    .recruitment-illustration .container,
    .recruitment-illustration2 .container {
        padding: 40px 15px;
        width: 100%;
    }
    
    .isometric-rooms {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .room {
        width: 120px;
        height: 90px;
    }
    
    .room-label {
        font-size: 0.9rem;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 群策群力区域移动端优化 */
    .teamwork-text {
        padding: 40px 0;
    }
    
    .teamwork-text .section-title {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 0.8rem;
    }
    
    .teamwork-text .section-subtitle {
        font-size: 1rem;
        color: #666;
        margin-bottom: 2rem;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .teamwork-illustration,
    .teamwork-illustration2 {
        min-height: 400px;
        background-size: 100% auto !important;
        background-position: center top !important;
        background-attachment: scroll !important;
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
    }
    
    .teamwork-illustration {
        background-position: center bottom !important;
        margin-bottom: 0;
    }
    
    .teamwork-illustration2 {
        background-position: center top !important;
        margin-top: 0;
    }
    
    .teamwork-illustration .container,
    .teamwork-illustration2 .container {
        padding: 40px 15px;
    }
    
    .workers-scene {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .worker {
        width: 60px;
        height: 90px;
    }
    
    .tools-display {
        gap: 15px;
        margin-top: 20px;
    }
    
    .tool-item {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    /* 底部移动端优化 */
    .footer {
        padding: 40px 0 20px;
        margin-top: 0;
        text-align: center;
    }
    
    .footer-content {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
        justify-items: center;
        text-align: center;
    }
    
    /* 移动端IE Grid兼容性 */
    .footer-content > *:nth-child(1) {
        -ms-grid-column: 1;
        -ms-grid-row: 1;
    }
    
    .footer-content > *:nth-child(2) {
        -ms-grid-column: 1;
        -ms-grid-row: 2;
    }
    
    .footer-content > *:nth-child(3) {
        -ms-grid-column: 1;
        -ms-grid-row: 3;
    }
    
    .footer-content > *:nth-child(4) {
        -ms-grid-column: 1;
        -ms-grid-row: 4;
    }
    
    .qr-section {
        justify-content: center;
        gap: 15px;
    }
    
    .qr-code img {
        width: 80px;
        height: 80px;
    }
    
    .qr-code p {
        font-size: 11px;
    }
    
    .contact-section {
        align-items: center;
        text-align: center;
        margin: 0 auto;
        width: fit-content;
        max-width: 260px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-item {
        align-items: center;
        text-align: left;
        justify-content: flex-start;
        flex-direction: row;
        gap: 8px;
        font-size: 10px;
        width: 100%;
        display: flex;
    }
    
    .contact-item .label {
        min-width: 70px;
        font-size: 9px;
        font-weight: 600;
        flex-shrink: 0;
        color: #ccc;
        text-align: left;
    }
    
    .contact-item .value {
        font-size: 10px;
        word-break: break-all;
        flex: 1;
        color: white;
        text-align: left;
    }
    
    .social-section h4 {
        text-align: center;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .social-icons {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        max-width: 200px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    

    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 10px;
    }
    
    .company-section {
        max-width: 100%;
    }
    
    .company-info {
        text-align: center;
    }
    
    .company-info p {
        font-size: 10px;
        margin-bottom: 6px;
    }
    
    .company-info p:first-child {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .security-icon {
        width: 12px;
        height: 12px;
        margin: 0 2px;
    }
    
    .license-preview {
        font-size: 12px;
        text-underline-offset: 2px;
        text-decoration-thickness: 1px;
    }
    
    .license-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .license-modal-header {
        padding: 15px;
    }
    
    .license-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .license-modal-body {
        padding: 15px;
    }
    
    .license-image {
        max-height: 60vh;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 10px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 确保所有元素不超出屏幕 */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 主横幅超小屏优化 */
    .hero {
        margin-top: 70px;
        background: 
            url('../images/1.png') center top/100% auto no-repeat !important;
        background-attachment: scroll !important;
        min-height: 0;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 比例，可根据实际图片比例调整 */
        position: relative;
        overflow: hidden;
    }
    
    .hero-content {
        display: none;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    

    
    /* 区域标题优化 */
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* 群策群力文字优化 */
    .teamwork-text .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .teamwork-text .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* 背景图片区域优化 */
    .services-illustration,
    .recruitment-illustration,
    .recruitment-illustration2 {
        min-height: 300px;
        background-size: 100% auto !important;
        background-position: center !important;
        background-attachment: scroll !important;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .teamwork-illustration,
    .teamwork-illustration2 {
        min-height: 300px;
        background-size: 100% auto !important;
        background-attachment: scroll !important;
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
    }
    
    .teamwork-illustration {
        background-position: center bottom !important;
    }
    
    .teamwork-illustration2 {
        background-position: center top !important;
    }
    
    /* 招募师傅区域超小屏优化 */
    .recruitment-illustration {
        margin-bottom: -100px;
    }
    
    .recruitment-illustration2 {
        margin-top: 0;
        margin-bottom: -100px;
    }
    
    .isometric-rooms {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .room {
        width: 150px;
        height: 100px;
        margin: 0 auto;
    }
    
    .workers-scene {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .worker {
        width: 50px;
        height: 75px;
    }
    
    /* 群策群力区域超小屏间距优化 */
    .teamwork-illustration {
        margin-bottom: 0;
    }
    
    .teamwork-illustration2 {
        margin-top: 0;
    }
    
    /* 云朵动画在小屏幕上隐藏 */
    .cloud {
        display: none;
    }
    
    /* 联系信息居中显示 */
    .contact-section {
        align-items: center;
        text-align: center;
        margin: 0 auto;
        width: fit-content;
        max-width: 260px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-item {
        align-items: center;
        text-align: left;
        justify-content: flex-start;
        flex-direction: row;
        gap: 8px;
        font-size: 10px;
        width: 100%;
        display: flex;
    }
    
    .contact-item .label {
        min-width: 70px;
        font-size: 9px;
        font-weight: 600;
        flex-shrink: 0;
        color: #ccc;
        text-align: left;
    }
    
    .contact-item .value {
        font-size: 10px;
        word-break: break-all;
        flex: 1;
        color: white;
        text-align: left;
    }
}







 