/* CSS Variables for Theme Colors */
:root {
    --primary-color: #257ad8;
    --secondary-color: #665e63;
    --accent-color: #c5eef0;
    --dark-color: #27384c;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #1e6abf);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #524951);
    --gradient-hero: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Font sizes */
    --font-size-small: 0.875rem;
    --font-size-normal: 1rem;
    --font-size-medium: 1.125rem;
    --font-size-large: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 2.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: var(--font-size-xxl);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-normal);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    padding: 0.6rem 1.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-primary small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-download {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: var(--font-size-small);
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* ======================
   SITE HEADER NAVIGATION
   ====================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* ======================
   BRAND SECTION
   ====================== */

.brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: transform 0.2s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* ======================
   DESKTOP NAVIGATION
   ====================== */

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 25px;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    transform: translateY(-1px);
}

.link-icon {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.link-text {
    position: relative;
    z-index: 1;
}

/* ======================
   HEADER ACTIONS
   ====================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(37, 122, 216, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 122, 216, 0.4);
}

.btn-icon {
    font-size: 1rem;
}

/* ======================
   MOBILE TOGGLE BUTTON
   ====================== */

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    position: relative;
    z-index: 1001;
}

/* 确保移动端隐藏桌面导航 */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
    }
}

.mobile-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.toggle-line {
    width: 22px;
    height: 2px;
    background: var(--dark-color);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 2px 0;
}

.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ======================
   MOBILE NAVIGATION
   ====================== */

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.mobile-close:hover {
    background: var(--light-gray);
}

.close-icon {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.mobile-nav-item {
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.2s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    width: 4px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(37, 122, 216, 0.05);
    color: var(--primary-color);
}

.mobile-link-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mobile-link-text {
    flex: 1;
}

.mobile-link-arrow {
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.mobile-nav-link:hover .mobile-link-arrow,
.mobile-nav-link.active .mobile-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

.mobile-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 122, 216, 0.3);
}

/* ======================
   MOBILE BACKDROP
   ====================== */

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: var(--gradient-hero);
    color: var(--white);
    min-height: 75vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: var(--font-size-xl);
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.hero-description {
    font-size: var(--font-size-medium);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: var(--font-size-small);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: var(--font-size-small);
    opacity: 0.8;
}

.info-item {
    color: var(--accent-color);
}

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

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    transition: transform var(--transition-normal);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.about-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-large);
}

.story-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.story-section h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-large);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: var(--white);
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* News Section */
.news {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.news-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.news-date {
    color: var(--primary-color);
    font-size: var(--font-size-small);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-large);
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.news-link:hover {
    color: var(--secondary-color);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffc107;
    font-size: var(--font-size-medium);
}

.user-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tag {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: var(--font-size-small);
    font-weight: 500;
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.review-item {
    display: none;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.review-item.active {
    display: block;
}

.review-content p {
    font-size: var(--font-size-medium);
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark-color);
}

.review-rating {
    color: #ffc107;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
}

/* Versions Section */
.versions {
    padding: 80px 0;
    background: var(--light-gray);
}

.version-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.version-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.version-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 120px;
}

.version-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.version-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: var(--font-size-large);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.version-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-small);
    color: var(--gray);
}

.version-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.version-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 1.5rem;
}

.version-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--white);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    color: var(--dark-color);
    font-size: var(--font-size-medium);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    background: var(--light-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: var(--font-size-medium);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-small);
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
    box-shadow: var(--shadow-medium);
}

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

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

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.close:hover {
    opacity: 0.7;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: var(--font-size-xxl);
    }
}
    
    .version-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .version-date {
        position: static;
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Header Responsive */
    .header-container {
        padding: 0 1rem;
        height: 60px;
    }
    
    .brand-icon {
        width: 32px;
        height: 32px;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .download-btn {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
    }
    

    
    /* Hero Section */
    .hero {
        padding: 100px 0 50px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: var(--font-size-xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-medium);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Sections */
    .about,
    .gallery,
    .news,
    .reviews,
    .versions,
    .faq {
        padding: 60px 0;
    }
    
    .about-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .reviewer {
        justify-content: center;
        text-align: center;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .nav-btn {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header for small screens */
    .header-container {
        padding: 0 0.75rem;
        height: 55px;
    }
    
    .brand-icon {
        width: 28px;
        height: 28px;
    }
    
    .brand-title {
        font-size: 0.95rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .download-btn {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
        width: 36px;
        height: 36px;
    }
    
    .toggle-line {
        width: 20px;
        height: 2px;
    }
    
    .hero-title {
        font-size: var(--font-size-large);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-normal);
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
        font-size: var(--font-size-small);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .about-card,
    .news-item,
    .version-content {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
} 