/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --bg-color: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #1e293b;
    --text-color: #1f2937;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    background: var(--gradient);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hero-badges {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-highlight {
    background: #fbbf24;
    color: #1f2937;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .highlight {
    color: #fbbf24;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero .description {
    max-width: 550px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.salary-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.salary-highlight .label {
    opacity: 0.9;
    font-size: 1.1rem;
}

.salary-highlight .amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fbbf24;
}

.salary-highlight .location {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-accent {
    background: #fbbf24;
    color: #1f2937;
}

.btn-accent:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.avatar {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.stats {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* 通用区域样式 */
.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* 前端提效龙虾横幅 */
.lobster-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.lobster-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.lobster-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.lobster-banner {
    position: relative;
    z-index: 1;
}

.lobster-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lobster-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ff6b6b;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.lobster-info {
    flex: 1;
}

.lobster-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lobster-title .highlight {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.lobster-title .badge {
    background: rgba(255, 255, 255, 0.95);
    color: #ff6b6b;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lobster-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 10px;
}

.lobster-desc .efficiency {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: 600;
}

.lobster-desc .efficiency strong {
    color: #fff;
    font-size: 1.2rem;
}

.lobster-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.lobster-status i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 响应式 */
@media (max-width: 768px) {
    .lobster-section {
        padding: 20px 0;
    }

    .lobster-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .lobster-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .lobster-title {
        font-size: 1.3rem;
        justify-content: center;
    }

    .lobster-desc {
        font-size: 0.9rem;
    }

    .lobster-desc .efficiency {
        display: block;
        margin: 8px auto 0;
        margin-left: 0;
    }
}

/* 个人优势区域 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 4px solid var(--primary-color);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: white;
}

.advantage-card h3 {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 关于我区域（保留原样式） */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.about-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 简历区域 */
.resume-preview {
    max-width: 600px;
    margin: 0 auto;
}

.resume-info {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.pdf-icon {
    font-size: 5rem;
    color: #ef4444;
    margin-bottom: 1.5rem;
}

.resume-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.resume-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.resume-info .btn {
    margin: 0 0.5rem;
}

/* 作品集区域 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
    padding: 2rem;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-thumb {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.portfolio-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.view-all {
    text-align: center;
}

/* 工作经历时间线 */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 26px;
    height: 26px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.timeline-header .company {
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-header .period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: auto;
}

.timeline-body ul {
    margin: 0;
    padding-left: 1.5rem;
}

.timeline-body li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.timeline-body strong {
    color: var(--text-color);
}

/* 扫码体验区 */
.qrcode-showcase {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
}

.qrcode-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
}

.qrcode-image {
    position: relative;
    text-align: center;
}

.qrcode-image img {
    width: 100%;
    max-width: 260px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
}

.scan-tip {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.scan-tip i {
    font-size: 1.1rem;
}

.qrcode-info {
    padding: 1rem 0;
}

.qrcode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fe2c55 0%, #ff6b6b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.qrcode-info h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.qrcode-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.qrcode-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.meta-tag {
    background: var(--bg-alt);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-tag i {
    color: var(--primary-color);
}

.qrcode-tech {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tech-item {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.qrcode-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qrcode-features li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.qrcode-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* 作品展示高亮区域 */
.portfolio-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.highlight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.highlight-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.highlight-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.highlight-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.highlight-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.highlight-tech span {
    background: var(--bg-alt);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.highlight-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.highlight-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.subsection-title {
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

/* 联系区域新样式 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 50px;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-salary {
    background: var(--gradient);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.contact-method-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.method-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.method-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.method-value {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-action {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 联系方式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
}

/* 页脚 */
.footer {
    background-color: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* ==================== 简历页面样式 ==================== */
.resume-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.resume-header h1 {
    font-size: 2rem;
    color: var(--text-color);
}

.resume-header h1 i {
    color: #ef4444;
    margin-right: 0.5rem;
}

.resume-actions {
    display: flex;
    gap: 1rem;
}

.pdf-viewer-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.pdf-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.toolbar-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.toolbar-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-info {
    font-weight: 500;
    color: var(--text-color);
}

.toolbar-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}

.zoom-text {
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

.pdf-viewer {
    position: relative;
    height: 800px;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
}

.fallback-icon {
    font-size: 5rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.pdf-fallback h3 {
    margin-bottom: 0.5rem;
}

.pdf-fallback p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ==================== 演示页面样式 ==================== */
.demo-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    background: var(--bg-dark);
}

.demo-header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.demo-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.demo-header h1 i {
    color: var(--accent-color);
}

.demo-header p {
    opacity: 0.8;
}

.demo-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-sidebar {
    background: var(--bg-alt);
    padding: 1.5rem;
    max-height: 700px;
    overflow-y: auto;
}

.video-sidebar h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.video-sidebar h3 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.video-list {
    list-style: none;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.video-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.video-item.active {
    background: var(--gradient);
    color: white;
}

.video-item.active .video-icon {
    background: rgba(255, 255, 255, 0.2);
}

.video-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-name {
    flex: 1;
    font-weight: 500;
}

.play-icon {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover .play-icon,
.video-item.active .play-icon {
    opacity: 1;
}

.video-main {
    padding: 1.5rem;
}

.video-container-large {
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.video-container-large video {
    width: 100%;
    max-height: 500px;
    display: block;
}

.video-info-panel {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.video-info-panel h2 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.video-info-panel p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.video-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

/* 滚动条样式 */
.video-sidebar::-webkit-scrollbar {
    width: 6px;
}

.video-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.video-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.video-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .demo-layout {
        grid-template-columns: 1fr;
    }
    
    .video-sidebar {
        max-height: 300px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .portfolio-highlight {
        grid-template-columns: 1fr;
    }
    
    .qrcode-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .qrcode-image {
        margin: 0 auto;
    }
    
    .qrcode-image img {
        max-width: 200px;
    }
    
    .qrcode-meta {
        justify-content: center;
    }
    
    .qrcode-tech {
        justify-content: center;
    }
    
    .qrcode-features li {
        text-align: left;
    }
    
    .stats {
        gap: 1.5rem;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .salary-highlight {
        justify-content: center;
    }
    
    .hero .description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .avatar {
        width: 150px;
        height: 150px;
        font-size: 75px;
    }
    
    .stats {
        width: 100%;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .resume-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pdf-viewer {
        height: 500px;
    }
    
    .video-sidebar {
        max-height: 250px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-marker {
        left: 3px;
        width: 24px;
        height: 24px;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .timeline-header .period {
        margin-left: 0;
    }
    
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-method-item {
        flex-wrap: wrap;
    }
    
    .contact-action {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .pdf-toolbar {
        justify-content: center;
    }
    
    .qrcode-showcase {
        padding: 1.5rem;
    }
    
    .qrcode-content {
        gap: 2rem;
    }
    
    .qrcode-image img {
        max-width: 180px;
    }
    
    .scan-tip {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    
    .qrcode-info h3 {
        font-size: 1.4rem;
    }
    
    .qrcode-desc {
        font-size: 0.95rem;
    }
    
    .qrcode-meta {
        gap: 0.5rem;
    }
    
    .meta-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .toolbar-divider {
        display: none;
    }
    
    .ability-grid {
        grid-template-columns: 1fr;
    }
    
    .salary-amount .number {
        font-size: 2.5rem;
    }
}

/* ==================== 技能区域新样式 ==================== */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: var(--bg-alt);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.skill-tag.expert {
    background: var(--gradient);
    color: white;
}

/* 详细能力 */
.detailed-skills {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.detailed-skills h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.ability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.2rem;
}

.ability-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    transition: all 0.3s;
}

.ability-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateX(5px);
}

.ability-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
}

.ability-item span {
    color: var(--text-color);
    line-height: 1.6;
}

/* ==================== 薪资期望区域 ==================== */
.salary-card {
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.salary-amount {
    margin-bottom: 2.5rem;
}

.salary-amount .currency {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    vertical-align: top;
}

.salary-amount .number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.salary-amount .period {
    font-size: 1.2rem;
    color: var(--text-light);
}

.salary-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    color: var(--text-color);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ==================== 联系区域新样式 ==================== */
.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.copy-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.copy-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.copy-btn i {
    margin-right: 4px;
}

.contact-action {
    text-align: center;
    margin-top: 3rem;
}

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
