/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面头部样式 */
.header {
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logo样式 */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

/* 导航栏样式 */
.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 20px 15px;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav a:hover {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* 联系按钮样式 */
.nav .contact-btn {
    background-color: white;
    color: #0ABAB5;
    border-radius: 5px;
    padding: 10px 20px;
    margin-left: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav .contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #098F6D;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: transparent;
    color: white;
    padding: 20px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dropdown-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 251, 0.98) 100%);
    min-width: 900px;
    width: max-content;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(10, 186, 181, 0.1);
    z-index: 1001;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: grid;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(10, 186, 181, 0.08) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(10, 186, 181, 0.08) 0%, transparent 100%);
    color: #0ABAB5;
    border-left-color: #0ABAB5;
    padding-left: 24px;
}

.dropdown-content a:hover::before {
    width: 100%;
}

.dropdown-content a.active {
    color: #0ABAB5;
    background: linear-gradient(90deg, rgba(10, 186, 181, 0.12) 0%, rgba(10, 186, 181, 0.05) 100%);
    border-left-color: #0ABAB5;
    font-weight: 600;
}

.dropdown-section {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(10, 186, 181, 0.1);
    height: fit-content;
}

.dropdown-header {
    font-weight: 600;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    color: white;
    border-bottom: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-header::before {
    content: '▸';
    font-size: 16px;
    opacity: 0.9;
}

/* 下拉子区块样式 */
.dropdown-subsection {
    margin-left: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 2px solid rgba(10, 186, 181, 0.2);
}

/* 下拉子区块标题 */
.dropdown-subheader {
    color: #098F6D;
    font-size: 13px;
    padding: 10px 16px;
    margin-bottom: 4px;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(9, 143, 109, 0.08) 0%, transparent 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-subheader::before {
    content: '•';
    color: #0ABAB5;
    font-size: 18px;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: grid;
}

/* 下拉菜单滚动条样式 */
.dropdown-content::-webkit-scrollbar {
    width: 8px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #098F6D 0%, #0ABAB5 100%);
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Section 通用样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.red-divider {
    height: 3px;
    width: 80px;
    background-color: #e74c3c;
    margin: 20px auto;
}

/* 用友体系解析 */
.yonyou-system {
    background-color: white;
}

.yonyou-overview {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background-color: #f8fbfb;
    border-radius: 12px;
}

.yonyou-logo {
    flex-shrink: 0;
}

.yonyou-intro h3 {
    font-size: 24px;
    color: #0ABAB5;
    margin-bottom: 20px;
}

.yonyou-intro p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 产品网格 */
.product-tier {
    margin-bottom: 60px;
}

.product-tier h4 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0ABAB5;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.product-card h5 {
    font-size: 24px;
    color: #0ABAB5;
    margin-bottom: 15px;
}

.product-card > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-details {
    margin: 20px 0;
}

.product-details h6 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 10px;
}

.product-details ul {
    list-style: none;
    padding: 0;
}

.product-details li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.product-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0ABAB5;
    font-weight: bold;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    background-color: #f0f9f8;
    color: #0ABAB5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #0ABAB5;
}

/* 行业解决方案 */
.industry-solutions {
    background-color: #f8f9fa;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.industry-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.industry-content h4 {
    font-size: 18px;
    color: #0ABAB5;
    margin: 25px 0 15px;
}

.industry-content ul {
    list-style: none;
    padding: 0;
}

.industry-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.industry-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0ABAB5;
    font-weight: bold;
}

/* 产品比较 */
.yonyou-comparison {
    background-color: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    color: white;
}

.comparison-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table td strong {
    color: #333;
}

.primary-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    background: linear-gradient(135deg, #0ABAB5 0%, #09a19c 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #098F6D 0%, #0ABAB5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 186, 181, 0.3);
}

/* 优势与局限 */
.yonyou-advantages {
    background-color: #f8f9fa;
}

.yonyou-pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.pros-cons-col h3 {
    font-size: 26px;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pros-cons-col h3 i {
    color: #0ABAB5;
}

.advantage-item, .disadvantage-item {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.advantage-item h4, .disadvantage-item h4 {
    font-size: 20px;
    color: #0ABAB5;
    margin-bottom: 12px;
}

.advantage-item p, .disadvantage-item p {
    color: #666;
    line-height: 1.7;
}

/* 案例展示 */
.yonyou-cases {
    background-color: white;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-study {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
}

.case-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.case-content p {
    margin-bottom: 12px;
    color: #666;
    line-height: 1.6;
}

.case-company {
    font-weight: 600;
    color: #0ABAB5;
}

/* 低代码解决方案 */
.lowcode-solution {
    background-color: #f8f9fa;
}

.lowcode-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}

.lowcode-text h3 {
    font-size: 26px;
    color: #0ABAB5;
    margin-bottom: 20px;
}

.lowcode-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.lowcode-benefits {
    margin-top: 50px;
}

.lowcode-benefits h3 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 48px;
    color: #0ABAB5;
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}

/* 下行市场 */
.yonyou-lower-market {
    background-color: white;
}

.market-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.market-feature {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.market-feature h4 {
    font-size: 18px;
    color: #0ABAB5;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.market-feature p {
    color: #666;
    line-height: 1.7;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.solution-card h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.solution-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.solution-feature {
    background-color: white;
    color: #0ABAB5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #0ABAB5;
}

/* 联系我们 */
.contact {
    background: linear-gradient(135deg, #0ABAB5 0%, #098F6D 100%);
    color: white;
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.contact-info-item i {
    font-size: 24px;
}

/* 页脚 */
.footer {
    background-color: #233140;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 20px;
}

.friendship-links {
    margin-top: 30px;
}

.friendship-links-header p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 10px;
}

.friendship-links-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.friendship-links-list a {
    color: #0ABAB5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.friendship-links-list a:hover {
    color: white;
}

/* Tech Links Hover Effects */
.tech-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tech-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 186, 181, 0.3), rgba(9, 143, 109, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    z-index: 0;
}

.tech-link:hover::before {
    opacity: 1;
}

.tech-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 186, 181, 0.3);
    border-color: #0ABAB5 !important;
    color: #fff !important;
}

.tech-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.tech-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* 动画效果 */
.animate-on-scroll,
.animate-on-scroll-left,
.animate-on-scroll-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate,
.animate-on-scroll-left.animate,
.animate-on-scroll-right.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    transform: translateX(-30px);
}

.animate-on-scroll-left.animate {
    transform: translateX(0);
}

.animate-on-scroll-right {
    transform: translateX(30px);
}

.animate-on-scroll-right.animate {
    transform: translateX(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        gap: 0;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: center;
    }
    
    .nav .contact-btn {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .dropdown-content {
        position: static;
        min-width: 100%;
        box-shadow: none;
        margin-top: 0;
        background-color: #f9f9f9;
        max-height: 50vh;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-grid,
    .industry-grid,
    .case-studies,
    .benefit-grid,
    .solution-cards {
        grid-template-columns: 1fr;
    }
    
    .yonyou-overview {
        flex-direction: column;
    }
    
    .lowcode-intro {
        grid-template-columns: 1fr;
    }
    
    .yonyou-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .product-tier h4 {
        font-size: 22px;
    }
}
