/* ===================================================================
   PORTFOLIO V2 PREVIEW — ĐỖ MINH TRÍ (Eric Do)
   Design System: Apple Keynote Asymmetric Bento 2.0 (70-20-10 Palette)
   =================================================================== */

:root {
  /* 70% Neutral Surfaces */
  --bg-body: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-subtle: #F8F8FA;
  --bg-pill: #F0F0F5;
  --bg-pill-hover: #E5E5EC;

  /* 20% Deep Charcoal Contrast */
  --bg-keynote: #0D0D11;
  --bg-keynote-card: #17171E;
  --bg-keynote-subtle: #20202A;
  --text-main: #1D1D1F;
  --text-secondary: #515154;
  --text-tertiary: #86868B;
  --text-inverse: #F5F5F7;

  /* 10% Electric Apple Blue + Championship Gold (Awards Only) */
  --accent-apple: #0071E3;
  --accent-apple-hover: #0077ED;
  --accent-apple-subtle: rgba(0, 113, 227, 0.09);
  --accent-apple-glow: rgba(0, 113, 227, 0.26);

  --accent-gold: #F59E0B;
  --accent-gold-bright: #FBBF24;
  --accent-gold-subtle: rgba(245, 158, 11, 0.14);

  --accent-green: #10B981;
  --accent-green-subtle: rgba(16, 185, 129, 0.12);
  --accent-red: #EF4444;

  /* Borders & Radii */
  --border-subtle: 1px solid rgba(0, 0, 0, 0.055);
  --border-strong: 1px solid rgba(0, 0, 0, 0.1);
  --border-keynote: 1px solid rgba(255, 255, 255, 0.09);

  --radius-bento: 28px;
  --radius-card: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-apple: 0 4px 24px -4px rgba(0, 0, 0, 0.045), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-apple-hover: 0 22px 48px -10px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-nav: 0 10px 32px -6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-modal: 0 32px 80px -12px rgba(0, 0, 0, 0.28);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --container-max: 1380px;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------
   DARK MODE OVERRIDES ([data-theme="dark"])
------------------------------------------------------------------- */
html[data-theme="dark"] {
  --bg-body: #070709;
  --bg-card: #131317;
  --bg-subtle: #1A1A20;
  --bg-pill: #22222A;
  --bg-pill-hover: #2C2C36;

  --bg-keynote: #0E0E13;
  --bg-keynote-card: #17171F;
  --bg-keynote-subtle: #22222D;

  --text-main: #F5F5F7;
  --text-secondary: #A1A1AA;
  --text-tertiary: #71717A;

  --accent-apple-subtle: rgba(10, 132, 255, 0.16);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-strong: 1px solid rgba(255, 255, 255, 0.15);
  --shadow-apple: 0 10px 30px -6px rgba(0, 0, 0, 0.55);
  --shadow-apple-hover: 0 24px 52px -8px rgba(0, 0, 0, 0.75);
}

/* -------------------------------------------------------------------
   1. BASE & TYPOGRAPHY
------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 88px;
  transition: background-color 0.35s var(--ease-apple), color 0.35s var(--ease-apple);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.2;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--accent-apple);
  z-index: 1200;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-header {
  margin-bottom: 44px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.eyebrow-gold {
  background: var(--accent-gold-subtle);
  color: #D97706;
}

html[data-theme="dark"] .eyebrow-gold {
  color: var(--accent-gold-bright);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.62;
}

.text-center { text-align: center; }
.text-success { color: var(--accent-green) !important; }
.text-primary-color { color: var(--accent-apple) !important; }
.text-orange-color { color: var(--accent-gold) !important; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.w-100 { width: 100%; }

/* -------------------------------------------------------------------
   2. BUTTON SYSTEM
------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.28s var(--ease-apple);
  white-space: nowrap;
}

.btn-sm { padding: 7px 15px; font-size: 0.81rem; }
.btn-lg { padding: 13px 26px; font-size: 0.96rem; }

.btn-primary {
  background: var(--accent-apple);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--accent-apple-glow);
}

.btn-primary:hover {
  background: var(--accent-apple-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--accent-apple-glow);
}

.btn-dark {
  background: var(--text-main);
  color: var(--bg-card);
}

.btn-dark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--accent-apple);
  color: var(--accent-apple);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-pill);
  color: var(--text-main);
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: #1D1D1F;
  backdrop-filter: blur(12px);
}

.btn-light:hover {
  background: #FFFFFF;
  color: var(--accent-apple);
}

/* -------------------------------------------------------------------
   3. CLEAN FLOATING NAVBAR WITH SLIDING PILL (#1)
------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-container {
  pointer-events: auto;
  max-width: 1220px;
  width: calc(100% - 36px);
  height: 56px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-nav);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 22px;
  transition: all 0.3s var(--ease-apple);
}

html[data-theme="dark"] .nav-container {
  background: rgba(20, 20, 25, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .site-header.scrolled .nav-container {
  background: rgba(20, 20, 25, 0.94);
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.logo-dot { color: var(--accent-apple); }
.logo-v2-tag {
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Text-only Nav Menu + Sliding Pill */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius-pill);
}

