:root {
  --bg:          #f5f7ff;
  --bg2:         #eef1fb;
  --bg3:         #e4e9f7;
  --blue:        #2563eb;
  --blue-bright: #3b82f6;
  --blue-dim:    #bfdbfe;
  --blue-deep:   #1d4ed8;
  --cyan:        #0891b2;
  --text:        #0f172a;
  --muted:       #64748b;
  --border:      rgba(37,99,235,0.12);
  --border-soft: rgba(0,0,0,0.07);
  --glow:        rgba(37,99,235,0.18);
  --shadow:      0 4px 24px rgba(37,99,235,0.10);
  --shadow-lg:   0 8px 40px rgba(37,99,235,0.15);
  --font-head:   'Syne', sans-serif;
  --font-mono:   'DM Mono', monospace;
  --font-body:   'Outfit', sans-serif;
  --radius:      14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── CURSOR ── */
.cursor, .cursor-trail {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.cursor { width: 9px; height: 9px; background: var(--blue); mix-blend-mode: multiply; }
.cursor-trail { width: 28px; height: 28px; border: 1.5px solid rgba(37,99,235,0.4); transition: transform 0.12s ease, border-color 0.2s; }
@media (hover: none) { .cursor, .cursor-trail { display: none !important; } }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  padding: 1.3rem 3rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(245,247,255,0.75);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled { border-color: var(--border-soft); background: rgba(245,247,255,0.96); box-shadow: 0 2px 20px rgba(37,99,235,0.08); }
.nav-logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.nav-logo .dot { color: var(--blue); }
.nav-links { display: flex; gap: 2.5rem; justify-content: center; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s; position: relative;
}
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--blue); transition: width 0.25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 201; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }

.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(245,247,255,0.98); z-index: 199; flex-direction: column; align-items: center; justify-content: center; }
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.75rem; text-align: center; }
.mobile-menu a { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--muted); transition: color 0.2s, transform 0.2s; display: block; }
.mobile-menu a:hover { color: var(--blue); transform: translateX(8px); }

/* ── REVEAL ANIMATIONS ── */
.reveal-up { opacity: 0; transform: translateY(28px); animation: revealUp 0.75s cubic-bezier(0.22,1,0.36,1) forwards; animation-delay: var(--d, 0s); }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 8rem 3rem 5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #f5f7ff 100%);
}
#hero::before {
  content: ''; position: absolute; top: -20%; left: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; bottom: -10%; right: 5%;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse, rgba(8,145,178,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
#gridCanvas { width: 100%; height: 100%; opacity: 0.15; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.hero-content { max-width: 560px; }
.hero-visual { display: flex; align-items: center; justify-content: center; }

.hero-tag { font-family: var(--font-mono); font-size: 0.85rem; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 1rem; }
.hero-name { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--text); }
.outline-text { -webkit-text-stroke: 2.5px var(--blue); color: transparent; }
.hero-subtitle { font-size: clamp(0.88rem, 2.5vw, 1.1rem); color: var(--muted); margin-bottom: 2rem; font-weight: 400; }
.hero-ctas { display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }

.btn-primary { padding: 0.85rem 1.9rem; background: var(--blue); color: #fff; border-radius: 7px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; display: inline-block; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.45); }
.btn-ghost { padding: 0.85rem 1.9rem; border: 1.5px solid rgba(37,99,235,0.3); border-radius: 7px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--blue); background: rgba(37,99,235,0.04); transition: border-color 0.2s, background 0.2s, transform 0.2s; display: inline-block; }
.btn-ghost:hover { border-color: var(--blue); background: rgba(37,99,235,0.08); transform: translateY(-2px); }

.hero-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.badge { padding: 0.32rem 0.85rem; background: rgba(255,255,255,0.8); border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); box-shadow: 0 1px 4px rgba(37,99,235,0.07); }

.scroll-indicator { position: absolute; bottom: 2.5rem; right: 3rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; }
.scroll-indicator span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 55px; background: linear-gradient(to bottom, var(--blue), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.8); } 50% { opacity: 1; transform: scaleY(1); } }

