/* ==============================
   ROOT & RESET
============================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #FACC15;
  --gold-dark: #d97706;
  --gold-glow: rgba(250,204,21,0.25);
  --accent: #7C3AED;
  --accent2: #4f46e5;
  --accent-light: #a78bfa;
  --teal: #14b8a6;
  --teal-light: #5eead4;
  --bg: #050a18;
  --bg2: #0c1428;
  --bg3: #111827;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.09);
  --glass-hover: rgba(255,255,255,0.08);
  --text: #f0f4ff;
  --text-muted: #8b9cc8;
  --text-dim: #3d4f72;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --shadow: 0 24px 64px rgba(0,0,0,0.5);
  --glow-purple: 0 0 60px rgba(124,58,237,0.2);
  --glow-gold: 0 0 40px rgba(250,204,21,0.2);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
strong { color: var(--text); font-weight: 600; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent), var(--teal)); border-radius: 4px; }

/* ==============================
   NAVBAR
============================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 5%; height: 72px;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(5,10,24,0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--glass-border), 0 4px 20px rgba(0,0,0,0.3);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1280px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: white; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124,58,237,0.4);
}
.logo-text { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
  padding: 8px 13px; border-radius: 8px; font-size: 0.85rem;
  color: var(--text-muted); transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--glass); }
.nav-cta {
  padding: 9px 20px; border-radius: 30px; margin-left: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1100; font-weight: 700; font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--gold-glow); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 10;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 30px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1100;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--gold-glow); }
.btn-ghost {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--glass-border); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--glass-hover); transform: translateY(-2px); border-color: rgba(255,255,255,0.2); }
.btn-download {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,0.45); }
.btn-full { width: 100%; }

/* ==============================
   GLASS CARD
============================== */
.glass-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.glass-card:hover { border-color: rgba(255,255,255,0.16); }

/* ==============================
   SECTIONS
============================== */
.section { padding: 120px 5%; }
.section-alt { background: var(--bg2); }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  background: rgba(250,204,21,0.08); padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(250,204,21,0.2); margin-bottom: 14px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem,4vw,2.8rem); font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 60px; line-height: 1.2;
}
.section-title span {
  background: linear-gradient(135deg, var(--gold) 30%, var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Reveal */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ==============================
   HERO
============================== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 100px 5% 80px;
}
#particles-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(80px);
}
.hero-glow-purple {
  top: -100px; left: 10%; width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, transparent 70%);
}
.hero-glow-teal {
  bottom: -100px; right: 10%; width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(20,184,166,0.14) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 80px;
  max-width: 1280px; width: 100%;
}

