@charset "UTF-8";

:root {
    --primary-color: #00f5ff;
    --secondary-color: #7000ff;
    --accent-color: #ff0055;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #7000ff 100%);
    --gradient-text: linear-gradient(to right, #00f5ff, #ff0055);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-top: 8px;
}

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

.nav-link-custom {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link-custom:hover {
    color: var(--primary-color);
}

/* 轮播图样式 */
.carousel-section {
    margin-top: 70px;
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background: #000;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例 */
    object-position: center;
}

/* 主要内容区域 */
main > section:not(.carousel-section) {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.main-description {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-description h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-description h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.main-description h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.main-description p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.main-description ul {
    list-style: none;
    margin-bottom: 2rem;
}

.main-description li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.main-description li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

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

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

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-slogan {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: var(--bg-primary);
}

/* 下载区域按钮样式 */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .download-split-container {
        flex-direction: column;
        align-items: center;
    }
    
    .store-card {
        width: 100%;
    }
}

/* Download Section Improvements */
.download-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 4rem auto;
    max-width: 800px;
    text-align: center;
}

.download-split-container {
    display: flex;
    justify-content: center;
    gap: 4rem; /* Increased gap */
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.store-card {
    /* Removed card styling to just show buttons */
    display: flex;
    flex-direction: row; /* Changed to row for side-by-side */
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Spacing between buttons */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.store-card:hover {
    /* No card hover effect */
    transform: none;
    background: none;
}

.store-card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.btn-store-img {
    display: none; /* Controlled by JS */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-store-img img {
    width: 200px; /* Standard badge width */
    height: auto;
    display: block;
    border-radius: 16px; /* Increased rounded corners */
}

.btn-store-img:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.btn-store-img:active {
    transform: translateY(-2px);
    filter: brightness(0.95);
}


/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* 平滑滚动动画 */
html {
    scroll-behavior: smooth;
}

/* Carousel and Page Specific Styles from index.html */
.carousel-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Large hero area */
    overflow: hidden;
    margin-top: 70px; /* Offset for fixed navbar */
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or cover depending on image aspect ratio */
    background-color: #000; /* distinct background */
}

/* Overlay for text readability on slides if needed */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.main-description {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    color: var(--text-primary);
}

.main-description h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-description h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.main-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.main-description ul {
    list-style: none;
    padding: 0;
}

.main-description li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.main-description li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.download-section {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-card); /* Ensure bg-card is defined or fallback */
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* Adjust Navbar for this page */
.nav-link-custom {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    margin-left: 20px;
}

.nav-link-custom:hover {
    color: var(--primary-color);
}