.nav-sliding-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--text-main);
  transition: transform 0.32s var(--ease-apple), width 0.32s var(--ease-apple), opacity 0.2s ease;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.nav-item { position: relative; z-index: 1; }

.nav-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.22s ease;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text-main); }

.nav-link.active {
  color: var(--bg-card);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-pill);
  padding: 3px;
  border-radius: var(--radius-pill);
}

.lang-icon, .lang-divider { display: none; }

.lang-btn {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-pill);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  transition: all 0.22s ease;
}

.theme-toggle-btn:hover {
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  transform: rotate(14deg);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-pill);
  gap: 4.5px;
}

.hamburger-bar {
  width: 16px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.active { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 84vw;
  background: var(--bg-card);
  z-index: 1060;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-apple);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}
.mobile-drawer.active { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: var(--border-subtle);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-pill);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-lang-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  flex: 1;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-link.active {
  background: var(--text-main);
  color: var(--bg-card);
}

.drawer-footer {
  padding-top: 14px;
  border-top: var(--border-subtle);
}

/* -------------------------------------------------------------------
   4. BENTO CARD BASE + SUBTLE MOUSE SPOTLIGHT (#8)
------------------------------------------------------------------- */
.bento-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-bento);
  border: var(--border-subtle);
  box-shadow: var(--shadow-apple);
  overflow: hidden;
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple), border-color 0.3s ease;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(0, 113, 227, 0.065),
    transparent 45%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

html[data-theme="dark"] .bento-card::after {
  background: radial-gradient(
    520px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 255, 255, 0.055),
    transparent 45%
  );
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-apple-hover);
}

.bento-card:hover::after {
  opacity: 1;
}

/* -------------------------------------------------------------------
   5. HERO ASYMMETRIC BENTO + EDITORIAL PORTRAIT CARD (#4)
------------------------------------------------------------------- */
.hero-section {
  padding: 20px 0 64px;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* Left 8-col Hero Card */
.hero-content {
  grid-column: span 8;
  padding: 42px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  width: fit-content;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-subtle);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.35); }
}

.hero-title {
  font-size: clamp(2.5rem, 4.2vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-greeting-line {
  font-size: 0.44em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 6px;
}

.text-highlight { color: var(--text-main); }
.hero-alias {
  font-size: 0.48em;
  font-weight: 600;
  color: var(--accent-apple);
  margin-left: 6px;
}

.role-badge-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.role-tag i { color: var(--accent-apple); font-size: 0.8rem; }
.role-separator { display: none; }

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 660px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

.hero-quick-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: var(--border-subtle);
}

.quick-connect-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-right: 2px;
}

.quick-connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.quick-connect-pill i { color: var(--text-secondary); }
.quick-connect-pill:hover {
  background: var(--text-main);
  color: var(--bg-card);
}
.quick-connect-pill:hover i { color: var(--bg-card); }

/* Right 4-col Editorial Full-Bleed Portrait Card (#4) */
.hero-editorial-card {
  grid-column: span 4;
  min-height: 450px;
  padding: 0;
  position: relative;
  background: #141418;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.editorial-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s var(--ease-apple);
}

/* Hero Multi-Photo Auto-Slide Carousel */
.hero-slider-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.72s var(--ease-apple);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slider-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.hero-editorial-card:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: rgba(0, 113, 227, 0.88);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-prev { left: 12px; }
.hero-slider-next { right: 12px; }

.hero-slider-dots {
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 22, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.3s var(--ease-apple), background 0.3s ease;
  cursor: pointer;
  padding: 0;
}

.hero-slider-dot.active {
  width: 18px;
  background: #FFFFFF;
}

