/*潍坊久久网络版权所有*/
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #003366;
    --primary-light: #2c5282;
    --accent: #0066cc;
    --text: #1a202c;
    --text-light: #4a5568;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-light: #f7fafc;
}

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background-color: var(--bg);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.nav-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.logo {
    margin-right: 40px;
}

.logo a {
    display: block;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-grow: 1;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover:after {
    width: 100%;
}

.right-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.special-link {
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 25px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.special-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.special-link:hover {
    transform: scale(1.05);
    color: white;
}

.special-link:hover:before {
    left: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 5px;
    z-index: 1001;
}

/* 移动端菜单样式 */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 12px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .right-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        flex-direction: column;
        align-items: center;
        padding: 15px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 10px;
        z-index: 998;
        margin-top: 0;
    }
    
    .right-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        top: calc(70px + (var(--nav-menu-height, 0px)));
    }
    
    .nav-menu.active ~ .right-menu.active {
        top: calc(70px + (var(--nav-menu-height, 300px)));
    }
    
    .special-link {
        margin: 5px 0;
        width: 200px;
        text-align: center;
    }
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

/* 主要内容区 */
.main-content {
    padding: 60px 0;
}

/* 业务亮点 */
.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.highlight-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.highlight-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    display: block;
    flex-shrink: 0;
}

.highlight-card h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 600;
    flex-shrink: 0;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* 案例展示 - 修复手机端单排显示 */
.cases-section {
    margin-bottom: 50px;
    background: var(--bg);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.cases-header {
    text-align: center;
    margin-bottom: 50px;
}

.cases-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.cases-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.cases-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.case-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.case-icon {
    font-size: 4rem;
    color: white;
    z-index: 2;
}

.case-content {
    padding: 25px;
}

.case-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.case-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.case-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: 15px;
}

.cases-description {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    border-left: 4px solid var(--primary);
}

.cases-description h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.cases-description p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.cases-description p:last-child {
    margin-bottom: 0;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* 页脚 */
footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.social-section {
    text-align: left;
}

.social-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qrcode-image {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.qrcode-image:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.social-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.social-text strong {
    display: block;
    color: white;
    margin-bottom: 4px;
    font-weight: 600;
}

.copyright {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    grid-column: 1 / -1;
}

.copyright-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.copyright-info a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.beian-icon {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* 响应式设计 - 修复手机端单排显示 */
@media (min-width: 768px) {
    .banner h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .logo {
        margin-right: 30px;
    }
    
    .right-menu {
        gap: 0.8rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .logo {
        margin-right: 20px;
    }
    
    .right-menu {
        gap: 0.6rem;
    }
    
    .special-link {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

/* 手机端单排显示修复 */
@media (max-width: 767px) {
    .highlights {
        grid-template-columns: 1fr; /* 业务亮点单排显示 */
        gap: 20px;
    }
    
    .highlight-card {
        padding: 25px 20px;
    }
    
    /* 案例展示单排显示 */
    .cases-grid {
        grid-template-columns: 1fr; /* 改为单列 */
        gap: 20px;
    }
    
    .cases-section {
        padding: 30px 20px;
    }
    
    .cases-header h2 {
        font-size: 2rem;
    }
    
    .case-card {
        margin-bottom: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .social-section {
        text-align: center;
    }
    
    .social-item {
        justify-content: center;
        text-align: left;
    }
    
    .copyright-info {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .copyright-info a {
        justify-content: center;
    }
}