:root {
    --primary-color: #FF4D4F;
    --secondary-color: #722ED1;
    --text-color: #333;
    --bg-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    padding: 3rem 0;
}

header .phone-preview {
    margin-top: 2rem;
}

header .phone-preview img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.logo img {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.slogan {
    font-size: 1.2rem;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    animation: float-card 6s ease-in-out infinite;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    margin: 1rem 0;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-ios {
    background: #000;
}

.btn-android {
    background: var(--primary-color);
}

.btn:hover {
    transform: scale(1.05);
}

.qr-code {
    text-align: center;
    margin-top: 2rem;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    header .phone-preview img {
        max-width: 80%;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: white;
}

.contact-item svg {
    color: var(--primary-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.contact-item:hover svg {
    transform: scale(1.1);
    opacity: 1;
}

.beian-container {
    text-align: center;
    margin-top: 1rem;
}

.beian-link {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.5rem 0;
}

.beian-link:hover {
    color: var(--primary-color);
}

.company-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #999;
    font-size: 0.9rem;
    margin: 0.8rem 0;
    line-height: 1.8;
}

.info-item {
    position: relative;
    padding: 0 1rem;
}

.info-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #ddd;
}

.copyright {
    text-align: center;
    color: #666;
    margin-top: 2rem;
    line-height: 1.8;
    padding-bottom: 2rem;
}

/* 添加粒子动画关键帧 */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 添加粒子样式 */
.particle {
    position: absolute;
    pointer-events: none;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    box-shadow: 0 0 10px rgba(255, 77, 79, 0.3);
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 77, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.about-us {
    text-align: center;
    padding: 4rem 0;
    margin: 2rem auto;
    max-width: 1000px;
    position: relative;
}

.about-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.title-line {
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-color) 50%,
        transparent
    );
}

.about-us h4 {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.about-desc {
    color: #666;
    line-height: 2;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    letter-spacing: 0.5px;
    padding: 0 1rem;
    position: relative;
}

.about-desc::before,
.about-desc::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    font-family: serif;
}

.about-desc::before {
    top: -20px;
    left: -10px;
}

.about-desc::after {
    bottom: -40px;
    right: -10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 900px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .about-us {
        padding: 2rem 1rem;
    }

    .about-title {
        margin-bottom: 2rem;
    }

    .title-line {
        width: 30px;
    }

    .about-us h4 {
        font-size: 1.6rem;
    }

    .about-desc {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        line-height: 1.8;
    }

    .about-desc::before,
    .about-desc::after {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.preview-download-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.phone-preview {
    flex: 0 0 auto;
    position: relative;
    padding: 20px;
}

.phone-preview img {
    max-width: 300px;
    height: auto;
    border-radius: 32px;
    border: 12px solid #333;
    box-shadow: 
        0 0 0 2px #222,
        0 20px 40px rgba(0,0,0,0.2);
    position: relative;
}

.phone-preview::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: #222;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.download-buttons {
    flex: 0 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .preview-download-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .phone-preview img {
        max-width: 250px;
        border-width: 10px;
    }
    
    .phone-preview::before {
        width: 40px;
        top: 28px;
    }

    .download-buttons {
        width: 100%;
    }
} 

/* 顶部导航栏样式 */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    width: 40px;
    height: auto;
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        background: white;
        padding: 1rem 0;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-200%);
        opacity: 0;
        z-index: 100;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-toggle {
        display: flex;
    }
} 