/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6b35;
    --secondary: #004e89;
    --accent: #ffd23f;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-2: linear-gradient(135deg, #004e89 0%, #0066cc 100%);
}

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

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

/* 顶部栏 */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s;
}

/* 主视觉区 */
.hero-area {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.05;
    z-index: 0;
}

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

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 25px;
}

.title-main {
    display: block;
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 10px;
}

.title-sub {
    display: block;
    font-size: 24px;
    color: var(--text-light);
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-visual {
    animation: fadeInRight 0.8s ease-out;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    transform: rotate(45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* 关于区块 */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

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

.section-title {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-tagline {
    font-size: 18px;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* 产品区块 */
.products-section {
    padding: 100px 0;
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.product-card.featured {
    border: 3px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.product-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    color: var(--text);
    font-size: 15px;
    position: relative;
    padding-left: 25px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* 优势区块 */
.advantages-section {
    padding: 100px 0;
    background: var(--white);
}

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

.advantages-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.advantages-intro {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advantage-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.advantage-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.advantages-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.advantages-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* 页面标题 */
.page-header {
    padding: 120px 0 60px;
    background: var(--gradient-1);
    text-align: center;
    margin-top: 70px;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* 功能区块 */
.feature-section {
    padding: 80px 0;
    background: var(--white);
}

.feature-section.alt-bg {
    background: var(--light);
}

.feature-header {
    text-align: center;
    margin-bottom: 50px;
}

.feature-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.feature-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s;
}

.feature-section.alt-bg .feature-item {
    background: var(--white);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 解决方案区块 */
.solution-intro {
    padding: 60px 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.solution-process {
    padding: 80px 0;
    background: var(--light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.scenarios-section {
    padding: 80px 0;
    background: var(--white);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.scenario-card {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scenario-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.scenario-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    padding: 20px 20px 10px;
    margin: 0;
}

.scenario-card p {
    font-size: 15px;
    color: var(--text-light);
    padding: 0 20px 20px;
    line-height: 1.6;
    margin: 0;
}

.tech-section,
.guarantee-section {
    padding: 60px 0;
    background: var(--light);
}

.guarantee-section {
    background: var(--white);
}

.tech-content,
.guarantee-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tech-content p,
.guarantee-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 页脚 */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-block p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 15px;
}

.footer-block h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-block ul {
    list-style: none;
}

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

.footer-block ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-block ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-area .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .about-content,
    .advantages-content {
        grid-template-columns: 1fr;
    }

    .title-main {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--light);
    }

    .menu-btn {
        display: flex;
    }

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

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

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

    .title-main {
        font-size: 36px;
    }

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

    .page-title {
        font-size: 36px;
    }
}

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

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