/* Custom Styles for CastAny Landing Page */

/* Button Styles */
.btn-primary {
    background-color: white;
    color: #7c3aed;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    background-color: white;
    box-shadow: 0 6px 12px rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

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

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.feature-icon i {
    font-size: 28px;
}

.feature-icon.purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.feature-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.feature-icon.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.feature-icon.yellow {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.feature-icon.red {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feature-icon.indigo {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 添加鼠标悬停时的波纹效果 */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    transition: width 0.5s ease, height 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.feature-card:hover::after {
    width: 200%;
    height: 200%;
}

/* Step Cards - New Style */
.step-card {
    @apply bg-white p-6 rounded-lg shadow-md transition-all duration-300 relative;
    height: 100%;
}

.step-card:hover {
    @apply shadow-lg;
}

.step-number-container {
    position: relative;
    height: 0;
    display: flex;
    justify-content: center;
}

.step-number {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    z-index: 3;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
}

.step-icon-circle {
    width: 100px;
    height: 100px;
    background-color: #f5f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.15);
    margin-top: 70px;
}

.step-icon-inner {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
}

.step-icon-inner i {
    font-size: 28px;
}

.step-icon {
    @apply w-16 h-16 rounded-full bg-brand-light flex items-center justify-center mx-auto mb-4;
}

.step-icon i {
    @apply text-2xl;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card {
    @apply bg-white p-6 rounded-lg shadow-md transition-all duration-300 border-t-4 border-brand-purple;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(124, 58, 237, 0.1);
    font-size: 24px;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 16px;
    color: #f59e0b;
    font-size: 18px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-text {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    @apply flex items-center;
}

.testimonial-avatar {
    @apply w-12 h-12 rounded-full mr-3 border-2 border-brand-purple;
}

/* FAQ Section Styles - 完全重写动画 */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #7c3aed;
}

.faq-question i {
    color: #7c3aed;
    transition: transform 0.2s ease;
}

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

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.25s ease;
    will-change: height;
}

.faq-answer-inner {
    padding-bottom: 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transition-delay: 0.05s;
}

.faq-answer.active .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.7);
    /* 紫色带透明度 */
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 70, 229, 0.8);
    /* 悬停时偏蓝紫色，透明度略高 */
}

/* Gradient Text */
.gradient-text {
    @apply text-transparent bg-clip-text bg-gradient-to-r from-brand-purple to-brand-indigo;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

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

/* Feature Boxes - Updated Style */
.feature-box {
    @apply bg-white rounded-lg shadow-sm transition-all duration-300 overflow-hidden;
}

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

.feature-header {
    @apply rounded-lg p-4 flex items-center justify-center w-12 h-12;
    border-radius: 8px;
}

/* For the colored bars at the top of feature boxes */
.feature-box.purple-feature {
    border-top: 4px solid #7c3aed;
}

.feature-box.blue-feature {
    border-top: 4px solid #3b82f6;
}

.feature-box.green-feature {
    border-top: 4px solid #10b981;
}

.feature-box.yellow-feature {
    border-top: 4px solid #f59e0b;
}

.feature-box.red-feature {
    border-top: 4px solid #ef4444;
}

.feature-box.indigo-feature {
    border-top: 4px solid #6366f1;
}

/* 修改特性卡片设计 - 恢复圆角 */
.feature-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-bg {
    padding: 28px;
    height: 100%;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-bg i {
    font-size: 32px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    text-align: center;
}

/* 为每个图标设置不同的背景色 */
.feature-item:nth-child(1) .feature-bg i {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.feature-item:nth-child(2) .feature-bg i {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.feature-item:nth-child(3) .feature-bg i {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.feature-item:nth-child(4) .feature-bg i {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.feature-item:nth-child(5) .feature-bg i {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feature-item:nth-child(6) .feature-bg i {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.feature-bg h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
    transition: color 0.3s ease;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-bg p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.feature-item:hover .feature-bg {
    background-color: white;
}

.feature-item:hover h3 {
    color: #7c3aed;
}

/* 为每个特性卡片添加顶部彩色条 */
.feature-item:nth-child(1) {
    border-top: 5px solid #8b5cf6;
}

.feature-item:nth-child(2) {
    border-top: 5px solid #3b82f6;
}

.feature-item:nth-child(3) {
    border-top: 5px solid #10b981;
}

.feature-item:nth-child(4) {
    border-top: 5px solid #f59e0b;
}

.feature-item:nth-child(5) {
    border-top: 5px solid #ef4444;
}

.feature-item:nth-child(6) {
    border-top: 5px solid #6366f1;
}

/* 添加网格容器样式确保一致性 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
}

/* 步骤部分的新样式 */
.steps-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.step-box {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
    margin-right: 15px;
    margin-left: 15px;
}

.step-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
}

.step-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(124, 58, 237, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-image-container:hover::after {
    opacity: 1;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-size: 24px;
    width: 40px;
    height: 40px;
    background-color: #f5f3ff;
    border-radius: 50%;
    margin: 0 -10px;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .step-box {
        margin-bottom: 40px;
    }

    .step-box:hover {
        transform: translateY(-3px);
    }
}

/* 图片模态框样式 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-modal.active {
    opacity: 1;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.image-modal.active img {
    transform: scale(1);
}

.image-modal::after {
    content: '点击关闭';
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

/* 下载部分样式 */
.feature-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 50px;
}

.feature-point i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: white;
    color: #7c3aed;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.download-btn i {
    font-size: 24px;
}

.download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.download-btn.disabled {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

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

.download-stat .stat-number {
    font-size: 24px;
    font-weight: 700;
}

.download-stat .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Testimonials Section Styles */
#testimonials {
    position: relative;
    overflow: hidden;
    background-color: white;
}

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

.testimonials-wrapper {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding: 20px 10px;
    margin: 0 -10px;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 24px);
    min-width: 280px;
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 24px);
    }
}

@media (max-width: 640px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 24px);
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(124, 58, 237, 0.1);
    font-size: 24px;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 16px;
    color: #f59e0b;
    font-size: 18px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-text {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.testimonial-avatar-container {
    position: relative;
    margin-right: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #10b981;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid white;
}

.testimonial-user-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin: 0;
}

.testimonial-role {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.testimonial-date {
    color: #9ca3af;
    font-size: 12px;
    margin: 0;
}

.testimonial-category {
    display: none;
}

.testimonials-navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.testimonial-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #7c3aed;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    pointer-events: auto;
}

.testimonial-nav-btn:hover {
    background-color: #7c3aed;
    color: white;
}

.testimonial-nav-btn.prev-btn {
    margin-left: -20px;
}

.testimonial-nav-btn.next-btn {
    margin-right: -20px;
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-dot.active {
    background-color: #7c3aed;
    transform: scale(1.2);
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #7c3aed;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

/* Animation for testimonial cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(4) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-navigation {
        position: static;
        transform: none;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .testimonial-nav-btn.prev-btn {
        margin-left: 0;
    }

    .testimonial-nav-btn.next-btn {
        margin-right: 0;
    }

    .testimonials-stats {
        gap: 20px;
    }
}

/* 修改评论部分为网格布局 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 优化Google Play按钮样式 */
header .btn-primary {
    background-color: white;
    color: #7c3aed;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

header .btn-primary i {
    font-size: 20px;
    margin-right: 8px;
}

header .btn-primary:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 添加按钮点击波纹效果 */
.btn-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: btnRipple 0.6s linear;
    pointer-events: none;
}

@keyframes btnRipple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 安卓专属标记 */
.android-only-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 16px;
}

.android-only-badge i {
    margin-right: 6px;
    color: #a5f3fc;
}

/* 简化的下载按钮样式 */
.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #7c3aed;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.download-button:active {
    transform: translateY(-1px);
}

.download-button i {
    font-size: 24px;
}

/* 下载按钮样式 - 包含iOS Coming Soon */
.download-store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: white;
    color: #7c3aed;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.download-store-button i {
    font-size: 24px;
}

.download-store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.download-store-button.disabled {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: not-allowed;
}

.download-store-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

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

.download-stat .stat-number {
    font-size: 24px;
    font-weight: 700;
}

.download-stat .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 640px) {
    .download-store-button {
        width: 100%;
        justify-content: center;
    }
}

/* 增加导航栏的上下内边距 */
nav .container {
    padding-top: 1rem;
    /* 从原来的0.75rem (py-3) 增加到1rem */
    padding-bottom: 1rem;
    /* 从原来的0.75rem (py-3) 增加到1rem */
}

/* 调整logo大小以适应更大的导航栏 */
nav .logo-img {
    height: 2.25rem;
    /* 从原来的2rem (h-8) 增加到2.25rem */
}

/* 确保移动菜单也有足够的间距 */
#mobile-menu .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* 增加主标题文字的行距和段落间距 */
.hero-text h1 {
    line-height: 1.2;
    /* 增加行距 */
    margin-bottom: 1.5rem;
    /* 增加标题与下方段落的间距 */
    letter-spacing: -0.025em;
    /* 稍微调整字母间距，提高可读性 */
}

.hero-text p {
    line-height: 1.6;
    /* 增加段落行距 */
    margin-bottom: 2rem;
    /* 增加段落与下方按钮的间距 */
    font-size: 1.25rem;
    /* 稍微增大字体大小 */
}

/* 为首页英雄区域添加特定样式 */
#hero {
    padding-top: 8rem;
    /* 增加顶部内边距 */
    padding-bottom: 6rem;
    /* 增加底部内边距 */
}

/* 为首页标题添加特殊样式 */
#hero h1 {
    font-size: 4rem;
    /* 在大屏幕上使用更大的字体 */
    font-weight: 800;
    /* 更粗的字重 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
        /* 在小屏幕上稍微减小字体大小 */
    }

    #hero {
        padding-top: 6rem;
        /* 在小屏幕上减少顶部内边距 */
    }
}

/* 修复导航栏和图片的层级关系 */
nav {
    z-index: 50 !important;
    /* 确保导航栏有更高的z-index */
}

/* 调整英雄区域图片的z-index */
#hero .relative img {
    z-index: 5;
    /* 降低图片的z-index */
}

/* 确保模糊效果在图片下方 */
#hero .absolute {
    z-index: 4;
    /* 确保模糊效果在图片下方 */
}