/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --color-bg: #0f172a;
  --color-text: #f1f5f9;
  --color-muted: #94a3b8;
  --color-dim: #64748b;
  --color-border: rgba(255,255,255,0.1);
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-full: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(56,189,248,0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(168,85,247,0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(45,212,191,0.10) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); letter-spacing: -0.025em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul,ol { list-style: none; }

/* ============================================================
   GLASS UTILITIES
   ============================================================ */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}

.glass-heavy {
  background: rgba(15,23,42,0.60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 32px rgba(0,0,0,0.40);
}

.glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 25px rgba(0,0,0,0.30);
  transition: background 0.3s ease;
}
.glass-card:hover { background: rgba(255,255,255,0.05); }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.gradient-text {
  background: linear-gradient(to right, #38bdf8, #818cf8, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-white  { color: #ffffff; }
.text-muted  { color: var(--color-muted); }
.text-dim    { color: var(--color-dim); }
.text-sky    { color: #38bdf8; }
.text-indigo { color: #818cf8; }
.text-emerald{ color: #34d399; }
.text-amber  { color: #fbbf24; }
.text-purple { color: #c084fc; }
.text-orange { color: #fb923c; }

/* ============================================================
   LAYOUT
   ============================================================ */
.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }

.main-content {
  flex: 1;
  padding-top: 6rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}
@media(min-width:640px) { .main-content { padding-left:1.5rem; padding-right:1.5rem; } }
@media(min-width:1024px){ .main-content { padding-left:2rem;   padding-right:2rem;   } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0;
  pointer-events: none;
}

.navbar-inner {
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 56rem;
  pointer-events: auto;
}

.nav-brand {
  display: flex; align-items: center; gap: 0.5rem; text-decoration: none;
}

.nav-logo {
  height: 2rem; width: 2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(to top right, #38bdf8, #6366f1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: white;
  box-shadow: 0 0 20px rgba(99,102,241,0.30);
  flex-shrink: 0;
}

.nav-name {
  font-family: var(--font-heading);
  font-size: 1.125rem; font-weight: 700; color: white; letter-spacing: 0.025em;
}
@media(max-width:639px){ .nav-name { display: none; } }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media(min-width:768px){ .nav-links { display: flex; } }

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 500; color: #cbd5e1;
  transition: color 0.3s, background 0.3s;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.05); }
.nav-link.active { color: white; background: rgba(255,255,255,0.10); box-shadow: inset 0 1px 1px rgba(255,255,255,0.1); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: #6366f1; color: white;
  box-shadow: 0 0 20px rgba(99,102,241,0.40);
}
.btn-primary:hover { background: #818cf8; }

.btn-outline {
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.05); color: white;
}
.btn-outline:hover { background: rgba(255,255,255,0.10); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1.125rem; }

.btn-white {
  background: white; color: #0f172a;
  box-shadow: 0 0 30px rgba(255,255,255,0.30);
}
.btn-white:hover { background: #e2e8f0; }

.btn-hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10); color: white;
}
@media(min-width:768px){ .btn-hamburger { display: none; } }
@media(min-width:640px){ .btn-cv-nav { display: inline-flex; } }
.btn-cv-nav { display: none; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 5rem; left: 1rem; right: 1rem;
  z-index: 49;
  border-radius: var(--radius);
  padding: 1rem;
  flex-direction: column; gap: 0.25rem;
}
.mobile-nav.open { display: flex; }

.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 500; color: #cbd5e1;
  transition: all 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: white; background: rgba(255,255,255,0.10); }

/* ============================================================
   ICONS
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em; height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 3rem; height: 3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 6rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(15,23,42,0.50);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
  max-width: 80rem; margin: 0 auto; padding: 3rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
@media(min-width:768px){
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

.footer-brand h3 { font-size: 1.25rem; color: white; margin-bottom: 0.5rem; }
.footer-brand p  { color: var(--color-muted); font-size: 0.875rem; max-width: 28rem; }

.footer-socials { display: flex; align-items: center; gap: 1rem; }

.social-link {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  transition: color 0.2s, background 0.2s;
}
.social-link:hover { color: white; background: rgba(255,255,255,0.10); }

.footer-copy {
  max-width: 80rem; margin: 0 auto; padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center; font-size: 0.875rem; color: var(--color-dim);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slide-up {
  from { opacity:0; transform: translateY(2rem); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes pulse {
  0%,100% { opacity:1; }
  50%      { opacity:0.5; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 5rem; padding-bottom: 4rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  min-height: 70vh;
}

.hero-glow {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.glow-1 {
  width: 24rem; height: 24rem;
  background: rgba(99,102,241,0.20);
  border-radius: var(--radius-full);
  filter: blur(100px);
}
.glow-2 {
  width: 16rem; height: 16rem;
  background: rgba(45,212,191,0.20);
  border-radius: var(--radius-full);
  filter: blur(80px);
  margin-left: -5rem; margin-top: -5rem;
}

.hero-avatar {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 5px rgba(56,189,248,0.08),
    0 0 28px rgba(56,189,248,0.18),
    0 8px 32px rgba(0,0,0,0.45);
  margin-bottom: 1.5rem;
  animation: slide-up 0.7s ease both;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  animation: slide-up 0.7s ease both;
}
.badge-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: var(--radius-full);
  background: #34d399;
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
.badge-text { font-size: 0.875rem; font-weight: 500; color: #e2e8f0; }

.hero h1 {
  font-size: clamp(2.5rem,8vw,4.5rem);
  font-weight: 800; color: white;
  max-width: 56rem; margin-bottom: 1.5rem;
  animation: slide-up 0.7s ease 0.15s both;
}

.hero-desc {
  font-size: clamp(1rem,2vw,1.25rem);
  color: #cbd5e1; max-width: 42rem;
  margin-bottom: 2.5rem; line-height: 1.75;
  animation: slide-up 0.7s ease 0.30s both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  animation: slide-up 0.7s ease 0.50s both;
}

/* ============================================================
   HOME — SKILLS
   ============================================================ */
.section { margin-bottom: 8rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; color: white; margin-bottom: 1rem; }
.section-header p  { color: var(--color-muted); max-width: 42rem; margin: 0 auto; }

.skills-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media(min-width:768px) { .skills-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .skills-grid { grid-template-columns: repeat(3,1fr); } }

.skill-card {
  padding: 1.5rem; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: flex-start;
}

.skill-icon {
  padding: 0.75rem; border-radius: 0.75rem; margin-bottom: 1rem;
  background: rgba(15,23,42,0.60);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.3s;
}
.skill-card:hover .skill-icon { transform: scale(1.1); }

.skill-card h3 { font-size: 1.25rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.skill-card p  { color: var(--color-muted); font-size: 0.875rem; line-height: 1.625; }

/* ============================================================
   HOME — EXPERIENCE & CERTS
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width:1024px){ .two-col { grid-template-columns: repeat(2,1fr); } }

.section-title { font-size: 1.875rem; font-weight: 700; color: white; margin-bottom: 2rem; }

.exp-card {
  padding: 2rem; border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.exp-card::before {
  content:'';
  position: absolute; top:0; right:0;
  width:8rem; height:8rem;
  background: rgba(56,189,248,0.10);
  border-radius: 0 0 0 100%;
  margin-right:-2.5rem; margin-top:-2.5rem;
  transition: transform 0.5s;
}
.exp-card:hover::before { transform: scale(1.5); }

.exp-header {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 1rem;
}
.exp-title { font-size: 1.5rem; font-weight: 700; color: white; }
.exp-badge {
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #7dd3fc; white-space: nowrap;
}
.exp-company { font-size: 1.125rem; color: #38bdf8; font-weight: 500; margin-bottom: 1.5rem; }

.exp-list { display: flex; flex-direction: column; gap: 1rem; }
.exp-list li { display: flex; gap: 0.75rem; color: #cbd5e1; align-items: flex-start; }
.exp-check { color: #34d399; flex-shrink: 0; margin-top: 0.125rem; }

.certs-list { display: flex; flex-direction: column; gap: 1rem; }
.cert-card {
  padding: 1rem; border-radius: var(--radius);
  display: flex; align-items: center; gap: 1rem;
}
.cert-icon {
  padding: 0.5rem; border-radius: 0.5rem;
  color: #fbbf24; flex-shrink: 0;
  background: rgba(15,23,42,0.60);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.3s;
}
.cert-card:hover .cert-icon { transform: rotate(12deg); }
.cert-title { color: white; font-weight: 500; font-size: 0.9rem; }
.cert-org   { color: var(--color-dim); font-size: 0.75rem; }

/* ============================================================
   HOME — CLOUD BANNER
   ============================================================ */
.cloud-banner {
  padding: 2rem; border-radius: var(--radius);
  border: 1px solid rgba(99,102,241,0.20);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.cloud-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 2rem; text-align: center;
}
@media(min-width:768px){ .cloud-inner { flex-direction:row; text-align:left; } }

.cloud-icon-wrap {
  padding: 1.5rem; border-radius: 1.5rem;
  background: rgba(99,102,241,0.10);
  color: #818cf8; flex-shrink: 0;
}
.cloud-banner h3 { font-size: 1.5rem; font-weight: 700; color: white; }
.cloud-banner p  { color: #cbd5e1; margin-top: 0.5rem; line-height: 1.75; }
.cloud-cta { margin-left: auto; flex-shrink: 0; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-page { animation: fade-in 0.7s ease both; }

.page-header { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.page-header h1 { font-size: clamp(2rem,6vw,3rem); font-weight: 800; color: white; margin-bottom: 1rem; }
.page-header p  { color: var(--color-muted); font-size: 1.125rem; line-height: 1.75; }

.projects-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:768px){ .projects-grid { grid-template-columns: repeat(2,1fr); } }

.project-card {
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px rgba(0,0,0,0.4); }

.project-card.featured { grid-column: 1; }
@media(min-width:768px){
  .project-card.featured { grid-column: 1/-1; flex-direction: row; }
}

.project-visual {
  position: relative; overflow: hidden; flex-shrink: 0;
  height: 11rem;
}
.project-card.featured .project-visual { height: 14rem; }
@media(min-width:768px){
  .project-card.featured .project-visual { width: 40%; height: auto; min-height: 14rem; }
}

.project-visual svg,
.project-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.project-confidential {
  position: absolute; bottom: 0.75rem; left: 0.75rem; z-index: 10;
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 500;
  background: rgba(0,0,0,0.50);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}

.project-accent-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2.5px; z-index: 10; opacity: 0.8;
}

.project-body {
  padding: 1.75rem; display: flex; flex-direction: column; flex: 1;
}

.project-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.project-role-badge {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.125rem 0.625rem; border-radius: 0.375rem;
}
.project-client { font-size: 0.75rem; color: var(--color-dim); }

.project-title { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.75rem; line-height: 1.3; }
.project-desc  { color: var(--color-muted); font-size: 0.875rem; line-height: 1.625; flex: 1; margin-bottom: 1rem; }

.project-outcome {
  font-size: 0.75rem; padding: 0.5rem 0.75rem; border-radius: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.50); font-style: italic;
  margin-bottom: 1.25rem; line-height: 1.5;
}

.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.tag {
  padding: 0.25rem 0.75rem; border-radius: 0.375rem;
  font-size: 0.75rem; font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #cbd5e1;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page {
  max-width: 48rem; margin: 0 auto;
  padding: 3rem 0;
  animation: fade-in 0.7s ease both;
}

.blog-page-header { margin-bottom: 2.5rem; }
.blog-page-header h1 { font-size: clamp(2rem,6vw,3rem); font-weight: 800; color: white; margin-bottom: 0.75rem; }
.blog-page-header p  { color: var(--color-muted); font-size: 1.125rem; }

.blog-card {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.05);
}

.blog-accent-bar { height: 4px; background: linear-gradient(to right, #38bdf8, #6366f1, #a855f7); }

.blog-content { padding: 2rem; }
@media(min-width:768px){ .blog-content { padding: 2.5rem; } }

.blog-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.75rem; margin-bottom: 1.5rem;
  font-size: 0.875rem; color: var(--color-muted);
}

.blog-category {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.20);
  color: #7dd3fc;
}

.blog-meta-item { display: flex; align-items: center; gap: 0.375rem; }

.blog-title { font-size: clamp(1.25rem,3vw,1.75rem); font-weight: 700; color: white; margin-bottom: 2rem; line-height: 1.35; }

.blog-body { display: flex; flex-direction: column; gap: 2rem; }

.blog-section h3 {
  font-size: 1.25rem; font-weight: 600; color: white;
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem;
}
.blog-chevron { color: #38bdf8; flex-shrink: 0; }

.blog-section p { color: #cbd5e1; line-height: 1.75; }
.blog-section p + p { margin-top: 1rem; }

.blog-bullets { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-bullet { color: #cbd5e1; line-height: 1.75; padding-left: 1.25rem; position: relative; }
.blog-bullet::before { content: '•'; position: absolute; left: 0; color: #38bdf8; }

.blog-divider { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 2.5rem; padding-top: 2rem; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ============================================================
   MOBILE GRADIENT TEXT — BRIGHTER ON SMALL SCREENS
   ============================================================ */
@media(max-width:767px) {
  .gradient-text {
    background: linear-gradient(to right, #7dd3fc, #c4b5fd, #5eead4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ============================================================
   CERTIFICATE CAROUSEL
   ============================================================ */
.cert-carousel-wrap {
  position: relative;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
}
.cert-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 280px;
  user-select: none;
  touch-action: pan-y;
}
.cert-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.cert-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
}
.cert-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.cert-slide img:hover { opacity: 0.9; }
.cert-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.cert-nav-btn:hover { background: rgba(56,189,248,0.25); }
.cert-nav-prev { left: 0.625rem; }
.cert-nav-next { right: 0.625rem; }
.cert-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cert-dots { display: flex; align-items: center; gap: 0.375rem; }
.cert-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.20);
  transition: background 0.25s, transform 0.25s;
  cursor: pointer;
}
.cert-dot.active { background: #38bdf8; transform: scale(1.3); }
.cert-counter {
  font-size: 0.7rem;
  color: var(--color-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: min(92vw, 960px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 0.625rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.70);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: white;
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10000;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   THE VAULT — SIDE PROJECT STRIP
   ============================================================ */
.vault-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.vault-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.90);
  margin-bottom: 1rem;
}
.vault-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  transition: background 0.2s;
}
.vault-card:hover { background: rgba(255,255,255,0.04); }
.vault-info { flex: 1; min-width: 0; }
.vault-title { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 0.35rem; }
.vault-desc  { font-size: 0.8rem; color: var(--color-muted); line-height: 1.55; }

/* ============================================================
   BEYOND WORK PAGE
   ============================================================ */
.beyond-page { animation: fade-in 0.7s ease both; }
.beyond-hero {
  text-align: center;
  padding: 3rem 0 4.5rem;
  position: relative;
}
.beyond-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 32rem; height: 20rem;
  background: radial-gradient(circle, rgba(251,191,36,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.beyond-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.22);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.beyond-hero h1 {
  font-size: clamp(2rem,5vw,3.25rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
}
.beyond-intro {
  font-size: clamp(0.9rem,2vw,1.1rem);
  color: #cbd5e1;
  max-width: 44rem;
  margin: 0 auto;
  line-height: 1.85;
}
.beyond-section { margin-bottom: 5rem; }
.beyond-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.beyond-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.achievement-grid { display: flex; flex-direction: column; gap: 0.875rem; }
.achievement-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, border-color 0.2s;
}
.achievement-item:hover {
  background: rgba(251,191,36,0.05);
  border-color: rgba(251,191,36,0.15);
}
.achievement-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.achievement-text { font-size: 0.875rem; color: #cbd5e1; line-height: 1.65; }
.achievement-text strong { color: white; font-weight: 600; }
.dance-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media(min-width:480px)  { .dance-gallery { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:768px)  { .dance-gallery { grid-template-columns: repeat(4, 1fr); } }
@media(min-width:1024px) { .dance-gallery { grid-template-columns: repeat(5, 1fr); } }
.dance-photo {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: zoom-in;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.dance-photo:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
.dance-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%) brightness(0.65) saturate(0.75);
  transition: transform 0.45s, filter 0.45s;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.dance-photo:hover img {
  transform: scale(1.05);
  filter: grayscale(10%) brightness(0.82) saturate(0.90);
}
.dance-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,14,35,0.70) 0%, rgba(9,14,35,0.18) 55%, transparent 100%);
  opacity: 1; transition: opacity 0.35s;
}
.dance-photo:hover .dance-photo-overlay { opacity: 0.5; }
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%; height: 100%;
  min-height: 160px;
  color: rgba(255,255,255,0.12);
  font-size: 0.65rem;
  text-align: center;
  padding: 0.5rem;
}

/* ── Music Note Floating Particles (Beyond Work page) ─────── */
@keyframes note-float {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  8%   { opacity: 1; }
  82%  { opacity: 0.85; }
  100% { transform: translateY(-100vh) rotate(22deg); opacity: 0; }
}
.beyond-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.beyond-note {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  animation: note-float linear infinite;
  color: rgba(200,215,235,0.42);
  user-select: none;
  will-change: transform, opacity;
}
.beyond-note:nth-child(1)  { left:  4%; bottom:  5%; font-size:1.2rem; animation-duration:10s; animation-delay:0s;   }
.beyond-note:nth-child(2)  { left: 11%; bottom: 55%; font-size:1.5rem; animation-duration:13s; animation-delay:1.5s; }
.beyond-note:nth-child(3)  { left: 19%; bottom: 25%; font-size:1.1rem; animation-duration:11s; animation-delay:3s;   }
.beyond-note:nth-child(4)  { left: 27%; bottom: 70%; font-size:1.3rem; animation-duration:15s; animation-delay:0.8s; }
.beyond-note:nth-child(5)  { left: 36%; bottom: 15%; font-size:1.2rem; animation-duration:12s; animation-delay:2.2s; }
.beyond-note:nth-child(6)  { left: 44%; bottom: 45%; font-size:1.6rem; animation-duration:14s; animation-delay:4s;   }
.beyond-note:nth-child(7)  { left: 53%; bottom: 80%; font-size:1.0rem; animation-duration:10s; animation-delay:1s;   }
.beyond-note:nth-child(8)  { left: 61%; bottom: 35%; font-size:1.3rem; animation-duration:16s; animation-delay:3.5s; }
.beyond-note:nth-child(9)  { left: 70%; bottom: 10%; font-size:1.2rem; animation-duration:11s; animation-delay:0.5s; }
.beyond-note:nth-child(10) { left: 78%; bottom: 62%; font-size:1.5rem; animation-duration:13s; animation-delay:2s;   }
.beyond-note:nth-child(11) { left: 86%; bottom: 30%; font-size:1.1rem; animation-duration:12s; animation-delay:4.5s; }
.beyond-note:nth-child(12) { left: 93%; bottom: 50%; font-size:1.3rem; animation-duration:14s; animation-delay:1.2s; }
.beyond-note:nth-child(13) { left: 16%; bottom: 88%; font-size:1.0rem; animation-duration: 9s; animation-delay:5s;   }
.beyond-note:nth-child(14) { left: 50%; bottom:  2%; font-size:1.4rem; animation-duration:15s; animation-delay:2.8s; }
.beyond-note:nth-child(15) { left: 74%; bottom: 75%; font-size:1.1rem; animation-duration:10s; animation-delay:0.3s; }
.beyond-note:nth-child(16) { left: 33%; bottom: 42%; font-size:1.2rem; animation-duration:13s; animation-delay:3.8s; }
.beyond-hero { position: relative; }

/* ── Mobile Bottom Navigation ──────────────────────────────── */
.bottom-nav { display: none; }

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: rgba(9, 14, 35, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    text-decoration: none;
    color: rgba(148,163,184,0.65);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .bottom-nav-item svg {
    width: 20px; height: 20px;
    stroke: currentColor;
  }
  .bottom-nav-item.active { color: #f1f5f9; }
  .bottom-nav-item:hover  { color: #cbd5e1; }
  .main-content { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