.hero-editorial-card:hover .editorial-portrait-img {
  transform: scale(1.04);
}

.editorial-gradient-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 14, 0.04) 0%,
    rgba(10, 10, 14, 0.12) 42%,
    rgba(10, 10, 14, 0.84) 76%,
    rgba(10, 10, 14, 0.96) 100%
  );
  z-index: 1;
}

.editorial-top-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 22, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
}

.editorial-top-pill i { color: #38BDF8; }

.hero-mission-quote {
  position: relative;
  z-index: 2;
  padding: 24px 24px 26px;
  color: #FFFFFF;
}

.mission-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.mission-tag i { color: var(--accent-gold-bright); }

.mission-text {
  font-size: 0.92rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.95);
}

/* Hero Row 2: 4 Metric Stat Cards (Disciplined 70-20-10 Palette) */
.hero-stat-card {
  grid-column: span 3;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: var(--bg-pill);
  color: var(--text-main);
}

/* Disciplined color mapping (#7): Gold ONLY for trophy, Blue/Charcoal for others */
.icon-gold {
  background: var(--accent-gold-subtle);
  color: #D97706;
}
.icon-blue, .icon-cyan, .icon-orange {
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
}

.hero-stat-card.bento-dark-accent {
  background: #141418 !important;
  border-color: rgba(255, 255, 255, 0.1);
}
.hero-stat-card.bento-dark-accent .icon-gold {
  background: rgba(251, 191, 36, 0.16);
  color: var(--accent-gold-bright);
}
.hero-stat-card.bento-dark-accent .badge-text strong { color: #FFFFFF !important; }
.hero-stat-card.bento-dark-accent .badge-text span { color: rgba(255, 255, 255, 0.7) !important; }

.badge-text { display: flex; flex-direction: column; }
.badge-text strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.badge-text span {
  font-size: 0.79rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* -------------------------------------------------------------------
   6. TOOL STACK MARQUEE & ABOUT / SKILLS (#6)
------------------------------------------------------------------- */
.tool-marquee-band {
  margin-bottom: 36px;
  padding: 18px 0;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: var(--border-subtle);
  box-shadow: var(--shadow-apple);
  overflow: hidden;
  position: relative;
}

.tool-marquee-band::before,
.tool-marquee-band::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.tool-marquee-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-card), transparent);
}
.tool-marquee-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-card), transparent);
}

.tool-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marqueeScroll 32s linear infinite;
}

.tool-marquee-band:hover .tool-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.marquee-tool-chip i {
  color: var(--accent-apple);
  font-size: 1rem;
}

/* About Asymmetric Grid */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.edu-bento-card {
  grid-column: span 7;
  padding: 36px;
}

.strengths-bento-card {
  grid-column: span 5;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.bento-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.bento-card-head h3 { font-size: 1.32rem; }
.bento-card-head p { font-size: 0.84rem; color: var(--text-tertiary); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: var(--bg-pill-hover);
}

.timeline-item {
  position: relative;
  padding-left: 28px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent-apple);
}

.timeline-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-title { font-size: 1.08rem; margin-bottom: 3px; }
.honor-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold-subtle);
  color: #B45309;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
}
html[data-theme="dark"] .honor-pill { color: var(--accent-gold-bright); }

.timeline-major { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 6px; }
.timeline-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.56; }

.strength-list-clean {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.strength-row-item {
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: var(--border-subtle);
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.strength-row-item i {
  color: var(--accent-apple);
  font-size: 1.05rem;
  margin-top: 3px;
}

.strength-row-item h4 { font-size: 0.95rem; margin-bottom: 3px; }
.strength-row-item p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.48; }

/* Skills Bento Matrix (No outdated % bars!) */
.skills-bento-matrix {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skill-v2-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.skill-v2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-v2-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-pill);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.skill-proof-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
}

.skill-v2-card h4 { font-size: 1.04rem; margin-bottom: 5px; }
.skill-v2-card p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.54; }

.skill-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-pill {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-main);
}

/* -------------------------------------------------------------------
   7. EXPERIENCE TIMELINE (#experience)
------------------------------------------------------------------- */
.exp-timeline-wrapper {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.exp-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-apple) 0%, rgba(0, 113, 227, 0.14) 100%);
}

.exp-timeline-card {
  position: relative;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.exp-timeline-dot {
  position: absolute;
  left: -31px;
  top: 32px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent-apple);
}

