
:root {
    --primary-color: #FF5E62; /* 暖红/珊瑚色 */
    --secondary-color: #FF9966; /* 橙色渐变 */
    --accent-purple: #8E2DE2;
    --text-main: #2c3e50;
    --text-light: #7f8c8d;
    --bg-color: #fff9f9;
    --card-bg: #ffffff;
    --shadow-soft: 0 10px 30px rgba(255, 94, 98, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 背景装饰 */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff9966, #ff5e62);
    top: -100px;
    right: -100px;
    animation: floatShape 10s infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #e0c3fc, #8ec5fc);
    bottom: -50px;
    left: -100px;
    animation: floatShape 12s infinite alternate-reverse;
}

@keyframes floatShape {
    from { transform: translate(0, 0); }
    to { transform: translate(30px, 50px); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 按钮样式 */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    box-shadow: 0 8px 20px rgba(255, 94, 98, 0.4);
    font-size: 18px;
    padding: 16px 40px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 94, 98, 0.5);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    font-size: 18px;
    padding: 16px 48px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff0f0;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-main);
}

.highlight {
    background: linear-gradient(120deg, transparent 60%, #ffdbdb 60%);
    background-size: 100% 40%;
    background-position: bottom;
    background-repeat: no-repeat;
    color: var(--primary-color);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.user-avatars {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.user-count {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Carousel Styles */
.hero-carousel {
    width: 300px; /* Adjust based on phone mockup size */
    height: 600px;
    position: relative;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: #000;
    border: 10px solid #fff;
    overflow: hidden;
}

.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(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    width: 20px;
    border-radius: 10px;
}

/* Features Section */
.feature-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

/* Specific span removed for uniform grid */
.feature-card:nth-child(1) {
    grid-column: auto;
    background: white;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.color-1 { background: #FF5E62; }
.color-2 { background: #4FACFE; }
.color-3 { background: #FA709A; }
.color-4 { background: #43E97B; }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-img-preview {
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-img-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.card-img-preview.small img {
    max-height: 120px;
    object-fit: cover;
}

/* Download Section */
.download-section {
    padding: 80px 0;
}

.download-box {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 40px rgba(255, 94, 98, 0.3);
}

.download-content h2 {
    font-size: 40px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.download-deco {
    font-size: 200px;
    color: rgba(255,255,255,0.15);
    position: absolute;
    right: 40px;
    bottom: -50px;
    transform: rotate(-15deg);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .features-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-card:nth-child(1) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 40px 0;
    }

    .download-section {
        padding: 40px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        align-items: center;
        width: 100%;
    }
    
    .hero-image-area {
        height: 400px;
    }

    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card:nth-child(1) {
        grid-column: span 1;
    }
    
    .feature-card {
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .card-icon {
        margin-bottom: 15px;
    }

    .download-box {
        flex-direction: column;
        text-align: center;
    }
    
    .download-deco {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }
}
