/* 全局样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
}

/* 导航栏样式 */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* 关于我们部分样式 */
#about {
    background-color: #f8f9fa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
}

/* 页面内容样式 */
.container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.card {
    border-radius: 15px;
    border: none;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 2rem;
}

.card-text {
    line-height: 1.8;
    color: #666;
}

/* 联系我们页面样式 */
.contact-info {
    font-size: 1.2rem;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 轮播指示器样式修改 */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 30px;
    height: 6px;
    margin: 0 4px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 40px;
    background-color: #fff;
    transform: scaleY(1.2);
}

/* 轮播控制按钮样式 */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.7;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background-size: 50%;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

/* 轮播图文字效果增强 */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    bottom: 50px;
}

.carousel-caption h2 {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 隐私政策页面样式 */
.privacy-policy-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.privacy-policy-content h1 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.privacy-policy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-policy-content .lead {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.privacy-policy-content p {
    margin-bottom: 1.2rem;
}

.privacy-policy-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.privacy-policy-content .font-italic {
    font-style: italic;
    color: #666;
}

/* 产品展示样式 */
.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card .card-text {
    color: #666;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.feature-list li {
    color: #34495e;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#products h2 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 2rem;
}

#products h3 {
    color: #34495e;
    font-weight: 600;
    margin: 2rem 0;
}

/* iOS App 卡片特殊样式 */
.product-card.h-100 {
    height: 100%;
}

/* 产品图标和二维码样式 */
.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.store-badge {
    height: 40px;
    width: auto;
}

.miniapp-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.qrcode-container {
    margin-top: auto;
    padding-top: 1rem;
}

.qrcode {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* 调整卡片内容布局 */
.product-card .card-body {
    display: flex;
    flex-direction: column;
}

.product-card .card-text {
    flex-grow: 1;
}

/* App Store 按钮样式 */
.app-store-btn, 
.app-store-btn:link,
.app-store-btn:visited {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    background-color: #007AFF;
    border-color: #007AFF;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: #fff !important;  /* 使用 !important 确保覆盖其他样式 */
}

.app-store-btn:hover,
.app-store-btn:active,
.app-store-btn:focus {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    color: #fff !important;  /* 确保悬停时也保持白色 */
}

/* 产品详情页样式 */
.app-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-list-large {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.feature-list-large li {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-left: 2rem;
    position: relative;
}

.qrcode-container-large {
    display: inline-block;
}

.qrcode-large {
    width: 180px;
    height: 180px;
    border: 1px solid #eee;
    border-radius: 12px;
}

.screenshot {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: translateY(-5px);
}

/* 产品卡片链接样式 */
.product-card a {
    color: inherit;
}

.product-card:hover {
    cursor: pointer;
} 