/* ── SECTIONS ── */
section { padding: 6rem 0; }
.section-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.section-heading { font-family: var(--font-head); font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 3rem; color: var(--text); }
.section-heading em { font-style: normal; color: var(--blue); }

/* ── ABOUT ── */
#about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 760px; }
.about-text p { color: var(--muted); margin-bottom: 1.1rem; font-weight: 400; font-size: 0.99rem; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border-soft); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num, .stat-suffix { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--blue); line-height: 1; display: inline; }
.stat-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.3rem; }

/* ── PROFILE PICTURE ── */
.about-visual { display: flex; justify-content: center; align-items: center; }
.profile-wrapper { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; }

.profile-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(37,99,235,0.15); }
.ring-a { width: 318px; height: 318px; animation: ringSpin 20s linear infinite; border-color: rgba(37,99,235,0.12); }
.ring-b { width: 262px; height: 262px; animation: ringSpin 13s linear infinite reverse; border-color: rgba(8,145,178,0.10); }
.ring-c { width: 206px; height: 206px; animation: ringPulse2 3.5s ease-in-out infinite; border-color: rgba(37,99,235,0.22); }
@keyframes ringSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringPulse2 { 0%,100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.04); } }

.profile-light-arc { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0%, rgba(37,99,235,0.75) 10%, rgba(8,145,178,0.55) 22%, rgba(96,165,250,0.3) 35%, transparent 50%, transparent 100%); animation: arcRotate 3s linear infinite; z-index: 1; filter: blur(3px); }
@keyframes arcRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.profile-sparks { position: absolute; width: 320px; height: 320px; top: 0; left: 0; pointer-events: none; z-index: 2; }

.profile-box { position: relative; width: 164px; height: 164px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(37,99,235,0.5); box-shadow: 0 0 0 4px rgba(245,247,255,1), 0 0 24px rgba(37,99,235,0.25), 0 0 60px rgba(37,99,235,0.10), 0 8px 32px rgba(37,99,235,0.15); z-index: 3; }
.profile-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 50%; display: block; }
.profile-fallback { display: none; width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue), var(--cyan)); align-items: center; justify-content: center; font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: #fff; }

.profile-shimmer { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.5) 50%, transparent 75%); background-size: 200% 200%; animation: shimmerSweep 4s ease-in-out infinite; pointer-events: none; z-index: 4; }
@keyframes shimmerSweep { 0% { background-position: 200% 0%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { background-position: -100% 100%; opacity: 0; } }

.float-chip { position: absolute; z-index: 5; padding: 0.38rem 0.8rem; background: rgba(255,255,255,0.95); border: 1px solid rgba(37,99,235,0.18); border-radius: 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text); white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(37,99,235,0.12); }
.chip-1 { top: 14px;    right: -4px;  animation: chipFloat 3.2s ease-in-out infinite 0s; }
.chip-2 { top: 54px;    left: -14px;  animation: chipFloat 3.2s ease-in-out infinite 0.8s; }
.chip-3 { bottom: 42px; right: -8px;  animation: chipFloat 3.2s ease-in-out infinite 1.6s; }
.chip-4 { bottom: 16px; left: -4px;   animation: chipFloat 3.2s ease-in-out infinite 2.4s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── TIMELINE ── */
#certifications { background: var(--bg2); }
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1.5px; background: linear-gradient(to bottom, var(--blue), transparent); }
.timeline-item { position: relative; margin-bottom: 3rem; padding-left: 2rem; }
.timeline-dot { position: absolute; left: -2rem; top: 0.45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px rgba(37,99,235,0.35); }
.timeline-date { font-family: var(--font-mono); font-size: 0.73rem; color: var(--blue); letter-spacing: 0.06em; margin-bottom: 0.7rem; }
.timeline-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.timeline-card:hover { border-color: rgba(37,99,235,0.2); transform: translateX(4px); box-shadow: var(--shadow-lg); }
.tcard-header { margin-bottom: 1.1rem; }
.tcard-header h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--text); }
.tcard-org { display: block; font-size: 0.85rem; color: var(--muted); }
.tcard-loc { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 0.15rem; }
.tcard-points { margin-bottom: 1.2rem; }
.tcard-points li { position: relative; padding-left: 1.2rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 400; }
.tcard-points li::before { content: '▹'; position: absolute; left: 0; color: var(--blue); }
.tcard-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tcard-tags span { padding: 0.22rem 0.65rem; background: var(--blue-dim); color: var(--blue-deep); border-radius: 4px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; }

