/* ========================================
   单页滚动式布局 - 现代极简风格
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-light: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* ========================================
   固定导航栏
   ======================================== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.brand-icon {
    font-size: 24px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-item {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item:hover::after {
    width: 100%;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 24px 80px;
}

.hero-container {
    max-width: 800px;
    width: 100%;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 48px;
}

/* 搜索容器 */
.search-container {
    margin-bottom: 64px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.search-box:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.search-icon {
    font-size: 24px;
    padding: 0 16px;
    color: var(--text-gray);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    padding: 16px 8px;
    color: var(--text-dark);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-gray);
}

.hint-dot {
    color: var(--primary-color);
}

/* 数据统计 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

/* ========================================
   Section 通用样式
   ======================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
}

/* ========================================
   功能特色区域
   ======================================== */
.features-section {
    background: var(--bg-white);
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-box {
    background: var(--bg-gray);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   使用指南区域
   ======================================== */
.guide-section {
    background: var(--bg-gray);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.guide-step {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.guide-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-number-large {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    min-width: 100px;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-gray);
    font-size: 15px;
}

.step-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ========================================
   靓号推荐区域
   ======================================== */
.premium-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.premium-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    box-shadow: var(--shadow-xl);
}

.premium-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.premium-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.premium-desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.premium-point {
    display: flex;
    align-items: center;
    gap: 12px;
}

.point-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.point-text {
    font-size: 15px;
    color: var(--text-gray);
}

.premium-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.premium-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.button-arrow {
    font-size: 24px;
    transition: transform 0.3s;
}

.premium-button:hover .button-arrow {
    transform: translateX(4px);
}

.premium-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 24px;
    border-radius: 12px;
    color: white;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.visual-card:hover {
    transform: translateX(-8px);
}

.card-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.card-number {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ========================================
   信息说明区域
   ======================================== */
.info-section {
    background: var(--bg-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-card {
    padding: 32px;
    background: var(--bg-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.info-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   友情链接
   ======================================== */
.links-section {
    padding: 80px 24px;
    background: var(--bg-gray);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.link-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.link-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.link-name {
    font-size: 15px;
    font-weight: 500;
}

/* ========================================
   页脚
   ======================================== */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 48px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-icon {
    font-size: 28px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ========================================
   返回顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .search-box {
        flex-direction: column;
        padding: 16px;
    }
    
    .search-input {
        width: 100%;
        padding: 16px;
        text-align: center;
    }
    
    .search-button {
        width: 100%;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-container {
        padding: 48px 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
    }
    
    .guide-step {
        flex-direction: column;
        padding: 24px;
    }
    
    .step-number-large {
        font-size: 48px;
    }
    
    .premium-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }
    
    .premium-features {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}
