:root {
    --bg-color: #f5f5f7;
    --card-bg: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent: #0071e3;
    --border: rgba(0, 0, 0, 0.08);
    --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif; background-color: var(--bg-color); color: var(--text-main); -webkit-font-smoothing: antialiased; line-height: 1.5; }

/* Cupertino Glass Navigation */
header { position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); width: calc(100% - 3rem); max-width: 800px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 30px; z-index: 100; box-shadow: 0 4px 30px rgba(0,0,0,0.03); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 2rem; }
nav .logo { font-weight: 600; font-size: 1.1rem; color: var(--text-main); text-decoration: none; letter-spacing: -0.01em; }
nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.85rem; transition: color 0.2s ease; }
nav a:hover { color: var(--text-main); }

main { max-width: 980px; margin: 160px auto 100px; padding: 0 2rem; }
section { padding: 6rem 0 4rem; border-bottom: 1px solid var(--border); }

/* Typography System */
.eyebrow { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.5rem; }
.section-title { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 2.5rem; }

/* Hero Bento Layout */
.hero { min-height: 35vh; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.4rem; font-weight: 500; color: var(--text-muted); max-width: 700px; line-height: 1.4; letter-spacing: -0.01em; }

/* iOS-Style Bento Card Grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--card-bg); border: 1px solid var(--border); padding: 2.5rem; border-radius: var(--radius); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 1px 2px rgba(0,0,0,0.01); }
.card:hover { transform: scale(1.015); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04); border-color: rgba(0,0,0,0.12); }

/* Interactive Pill Chips (Skills) */
.skills-container { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.skill-badge { background: #f5f5f7; color: var(--text-main); padding: 0.6rem 1.2rem; border-radius: 20px; font-weight: 500; font-size: 0.9rem; border: 1px solid rgba(0,0,0,0.03); transition: background 0.2s; cursor: default; }
.skill-badge:hover { background: #e8e8ed; }

/* Project Cards */
.project-card h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.project-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.apple-link { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.2rem; }
.apple-link:hover text-decoration { text-decoration: underline; }

/* Clean Timeline List (Experience) */
.timeline { display: flex; flex-direction: column; gap: 2.5rem; }
.timeline-item { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; }
.time-frame { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.job-title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.company { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

/* Achievements Minimal Row Layout */
.bullet-row { list-style: none; }
.bullet-row li { font-size: 1.05rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); color: var(--text-main); }
.bullet-row li:last-child { border-bottom: none; }
.bullet-row strong { font-weight: 600; }

@media (max-width: 768px) {
    header { width: calc(100% - 1.5rem); top: 0.75rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.15rem; }
    .timeline-item { grid-template-columns: 1fr; gap: 0.25rem; }
    nav ul { display: none; }
}