/* ── PROJECTS ── */
#projects { background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.project-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 2rem; position: relative; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; display: flex; flex-direction: column; box-shadow: var(--shadow); transform-style: preserve-3d; }
.project-card:hover { border-color: rgba(37,99,235,0.2); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card.featured { border-top: 3px solid var(--blue); border-color: rgba(37,99,235,0.15); }
.project-card.featured::before { content: '★ Featured'; position: absolute; top: 1rem; right: 1rem; font-family: var(--font-mono); font-size: 0.62rem; color: var(--blue); letter-spacing: 0.06em; }
.proj-glow { position: absolute; bottom: -50px; right: -50px; width: 130px; height: 130px; border-radius: 50%; background: rgba(37,99,235,0.07); filter: blur(30px); transition: opacity 0.4s; opacity: 0; pointer-events: none; }
.project-card:hover .proj-glow { opacity: 1; }
.proj-number { font-family: var(--font-mono); font-size: 0.68rem; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 0.45rem; }
.proj-label  { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.7rem; }
.proj-title  { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.7rem; color: var(--text); }
.proj-desc   { font-size: 0.87rem; color: var(--muted); font-weight: 400; flex: 1; margin-bottom: 1.2rem; line-height: 1.65; }
.proj-tech   { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.proj-tech span { padding: 0.2rem 0.55rem; background: var(--bg3); border: 1px solid var(--border); border-radius: 4px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted); }
.proj-note { display: flex; align-items: flex-start; gap: 0.5rem; background: rgba(37,99,235,0.04); border: 1px solid rgba(37,99,235,0.12); border-radius: 8px; padding: 0.65rem 0.85rem; margin-bottom: 1.1rem; font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.proj-note strong { color: var(--blue-deep); font-weight: 600; }
.note-icon { flex-shrink: 0; }
.proj-links { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.proj-link { font-family: var(--font-mono); font-size: 0.76rem; color: var(--blue); border-bottom: 1px solid var(--blue-dim); padding-bottom: 1px; transition: border-color 0.2s, color 0.2s; }
.proj-link:hover { border-color: var(--blue); color: var(--blue-deep); }
.proj-link.ghost { color: var(--muted); border-color: rgba(0,0,0,0.12); }
.proj-link.ghost:hover { color: var(--text); border-color: var(--muted); }
.proj-link.live-badge { color: #16a34a; border-color: rgba(22,163,74,0.3); font-weight: 600; }
.proj-link.live-badge:hover { border-color: #16a34a; }
.proj-link-disabled { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); opacity: 0.5; cursor: default; }

/* ── SKILLS ── */
#skills { background: var(--bg2); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.skill-category { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.65rem; box-shadow: var(--shadow); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.skill-category::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--blue), var(--cyan)); opacity: 0; transition: opacity 0.3s; }
.skill-category:hover { border-color: rgba(37,99,235,0.2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.skill-category:hover::after { opacity: 1; }
.skill-icon { font-size: 1.75rem; margin-bottom: 0.7rem; }
.skill-category h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; color: var(--text); }
.skill-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.skill-pills span { padding: 0.28rem 0.7rem; background: var(--bg2); border: 1px solid rgba(37,99,235,0.12); border-radius: 999px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); transition: border-color 0.2s, color 0.2s, background 0.2s; display: inline-flex; align-items: center; gap: 0.3rem; }
.skill-pills span:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-dim); }
.tag-learning { font-style: normal; font-size: 0.58rem; background: rgba(234,179,8,0.12); color: #854d0e; padding: 0.1rem 0.35rem; border-radius: 4px; font-weight: 600; }

.content-creator-card { border-color: rgba(239,68,68,0.12); }
.content-creator-card:hover { border-color: rgba(239,68,68,0.25) !important; }
.content-creator-card::after { background: linear-gradient(to right, #ef4444, #f97316) !important; }
.yt-channel-btn { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; padding: 0.45rem 1rem; background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); border-radius: 7px; font-family: var(--font-mono); font-size: 0.72rem; color: #dc2626; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.yt-channel-btn svg { width: 14px; height: 14px; }
.yt-channel-btn:hover { background: rgba(239,68,68,0.12); border-color: #dc2626; transform: translateY(-2px); }

/* ── CONTACT ── */
#contact { background: #fff; text-align: center; }
.contact-inner { max-width: 620px; margin: 0 auto; }
.contact-heading { font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.2rem; color: var(--text); }
.contact-heading em { font-style: normal; color: var(--blue); }
.contact-sub { color: var(--muted); font-size: 0.98rem; font-weight: 400; margin-bottom: 2.5rem; line-height: 1.7; }
.contact-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 1.1rem 2.6rem; background: var(--blue); border: none; border-radius: 9px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; margin-bottom: 3rem; box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
.contact-btn:hover { background: var(--blue-deep); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,99,235,0.45); }
.contact-btn-email { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(255,255,255,0.75); font-weight: 400; letter-spacing: 0.04em; }

.social-links { display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); padding: 0.55rem 1.1rem; background: var(--bg); border: 1px solid var(--border-soft); border-radius: 7px; transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.social-link:hover { color: var(--blue); border-color: rgba(37,99,235,0.3); transform: translateY(-2px); background: #fff; box-shadow: var(--shadow); }
.social-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.social-yt:hover { color: #dc2626 !important; border-color: rgba(220,38,38,0.3) !important; }
.social-wa:hover { color: #16a34a !important; border-color: rgba(22,163,74,0.3) !important; }

/* ── FOOTER ── */
footer { padding: 2rem 0; border-top: 1px solid var(--border-soft); text-align: center; background: var(--bg2); }
footer p { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); margin-bottom: 0.3rem; }
.footer-quote { font-style: italic; opacity: 0.6 !important; }

/* ── SCROLL REVEAL ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 960px) {
  .about-visual { order: -1; }
  .profile-wrapper { width: 280px; height: 280px; }
  .ring-a { width: 278px; height: 278px; }
  .ring-b { width: 228px; height: 228px; }
  .ring-c { width: 180px; height: 180px; }
  .profile-sparks { width: 280px; height: 280px; }
  .profile-light-arc { width: 168px; height: 168px; }
  .profile-box { width: 148px; height: 148px; }
}
@media (max-width: 768px) {
  #navbar { padding: 1.1rem 1.4rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero { padding: 7rem 1.5rem 5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .scroll-indicator { display: none; }
  section { padding: 4.5rem 0; }
  .about-stats { gap: 1.5rem; }
  .timeline { padding-left: 1rem; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-dot { left: -1.6rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .social-links { gap: 0.65rem; }
  .social-link { font-size: 0.7rem; padding: 0.5rem 0.85rem; }
  .contact-btn { padding: 0.95rem 2rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 1.2rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 0.5rem; }
  .badge { font-size: 0.66rem; padding: 0.28rem 0.7rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; width: 100%; }
  .social-links { flex-direction: column; align-items: center; }
  .social-link { width: 85%; justify-content: center; }
  .profile-wrapper { width: 240px; height: 240px; }
  .ring-a { width: 238px; height: 238px; }
  .ring-b { width: 195px; height: 195px; }
  .ring-c { width: 154px; height: 154px; }
  .profile-sparks { width: 240px; height: 240px; }
  .profile-light-arc { width: 148px; height: 148px; }
  .profile-box { width: 130px; height: 130px; }
  .chip-1, .chip-2, .chip-3, .chip-4 { font-size: 0.62rem; padding: 0.3rem 0.6rem; }
  .chip-1 { right: -8px; } .chip-2 { left: -18px; }
  .chip-3 { right: -12px; } .chip-4 { left: -8px; }
}
