/* ================= PC 端首页高端大气样式 ================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #f8f9fc;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部导航 */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.home-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.home-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-nav a {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

.home-nav a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

.home-nav a.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.home-nav a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.35);
}

/* Hero 区域 */
.home-hero {
    position: relative;
    padding: 150px 24px 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.home-hero::before,
.home-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

.home-hero::before {
    width: 500px;
    height: 500px;
    background: #ff9a9e;
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.home-hero::after {
    width: 400px;
    height: 400px;
    background: #fad0c4;
    bottom: -120px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(25px) scale(1.05); }
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.home-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.home-hero p {
    font-size: 18px;
    opacity: 0.92;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.home-hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.home-hero-badges span {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
}

/* 波浪装饰 */
.home-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.home-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* 功能卡片区 */
.home-features {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 24px 60px;
    position: relative;
    z-index: 3;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-feature-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card-header {
    position: relative;
    padding: 20px;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.feature-card-header::after {
    content: '';
    position: absolute;
    top: -45%;
    right: -5%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    filter: blur(18px);
    pointer-events: none;
}

.feature-card-header.blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card-header.orange {
    background: linear-gradient(135deg, #fa709a 0%, #f5576c 100%);
}

.feature-card-header.green {
    background: linear-gradient(135deg, #42e695 0%, #3bb2b8 100%);
}

.feature-card-header i {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
}

.feature-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.feature-card-body {
    padding: 24px;
}

.feature-form .form-group {
    margin-bottom: 16px;
}

.feature-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.feature-form input,
.feature-form select {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
}

.feature-form input:focus,
.feature-form select:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.feature-form .input-group {
    display: flex;
    gap: 10px;
}

.feature-form .input-group input {
    flex: 1;
}

.feature-form .input-group button {
    height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.feature-form .input-group button:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-form .input-group button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feature-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.feature-btn.blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.25);
}

.feature-btn.orange {
    background: linear-gradient(135deg, #fa709a 0%, #f5576c 100%);
    box-shadow: 0 4px 14px rgba(245, 87, 108, 0.25);
}

.feature-btn.green {
    background: linear-gradient(135deg, #42e695 0%, #3bb2b8 100%);
    box-shadow: 0 4px 14px rgba(59, 178, 184, 0.25);
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.feature-result {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    display: none;
}

.feature-result.success {
    background: rgba(82, 196, 26, 0.08);
    border: 1px solid rgba(82, 196, 26, 0.2);
    color: #389e0d;
}

.feature-result.error {
    background: rgba(255, 77, 79, 0.08);
    border: 1px solid rgba(255, 77, 79, 0.2);
    color: #cf1322;
}

.feature-result.info {
    background: rgba(24, 144, 255, 0.08);
    border: 1px solid rgba(24, 144, 255, 0.2);
    color: #096dd9;
}

.feature-links {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
}

.feature-links a {
    color: #667eea;
    transition: color 0.3s ease;
}

.feature-links a:hover {
    color: #764ba2;
}

/* 公告区 */
.home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.home-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.home-section-title span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-announcement {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.home-announcement h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

.home-announcement .content {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* 页脚 */
.home-footer {
    background: #2b3247;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 24px;
    text-align: center;
}

.home-footer p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

.home-footer a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.home-footer a:hover {
    color: #fff;
}

/* 响应式 */
@media (max-width: 992px) {
    .home-features-grid {
        grid-template-columns: 1fr;
    }
    
    .home-hero h1 {
        font-size: 36px;
    }
    
    .home-hero p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .home-header-inner {
        height: 60px;
    }
    
    .home-nav {
        display: none;
    }
    
    .home-hero {
        padding: 110px 20px 80px;
    }
    
    .home-hero h1 {
        font-size: 28px;
    }
    
    .home-features {
        margin-top: -40px;
    }
}
