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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
                 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: #f5f5f7;
    -webkit-font-smoothing: antialiased;
}

/* ===== 全屏视频主视觉 ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 向下滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-hint span {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== 工具入口区域 ===== */
.tools {
    background: #f5f5f7;
    padding: 80px 24px;
}

.tools-inner {
    max-width: 680px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
    color: #1d1d1f;
}

.tool-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 122, 255, 0.3);
}

.tool-card:active {
    transform: translateY(0);
}

.tool-icon {
    font-size: 36px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    border-radius: 14px;
}

.tool-info {
    flex: 1;
}

.tool-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1d1d1f;
}

.tool-info p {
    font-size: 14px;
    color: #86868b;
    line-height: 1.4;
}

.tool-arrow {
    font-size: 24px;
    color: #c7c7cc;
    font-weight: 300;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.tool-card:hover .tool-arrow {
    color: #007AFF;
}

/* ===== 页脚 ===== */
.footer {
    text-align: center;
    padding: 24px;
    background: #f5f5f7;
    color: #86868b;
    font-size: 13px;
    border-top: 1px solid #e5e5ea;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .tools {
        padding: 48px 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .tool-card {
        padding: 18px;
        gap: 16px;
    }

    .tool-icon {
        width: 48px;
        height: 48px;
        font-size: 28px;
        border-radius: 12px;
    }
}
