:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, 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;
}

/* Buttons */
.download-btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.header-btn {
    padding: 8px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 14px;
}

.header-btn:hover {
    background-color: var(--secondary-color);
}

.hero-btn {
    padding: 14px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.footer-btn {
    padding: 12px 36px;
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 16px;
}

.footer-btn:hover {
    background-color: #f8fafc;
}

/* Header */
.header {
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 36px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Hero */
.hero {
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.phone-wrapper {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

.screen {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid #fff;
    background: #000;
    height: 498px; /* 280 * 16/9 ≈ 498 */
    position: relative;
}

.screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill; /* 填满容器 */
}

.status-card {
    position: absolute;
    bottom: 40px;
    right: -40px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #10b981;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-dots {
    margin-top: 20px;
}

/* Features */
.features {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: transparent;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.color-1 { background: #dbeafe; color: #2563eb; }
.color-2 { background: #dcfce7; color: #10b981; }
.color-3 { background: #fee2e2; color: #ef4444; }
.color-4 { background: #ffedd5; color: #f59e0b; }

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Showcase - Removed Carousel */
.app-showcase {
    padding: 30px 0;
    background-color: #f9fafb;
}

/* Carousel Styles reused for Hero */
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.showcase-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sf-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.sf-item i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Scenarios */
.scenarios {
    padding: 40px 0;
    background-color: #fff;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scenario-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.scenario-card:hover {
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.s-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.scenario-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Stats */
.stats-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.stats-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-cta h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.copyright {
    margin-top: 60px;
    color: #9ca3af;
    font-size: 14px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 30px 0 10px;
    }

    .features, .app-showcase, .scenarios, .stats-section {
        padding: 30px 0;
    }

    .footer {
        padding: 30px 0 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
    }

    .status-card {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-item {
        padding: 20px 12px;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .feature-item h3 {
        font-size: 14px;
    }
    
    .feature-item p {
        font-size: 12px;
    }

    .carousel-wrapper {
        max-width: 280px;
    }
    
    .showcase-features {
        flex-direction: column;
        align-items: center;
    }

    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-cta h3 {
        font-size: 20px;
    }
}
