/* ===== 全局样式 ===== */
:root {
    --primary-color: #8B5CF6;
    --secondary-color: #6366F1;
    --accent-color: #f56300;
    --dark-color: #1d1d1f;
    --light-color: #f5f5f7;
    --gray-color: #86868b;
    --success-color: #2fd065;
    --warning-color: #ffcc00;
    --danger-color: #ff3b30;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* ===== 导航栏 ===== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    color: white !important;
    padding: 5px 18px;
    border-radius: 20px;
}

.btn-login:hover {
    background-color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    border-radius: 3px;
}

/* ===== 英雄区域 ===== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: linear-gradient(to bottom, #fff, var(--light-color));
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(245, 245, 247, 1), rgba(245, 245, 247, 0));
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), #ac0bfc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

/* ===== 时间线部分 ===== */
.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-date {
    position: absolute;
    width: 120px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 500;
    top: 10px;
    left: 50%;
    transform: translateX(-190px);
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    margin-left: 100px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 100px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: 50%;
    transform: translateX(70px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.timeline-content p {
    margin-bottom: 15px;
}

.timeline-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
}

.timeline-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: 500;
}

.timeline-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ===== 应聘追踪部分 ===== */
.tracker-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tracker-demo {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.tracker-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.tracker-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 15px 25px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    min-width: 100px;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.stat-card.highlight {
    background-color: rgba(139, 92, 246, 0.1);
}

.stat-card.highlight h3 {
    color: var(--success-color);
}

.add-application-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.add-application-btn:hover {
    background-color: var(--secondary-color);
}

.tracker-table {
    padding: 0 30px 30px;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 15px 0;
}

.table-header {
    font-weight: 600;
    color: var(--gray-color);
    border-bottom: 1px solid #eaeaea;
}

.table-row {
    border-bottom: 1px solid #eaeaea;
}

.table-row:last-child {
    border-bottom: none;
}

.col.company {
    display: flex;
    align-items: center;
}

.col.company img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: #eaeaea;
}

.status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.applied {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
}

.status.interview {
    background-color: rgba(255, 204, 0, 0.2);
    color: var(--warning-color);
}

.status.offer {
    background-color: rgba(47, 208, 101, 0.2);
    color: var(--success-color);
}

.btn-detail {
    background-color: transparent;
    border: 1px solid #eaeaea;
    padding: 5px 15px;
    border-radius: 15px;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-detail:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* ===== 求职网站导航部分 ===== */
.job-links-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.link-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    border-radius: 15px;
    background-color: #eaeaea;
}

.link-card h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    text-align: center;
}

/* ===== AI面试模拟部分 ===== */
.interview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.interview-demo {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.interview-sidebar {
    padding: 25px;
    border-right: 1px solid #eaeaea;
}

.position-selector {
    margin-bottom: 25px;
}

.position-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.position-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-family: inherit;
}

.interview-topics h4 {
    margin-bottom: 15px;
    font-weight: 500;
}

.interview-topics ul {
    list-style: none;
}

.interview-topics li {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.interview-topics li:hover {
    background-color: #f8f9fa;
}

.interview-topics li.active {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.interview-chat {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-right: 1px solid #eaeaea;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.chat-header h3 {
    font-weight: 500;
}

.controls button {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    margin-left: 10px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: var(--transition);
}

.controls button:hover {
    background-color: #eaeaea;
}

.chat-messages {
    flex: 1;
    margin-bottom: 20px;
    overflow-y: auto;
}

.message {
    display: flex;
    margin-bottom: 20px;
}

.message .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #eaeaea;
    flex-shrink: 0;
}

.message.interviewer {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    justify-content: flex-end;
}

.message .content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    margin: 0 10px;
}

.message.interviewer .content {
    background-color: #f0f0f0;
}

.message.user .content {
    background-color: var(--primary-color);
    color: white;
}

.chat-input {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 25px;
    padding: 10px;
}

.chat-input textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    resize: none;
    font-family: inherit;
    outline: none;
}

.chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background-color: var(--secondary-color);
}

.interview-analysis {
    padding: 25px;
}

.interview-analysis h4 {
    margin-bottom: 15px;
    font-weight: 500;
}

.analysis-content {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.analysis-content p {
    margin-bottom: 10px;
}

.analysis-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.analysis-content li {
    margin-bottom: 5px;
}

/* ===== 笔试模拟部分 ===== */
.exam-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.exam-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.exam-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.exam-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    background-color: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
}

.exam-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.exam-card h3 {
    margin-bottom: 15px;
    font-weight: 500;
}

.exam-card p {
    color: var(--gray-color);
    margin-bottom: 25px;
}

.exam-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: 500;
}

.exam-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.exam-companies h3 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
}

.company-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.company-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: white;
    border-radius: 20px;
    color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.company-badge:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== 注册提示部分 ===== */
.signup-section {
    background: linear-gradient(135deg, var(--primary-color), #0b57e0);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.signup-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.signup-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.signup-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
}

/* ===== 页脚部分 ===== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group a:hover {
    color: white;
}

.footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
}

/* ===== 登录模态框 ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 30px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--danger-color);
}

.modal-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.tab-btn.active {
    border-bottom: 2px solid var(--primary-color);
    opacity: 1;
    font-weight: 500;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-password {
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    margin-bottom: 15px;
    color: var(--gray-color);
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #eaeaea;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

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

.social-btn.qq {
    background-color: #12b7f5;
    color: white;
}

.form-agreement {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-agreement a {
    text-decoration: underline;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-date {
        left: 80px;
        transform: translateX(0);
    }

    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: 80px;
        transform: translateX(0);
    }

    .interview-demo {
        grid-template-columns: 200px 1fr;
    }

    .interview-analysis {
        grid-column: span 2;
        border-top: 1px solid #eaeaea;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .tracker-header {
        flex-direction: column;
        gap: 20px;
    }

    .tracker-stats {
        width: 100%;
        justify-content: space-between;
    }

    .stat-card {
        min-width: auto;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .timeline-content {
        padding: 20px;
    }

    .tracker-stats {
        flex-direction: column;
    }

    .table-header, .table-row {
        grid-template-columns: 2fr 2fr 1fr;
    }

    .col:nth-child(3), .col:nth-child(5) {
        display: none;
    }

    .interview-demo {
        grid-template-columns: 1fr;
    }

    .interview-sidebar {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }

    .interview-analysis {
        grid-column: span 1;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-date {
        width: auto;
        left: 60px;
    }

    .table-header, .table-row {
        grid-template-columns: 1fr 1fr;
    }

    .col:nth-child(3), .col:nth-child(5), .col:nth-child(4) {
        display: none;
    }

    .modal-content {
        width: 90%;
    }
} 