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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #1a0b2e 100%);
    min-height: 100vh;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 11, 46, 0.05);
    backdrop-filter: blur(25px);
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 85, 247, 0.05);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: #a855f7;
}

.nav-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #a855f7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #1a0b2e 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7, #c084fc, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: white;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: rgba(168, 85, 247, 0.2);
    color: #e2e8f0;
    border: 2px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.3);
    transform: translateY(-3px);
}

.btn i {
    margin-right: 10px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #a855f7;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 应用截图展示样式 */
.app-screenshots {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.screenshot-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.screenshot-main:hover {
    transform: scale(1.05);
}

.main-screenshot {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    border-radius: 20px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* 功能特色区域 */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a0b2e 50%, #0f0a1a 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(26, 11, 46, 0.8);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 220px auto 30px;
    position: relative;
    z-index: 2;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.feature-description {
    color: #a1a1aa;
    line-height: 1.7;
}

/* 应用截图画廊 */
.app-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #1a0b2e 100%);
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.gallery-item-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-item-large:hover {
    transform: scale(1.02);
}

.gallery-item-large .gallery-img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3,
.gallery-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 为什么选择Vidream */
.why-vidream {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a0b2e 50%, #0f0a1a 100%);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 40px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #e2e8f0;
}

.why-feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.why-image {
    display: flex;
    justify-content: center;
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(26, 11, 46, 0.6);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
}

.showcase-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: white;
    border-color: rgba(168, 85, 247, 0.5);
}

.showcase-item i {
    font-size: 2rem;
    color: #a855f7;
    transition: color 0.3s ease;
}

.showcase-item:hover i {
    color: white;
}

.showcase-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b69 50%, #1a0b2e 100%);
    color: #e2e8f0;
    text-align: center;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.download-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: #e2e8f0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.download-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
}

.download-btn i {
    font-size: 2.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-info {
    opacity: 0.8;
}

.legal-links {
    margin-top: 20px;
}

.legal-links a {
    color: #a855f7;
    text-decoration: none;
    margin: 0 10px;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a0b2e 50%, #0f0a1a 100%);
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #a1a1aa;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(26, 11, 46, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #a855f7;
}

.contact-item span {
    font-size: 1.1rem;
    color: #e2e8f0;
}

/* 页脚 */
.footer {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f0a1a 0%, #1a0b2e 50%, #0f0a1a 100%);
    color: #e2e8f0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #a855f7;
    margin-bottom: 20px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-title {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .screenshot-gallery {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-image {
        height: 150px;
    }
    
    .feature-icon {
        margin: 170px auto 20px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .why-vidream {
        padding: 60px 0;
    }
    
    .download {
        padding: 60px 0;
    }
    
    .contact {
        padding: 60px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.phone-mockup {
    animation: float 3s ease-in-out infinite;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9333ea, #a855f7);
}
