/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4F46E5;
}

.download-btn {
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f9ff 100%);
    overflow: hidden;
    position: relative;
}

/* 英雄区域背景装饰元素 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(79, 70, 229, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-element {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(79, 70, 229, 0.1) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    animation: floatElements 15s ease-in-out infinite;
    box-shadow: 
        0 8px 32px rgba(79, 70, 229, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.bg-element:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.bg-element:nth-child(2) {
    top: 20%;
    right: 8%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(6, 182, 212, 0.15) 100%);
}

.bg-element:nth-child(3) {
    bottom: 30%;
    left: 8%;
    width: 100px;
    height: 40px;
    animation-delay: 4s;
}

.bg-element:nth-child(4) {
    bottom: 15%;
    right: 15%;
    width: 70px;
    height: 70px;
    animation-delay: 6s;
    transform: rotate(45deg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(79, 70, 229, 0.2) 50%,
        rgba(6, 182, 212, 0.1) 100%);
}

.bg-element:nth-child(5) {
    top: 50%;
    left: 2%;
    width: 50px;
    height: 50px;
    animation-delay: 8s;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(79, 70, 229, 0.15) 70%, 
        transparent 100%);
}

.bg-element:nth-child(6) {
    top: 70%;
    right: 5%;
    width: 90px;
    height: 30px;
    animation-delay: 10s;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(6, 182, 212, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 100%);
    border-radius: 15px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatElements {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) translateX(5px) rotate(2deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) translateX(-3px) rotate(-1deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-15px) translateX(8px) rotate(3deg);
        opacity: 0.7;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.highlight {
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.feature-tag {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: white;
    color: #4F46E5;
    border: 2px solid #4F46E5;
}

.btn-secondary:hover {
    background: #4F46E5;
    color: white;
}

.btn-icon {
    font-size: 1.2em;
}

/* 英雄区域模拟界面 */
.hero-mockup {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.mockup-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.mockup-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: #f5f5f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.minimize { background: #ffc107; }
.control.maximize { background: #28a745; }
.control.close { background: #dc3545; }

.window-title {
    font-weight: 600;
    color: #333;
}

.window-content {
    padding: 30px;
}

.recording-interface {
    text-align: center;
}

.recording-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 12px 24px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 25px;
    display: inline-flex;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc3545;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-text {
    font-weight: 600;
    color: #dc3545;
}

.control-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.control-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn.start {
    background: #4F46E5;
    color: white;
}

.control-btn.stop {
    background: #dc3545;
    color: white;
}

.control-btn.region {
    background: #06B6D4;
    color: white;
}

.control-btn.active {
    opacity: 0.6;
}

/* 功能特色 */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.feature-card.featured {
    border: 2px solid #4F46E5;
    background: linear-gradient(135deg, #f8faff 0%, #f0f9ff 100%);
}

.feature-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 6px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4F46E5;
    font-weight: bold;
}

/* 使用场景 */
.use-cases {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f9ff 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.use-case {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.use-case h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.use-case p {
    color: #666;
    line-height: 1.6;
}

/* 产品截图 */
.screenshots {
    padding: 100px 0;
    background: white;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.screenshot-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.mockup-header {
    background: #f5f5f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}

.mockup-controls {
    display: flex;
    gap: 6px;
}

.mockup-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.mockup-content {
    padding: 30px;
    min-height: 200px;
}

.main-interface .interface-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    background: #f5f5f5;
}

.tab.active {
    background: #4F46E5;
    color: white;
}

.interface-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.interface-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.interface-btn.primary {
    background: #4F46E5;
    color: white;
}

.interface-btn:not(.primary) {
    background: #f5f5f5;
    color: #666;
}

.subtitle-interface .subtitle-options {
    text-align: left;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.option-toggle {
    width: 40px;
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    position: relative;
}

.option-toggle.active {
    background: #4F46E5;
}

.option-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.option-toggle.active::after {
    left: 22px;
}

.subtitle-preview {
    margin-top: 20px;
    padding: 20px;
    background: #000;
    border-radius: 8px;
    text-align: center;
}

.subtitle-text {
    color: white;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
}

.list-interface .file-list {
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.file-icon {
    font-size: 1.2rem;
}

.file-name {
    flex: 1;
    font-weight: 500;
}

.file-size {
    color: #666;
    font-size: 0.9rem;
}

.screenshot-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.screenshot-item p {
    color: #666;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

.system-requirements h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #4F46E5;
}

.requirements-list {
    list-style: none;
    margin-bottom: 40px;
}

.requirements-list li {
    padding: 8px 0;
    color: #ccc;
    position: relative;
    padding-left: 20px;
}

.requirements-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4F46E5;
    font-weight: bold;
}

.download-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 4px;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
}

.download-card {
    background: white;
    color: #333;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.download-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.version-badge {
    background: #4F46E5;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-details {
    margin-bottom: 30px;
    color: #666;
}

.download-details p {
    margin-bottom: 4px;
}

.download-main {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.download-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.download-link {
    color: #4F46E5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: #06B6D4;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    color: #ccc;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #4F46E5;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4F46E5;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .download-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.use-case,
.screenshot-item {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: rgba(79, 70, 229, 0.2);
    color: #4F46E5;
}