.exp-timeline-dot.active-dot {
  background: var(--accent-apple);
  box-shadow: 0 0 0 5px var(--accent-apple-subtle);
}

.exp-meta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.exp-period-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  font-size: 0.76rem;
  font-weight: 700;
}
.exp-type-pill {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.exp-role-title { font-size: 1.22rem; }
.exp-org-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}
.exp-summary { font-size: 0.92rem; color: var(--text-secondary); }
.exp-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: var(--border-subtle);
}
.exp-highlights-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text-main);
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* -------------------------------------------------------------------
   8. KEYNOTE DARK CONTRAST SECTION + DEVICE MOCKUP PROJECTS (#3 & #5)
------------------------------------------------------------------- */
.keynote-dark-section {
  background: var(--bg-keynote);
  color: var(--text-inverse);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.keynote-dark-section::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(0, 113, 227, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.keynote-dark-section .section-title { color: #FFFFFF; }
.keynote-dark-section .section-subtitle { color: rgba(245, 245, 247, 0.7); }
.keynote-dark-section .section-eyebrow {
  background: rgba(56, 189, 248, 0.14);
  color: #38BDF8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-v2-card {
  background: var(--bg-keynote-card);
  border: var(--border-keynote);
  border-radius: var(--radius-bento);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-apple), border-color 0.3s ease, box-shadow 0.35s var(--ease-apple);
}

.project-v2-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}

/* Device Mockup Stage (#5) */
.project-mockup-stage {
  position: relative;
  height: 220px;
  background: radial-gradient(circle at 50% 25%, #23283B 0%, #12131A 100%);
  padding: 20px 22px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.project-mockup-stage.stage-blue {
  background: radial-gradient(circle at 50% 20%, rgba(0, 113, 227, 0.36) 0%, #11131C 85%);
}
.project-mockup-stage.stage-slate {
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.25) 0%, #11141B 85%);
}
.project-mockup-stage.stage-indigo {
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.3) 0%, #12121C 85%);
}

.mockup-top-badges {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.mockup-cat-pill {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(15, 15, 20, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F5F5F7;
  font-size: 0.72rem;
  font-weight: 700;
}

.thumb-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #0071E3;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
}

/* CSS Phone Mockup (TikTok / Reels) */
.device-phone-mockup {
  width: 132px;
  height: 174px;
  background: #09090D;
  border: 3px solid #3A3A48;
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  padding: 8px 10px 0;
  position: relative;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease-apple);
}

.project-v2-card:hover .device-phone-mockup,
.project-v2-card:hover .device-browser-mockup {
  transform: translateY(-6px) scale(1.02);
}

.phone-notch {
  width: 38px;
  height: 6px;
  background: #23232E;
  border-radius: 99px;
  margin: 0 auto 10px;
}

.phone-screen-ui {
  background: linear-gradient(160deg, #0071E3 0%, #0F172A 100%);
  height: 100%;
  border-radius: 12px 12px 0 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
}

.phone-play-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  font-size: 0.85rem;
}

.phone-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.phone-bars span {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.65);
  width: 80%;
}
.phone-bars span:last-child { width: 52%; opacity: 0.6; }

/* CSS Browser / Dashboard Mockup (IMC / SEO) */
.device-browser-mockup {
  width: 88%;
  height: 162px;
  background: #141620;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s var(--ease-apple);
}

.browser-dots-bar {
  height: 24px;
  background: #1E202E;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.browser-dots-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: inline-block;
}
.browser-url-bar {
  margin-left: 8px;
  height: 11px;
  width: 55%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.browser-canvas-ui {
  padding: 14px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  height: calc(100% - 24px);
}

.canvas-chart-box {
  background: rgba(0, 113, 227, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.canvas-chart-box span {
  flex: 1;
  background: linear-gradient(180deg, #38BDF8, #0071E3);
  border-radius: 4px 4px 0 0;
}

.canvas-side-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}
.canvas-side-lines span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}
.canvas-side-lines span:first-child {
  width: 75%;
  background: rgba(56, 189, 248, 0.45);
}

/* Project Card Body & 3 Bold KPI Boxes (#5) */
.project-v2-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 15px;
}

.project-v2-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(245, 245, 247, 0.65);
  font-weight: 600;
}

.project-v2-role {
  color: #38BDF8;
  font-weight: 700;
}

.project-v2-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.32;
}

.project-v2-excerpt {
  font-size: 0.87rem;
  color: rgba(245, 245, 247, 0.68);
  line-height: 1.56;
}

/* 3 KPI Metric Strip on Card Front */
.project-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-keynote-subtle);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-cell strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.kpi-cell span {
  font-size: 0.69rem;
  color: rgba(245, 245, 247, 0.58);
  line-height: 1.25;
}