/* Profile image */
.hero-image-wrap { position: relative; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-image-frame {
  position: relative; width: 290px; height: 360px;
  border-radius: 28px; overflow: visible;
}
.frame-ring {
  position: absolute; border-radius: 32px; pointer-events: none;
  animation: ring-pulse 4s ease-in-out infinite;
}
.frame-ring-1 { inset: -6px; background: linear-gradient(135deg, var(--accent), var(--gold), var(--teal)); opacity: 0.6; border-radius: 34px; z-index: 0; animation-delay: 0s; }
.frame-ring-2 { inset: -12px; background: linear-gradient(135deg, var(--teal), var(--accent)); opacity: 0.25; border-radius: 38px; z-index: -1; animation-delay: 1s; }
.frame-ring-3 { inset: -20px; background: linear-gradient(135deg, var(--gold), var(--accent-light)); opacity: 0.1; border-radius: 42px; z-index: -2; animation-delay: 2s; }
@keyframes ring-pulse {
  0%,100% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(30deg) brightness(1.2); }
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 28px;
  position: relative; z-index: 1; display: block;
}
.img-overlay {
  position: absolute; inset: 0; border-radius: 28px; z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(5,10,24,0.4) 100%);
}
.hero-badge {
  background: rgba(12,20,40,0.9); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 8px 16px; font-size: 0.8rem; font-weight: 500;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
  backdrop-filter: blur(12px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }

.hero-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { background: var(--glass-hover); color: var(--text); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* Hero content */
.hero-content { flex: 1; }
.hero-greeting { font-size: 1rem; color: var(--text-muted); margin-bottom: 8px; }
.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem,5.5vw,3.8rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-role {
  font-size: clamp(1rem,2.2vw,1.3rem); font-weight: 400;
  color: var(--gold); margin-bottom: 24px;
  font-family: 'Space Grotesk', sans-serif; min-height: 2em;
}
.typed-prefix { color: var(--text-dim); }
.cursor { display: inline-block; color: var(--gold); animation: blink 0.85s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-desc { color: var(--text-muted); font-size: 0.97rem; max-width: 540px; margin-bottom: 36px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; white-space: nowrap; }
.stat-divider { width: 1px; height: 36px; background: var(--glass-border); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 28px; height: 46px; border: 2px solid var(--glass-border);
  border-radius: 14px; display: flex; align-items: flex-start; justify-content: center; padding-top: 7px;
}
.scroll-dot { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scroll-bounce 2s ease infinite; }
@keyframes scroll-bounce { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(12px);opacity:0.3} }

/* ==============================
   ABOUT
============================== */
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.97rem; line-height: 1.85; }
.about-highlights { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.highlight-item { display: flex; gap: 16px; align-items: flex-start; }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.highlight-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.highlight-item p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.about-card { padding: 32px; }
.about-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; }
.facts-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.facts-list li { display: flex; align-items: flex-start; gap: 12px; }
.fact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.facts-list li div { display: flex; flex-direction: column; gap: 2px; }
.facts-list li strong { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.facts-list li span, .facts-list li a { font-size: 0.875rem; color: var(--text); }
.facts-list li a { color: var(--accent-light); }
.facts-list li a:hover { color: var(--gold); }
.status-open { color: #86efac !important; }

/* ==============================
   SKILLS
============================== */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-category { padding: 24px; }
.skill-cat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.skill-cat-icon { font-size: 1.4rem; }
.skill-cat-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tag {
  padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 500;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  color: var(--text-muted); transition: all 0.2s; cursor: default;
}
.skill-tag:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.skill-tag.hl { background: rgba(250,204,21,0.07); border-color: rgba(250,204,21,0.25); color: var(--gold); }
.skill-bars { display: flex; flex-direction: column; gap: 18px; }
.skill-bar-label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 7px; color: var(--text-muted); }
.skill-bar-label span:last-child { color: var(--gold); font-weight: 600; }
.skill-bar-track { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.skill-bar-fill { height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--teal)); transition: width 1.4s cubic-bezier(0.4,0,0.2,1); }

/* ==============================
   EXPERIENCE / TIMELINE
============================== */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent), var(--teal), transparent);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -43px; top: 30px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg3); border: 2px solid var(--text-dim);
  box-shadow: 0 0 0 3px var(--bg);
}
.tl-active { background: var(--gold) !important; border-color: var(--gold-dark) !important; box-shadow: 0 0 0 4px var(--bg), 0 0 14px var(--gold-glow) !important; }
.timeline-card { padding: 32px; }
.timeline-header { display: flex; gap: 20px; margin-bottom: 20px; align-items: flex-start; }
.company-logo-wrap {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px;
}
.company-logo { width: 44px; object-fit: contain; filter: brightness(1.1); }
.company-logo-fallback {
  display: none; width: 100%; height: 100%; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; border-radius: 10px; color: white;
}
.timeline-meta { flex: 1; }
.company-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.company-role { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.company-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-pill { font-size: 0.73rem; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-muted); }
.active-pill { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.25); color: #86efac; }
.timeline-body p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.92rem; line-height: 1.8; }
.timeline-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.timeline-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-muted); font-size: 0.875rem; line-height: 1.65;
}
.timeline-list li::before { content: '▸'; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* Integration partners */
.integration-mini { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--glass-border); }
.integration-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.integration-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.itab {
  padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--glass-border); background: transparent; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.itab:hover { background: var(--glass); color: var(--text); }
