/* ========== 全局重置与基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7a00 0%, #ff9a3c 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: #ff7a00;
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-full {
    width: 100%;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 122, 0, 0.1);
    color: #ff7a00;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled .logo-text,
.header.scrolled .nav-list a {
    color: #333;
}

.header.scrolled .btn-outline {
    border-color: #ff7a00;
    color: #ff7a00;
}

.header.scrolled .btn-outline:hover {
    background: #ff7a00;
    color: #fff;
}

.header.scrolled .hamburger span {
    background: #333;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.desktop-nav .nav-list {
    display: flex;
    gap: 36px;
}

.desktop-nav .nav-list a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff7a00;
    transition: width 0.3s ease;
}

.desktop-nav .nav-list a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端侧边菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: right 0.4s ease;
    padding: 100px 30px 30px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list li {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list a {
    color: #333;
    font-size: 16px;
}

.mobile-cta {
    margin-top: 30px;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mask.active {
    opacity: 1;
    visibility: visible;
}

.no-scroll {
    overflow: hidden;
}

/* ========== Hero区域 ========== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9a3c 50%, #ffb366 100%);
    color: #fff;
    padding: 160px 0 180px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item .stat-num {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 14px;
    opacity: 0.85;
}

/* 数据看板模拟 */
.visual-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: #333;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.visual-header span.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-1 { background: #ff5f56; }
.dot-2 { background: #ffbd2e; }
.dot-3 { background: #27c93f; }

.visual-title {
    margin-left: 12px;
    font-size: 14px;
    color: #666;
}

.visual-body {
    padding: 24px;
}

.visual-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.visual-box {
    background: #fff5eb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.visual-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.visual-value {
    font-size: 22px;
    font-weight: 700;
    color: #ff7a00;
}

.visual-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 120px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.visual-bar .bar-item {
    width: 24px;
    background: linear-gradient(to top, #ff7a00, #ffb366);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    clip-path: polygon(0 60%, 25% 40%, 50% 70%, 75% 45%, 100% 65%, 100% 100%, 0 100%);
}

/* ========== 痛点区域 ========== */
.pain-section {
    background: #fff;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pain-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.pain-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.pain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.1);
    border-color: #ffd9b3;
}

.pain-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.pain-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== 核心功能 ========== */
.function-section {
    background: #fff8f0;
}

.function-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-item {
    padding: 12px 28px;
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tab-item.active {
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #222;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: #555;
}

.check-icon {
    color: #ff7a00;
    font-weight: 700;
    flex-shrink: 0;
}

/* 表单模拟 */
.mock-form {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.mock-row {
    margin-bottom: 16px;
}

.mock-row label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.mock-input {
    width: 100%;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
}

.mock-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 8px;
}

/* 表格模拟 */
.mock-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.mock-th {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff5eb;
    font-weight: 600;
    color: #ff7a00;
    font-size: 14px;
}

.mock-tr {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
}

.mock-tr.total {
    background: #fff8f0;
    font-weight: 700;
    color: #ff7a00;
    font-size: 16px;
}

/* 图表模拟 */
.mock-chart {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.chart-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
    padding: 0 10px;
}

.chart-bar {
    flex: 1;
    margin: 0 6px;
    background: linear-gradient(to top, #ff7a00, #ffb366);
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 0.3s ease;
}

.chart-bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #999;
}

/* 设置模拟 */
.mock-settings {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-toggle {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: #ddd;
    position: relative;
}

.setting-toggle.on {
    background: #ff7a00;
}

.setting-toggle.on::after {
    left: 20px;
}

.setting-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.3s ease;
}

/* ========== 适用场景 ========== */
.scene-section {
    background: #fff;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scene-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 12px;
    background: #fff8f0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.scene-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.scene-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.12);
    transform: translateY(-6px);
}

.scene-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.scene-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.scene-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== 产品优势 ========== */
.advantage-section {
    background: #fff8f0;
}

.advantage-list {
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px dashed #ffd9b3;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.advantage-item.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.advantage-item:last-child {
    border-bottom: none;
}

.advantage-num {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.advantage-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.advantage-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ========== CTA区域 ========== */
.cta-section {
    padding: 80px 0;
    background: #fff;
}

.cta-box {
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    border-radius: 20px;
    padding: 60px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.cta-form .form-row:first-child {
    grid-template-columns: 1fr 1fr;
}

.cta-form .form-input,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.cta-form textarea {
    resize: none;
    height: 100px;
}

.cta-form .btn {
    margin-top: 8px;
    font-size: 16px;
    cursor: pointer;
}

/* ========== 页脚 ========== */
.footer {
    background: #2d2d2d;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer .container {
    max-width: 1280px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff7a00;
}

.footer-contact h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .pain-grid,
    .scene-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        padding: 120px 0 140px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-item .stat-num {
        font-size: 28px;
    }

    .pain-grid,
    .scene-grid {
        grid-template-columns: 1fr;
    }

    .function-tabs {
        gap: 8px;
    }

    .tab-item {
        padding: 10px 18px;
        font-size: 14px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-form .form-row {
        grid-template-columns: 1fr !important;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
    }
}