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

:root {
    --dark: #0d1117;
    --dark2: #161b22;
    --accent: #58a6ff;
    --accent2: #79c0ff;
    --text: #c9d1d9;
    --text-light: #8b949e;
    --white: #ffffff;
    --radius: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Heebo', sans-serif; background: #f6f8fa; color: #24292f; line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar { background: var(--dark); padding: 0 24px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-weight: 800; font-size: 18px; color: var(--white); }
.navbar nav { display: flex; gap: 28px; }
.navbar nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.navbar nav a:hover { color: var(--accent); }

/* HERO */
.hero { background: var(--dark); padding: 100px 24px; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-text { flex: 1; }
.hero-tag { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.hero-text h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.55); max-width: 480px; margin-bottom: 36px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-main { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--dark); font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 50px; transition: all 0.2s; }
.btn-main:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-sec { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 50px; transition: all 0.2s; }
.btn-sec:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual { flex: 0 0 220px; display: flex; justify-content: center; }
.avatar-ring { width: 200px; height: 200px; border-radius: 50%; border: 3px solid rgba(88,166,255,0.3); display: flex; align-items: center; justify-content: center; animation: pulse 3s ease-in-out infinite; }
.avatar-inner { width: 160px; height: 160px; border-radius: 50%; background: linear-gradient(135deg, rgba(88,166,255,0.15), rgba(121,192,255,0.1)); display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--accent); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(88,166,255,0.2); } 50% { box-shadow: 0 0 0 20px rgba(88,166,255,0); } }

/* SECTIONS */
.section { padding: 96px 24px; }
.section-dark { background: var(--dark); }
.container { max-width: 1100px; margin: 0 auto; }

.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); background: rgba(88,166,255,0.1); display: inline-block; padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.section-label.light { background: rgba(88,166,255,0.15); }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #24292f; margin-bottom: 20px; }
h2.light { color: var(--white); }
.section-desc { font-size: 16px; color: #57606a; max-width: 700px; margin-bottom: 48px; }
.section-desc.light { color: rgba(255,255,255,0.5); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { font-size: 16px; color: #24292f; line-height: 1.85; margin-bottom: 16px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-card { background: white; border: 1px solid #e6eaf0; border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: all 0.2s; }
.about-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.about-card i { font-size: 28px; color: var(--accent); margin-bottom: 10px; }
.about-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.about-card p { font-size: 13px; color: #57606a; }

/* BLOG POSTS */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.post-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px; transition: all 0.2s; }
.post-card:hover { border-color: rgba(88,166,255,0.3); transform: translateY(-4px); }
.post-icon { font-size: 32px; color: var(--accent); margin-bottom: 14px; }
.post-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.post-card p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 16px; line-height: 1.7; }
.post-card a { font-size: 14px; font-weight: 600; color: var(--accent); }
.post-card a:hover { color: var(--accent2); }
.blog-cta { text-align: center; }

/* SKILLS */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.skill-item { display: flex; align-items: center; gap: 14px; background: white; border: 1px solid #e6eaf0; border-radius: 12px; padding: 18px 20px; font-size: 15px; font-weight: 600; color: #24292f; transition: all 0.2s; }
.skill-item:hover { border-color: var(--accent); color: var(--accent); }
.skill-item i { color: var(--accent); font-size: 18px; }

/* FOOD */
.food-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.food-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all 0.2s; }
.food-card:hover { border-color: rgba(88,166,255,0.3); transform: translateY(-4px); }
.food-card i { font-size: 36px; color: var(--accent); margin-bottom: 14px; }
.food-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.food-card p { font-size: 14px; color: rgba(255,255,255,0.45); }

/* SOCIAL */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social-card { display: flex; flex-direction: column; align-items: center; gap: 12px; background: white; border: 1px solid #e6eaf0; border-radius: var(--radius); padding: 28px 20px; text-align: center; font-size: 14px; font-weight: 600; color: #24292f; transition: all 0.2s; }
.social-card:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.social-card i { font-size: 28px; color: var(--accent); }

/* FOOTER */
.footer { background: var(--dark); padding: 40px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.footer p { font-size: 14px; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.4); margin: 0 6px; font-size: 13px; }
.footer-links a:hover { color: var(--accent); }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.stat-card { background: white; border: 1px solid #e6eaf0; border-radius: var(--radius); padding: 32px 20px; text-align: center; transition: all 0.2s; }
.stat-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.stat-num { font-size: 52px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-plus { font-size: 28px; font-weight: 700; color: var(--accent); vertical-align: top; margin-top: 8px; display: inline-block; }
.stat-label { display: block; font-size: 14px; color: #57606a; margin-top: 8px; font-weight: 500; }

/* QUOTE */
blockquote.quote { border-right: 3px solid var(--accent); padding: 16px 20px; margin: 24px 0; background: rgba(88,166,255,0.06); border-radius: 0 12px 12px 0; }
blockquote.quote p, blockquote.quote { font-size: 17px; color: #24292f; font-style: italic; margin: 0; }
blockquote.quote cite { display: block; margin-top: 8px; font-size: 13px; color: #57606a; font-style: normal; font-weight: 600; }

/* POST DATE */
.post-date { font-size: 12px; color: rgba(255,255,255,0.35); display: block; margin-bottom: 6px; }
.post-card h3 a { color: var(--white); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }

/* SKELETON */
.skeleton { animation: shimmer-bg 1.5s infinite; }
.skeleton-line { height: 14px; background: rgba(255,255,255,0.08); border-radius: 6px; margin-bottom: 10px; }
.skeleton-line.short { width: 60%; }
@keyframes shimmer-bg { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* FOOD CARDS as links */
.food-card { display: block; color: inherit; }
.food-link { font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 10px; display: inline-block; }
.food-card:hover .food-link { color: var(--accent2); }

/* SOCIAL card small */
.social-card small { display: block; font-size: 12px; color: #57606a; margin-top: 4px; }
.section-dark .social-card small { color: rgba(255,255,255,0.35); }

/* MOBILE NAV */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 1.5px solid rgba(88,166,255,0.4); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-burger { display: flex; }
    #navLinks { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 20px 24px; gap: 18px; border-bottom: 1px solid rgba(88,166,255,0.1); z-index: 99; }
    #navLinks.open { display: flex; }
    #navLinks a { font-size: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-sub { margin: 0 auto 36px; }
    .hero-ctas { justify-content: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .posts-grid, .skills-grid, .food-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
