/* ===== Showcase Styles ===== */
/* 复用 style.css 的 CSS 变量：--bg-primary, --accent, --border 等 */

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,115,85,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero h1 span {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.stat { text-align: center; }

.stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted, #8a8578);
    margin-top: 0.4rem;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeUp 0.8s ease 1.2s forwards;
}

.scroll-hint svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    opacity: 0.4;
    animation: bounce 2s ease-in-out infinite;
}

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

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Sections ===== */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.4;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0.8rem auto 0;
    line-height: 1.9;
}

/* ===== Divider ===== */
.divider {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ===== Category Cards ===== */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.4s ease;
}

.category-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.category-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 10px;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(139,115,85,0.18);
    color: var(--text-primary);
}

/* ===== Featured ===== */
.featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(139,115,85,0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
}

.timeline-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    padding: 100px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.cta-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: var(--accent);
    color: #fff;
}

.cta-btn-primary:hover {
    background: #7a6548;
    box-shadow: 0 4px 20px rgba(139,115,85,0.3);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--border);
}

.cta-btn-secondary:hover {
    background: var(--accent-light);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 40px 24px;
    font-size: 0.8rem;
    color: var(--text-muted, #8a8578);
    border-top: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== Fade-in ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
    .hero { min-height: 90vh; padding: 40px 20px; }
    .hero-stats { gap: 2rem; }
    .stat-num { font-size: 1.8rem; }
    .section { padding: 60px 20px; }
    .categories { grid-template-columns: 1fr; }
    .featured { grid-template-columns: 1fr; }
    .timeline { padding-left: 32px; }
}

/* ===== Drawer ===== */
.fab-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196,120,90,0.3);
}

.fab-btn:hover {
    transform: scale(1.08);
}

.fab-btn.open {
    transform: rotate(45deg);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-card);
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
    z-index: 101;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 24px 40px;
    overflow-y: auto;
}

.drawer-overlay.open .drawer-panel {
    transform: translateX(0);
}

.drawer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.drawer-item:hover {
    background: var(--accent-light);
}

.drawer-icon {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 10px;
    flex-shrink: 0;
}

.drawer-name {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.drawer-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
}