.itab.active { background: rgba(250,204,21,0.1); border-color: rgba(250,204,21,0.3); color: var(--gold); }
.integration-panel { }
.integration-panel.hidden { display: none; }
.ip-grid {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.ip-grid img {
  height: 36px; width: auto; max-width: 90px; object-fit: contain;
  border-radius: 8px; background: white; padding: 4px 8px;
  filter: saturate(0.9) opacity(0.85); transition: all 0.2s;
}
.ip-grid img:hover { filter: saturate(1) opacity(1); transform: scale(1.06); }

/* ==============================
   PROJECTS
============================== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { padding: 26px; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.project-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--glow-purple); }
.project-card:hover::after { opacity: 1; }
.featured-project::after { opacity: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.featured-project { grid-column: span 2; }
.project-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.project-icon { font-size: 2rem; }
.project-status {
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.status-featured { background: rgba(250,204,21,0.1); border-color: rgba(250,204,21,0.3); color: var(--gold); }
.status-ai { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); color: var(--accent-light); }
.project-company { font-size: 0.78rem; color: var(--accent-light); margin-bottom: 8px; font-weight: 500; }
.project-title { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.project-desc { color: var(--text-muted); font-size: 0.855rem; line-height: 1.75; margin-bottom: 16px; }
.project-modules { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.module-tag { font-size: 0.73rem; padding: 3px 10px; border-radius: 20px; background: rgba(20,184,166,0.1); border: 1px solid rgba(20,184,166,0.25); color: var(--teal-light); }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span { font-size: 0.73rem; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--glass-border); color: var(--accent-light); background: rgba(124,58,237,0.07); }

/* ==============================
   EDUCATION
============================== */
.edu-timeline { display: flex; flex-direction: column; gap: 24px; }
.edu-card {
  padding: 28px 32px; display: grid;
  grid-template-columns: 90px 50px 1fr; gap: 0 20px; align-items: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.edu-card:hover { transform: translateX(6px); box-shadow: var(--shadow), var(--glow-purple); }
.edu-year { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.edu-icon { font-size: 1.8rem; text-align: center; }
.edu-body { }
.edu-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.edu-inst { color: var(--accent-light); font-size: 0.9rem; font-weight: 500; margin-bottom: 2px; }
.edu-loc { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 10px; }
.edu-desc { color: var(--text-muted); font-size: 0.86rem; line-height: 1.7; }

/* ==============================
   CERTIFICATIONS
============================== */
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  padding: 28px 24px; text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow), var(--glow-gold); }
.cert-badge { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.cert-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.cert-issuer { font-size: 0.78rem; color: var(--accent-light); font-weight: 600; margin-bottom: 10px; }
.cert-desc { color: var(--text-muted); font-size: 0.825rem; line-height: 1.7; margin-bottom: 14px; }
.cert-pill { display: inline-block; font-size: 0.72rem; padding: 3px 12px; border-radius: 20px; background: rgba(250,204,21,0.08); border: 1px solid rgba(250,204,21,0.2); color: var(--gold); font-weight: 600; }

/* ==============================
   CONTACT
============================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-intro { color: var(--text-muted); font-size: 0.97rem; line-height: 1.85; margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  transition: transform 0.2s, box-shadow 0.2s; color: inherit;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.cc-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-card strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 2px; color: var(--text-muted); }
.contact-card p { font-size: 0.875rem; color: var(--text); margin: 0; }
.contact-form { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  border-radius: 10px; padding: 12px 15px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(124,58,237,0.5); box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-note { font-size: 0.85rem; text-align: center; color: #22c55e; min-height: 18px; }

/* ==============================
   FOOTER
============================== */
footer { background: var(--bg); border-top: 1px solid var(--glass-border); padding: 40px 5%; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { display: block; font-weight: 600; font-size: 0.95rem; font-family: 'Space Grotesk', sans-serif; }
.footer-title { display: block; font-size: 0.75rem; color: var(--text-muted); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1200px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { max-width: 500px; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .featured-project { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(5,10,24,0.97); backdrop-filter: blur(24px);
    flex-direction: column; padding: 20px; gap: 4px;
    border-bottom: 1px solid var(--glass-border); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 80px 5%; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 20px; }
  .timeline-dot { left: -28px; }
  .timeline-card { padding: 22px; }
  .timeline-header { flex-direction: column; gap: 12px; }
  .edu-card { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .edu-year { font-size: 0.85rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-image-frame { width: 220px; height: 270px; }
  .hero-name { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .contact-form { padding: 22px; }
  .certs-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 10px 20px; font-size: 0.84rem; }
  .integration-tabs { gap: 6px; }
  .itab { padding: 4px 10px; font-size: 0.72rem; }
}
