/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.app-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b35;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%);
    margin-top: 60px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b35, #ff8e35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.8rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b35, #ff8e35);
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
}

.btn-disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
}

/* 英雄区域轮播 */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.carousel-track {
    position: relative;
    height: 100%;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

.hero-carousel .app-screenshot {
    width: 70%;
    height: auto;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* 英雄区域轮播导航 */
.hero-carousel .carousel-nav {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 10;
}

.hero-carousel .carousel-prev,
.hero-carousel .carousel-next {
    background: rgba(255, 107, 53, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.hero-carousel .carousel-prev:hover,
.hero-carousel .carousel-next:hover {
    background: rgba(255, 107, 53, 1);
    transform: scale(1.1);
}

.hero-carousel .carousel-indicators {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-carousel .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-carousel .indicator.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.hero-carousel .indicator:hover {
    background: #ff8e35;
}

/* 特色功能 */
.features {
    padding: 6rem 0;
    background: #1a1a1a;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #ff6b35;
}

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

.feature-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #ff8e35;
    margin-bottom: 1rem;
}

/* 使用方式 */
.how-it-works {
    padding: 6rem 0;
    background: #0a0a0a;
}

.how-it-works h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #ff6b35;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 1rem;
}

.step h3 {
    color: #ff8e35;
    margin-bottom: 1rem;
}

/* 下载区域 */
.download {
    padding: 6rem 0;
    background: #1a1a1a;
    text-align: center;
}

.download h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.download-description {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.download-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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


.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.newsletter {
    background: #2a2a2a;
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.subscribe-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    background: #1a1a1a;
    color: white;
}

.subscribe-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.5);
}

.privacy-note {
    font-size: 0.9rem;
    color: #666;
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-carousel {
        max-width: 300px;
    }

    .hero-carousel .carousel-nav {
        bottom: 50px;
        padding: 0 0.5rem;
    }

    .hero-carousel .carousel-prev,
    .hero-carousel .carousel-next {
        width: 35px;
        height: 35px;
    }

    .slide-caption {
        font-size: 0.8rem;
        padding: 1.5rem 0.5rem 0.5rem;
    }

    .features h2,
    .how-it-works h2,
    .download h2 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .download-options {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .feature-card,
    .download-card {
        padding: 1.5rem;
    }

    .newsletter {
        padding: 2rem 1rem;
    }
}

/* 移动端导航菜单（可选） */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: transform 0.3s ease;
        transform: translateY(-100%);
    }

    .nav-links.active {
        transform: translateY(0);
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8e35;
}

/* 选择文本样式 */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: white;
}

/* 焦点样式 */
button:focus,
a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

input:focus {
    outline: 2px solid #ff6b35;
}