.project-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-v2-tags span {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.78);
  font-size: 0.73rem;
  font-weight: 600;
}

.project-v2-footer {
  margin-top: auto;
  padding-top: 6px;
}

.btn-keynote-card {
  width: 100%;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s var(--ease-apple);
}

.btn-keynote-card:hover {
  background: var(--accent-apple);
  color: #FFFFFF;
}

/* -------------------------------------------------------------------
   9. MERGED AWARDS & CERTIFICATES ASYMMETRIC BENTO (#2)
------------------------------------------------------------------- */
.awards-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.award-bento-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Featured 7-col Hero Award Card */
.award-span-7 {
  grid-column: span 7;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.award-span-5 { grid-column: span 5; }
.award-span-6 { grid-column: span 6; }

.award-img-box {
  position: relative;
  height: 220px;
  background: var(--bg-pill);
  overflow: hidden;
  cursor: pointer;
}

.award-span-7 .award-img-box {
  height: 100%;
  min-height: 290px;
}

.award-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-apple);
}

.award-bento-card:hover .award-img-box img {
  transform: scale(1.04);
}

.award-gold-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 24, 0.84);
  backdrop-filter: blur(10px);
  color: var(--accent-gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.award-verified-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #1D1D1F;
  font-size: 0.74rem;
  font-weight: 700;
}

html[data-theme="dark"] .award-verified-pill {
  background: rgba(20, 20, 25, 0.88);
  color: #F5F5F7;
}

.award-verified-pill i { color: var(--accent-apple); }

.award-body-box {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.award-org-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

.award-org-line span:first-child { color: var(--accent-apple); }

.award-card-title {
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.32;
}

.award-span-7 .award-card-title {
  font-size: 1.34rem;
}

.award-card-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.56;
}

.award-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

/* -------------------------------------------------------------------
   10. COMMUNITY ACTIVITIES GRID (#activities)
------------------------------------------------------------------- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.activity-card {
  background: var(--bg-card);
  border-radius: var(--radius-bento);
  border: var(--border-subtle);
  box-shadow: var(--shadow-apple);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple);
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-apple-hover);
}

.act-img-wrapper {
  position: relative;
  height: 215px;
  background: var(--bg-pill);
  overflow: hidden;
  cursor: pointer;
}

.act-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-apple);
}

.activity-card:hover .act-img { transform: scale(1.04); }

.act-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.act-img-wrapper:hover .act-img-overlay { opacity: 1; }

.act-zoom-btn {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: #1D1D1F;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.act-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #1D1D1F;
  font-size: 0.73rem;
  font-weight: 700;
}

html[data-theme="dark"] .act-floating-badge {
  background: rgba(20, 20, 25, 0.88);
  color: #F5F5F7;
}

.act-floating-badge i { color: var(--accent-apple); }

.act-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.act-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.act-org-tag {
  font-weight: 700;
  color: var(--accent-apple);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.act-role-title { font-size: 1.08rem; line-height: 1.35; }
.act-card-action {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 8px;
}
.act-card-action .btn { flex: 1; }

/* -------------------------------------------------------------------
   11. CONTACT SECTION & KEYNOTE CTA BANNER
------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
}

.contact-details-card,
.reference-card,
.form-wrapper-card {
  background: var(--bg-card);
  border-radius: var(--radius-bento);
  border: var(--border-subtle);
  box-shadow: var(--shadow-apple);
  padding: 36px;
}

.info-block-title {
  font-size: 1.28rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: var(--border-subtle);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text { display: flex; flex-direction: column; flex: 1; }
.contact-text .label {
  font-size: 0.74rem;
  color: var(--text-tertiary);
  font-weight: 700;
  text-transform: uppercase;
}
.contact-text .value { font-size: 0.94rem; font-weight: 700; }

.copy-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-pill);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.copy-btn:hover { background: var(--accent-apple); color: #FFFFFF; }

.contact-quick-actions { display: flex; gap: 10px; margin-top: 20px; }

.reference-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-apple-subtle);
  color: var(--accent-apple);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.reference-body { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ref-avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--bg-pill);
  color: var(--accent-apple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.ref-name { font-size: 1.08rem; }
.ref-role { font-size: 0.84rem; color: var(--text-secondary); }
.ref-contact { font-size: 0.84rem; margin-top: 2px; }
.reference-note {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding: 11px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.form-header { margin-bottom: 20px; }
.form-title { font-size: 1.35rem; margin-bottom: 4px; }
.form-desc { font-size: 0.88rem; color: var(--text-secondary); }
.modern-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 14px; }
.col-half { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8rem; font-weight: 700; }
.required { color: var(--accent-red); }

.input-with-icon { position: relative; display: flex; align-items: center; }
.input-with-icon i {
  position: absolute;
  left: 14px;
  font-size: 0.88rem;
  color: var(--text-tertiary);
  pointer-events: none;
}
.textarea-icon i { top: 14px; }

.form-control {
  width: 100%;
  padding: 12px 14px 12px 38px;
  background: var(--bg-pill);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.form-control:focus {
  background: var(--bg-card);
  border-color: var(--accent-apple);
  box-shadow: 0 0 0 3px var(--accent-apple-subtle);
  outline: none;
}
textarea.form-control { min-height: 105px; resize: vertical; }
.form-success-box { text-align: center; padding: 28px 16px; }
.success-icon { font-size: 2.8rem; color: var(--accent-green); margin-bottom: 10px; }

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: var(--border-subtle);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: var(--border-subtle);
}

.footer-bio { font-size: 0.88rem; color: var(--text-secondary); margin-top: 12px; max-width: 380px; }
.footer-heading { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-apple); }
.footer-cv-desc { font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 12px; }
.footer-contact-direct { font-size: 0.86rem; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.footer-contact-direct i { color: var(--accent-apple); margin-right: 6px; }
.footer-bottom { padding-top: 22px; }
.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.back-to-top-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: var(--border-strong);
  box-shadow: var(--shadow-apple);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 980;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
}
.back-to-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Version Switcher Pill (Compare V2 vs V1) */
.v2-compare-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 985;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 25, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.v2-compare-badge a {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: underline;
}

