/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础字体大小设置，确保在不同缩放比例下保持一致 */
html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
    font-size: 1.25rem;
}

.container {
    width: 100%;
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 高分辨率屏幕适配 (大于1080P) */
@media (min-width: 1921px) {
    body {
        font-size: calc(20px * 1.1);
    }
    
    .container {
        max-width: calc(1400px * 1.2);
        padding: 0 calc(20px * 1.2);
    }
    
    .logo img {
        height: calc(40px * 1.1);
    }
    
    .logo span {
        font-size: calc(22px * 1.1);
    }
    
    nav ul {
        gap: calc(30px * 1.2);
    }
    
    nav a {
        font-size: calc(16px * 1.1);
    }
    
    .search-box {
        min-width: calc(300px * 1.1);
        padding: calc(5px * 1.1) calc(15px * 1.1);
    }
    
    .search-box input {
        padding: calc(8px * 1.1) calc(10px * 1.1);
        font-size: calc(16px * 1.1);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: calc(10px * 1.1) calc(20px * 1.1);
        font-size: calc(16px * 1.1);
        border-radius: calc(25px * 1.1);
    }
    
    .banner {
        height: calc(400px * 1.2);
        margin-bottom: calc(50px * 1.2);
    }
    
    .banner-content h2 {
        font-size: calc(50px * 1.2);
        margin-bottom: calc(20px * 1.2);
    }
    
    .banner-content p {
        font-size: calc(20px * 1.1);
        margin-bottom: calc(30px * 1.2);
    }
    
    .categories {
        margin-bottom: calc(50px * 1.2);
    }
    
    .categories h2 {
        font-size: calc(30px * 1.1);
        margin-bottom: calc(30px * 1.2);
    }
    
    .category-list {
        gap: calc(20px * 1.2);
    }
    
    .category-item {
        padding: calc(20px * 1.1);
        min-height: calc(120px * 1.1);
        border-radius: calc(10px * 1.1);
    }
    
    .category-item i {
        font-size: calc(34px * 1.1);
        margin-bottom: calc(15px * 1.1);
        min-height: calc(40px * 1.1);
    }
    
    .category-item span {
        font-size: calc(16px * 1.1);
    }
    
    .apps-section {
        margin-bottom: calc(50px * 1.2);
    }
    
    .section-header {
        margin-bottom: calc(30px * 1.2);
    }
    
    .section-header h2 {
        font-size: calc(28px * 1.1);
    }
    
    .view-options {
        gap: calc(10px * 1.1);
    }
    
    .btn-view {
        padding: calc(8px * 1.1) calc(12px * 1.1);
        border-radius: calc(5px * 1.1);
    }
    
    .apps-grid {
        gap: calc(25px * 1.2);
        grid-template-columns: repeat(auto-fill, minmax(calc(300px * 1.1), 1fr));
    }
    
    .app-card {
        border-radius: calc(15px * 1.1);
    }
    
    .app-image {
        height: calc(160px * 1.1);
    }
    
    .app-info {
        padding: calc(15px * 1.1);
    }
    
    .app-name {
        font-size: calc(18px * 1.1);
        margin-bottom: calc(10px * 1.1);
    }
    
    .app-tags {
        gap: calc(5px * 1.1);
        margin-bottom: calc(10px * 1.1);
    }
    
    .app-tag {
        font-size: calc(14px * 1.1);
        padding: calc(3px * 1.1) calc(8px * 1.1);
        border-radius: calc(10px * 1.1);
    }
    
    .app-desc {
        font-size: calc(14px * 1.1);
        margin-bottom: calc(10px * 1.1);
    }
    
    .app-meta {
        font-size: calc(12px * 1.1);
    }
    
    .load-more {
        margin-top: calc(30px * 1.2);
    }
    
    footer {
        padding: calc(50px * 1.2) 0 calc(20px * 1.1);
    }
    
    .footer-content {
        gap: calc(40px * 1.2);
        margin-bottom: calc(40px * 1.2);
        grid-template-columns: repeat(auto-fit, minmax(calc(200px * 1.1), 1fr));
    }
    
    .footer-logo img {
        height: calc(50px * 1.1);
        margin-bottom: calc(20px * 1.1);
    }
    
    .footer-logo p {
        font-size: calc(14px * 1.1);
    }
    
    .footer-links h4 {
        font-size: calc(16px * 1.1);
        margin-bottom: calc(20px * 1.1);
        padding-bottom: calc(10px * 1.1);
    }
    
    .footer-links h4::after {
        width: calc(40px * 1.1);
        height: calc(2px * 1.1);
    }
    
    .footer-links li {
        margin-bottom: calc(10px * 1.1);
    }
    
    .footer-links a {
        font-size: calc(14px * 1.1);
    }
    
    .footer-bottom {
        padding-top: calc(20px * 1.1);
        font-size: calc(14px * 1.1);
        border-top: none;
    }
    
    .modal-content {
        padding: calc(30px * 1.1);
        border-radius: calc(20px * 1.1);
        max-width: calc(900px * 1.1);
    }
    
    .close {
        top: calc(20px * 1.1);
        right: calc(30px * 1.1);
        font-size: calc(30px * 1.1);
    }
    
    .app-detail {
        gap: calc(30px * 1.1);
    }
    
    .detail-image {
        border-radius: calc(15px * 1.1);
    }
    
    .detail-info h2 {
        font-size: calc(32px * 1.1);
        margin-bottom: calc(10px * 1.1);
    }
    
    .detail-category {
        padding: calc(5px * 1.1) calc(15px * 1.1);
        border-radius: calc(20px * 1.1);
        font-size: calc(14px * 1.1);
        margin-bottom: calc(20px * 1.1);
    }
    
    .detail-tags {
        gap: calc(10px * 1.1);
        margin-bottom: calc(20px * 1.1);
    }
    
    .detail-tag {
        font-size: calc(14px * 1.1);
        padding: calc(5px * 1.1) calc(15px * 1.1);
        border-radius: calc(20px * 1.1);
    }
    
    .detail-desc {
        font-size: calc(16px * 1.1);
        line-height: 1.8;
        margin-bottom: calc(30px * 1.1);
    }
    
    .detail-actions {
        gap: calc(15px * 1.1);
    }
    
    .detail-actions .btn-primary {
        padding: calc(12px * 1.1) calc(30px * 1.1);
        font-size: calc(18px * 1.1);
    }
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 1.5625rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: white;
    color: #667eea;
    border: 1px solid #667eea;
    padding: 0.625rem 1.25rem;
    border-radius: 1.5625rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #667eea;
    color: white;
}

.btn-secondary.active {
    background-color: #667eea;
    color: white;
}

.btn-secondary.active:hover {
    background-color: #5a67d8;
    color: white;
}

/* 顶部导航样式 */
header {
    background-color: white;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9375rem 1.25rem;
}

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

.logo img {
    height: 2.5rem;
}

.logo span {
    font-size: 1.375rem;
    font-weight: bold;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.875rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active,
.nav-item:hover {
    color: #667eea;
}

/* 文档中心文字样式 */
.nav-item.docs-text {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0 0.625rem;
}

/* 下拉菜单项悬停效果增强 */
.user-dropdown li a:hover {
    background-color: #f5f7fa;
    color: #667eea;
    transform: translateX(4px);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background-color: #667eea;
    border-radius: 0.125rem;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    border-radius: 1.5625rem;
    padding: 0.3125rem 0.9375rem;
    min-width: 18.75rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 0.5rem 0.625rem;
    font-size: 1rem;
}

.search-box button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
}

.user-actions {
    display: flex;
    gap: 0.625rem;
}

/* 轮播广告样式 */
.banner {
    position: relative;
    overflow: hidden;
    height: 25rem;
    margin-bottom: 3.125rem;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 18%;
    transform: translateY(-50%);
    color: white;
    max-width: 31.25rem;
}

.banner-content h2 {
    font-size: 3.125rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 1.875rem;
    text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
}

/* 分类导航样式 */
.categories {
    margin-bottom: 3.125rem;
}

.categories h2 {
    font-size: 1.875rem;
    margin-bottom: 1.875rem;
    text-align: center;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.375rem, 1fr));
    gap: 1.25rem;
}

