/* 浏览器主题色彩 */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --neutral-color: #fbbc05;
    --background-light: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
}

body {
    background: #ffffff;
    color: #333333;
    text-align: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 顶部导航样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(255, 255, 255, 0.98);
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 10px;
}

/* 主容器样式 */
.main-container {
    padding-top: 100px;
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: -1;
}

/* 浏览器特性展示卡片 */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

/* 下载按钮样式优化 */
.download-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 15px 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

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

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.2);
}

/* 浏览器标签页动画效果 */
.browser-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.browser-tab {
    padding: 8px 20px;
    background: var(--background-light);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.browser-tab:hover {
    background: var(--primary-color);
    color: white;
}

/* 图标样式优化 */
.gold-gradient-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .gold-gradient-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 页脚样式优化 */
.footer {
    background: white;
    padding: 40px 0;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color), var(--neutral-color));
}

/* 响应式优化 */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }
    
    .main-container {
        padding-top: 80px;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
    }

    .logo-wrapper {
        flex-shrink: 0;
    }

    .logo-img {
        height: 24px;
    }

    .logo-text {
        font-size: 1.1rem;
        margin-left: 6px;
    }

    .language-switcher {
        gap: 4px;
        margin-left: 10px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .feature-card {
        margin: 10px;
        padding: 20px;
    }
    
    .browser-tabs {
        flex-wrap: wrap;
    }

    /* 支持场景部分的移动端优化 */
    .support-section {
        padding-top: 60px;
    }

    .support-section .feature-card {
        margin-bottom: 20px;
    }

    .support-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .support-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 较小屏幕的额外优化 */
@media (max-width: 480px) {
    .main-container {
        padding-top: 120px;
    }

    .header-content {
        padding: 0 8px;
    }

    .logo-img {
        height: 20px;
    }

    .logo-text {
        font-size: 1rem;
        margin-left: 4px;
    }

    .language-switcher {
        gap: 3px;
    }

    .lang-btn {
        padding: 3px 6px;
        font-size: 11px;
        border-radius: 12px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 添加浏览器窗口装饰 */
.browser-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 900px;
    overflow: hidden;
}

.browser-header {
    background: #f1f3f4;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-controls {
    display: flex;
    gap: 6px;
}

.browser-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-control.close { background: #ff5f56; }
.browser-control.minimize { background: #ffbd2e; }
.browser-control.maximize { background: #27c93f; }

.browser-address-bar {
    background: white;
    border-radius: 20px;
    padding: 8px 16px;
    margin: 0 12px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.browser-address-bar i {
    color: var(--text-secondary);
}

/* 添加动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* 语言切换按钮样式 */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(66, 133, 244, 0.1);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* 下载特性标签样式 */
.download-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.feature-tag {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

.feature-tag:hover::before {
    left: 100%;
}

.feature-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.feature-tag i {
    font-size: 1.2rem;
    margin-right: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-tag span {
    font-weight: 500;
    color: black;
    letter-spacing: 0.5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .download-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .feature-tag {
        padding: 8px 16px;
        font-size: 14px;
        width: 80%;
        justify-content: center;
    }
}

/* 添加动画效果 */
@keyframes featureFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.feature-tag:nth-child(1) {
    animation: featureFloat 3s ease-in-out infinite;
    animation-delay: 0s;
}

.feature-tag:nth-child(2) {
    animation: featureFloat 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

.feature-tag:nth-child(3) {
    animation: featureFloat 3s ease-in-out infinite;
    animation-delay: 0.4s;
}