/* -------------------------------------------------------------------
   12. STAGGERED SCROLL REVEAL (#8 - Fail-safe Animated)
------------------------------------------------------------------- */
.v2-anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-apple), transform 0.65s var(--ease-apple);
}

.v2-anim.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------
   13. MODALS, VIDEO SHOWCASE & LIGHTBOX (Compatible with script.js)
------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.project-modal,
.activity-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 2001;
  background: var(--bg-card);
  border-radius: var(--radius-bento);
  border: var(--border-strong);
  box-shadow: var(--shadow-modal);
  max-width: 840px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.32s var(--ease-apple);
}

.project-modal.active,
.activity-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
  position: sticky;
  top: 16px;
  float: right;
  margin-right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-pill);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-content { padding: 32px 36px 38px; display: flex; flex-direction: column; gap: 20px; }
.modal-project-header, .modal-activity-header { display: flex; flex-direction: column; gap: 10px; }
.modal-title { font-size: 1.55rem; }
.modal-meta-row, .modal-subtitle-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.86rem; color: var(--text-secondary); }
.role-badge { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--accent-apple-subtle); color: var(--accent-apple); font-size: 0.76rem; font-weight: 700; }
.platform-badge { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--bg-pill); font-size: 0.76rem; font-weight: 600; }
.modal-banner-box { border-radius: var(--radius-sm); padding: 26px 20px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.project-watermark { position: absolute; opacity: 0.16; }

.modal-video-showcase { background: var(--bg-subtle); border: var(--border-subtle); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.video-embed-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0B0B0E; }
.video-embed-frame.video-vertical { max-width: 330px; aspect-ratio: 9 / 16; margin: 0 auto; }
.video-embed-frame iframe, .video-embed-frame video { width: 100%; height: 100%; border: 0; display: block; }

.modal-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.modal-main-col, .modal-side-col { display: flex; flex-direction: column; gap: 16px; }
.modal-section-title { font-size: 1.06rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.modal-text { font-size: 0.92rem; color: var(--text-secondary); }
.modal-list { display: flex; flex-direction: column; gap: 8px; }
.modal-list-item { display: flex; align-items: baseline; gap: 9px; font-size: 0.9rem; color: var(--text-secondary); }
.modal-info-card, .act-modal-overview-box { background: var(--bg-subtle); border: var(--border-subtle); border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.modal-info-card-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 8px; border-bottom: var(--border-subtle); }
.modal-info-item { display: flex; flex-direction: column; gap: 3px; }
.info-label, .act-overview-label { font-size: 0.75rem; font-weight: 700; color: var(--text-tertiary); display: flex; align-items: center; gap: 6px; }
.info-val, .act-overview-value { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }
.code-highlight { color: var(--accent-apple) !important; font-family: monospace; }
.act-modal-overview-grid, .act-modal-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.act-modal-overview-item { background: var(--bg-card); border: var(--border-subtle); border-radius: var(--radius-xs); padding: 11px 13px; display: flex; flex-direction: column; gap: 3px; }
.cert-skills-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cert-tag { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--accent-apple-subtle); color: var(--accent-apple); font-size: 0.76rem; font-weight: 700; }

.act-modal-gallery, .cert-modal-view-frame { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--bg-pill); }
.act-gallery-main { position: relative; height: 250px; overflow: hidden; }
.act-modal-main-img, .cert-modal-img { width: 100%; max-height: 350px; object-fit: contain; }
.act-gallery-overlay, .cert-modal-img-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.act-gallery-main:hover .act-gallery-overlay, .cert-modal-view-frame:hover .cert-modal-img-overlay { opacity: 1; }
.gallery-zoom-pill, .gallery-badge-main { padding: 5px 13px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); color: #1D1D1F; font-size: 0.76rem; font-weight: 700; }
.gallery-badge-main { position: absolute; top: 12px; left: 12px; }
.act-gallery-sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
.act-sub-placeholder { padding: 12px; border-radius: var(--radius-xs); border: 1px dashed rgba(128,128,128,0.25); display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--text-tertiary); }
.modal-gallery-wrapper { margin-top: 16px; }
.modal-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.modal-gallery-item { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; cursor: pointer; }
.modal-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.modal-gallery-item-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.modal-gallery-item:hover .modal-gallery-item-overlay { opacity: 1; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 14px; border-top: var(--border-subtle); }

