:root {
    --primary: #2c6fd1;
    --primary-dark: #1a56b5;
    --primary-light: #e3f2fd;
    --secondary: #4caf50;
    --accent: #ff9800;
    --accent-light: #fff3e0;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gradient-start: #2c6fd1;
    --gradient-end: #4caf50;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 14px;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #f9fbfd 0%, #e6f0ff 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.navbar {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 12px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    padding: 0 10px;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: 8px;
    font-size: 24px;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

.navbar-nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    animation: underlineGrow 0.3s ease-out;
}

/* 头部区域 */
.header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 60px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0 15px;
    animation: fadeInDown 0.8s ease-out;
}

.header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.9;
    padding: 0 15px;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 0 10px;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave .shape-fill {
    fill: #f9fbfd;
}

/* 主内容区域 */
main {
    position: relative;
    margin-top: -40px;
    z-index: 10;
    padding-bottom: 40px;
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.app-card,
.download-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px 20px;
    transition: var(--transition);
}

.app-card:hover,
.download-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 15px rgba(44, 111, 209, 0.3);
    animation: pulse 2s infinite;
}

/*.app-icon i {
    font-size: 36px;
    color: white;
}*/

.app-icon img {
    width: 80px;
}

.app-card h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.version {
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
    animation: bounce 2s infinite;
}

.app-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.app-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.detail:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.detail i {
    font-size: 20px;
    color: var(--primary);
}

.detail p {
    font-size: 0.8rem;
    color: var(--gray);
}

.detail .value {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-top: 3px;
}

.security-panel {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    transition: var(--transition);
}

.security-panel:hover {
    transform: translateX(5px);
}

.security-panel h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.security-panel p {
    color: var(--dark);
    font-size: 0.85rem;
}

.counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--light);
    padding: 10px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}

.counter i {
    color: var(--primary);
}

#downloadCount {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.detail-btn {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-btn:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 10px rgba(44, 111, 209, 0.2);
}

.downloads-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.downloads-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(44, 111, 209, 0.3);
    transform: translateY(-3px);
}

/* 下载卡片 */
.download-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px 20px;
}

.download-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
}

.download-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

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

.download-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.download-btn {
    display: block;
    width: 100%;
    padding: 14px 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin-bottom: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg) translate(-20px, -40px);
    transition: transform 0.6s;
    pointer-events: none;
}

.download-btn:hover::after {
    transform: rotate(30deg) translate(20px, 40px);
}

.download-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(44, 111, 209, 0.3);
    transform: translateY(-3px);
}

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

.download-btn.disabled {
    background: var(--light-gray);
    color: var(--gray);
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--light-gray);
}

.download-btn.error {
    background: var(--danger);
}

.download-btn.error:hover {
    background: #bd2130;
}

.download-btn.success {
    background: var(--success);
}

.download-btn.success:hover {
    background: #218838;
}

.download-section p {
    color: var(--gray);
    font-size: 0.85rem;
    padding-left: 5px;
}

.web-version {
    margin-top: 20px;
}

.btn-web {
    display: block;
    padding: 12px 15px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-web:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 15px rgba(44, 111, 209, 0.3);
    transform: translateY(-3px);
}

