/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #4f46e5;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4f46e5;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #4f46e5;
}

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

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #4f46e5;
}

.btn-outline {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-outline:hover {
    background: #4f46e5;
    color: #fff;
}

.placeholder-image {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.placeholder-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.placeholder-image a {
    text-decoration: none;
    display: inline-block;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-logo a:hover {
    color: inherit;
}

/* 通用区域样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* 功能特性 */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 产品演示 */
.demo {
    padding: 80px 0;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 视频播放器样式 */
.demo-video {
    position: relative;
    display: inline-block;
    width: 100%;
}

.product-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    background: #000;
}



/* 只隐藏原生播放按钮，保留其他控件 */
.product-video::-webkit-media-controls-play-button {
    display: none !important;
}

.product-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Firefox - 隐藏播放按钮 */
.product-video::-moz-media-controls-play-button {
    display: none !important;
}



/* 自定义播放按钮 */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(79, 70, 229, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-button:hover {
    background: rgba(79, 70, 229, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 4px; /* 微调播放图标位置 */
}

/* 当视频播放时隐藏自定义按钮 */
.product-video:not([data-paused="true"]) + .video-play-button {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* 视频暂停时显示按钮 */
.product-video[data-paused="true"] + .video-play-button {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.3s ease;
}

/* 播放时不显示按钮，即使鼠标悬停也不显示 */
.demo-video:hover .product-video:not([data-paused="true"]) + .video-play-button {
    opacity: 0;
    pointer-events: none;
}

/* 移除视频悬停时的变暗效果 */
.product-video:hover {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    brightness: 1 !important;
}

/* 确保视频容器也不会影响亮度 */
.demo-video:hover {
    filter: none !important;
    opacity: 1 !important;
}

/* 强制移除所有可能的暗化效果 */
.product-video,
.product-video:hover,
.product-video:focus,
.product-video:active {
    filter: none !important;
    opacity: 1 !important;
    brightness: 1 !important;
    contrast: 1 !important;
}

/* 移除视频控件显示时的暗化遮罩 */
.product-video::-webkit-media-controls-overlay-enclosure {
    background: transparent !important;
}

.product-video::-webkit-media-controls-enclosure {
    background: transparent !important;
}

/* 移除控件面板的暗化背景 */
.product-video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.3) !important;
    background-image: none !important;
}

/* Firefox 控件样式 */
.product-video::-moz-media-controls {
    background: transparent !important;
}

/* 确保视频本身不被控件影响 */
.product-video {
    background: #000 !important;
}

/* 移除可能的渐变遮罩 */
.product-video::-webkit-media-controls-timeline-container,
.product-video::-webkit-media-controls-current-time-display,
.product-video::-webkit-media-controls-time-remaining-display {
    background: transparent !important;
}

/* 命令介绍样式 */
.commands {
    padding: 5rem 0;
    background: #f8fafc;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.command-card {
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.command-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.command-step {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.command-card h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-size: 1.3rem;
}

.command-code {
    background: #2d3748;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #4a5568;
    position: relative;
}

.command-code code {
    font-family: 'Courier New', monospace;
    color: #68d391;
    font-size: 0.95rem;
    background: none;
    padding: 0;
    font-weight: 500;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #a0aec0;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.command-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.version-requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #3b82f6;
}

.version-requirement i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* 第三个卡片的特殊样式 */
.command-card:nth-child(3) .commands-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.command-item .command-code {
    flex: 1;
    margin: 0;
}

.command-item span {
    color: #64748b;
    font-size: 0.85rem;
    min-width: 100px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .commands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .command-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .commands {
        padding: 3rem 0;
    }

    .command-card {
        padding: 1.5rem;
    }

    .command-step {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 效果展示样式 */
.effects {
    padding: 5rem 0;
    background: #f8fafc;
}

.effects-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.effect-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.effect-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #1e293b;
}

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

.effect-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: #e2e8f0;
    border: 2px dashed #cbd5e1;
    display: block;
    margin: 0 auto;
}

.effect-image p {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

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

    .effect-card {
        padding: 1.5rem;
    }
}



/* 自定义视频控件样式 */
.product-video::-webkit-media-controls-panel {
    background-color: rgba(0,0,0,0.8);
}

.product-video::-webkit-media-controls-play-button {
    background-color: #4f46e5;
    border-radius: 50%;
}

/* 备用占位符样式 */
.video-placeholder {
    background: #f1f5f9;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed #cbd5e1;
}

.video-placeholder:hover {
    background: #e2e8f0;
    border-color: #4f46e5;
}

.video-placeholder i {
    font-size: 4rem;
    color: #4f46e5;
    margin-bottom: 1rem;
}

.demo-features h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.demo-list {
    list-style: none;
}

.demo-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.demo-list i {
    color: #10b981;
    font-size: 1.2rem;
}

/* 定价方案 */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    border: 3px solid #4f46e5;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f46e5;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #666;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #4f46e5;
}

.period {
    font-size: 1rem;
    color: #666;
}

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

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #666;
}


/* 账号购买样式 */
.account {
    padding: 5rem 0;
    background: #f8fafc;
}

.account-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.account-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

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

.account-card.sponsor {
    border-color: #ef4444;
}

.account-card.paid {
    border-color: #8b5cf6;
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.account-card.sponsor .card-header i {
    color: #ef4444;
}

.account-card.paid .card-header i {
    color: #8b5cf6;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
}

.card-content p {
    text-align: center;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.account-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sponsor-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.payment-method {
    text-align: center;
    flex: 1;
}

.payment-method h4 {
    font-size: 0.9rem;
    color: #ef4444;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.payment-method img {
    max-width: 120px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ef4444;
    background: #fef2f2;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.payment-method img:hover {
    transform: scale(1.05);
}

/* 移动端响应式 */
@media (max-width: 480px) {
    .sponsor-images {
        flex-direction: column;
        align-items: center;
    }

    .payment-method {
        max-width: 150px;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: #10b981;
    font-size: 1rem;
    width: 16px;
}

.feature-item span {
    color: #475569;
    font-size: 0.95rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
}

.contact-item i {
    color: #8b5cf6;
    font-size: 1rem;
    width: 16px;
}

.contact-item span {
    color: #475569;
    font-size: 0.9rem;
}

.note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.note i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.note span {
    color: #6b46c1;
    font-size: 0.85rem;
}

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

    .account-card {
        padding: 1.5rem;
    }

    .card-header i {
        font-size: 2.5rem;
    }
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #4f46e5;
}

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4f46e5;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.contact-link i {
    color: #4f46e5;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}