/* Lightbox */
.image-lightbox { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.image-lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.76); backdrop-filter: blur(20px); }
.lightbox-dialog { position: relative; z-index: 2; max-width: 880px; width: 92%; background: var(--bg-card); border-radius: var(--radius-bento); overflow: hidden; box-shadow: var(--shadow-modal); }
.lightbox-close-btn { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #FFFFFF; display: flex; align-items: center; justify-content: center; z-index: 10; }
.lightbox-img-wrapper { background: #0C0C0F; display: flex; justify-content: center; max-height: 66vh; }
.lightbox-img { max-height: 66vh; object-fit: contain; }
.lightbox-footer { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.lightbox-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 700; color: var(--accent-green); }
.lightbox-title { font-size: 1rem; }
.lightbox-actions { display: flex; gap: 8px; }

/* Toast */
.toast-container { position: fixed; bottom: 26px; left: 26px; z-index: 2300; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #1D1D1F; color: #FFFFFF; padding: 11px 18px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 28px rgba(0,0,0,0.25); }

/* -------------------------------------------------------------------
   14. MOBILE FLOATING QUICK DOCK (#10) & RESPONSIVE POLISH (#9)
------------------------------------------------------------------- */
.mobile-floating-dock {
  display: none;
}

@media (max-width: 1080px) {
  .nav-menu, .nav-cv-btn, .nav-contact-btn { display: none; }
  .menu-toggle { display: flex; }

  .hero-content { grid-column: span 7; padding: 32px; }
  .hero-editorial-card { grid-column: span 5; }
  .hero-stat-card { grid-column: span 6; }

  .edu-bento-card, .strengths-bento-card { grid-column: span 12; }
  .skills-bento-matrix { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .award-span-7, .award-span-5, .award-span-6 { grid-column: span 12; }
}

@media (max-width: 768px) {
  body {
    padding-top: 78px;
    padding-bottom: 84px; /* Space for Mobile Floating Dock */
  }

  .container { padding: 0 18px; }
  .section { padding: 56px 0; }

  /* Hero: Main + Editorial full width, 4 Stat Cards in crisp 2x2 Grid (#9)! */
  .hero-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-content,
  .hero-editorial-card {
    grid-column: span 2;
  }

  .hero-content { padding: 26px 20px; }
  .hero-editorial-card { min-height: 390px; }

  .hero-stat-card {
    grid-column: span 1 !important;
    padding: 15px 14px;
    gap: 10px;
    border-radius: 20px;
  }

  .badge-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 11px; }
  .badge-text strong { font-size: 0.88rem; }
  .badge-text span { font-size: 0.71rem; }

  .skills-bento-matrix,
  .projects-grid,
  .contact-layout,
  .footer-container,
  .modal-grid,
  .act-modal-overview-grid,
  .act-modal-details-grid {
    grid-template-columns: 1fr;
  }

  /* App Store Horizontal Snap Carousel for Awards & Activities on Mobile (#9)! */
  .awards-bento-grid,
  .activities-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    margin-right: -18px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .awards-bento-grid::-webkit-scrollbar,
  .activities-grid::-webkit-scrollbar { display: none; }

  .award-bento-card,
  .activity-card {
    flex: 0 0 84vw;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .award-span-7 {
    display: flex;
    flex-direction: column;
  }
  .award-span-7 .award-img-box { min-height: 195px; height: 195px; }

  .form-row { flex-direction: column; }
  .v2-compare-badge {
    bottom: 78px;
    left: 16px;
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  /* Mobile Floating Quick Dock (#10) */
  .mobile-floating-dock {
    position: fixed;
    bottom: 14px;
    left: 16px;
    right: 16px;
    z-index: 995;
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-pill);
    background: rgba(22, 22, 27, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.35s var(--ease-apple), opacity 0.3s ease;
  }

  .mobile-floating-dock.dock-visible {
    transform: translateY(0);
    opacity: 1;
  }

  .dock-action-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.83rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .dock-zalo {
    background: var(--accent-apple);
    color: #FFFFFF;
  }

  .dock-cv {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
  }

  .back-to-top-btn { bottom: 78px; right: 16px; }
}


/* ==================== DIGITAL VCARD & CV PREVIEW MODALS ==================== */
.vcard-modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  padding: 28px 24px 24px;
  z-index: 1050;
  display: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcard-modal-box.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vcard-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.vcard-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.vcard-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
  margin-bottom: 4px;
}

.vcard-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.vcard-alias {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
}

.vcard-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

.vcard-org {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin: 0;
}

.vcard-qr-box {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vcard-scan-text {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.vcard-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* CV In-Modal Preview */
.cv-preview-modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 900px;
  height: 88vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  z-index: 1050;
  display: none;
  opacity: 0;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-preview-modal-box.active {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cv-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.cv-preview-body {
  flex: 1;
  width: 100%;
  height: 100%;
  background: #525659;
}

@media (max-width: 768px) {

  /* Enhanced Mobile Touch & Layout Optimizations */
  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.18 !important;
  }
  .hero-greeting-line {
    font-size: 0.95rem !important;
    margin-bottom: 2px;
  }
  .role-badge-container {
    flex-wrap: wrap;
    gap: 6px;
  }
  .role-tag {
    font-size: 0.76rem !important;
    padding: 4px 10px !important;
  }
  .hero-description {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.92rem;
  }
  .hero-quick-connect {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quick-connect-pill {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  /* Modals on Mobile */
  .vcard-modal-box {
    width: 94% !important;
    max-width: 360px !important;
    padding: 22px 18px 20px !important;
    border-radius: 24px !important;
  }
  .vcard-avatar {
    width: 72px !important;
    height: 72px !important;
  }
  .vcard-name {
    font-size: 1.15rem !important;
  }
  .vcard-qr-box svg {
    width: 140px !important;
    height: 140px !important;
  }

  .cv-preview-modal-box {
    width: 96% !important;
    height: 90vh !important;
    border-radius: 20px !important;
  }
  .cv-preview-header {
    padding: 12px 16px !important;
  }
  .cv-preview-header .btn span {
    display: none;
  }
  .cv-preview-header .btn {
    padding: 6px 10px;
  }

  /* Keynote Project Cards on Mobile */
  .project-v2-card {
    border-radius: 20px;
  }
  .project-mockup-stage {
    min-height: 220px;
  }
  .project-v2-body {
    padding: 20px 18px;
  }
  .project-v2-title {
    font-size: 1.25rem !important;
  }
  .project-kpi-strip {
    gap: 8px;
    padding: 10px;
  }
  .kpi-cell strong {
    font-size: 1rem !important;
  }
  .kpi-cell span {
    font-size: 0.68rem !important;
  }

  /* Navigation drawer styling */
  .mobile-drawer {
    width: 86vw;
    max-width: 340px;
  }

}