.category-item {
    background-color: white;
    border-radius: 0.625rem;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 7.5rem;
}

.category-item:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
}

.category-item i {
    font-size: 2.125rem;
    margin-bottom: 0.9375rem;
    color: #667eea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
}

.category-item span {
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
}

/* 应用展示区样式 */
.apps-section {
    margin-bottom: 3.125rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
}

.section-header h2 {
    font-size: 1.75rem;
}

.view-options {
    display: flex;
    gap: 0.625rem;
}

.btn-view {
    background-color: white;
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    border-radius: 0.3125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover,
.btn-view.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
    gap: 1.5625rem;
}

.app-card {
    background-color: white;
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 列表视图样式 */
.apps-grid[style*="grid-template-columns: 1fr"] .app-card {
    display: grid;
    grid-template-columns: 12.5rem 1fr;
    min-height: 8.75rem;
}

.apps-grid[style*="grid-template-columns: 1fr"] .app-image {
    height: 100%;
    min-height: 8.75rem;
    max-width: 12.5rem;
}

.apps-grid[style*="grid-template-columns: 1fr"] .app-image img {
    object-fit: cover;
}

/* 大屏幕上的列表视图样式 - 封面图片占据整行宽度的30% */
@media (min-width: 1024px) {
    .apps-grid[style*="grid-template-columns: 1fr"] .app-card {
        grid-template-columns: 30% 1fr;
    }
    
    .apps-grid[style*="grid-template-columns: 1fr"] .app-image {
        max-width: none;
    }
}

.app-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
}

