.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.logo-container:hover {
    background: rgba(26, 115, 232, 0.05);
}

.logo-container img {
    height: 32px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05);
}

.app-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a73e8;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 20px;
    position: relative;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    height: 40px;
}

.nav-list a:hover {
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.05);
}

/* 产品特点链接样式 */
.nav-list a[href="#features"] {
    color: #1a73e8;
    border: 1px solid transparent;
}

.nav-list a[href="#features"]:hover {
    background: rgba(26, 115, 232, 0.1);
    border-color: rgba(26, 115, 232, 0.1);
}

/* 立即下载按钮样式 */
.nav-list a[href="#download"] {
    background: #1a73e8;
    color: white;
    border: 1px solid #1a73e8;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.nav-list a[href="#download"]:hover {
    background: #1557b0;
    border-color: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 提交反馈按钮样式 */
.nav-list a.feedback-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    border: 1px solid #ddd;
}

.nav-list a.feedback-trigger:hover {
    color: #1a73e8;
    border-color: #1a73e8;
    background: rgba(26, 115, 232, 0.05);
    transform: translateY(-1px);
}

.nav-list a.feedback-trigger::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z' fill='currentColor'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .nav {
        height: 60px;
    }

    .logo-container img {
        height: 24px;
        border-radius: 6px;
    }

    .app-name {
        font-size: 1.2rem;
    }

    .nav-list {
        gap: 16px;
    }

    .nav-list a {
        padding: 8px 16px;
        font-size: 13px;
        height: 36px;
    }
} 

/* 反馈弹窗动画 */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.feedback-modal.active {
    display: flex;
    animation: modalBackgroundFadeIn 0.3s ease forwards;
}

.feedback-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-modal.active .feedback-content {
    animation: modalContentPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalBackgroundFadeIn {
    from {
        background: rgba(0, 0, 0, 0);
    }
    to {
        background: rgba(0, 0, 0, 0.5);
    }
}

@keyframes modalContentPop {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* 关闭按钮动画 */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #666;
    transition: all 0.3s ease;
}

.close-btn::before {
    transform: rotate(45deg);
}

.close-btn::after {
    transform: rotate(-45deg);
}

.close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.close-btn:hover::before,
.close-btn:hover::after {
    background-color: #1a73e8;
}

.close-btn:active {
    transform: scale(0.9);
}

/* 表单元素动画 */
.feedback-form .form-group {
    opacity: 0;
    transform: translateY(10px);
}

.feedback-modal.active .form-group {
    animation: formItemSlideIn 0.5s ease forwards;
}

.feedback-modal.active .form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.feedback-modal.active .form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.feedback-modal.active .form-group:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes formItemSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 提交按钮动画 */
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* ���入框焦点动画 */
.feedback-form input,
.feedback-form textarea,
.feedback-form select {
    border: 2px solid transparent;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus,
.feedback-form select:focus {
    border-color: #1a73e8;
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.language-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px 8px;
    font-size: 14px;
    transition: color 0.3s;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: bold;
}

.lang-separator {
    color: var(--text-color);
    opacity: 0.5;
    margin: 0 5px;
} 