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

:root {
    /* Light theme colors */
    --primary-color: #6c63ff;
    --primary-dark: #554fd8;
    --primary-hover: #554fd8;
    --secondary-color: #ff6584;
    --bg-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-color: #e1e5eb;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

[data-theme="dark"] {
    --primary-color: #7d76ff;
    --primary-dark: #6a63e0;
    --primary-hover: #6a63e0;
    --secondary-color: #ff7b99;
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #f0f0f0;
    --text-secondary: #aaaaaa;
    --border-color: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Navigation */
.navbar {
    background-color: var(--surface-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 101, 132, 0.05) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button i {
    margin-left: 10px;
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(5px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visualizer {
    display: flex;
    align-items: flex-end;
    height: 200px;
    gap: 8px;
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.visualizer .bar {
    width: 12px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    animation: visualizer 1.5s infinite ease-in-out;
}

.visualizer .bar:nth-child(1) { height: 40px; animation-delay: 0s; }
.visualizer .bar:nth-child(2) { height: 80px; animation-delay: 0.1s; }
.visualizer .bar:nth-child(3) { height: 120px; animation-delay: 0.2s; }
.visualizer .bar:nth-child(4) { height: 160px; animation-delay: 0.3s; }
.visualizer .bar:nth-child(5) { height: 120px; animation-delay: 0.4s; }
.visualizer .bar:nth-child(6) { height: 80px; animation-delay: 0.5s; }
.visualizer .bar:nth-child(7) { height: 120px; animation-delay: 0.6s; }
.visualizer .bar:nth-child(8) { height: 40px; animation-delay: 0.7s; }

@keyframes visualizer {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
}

/* Generator Section */
.generator-section {
    padding: 5rem 0;
}

.generator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.input-panel {
    flex: 2;
    min-width: 300px;
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.preview-panel {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-color);
}

textarea, select, input[type="range"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--surface-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

textarea:focus, select:focus, input[type="range"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.range-value {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox input {
    margin-right: 8px;
    cursor: pointer;
}

.generate-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.generate-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.generate-button i {
    margin-right: 10px;
}

.generation-info {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.generation-info i {
    margin-right: 8px;
}

.preview-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: rgba(108, 99, 255, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.preview-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.preview-status {
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.preview-content {
    padding: 1.5rem;
}

.preview-details {
    margin-bottom: 1.5rem;
}

.detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.label {
    color: var(--text-secondary);
    font-weight: 500;
}

.value {
    font-weight: 600;
    color: var(--text-color);
}

.preview-waveform {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform-placeholder {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wave {
    width: 6px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 3px;
    animation: wave 2s infinite ease-in-out;
}

.wave:nth-child(1) { animation-delay: 0s; height: 20px; }
.wave:nth-child(2) { animation-delay: 0.2s; height: 40px; }
.wave:nth-child(3) { animation-delay: 0.4s; height: 60px; }
.wave:nth-child(4) { animation-delay: 0.6s; height: 40px; }
.wave:nth-child(5) { animation-delay: 0.8s; height: 20px; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Player Section */
.player-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.02);
}

.player-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.player-card {
    flex: 2;
    min-width: 300px;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.visualization {
    flex: 1;
    min-width: 300px;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.track-info h3 {
    margin-bottom: 0.5rem;
}

.track-info p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.track-duration {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
}

.play-btn {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
}

.play-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.volume-control i {
    color: var(--text-secondary);
}

.volume-control input {
    width: 100px;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-container input {
    width: 100%;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

.player-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 1.5rem;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.visualization h3 {
    margin-bottom: 1.5rem;
}

#visualizerCanvas {
    width: 100%;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.viz-controls {
    display: flex;
    gap: 1rem;
}

.viz-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.viz-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* History Section */
.history-section {
    padding: 5rem 0;
}

.history-container {
    margin-top: 2rem;
}

.history-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-input {
    margin-left: auto;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--surface-color);
    color: var(--text-color);
    min-width: 200px;
}

.history-list {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    min-height: 300px;
}

.empty-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-history i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--border-color);
}

.empty-history h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.02);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    flex: 1;
    min-width: 200px;
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.tech-visual {
    width: 300px;
    height: 300px;
    position: relative;
    background-color: var(--surface-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.neuron {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.neuron:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.neuron:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.neuron:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.neuron:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; }
.neuron:nth-child(5) { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2s; }

.connection {
    position: absolute;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.connection:nth-child(6) { width: 100px; top: 25%; left: 25%; transform: rotate(45deg); }
.connection:nth-child(7) { width: 100px; top: 25%; right: 25%; transform: rotate(-45deg); }
.connection:nth-child(8) { width: 100px; bottom: 25%; left: 25%; transform: rotate(-45deg); }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footer-logo i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0 0.5rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .player-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .track-duration {
        align-self: flex-start;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .features {
        flex-direction: column;
    }
}

/* Utility Classes */
.section {
    padding: 5rem 0;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* 新增样式 - 嗓音Ai 下载页面 */

/* 功能特色网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 应用截图样式 */
.screenshots-container {
    margin-top: 3rem;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-frame {
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.phone-mockup {
    background-color: #222;
    border-radius: 30px;
    padding: 15px;
    margin: 0 auto;
    max-width: 250px;
    position: relative;
}

.phone-screen {
    background-color: #fff;
    border-radius: 20px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.app-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.app-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.music-visualization {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 80px;
    gap: 5px;
    margin: 20px 0;
}

.visual-bar {
    width: 10px;
    background-color: var(--primary-color);
    border-radius: 3px;
    animation: visualizer 1.5s infinite ease-in-out;
}

.visual-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.visual-bar:nth-child(2) { height: 40px; animation-delay: 0.2s; }
.visual-bar:nth-child(3) { height: 60px; animation-delay: 0.4s; }
.visual-bar:nth-child(4) { height: 40px; animation-delay: 0.6s; }

.prompt-input {
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

.app-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.library-item, .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.library-item:last-child, .setting-item:last-child {
    border-bottom: none;
}

.item-title, .setting-label {
    font-weight: 500;
}

.item-time, .setting-value {
    color: #666;
    font-size: 0.9rem;
}

.screenshot-caption {
    color: var(--text-color);
    font-weight: 500;
}

/* 用户评价样式 */
.testimonials-container {
    margin-top: 3rem;
}

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

.testimonial-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content .fa-quote-left {
    position: absolute;
    top: -10px;
    left: -10px;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.testimonial-content .fa-quote-right {
    position: absolute;
    bottom: -10px;
    right: -10px;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    padding: 0 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.rating {
    margin-left: auto;
    color: #ffc107;
}

/* 下载区域样式 */
.download-info h3 {
    margin-bottom: 1.5rem;
}

.download-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

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

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.download-btn i {
    font-size: 2rem;
    margin-right: 1rem;
}

.download-btn .btn-text {
    display: flex;
    flex-direction: column;
}

.download-btn .small-text {
    font-size: 0.8rem;
}

.download-btn .large-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.apple-btn {
    background-color: #000;
    color: white;
}

.apple-btn:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.google-btn {
    background-color: #4285f4;
    color: white;
}

.google-btn:hover {
    background-color: #3367d6;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.apk-btn {
    background-color: var(--surface-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

.apk-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.app-requirements {
    margin-top: 2rem;
}

.app-requirements h4 {
    margin-bottom: 1rem;
}

.app-requirements ul {
    list-style: none;
    padding: 0;
}

.app-requirements li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.app-requirements li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
}

.download-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container {
    text-align: center;
}

.qr-code {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-square {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #000;
}

.qr-square.top-left {
    top: 20px;
    left: 20px;
}

.qr-square.top-right {
    top: 20px;
    right: 20px;
}

.qr-square.bottom-left {
    bottom: 20px;
    left: 20px;
}

.qr-pattern {
    width: 120px;
    height: 120px;
    background:
        repeating-linear-gradient(0deg, #000, #000 2px, transparent 2px, transparent 10px),
        repeating-linear-gradient(90deg, #000, #000 2px, transparent 2px, transparent 10px);
}

.qr-instruction {
    color: var(--text-secondary);
    font-weight: 500;
}

/* 微信二维码模态框 */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 300px;
    width: 90%;
}

.wechat-modal-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.wechat-modal-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.wechat-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.wechat-modal-close {
    background-color: var(--primary-color);
    color: white;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.wechat-modal-close:hover {
    background-color: var(--primary-hover, var(--primary-dark));
    color: white;
    outline: none;
}

.wechat-modal-close:active,
.wechat-modal-close:focus {
    background-color: var(--primary-dark);
    color: white;
    outline: none;
}

/* 微信链接样式 */
.wechat-link {
    cursor: pointer;
    position: relative;
}

.wechat-link .tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 100;
    min-width: 200px;
    text-align: center;
    margin-bottom: 10px;
}

.wechat-link .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.wechat-link:hover .tooltip {
    display: block;
}

.wechat-link .tooltip img {
    width: 150px;
    height: 150px;
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.wechat-link .tooltip p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

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

    .download-buttons {
        width: 100%;
    }

    .download-btn {
        justify-content: center;
    }
}