.app-image {
    width: 100%;
    height: 10rem;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card:hover .app-image img {
    transform: scale(1.05);
}

.app-info {
    padding: 0.9375rem;
}

.app-name {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3125rem;
    margin-bottom: 0.625rem;
}

.app-tag {
    background-color: #f0f2f5;
    color: #666;
    font-size: 0.875rem;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.625rem;
}

.app-desc {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #999;
}

.load-more {
    text-align: center;
    margin-top: 1.875rem;
}

/* 底部信息样式 */
footer {
    background-color: #1e293b;
    color: white;
    padding: 3.125rem 0 1.25rem;
}

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

.footer-logo img {
    height: 3.125rem;
    margin-bottom: 1.25rem;
}

.footer-logo p {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 0.125rem;
    background-color: #667eea;
}

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

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: none;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

/* 显示模态框时的样式 */
.modal.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 0.9375rem;
    border-radius: 1.25rem;
    width: 90%;
    max-width: 38.75rem;
    position: relative;
    max-height: 90vh;
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 登录模态框特定样式 */
.login-modal-content {
    max-width: 32rem;
    width: 90%;
    padding: 2rem;
}

/* 登录模态框响应式调整 */
@media (max-width: 768px) {
    .login-modal-content {
        max-width: 95%;
        width: 95%;
        margin: 1rem auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-modal-content {
        padding: 1.25rem;
    }
}

.login-modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.login-modal-content .modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.close-login {
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-login:hover {
    color: #666;
}

/* 登录表单样式 */
#login-form {
    width: 100%;
}

#login-form .form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

#login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9375rem;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    width: 100%;
    padding: 0.9375rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

#login-form input[type="text"]:focus,
#login-form input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 密码切换按钮 */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #667eea;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 按钮样式 */
.btn-block {
    width: 100%;
}

/* 表单分割线 */
.form-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.form-divider span {
    padding: 0 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* 社交登录按钮 */
.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.875rem;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.social-btn.wechat {
    color: #07c160;
    border-color: #07c160;
}

.social-btn.wechat:hover {
    background-color: #f0fdf4;
}

.social-btn.phone {
    color: #667eea;
    border-color: #667eea;
}

.social-btn.phone:hover {
    background-color: #f0f4ff;
}

/* 注册提示 */
.register-prompt {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

.register-prompt a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-prompt a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.close,
.close-consultation {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    color: #666;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 2.8125rem;
    height: 2.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f7fa;
    z-index: 10;
}

.close:hover,
.close-consultation:hover {
    color: #333;
    background-color: #e2e8f0;
}

/* 咨询表单样式 */
.consultation-form {
    padding: 0.9375rem;
    background: white;
    height: 100%;
    box-sizing: border-box;
}

/* 表单标题区域 */
.form-header {
    text-align: center;
    margin-bottom: 1.5625rem;
    position: relative;
}

.form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.625rem;
    color: #333;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.75rem;
    height: 0.1875rem;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.1875rem;
}

.form-header p {
    text-align: center;
    color: #666;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* 表单容器 */
#contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    box-sizing: border-box;
}

/* 文本域和提交按钮占用两列 */
.form-group:has(textarea),
.form-group:last-child {
    grid-column: 1 / -1;
}

/* 保持手机端与PC端一致的2列布局 */
@media (max-width: 768px) {
    /* 调整模态框在移动端的显示方式 */
    .modal {
        display: flex;
        align-items: flex-start;
        padding: 1rem 0;
    }
    
    #contact-form {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 0.625rem auto;
        padding: 1.25rem;
        width: 95%;
    }
    
    /* 登录模态框移动端适配 */
    .login-modal-content {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .login-modal-content .modal-header {
        margin-bottom: 1.25rem;
    }
    
    .login-modal-content .modal-header h2 {
        font-size: 1.375rem;
    }
    
    #login-form .form-group {
        margin-bottom: 1rem;
    }
    
    #login-form input[type="text"],
    #login-form input[type="password"] {
        padding: 0.875rem 0.9375rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .social-login {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-btn {
        padding: 0.875rem;
    }
        box-sizing: border-box;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .close,
    .close-consultation {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.625rem;
        top: 0.625rem;
        right: 0.625rem;
    }
    
    /* 确保表单元素在移动端正确显示 */
    .form-group {
        margin-bottom: 0;
        position: relative;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 0.9375rem;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }
    
    /* 调整提交按钮在移动端的样式 */
    .form-group:last-child {
        margin-top: 1rem;
        padding-bottom: 0.5rem;
    }
}

/* 表单组 */
.form-group {
    margin-bottom: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.form-group:last-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 0.75rem;
}

/* 必填标记 */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group label.required::after {
    content: '*';
    color: #667eea;
    margin-left: 4px;
}

/* 表单输入框 */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: white;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* 输入框焦点效果 */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
    transform: translateY(-0.0625rem);
}

/* 输入框占位符样式 */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #cbd5e1;
}

/* 文本区域样式 */
.form-group textarea {
    resize: vertical;
    min-height: 7.5rem;
    line-height: 1.6;
    padding-top: 1rem;
}

/* 提交按钮 */
.form-group button[type="submit"] {
    padding: 0.875rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: 1.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.375rem 1.25rem rgba(102, 126, 234, 0.3);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.form-group button[type="submit"]::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.6s ease;
}

.form-group button[type="submit"]:hover::before {
    left: 100%;
}

.form-group button[type="submit"]:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(102, 126, 234, 0.4);
}

