/* Zhou Zhou - Glassmorphism Portfolio */

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --accent: #06b6d4;
    --bg-dark: #030307;
    --bg-section: #0a0a12;
    --bg-card: rgba(20, 20, 35, 0.6);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glow-purple: rgba(139, 92, 246, 0.4);
    --glow-cyan: rgba(6, 182, 212, 0.3);
    --glow-pink: rgba(236, 72, 153, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animated Background */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 15% 20%, var(--glow-purple) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, var(--glow-cyan) 0%, transparent 40%),
        radial-gradient(ellipse at 75% 85%, var(--glow-pink) 0%, transparent 45%),
        radial-gradient(ellipse at 35% 65%, rgba(99, 102, 241, 0.25) 0%, transparent 40%),
        var(--bg-dark);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 3, 7, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 20px var(--glow-purple);
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--glow-cyan);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px 24px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(56px, 12vw, 96px);
    font-weight: 700;
    letter-spacing: -3px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255,255,255,0.1);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-purple);
    transform: translateY(-2px);
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--glass-border);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

.section-dark {
    background: linear-gradient(180deg, transparent, var(--bg-section) 20%, var(--bg-section) 80%, transparent);
}

.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px var(--glow-purple);
    transform: translateY(-4px);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.about-text .lead {
    font-size: 26px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-purple);
    transform: translateX(4px);
}

.highlight-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.highlight-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.expertise-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px var(--glow-purple);
}

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

.expertise-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
}

.expertise-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.expertise-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Focus */
.focus-list {
    max-width: 750px;
    margin: 0 auto;
}

.focus-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.focus-item:last-child {
    border-bottom: none;
}

.focus-item:hover {
    padding-left: 12px;
}

.focus-marker {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--glow-purple);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 15px var(--glow-purple); }
    50% { box-shadow: 0 0 25px var(--glow-cyan); }
}

.focus-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.focus-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact */
.contact-content {
    text-align: center;
    padding: 60px 0;
}

.contact-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contact-content > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.1));
    box-shadow: 0 0 30px var(--glow-purple);
    transform: translateY(-2px);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 32px 0;
    background: rgba(3, 3, 7, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--glow-purple);
}

/* Scheduled Tasks */
.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.task-category {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.task-category:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px var(--glow-purple);
    transform: translateY(-4px);
}

.task-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.task-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--glass-border);
}

.task-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.task-name {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat {
        padding: 16px 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-header h2,
    .contact-content h2 {
        font-size: 32px;
    }
}
