:root {
    --primary-red: #D7141A;
    --dark-red: #a80f14;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 按钮通用样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px; /* 这里用小圆角，显得更商务 */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-red);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: #f9f9f9;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 18px;
}

/* Header */
.header {
    height: 72px;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .btn {
    padding: 4px 12px;
    font-size: 13px;
    height: auto;
    min-height: 0;
    line-height: 1.5;
}

.nav-wrapper {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 36px;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: var(--border-color);
}

.brand-slogan {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 50px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #eef2f6;
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center;
    gap: 40px;
    text-align: center; /* Center align text */
}

.hero-content .desc {
    font-size: 18px;
    color: var(--text-gray);
    margin: 0 auto 40px; /* Center align desc */
    max-width: 640px;
}

.action-group {
    display: flex;
    align-items: center;
    justify-content: center; /* Center align buttons */
    gap: 24px;
}

.hero-content .title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
}

.red-text {
    color: var(--primary-red);
}

.hero-content .desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 540px;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.qr-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qr-tip {
    font-size: 14px;
    color: var(--text-gray);
}

.qr-code {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dark);
}

/* Carousel Styles */
.hero-carousel {
    width: 280px;
    height: 560px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 6px solid #1a1a1a;
    background: #000;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-red);
    width: 20px;
    border-radius: 10px;
}

/* Features */
.features {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 30px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(215, 20, 26, 0.08);
    transform: translateY(-5px);
}

.icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: #fdf2f2;
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Showcase */
.showcase {
    padding: 50px 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-red);
}

.sub-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
}

.check-list li i {
    color: var(--primary-red);
    font-size: 18px;
}

/* Footer CTA */
.footer-cta {
    background-color: #1a1a1a;
    padding: 60px 0;
    color: white;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-text p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
}

/* Footer */
.footer {
    padding: 24px 0;
    background: #111;
    color: rgba(255,255,255,0.4);
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Removed order:2 to fix visual layout */
    
    .action-group {
        justify-content: center;
    }
    
    .hero-bg {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        clip-path: none;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .check-list li {
        justify-content: center;
    }
    
    .hero-content .title {
        font-size: 32px;
    }
}