.form-group button[type="submit"]:active {
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(102, 126, 234, 0.3);
}

.form-group button[type="submit"]:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: 0 0.25rem 0.625rem rgba(102, 126, 234, 0.2);
    cursor: not-allowed;
}

/* 表单验证样式 */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #f87171;
    box-shadow: 0 0 0 0.25rem rgba(248, 113, 113, 0.1);
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #34d399;
    box-shadow: 0 0 0 0.25rem rgba(52, 211, 153, 0.1);
}

/* 移除了表单图标相关样式 */

/* 表单卡片效果 */
.form-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* 成功消息样式 */
.success-message {
    text-align: center;
    padding: 2.5rem 1.25rem;
    animation: successFadeIn 0.5s ease-out;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 1.875rem;
    animation: successPulse 2s ease-in-out;
    display: inline-block;
    position: relative;
}

.success-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.5rem;
    height: 7.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    z-index: -1;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-message .form-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.success-desc {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5625rem;
    line-height: 1.6;
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
}

.success-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 1.875rem;
    font-size: 1rem;
    color: #4CAF50;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.success-highlight i {
    font-size: 1.25rem;
}

.success-message button {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.375rem 1.25rem rgba(102, 126, 234, 0.3);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.success-message button::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.6s ease;
}

.success-message button:hover::before {
    left: 100%;
}

.success-message button:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(102, 126, 234, 0.4);
}

.success-message button:active {
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(102, 126, 234, 0.3);
}

.success-message .btn-primary {
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1.875rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 0.25rem 0.9375rem rgba(76, 175, 80, 0.3);
}

.success-message .btn-primary:hover {
    box-shadow: 0 0.375rem 1.25rem rgba(76, 175, 80, 0.4);
}

.app-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.875rem;
}

.detail-image {
    width: 100%;
    border-radius: 0.9375rem;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
}

.detail-info h2 {
    font-size: 2rem;
    margin-bottom: 0.625rem;
}

.detail-category {
    display: inline-block;
    background-color: #f0f2f5;
    color: #666;
    padding: 0.3125rem 0.9375rem;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.detail-tag {
    background-color: #e0e7ff;
    color: #4338ca;
    font-size: 0.875rem;
    padding: 0.3125rem 0.9375rem;
    border-radius: 1.25rem;
}

.detail-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.875rem;
    color: #333;
}

.app-meta {
    margin-bottom: 1.5625rem;
}

.detail-actions {
    display: flex;
    gap: 0.9375rem;
}

.detail-actions .btn-primary {
    padding: 0.75rem 1.875rem;
    font-size: 1.125rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .search-box {
        min-width: 12.5rem;
    }
    
    .banner-content h2 {
        font-size: 2.375rem;
    }
    
    .banner-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 0.9375rem;
    }
    
    nav ul {
        justify-content: center;
        gap: 1.25rem;
    }
    
    .search-box {
        min-width: auto;
        width: 100%;
        order: 2;
        margin: 0 1.25rem;
    }
    
    .user-actions {
        order: 1;
        white-space: nowrap;
    }
    
    /* 隐藏顶部"智能应用广场"文本 */
    .logo span {
        display: none;
    }
    
    /* 确保咨询按钮不换行显示 */
    .user-actions #consultation-btn {
        white-space: nowrap;
    }
    
    .banner {
        height: 20rem;
    }
    
    .banner-content h2 {
        font-size: 1.75rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(15.625rem, 1fr));
    }
    
    .app-detail {
        grid-template-columns: 1fr;
    }
    
    .detail-image {
        max-width: 25rem;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 0.9375rem;
    }
    
    nav a {
        font-size: 0.875rem;
    }
    
    .banner {
        height: 15rem;
    }
    
    .banner-content h2 {
        font-size: 1.625rem;
    }
    
    .banner-content p {
        font-size: 0.875rem;
    }
    
    .category-list {
        grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}