/* 特色产品部分 */
.featured-product {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin: 60px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.featured-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-content {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.featured-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: var(--light);
    border-radius: 8px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 30px;
}

.feature-text h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 特性展示部分 */
.features {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    margin-bottom: 40px;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    ``` height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.changelog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 20px 15px;
    border-radius: 10px;
    transition: var(--transition);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 用户评价部分 */
.testimonials {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 50px;
    color: #e9ecef;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    padding-top: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: normal;
}

/* 使用场景部分 - 主图+文字布局 */
.use-cases {
    margin-bottom: 40px;
}

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

.scenario-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.scenario-image {
    width: 100%;
    /* 确保宽度铺满父容器 */
    height: 220px;
    /* 或根据需求调整为 vh 单位 */
    /*background-image: url('./images/img.png'); !* 移到 CSS 中更规范 *!*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 避免平铺 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 如需绝对定位子元素则保留 */
}

.scenario-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 111, 209, 0.7);
    opacity: 0;
    transition: var(--transition);
}

/*.scenario-card:hover .scenario-image::after {*/
/*    opacity: 0.3;*/
/*}*/

.scenario-icon {
    font-size: 60px;
    color: white;
    z-index: 2;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.scenario-card:hover .scenario-icon {
    transform: translateY(0);
    opacity: 1;
}

.scenario-content {
    padding: 25px;
}

.scenario-content h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.scenario-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.scenario-features {
    padding-left: 20px;
}

.scenario-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    transition: var(--transition);
}

.scenario-features li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

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

/*
!* 合作伙伴部分 *!
.partners {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 15px;
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
*/

/* 更新日志部分 */
.changelog {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    margin-bottom: 40px;
}

.changelog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.version-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.version-card .version-header {
    cursor: pointer;
    user-select: none;
    margin-bottom: 15px;
}

.version-card .version-header:hover {
    opacity: 0.8;
}

.version-card .toggle-icon {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.version-card .version-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 1;
}

.version-card.collapsed .version-content {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.version-card.collapsed {
    padding: 15px 25px;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.version-date {
    font-weight: bold;
    color: var(--dark);
    font-size: 1rem;
}

.version-number {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.version-features {
    padding-left: 15px;
}

.version-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.version-features li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-size: 1.2rem;
    top: -3px;
}

/* 底部区域 */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0 15px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 0 10px;
}

.footer-section h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section ul li i {
    width: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 16px;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-bottom p a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: none;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 111, 209, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(44, 111, 209, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 111, 209, 0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.app-card,
.download-card,
.feature-card,
.testimonial-card,
.version-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 状态提示 */
.status-message {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

.status-success {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-error {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--danger);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

/* 移动端菜单 */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        gap: 5px;
    }

    .navbar-nav.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link.active::after {
        display: none;
    }

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

    .footer-content {
        display: none;
    }

    .footer {
        padding: 20px 0 15px;
    }

    .footer-bottom {
        padding-top: 0;
        border-top: none;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 10px;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        padding: 10px 0;
        box-shadow: var(--shadow);
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header p {
        font-size: 1rem;
    }

    .app-info {
        gap: 20px;
    }

    .app-details {
        grid-template-columns: 1fr;
    }

    .featured-product {
        flex-direction: column;
        padding: 25px 15px;
        gap: 25px;
    }

    .featured-image {
        min-width: 100%;
    }

    .feature-list-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        gap: 20px;
    }

    .testimonials-grid {
        gap: 20px;
    }

    /* 移动端：更新日志改为单列 */
    .changelog-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .version-card {
        padding: 20px 15px;
    }

    .footer-content {
        gap: 25px;
    }
}

/* 平板适配 */
@media (min-width: 600px) {
    .header h1 {
        font-size: 2.8rem;
    }

    .header p {
        font-size: 1.2rem;
    }

    .app-info {
        flex-direction: row;
    }

    .app-card,
    .download-card {
        flex: 1;
    }

    .features-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-card {
        flex: 1 1 calc(50% - 15px);
        min-width: 250px;
    }

    .testimonials-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .testimonial-card {
        flex: 1 1 calc(50% - 15px);
        min-width: 250px;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-section {
        flex: 1 1 calc(50% - 20px);
    }
}

/* 桌面适配 */
@media (min-width: 992px) {
    .header h1 {
        font-size: 3.2rem;
    }

    .header p {
        font-size: 1.3rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        display: grid;
    }
}

/* iPad 特定样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        display: none;
    }

    .footer {
        padding: 20px 0 15px;
    }

    .footer-bottom {
        padding-top: 0;
        border-top: none;
    }
}

/* 新增视频弹窗样式 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 宽高比 */
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.video-info {
    padding: 20px;
    background: #f9f9f9;
}

.video-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.video-info p {
    color: #666;
    line-height: 1.6;
}

/* 应用场景卡片布局调整 */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-container {
        width: 95%;
    }

    .video-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 100%;
        border-radius: 0;
    }

    .video-info h3 {
        font-size: 1.1rem;
    }
}


/* 合作伙伴区域样式 */
.partners {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo:hover::before {
    opacity: 1;
}

.partner-logo img {
    max-width: 133%;
    /*max-height: 70px;*/
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.system-label {
    color: #2c3e50;
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
    padding: 5px 10px;
    margin: 5px 0;
    font-size: 13px;
    /* display: inline-block; */
    text-align: center;
}

/* 推荐区域高亮样式 */
.download-section {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.download-btn {
    background: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.app-info {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.app-card,
.download-card {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}
/* ذťʽ */
.download-btn.disabled-download {
    background: #9e9e9e !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.download-btn.disabled-download:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #9e9e9e !important;
}

.download-btn.info {
    background: #2196f3;
}

.download-btn.info:hover {
    background: #1976d2;
}
