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

:root {
  --bg: #f5f5f5;
  --bg-2: #ffffff;
  --bg-3: #efefef;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-h: rgba(0, 0, 0, 0.15);
  --accent: #7b9ec0;
  --accent-dim: rgba(123, 158, 192, 0.12);
  --text-1: #1a1a2e;
  --text-2: #555570;
  --text-3: #999aaa;
  --sidebar-w: 250px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font);
  line-height: 1.6;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 99px;
}

/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-top {
  width: 100%;
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.sidebar-name span {
  color: var(--accent);
}

.sidebar-role {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: var(--mono);
  margin-top: 0.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* nav */
.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 3rem 0 auto 0;
  width: 100%;
}

.nav-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 400;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

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

.nav-link.active {
  color: var(--text-1);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* sidebar footer */
.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  width: 100%;
  text-align: center;
}

.footer-note {
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--mono);
}

/* ── MAIN CONTENT ── */
.content {
  margin-left: var(--sidebar-w);
  flex: 1;
  overflow-y: auto;
  height: 100vh;
  scroll-behavior: smooth;
}

/* ── Section ── */
.section {
  min-height: 100vh;
  display: none;
  /* Hide all sections by default */
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  position: relative;
}

.section.active-section {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-inner {
  max-width: 1400px;
  width: 100%;
  animation: fadeUp 0.45s ease both;
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  font-family: var(--mono);
}

.section-body {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* ── HOME ── */
.home-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9d8e8, #e8d5c9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #7b9ec0;
  margin: 0 auto 1.5rem;
  border: 4px solid #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.home-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.home-hello {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
  display: block;
  font-style: italic;
}

.home-name {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.home-desc {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}

.home-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.home-link:hover {
  opacity: 0.7;
}

/* ── HOME EXTENDED (hero + languages) ── */
.section--home {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  min-height: 200vh;
}

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 4rem;
}

.hero-actions {
  margin: 1.5rem 0 0.5rem;
}

.scroll-hint {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  animation: hintBounce 2s ease infinite;
}

@keyframes hintBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

.home-languages {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

/* Language Cards */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.lang-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.lang-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.lang-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lang-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.native-bg {
  background: #e8f5e9;
  color: #2e7d32;
}

.prof-bg {
  background: #e3f2fd;
  color: #1565c0;
}

.pro-bg {
  background: #f3e5f5;
  color: #6a1b9a;
}

.learn-bg {
  background: #fff3e0;
  color: #e65100;
}

.lang-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lang-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
}

.lang-level {
  font-size: 0.65rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  display: inline-block;
  align-self: flex-start;
}

.lang-level.native {
  background: #e8f5e9;
  color: #2e7d32;
}

.lang-level.proficient {
  background: #e3f2fd;
  color: #1565c0;
}

.lang-level.professional {
  background: #f3e5f5;
  color: #6a1b9a;
}

.lang-level.learning {
  background: #fff3e0;
  color: #e65100;
}

.lang-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* Certificate Cards section */
.lang-certs-wrapper {
  margin-top: 3.5rem;
  text-align: left;
}

.certs-header {
  margin-bottom: 1.5rem;
}

.certs-header h3 {
  font-size: 1.25rem;
  color: var(--text-1);
  font-weight: 600;
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cert-iframe {
  width: 52%;
  aspect-ratio: 1.41 / 1;
  /* Landscape — fits 5Q cert fully; crops English to first-page top */
  border: none;
  border-right: 1px solid var(--border);
  background: var(--bg-3);
  flex-shrink: 0;
  display: block;
}

.cert-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.cert-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.3rem;
}

.cert-info p {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  align-self: flex-start;
}

.home-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-1);
  font-family: var(--mono);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── BUTTONS ── */
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-primary {
  background: var(--text-1);
  color: #fff;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-h);
  color: var(--text-2);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--text-1);
  color: var(--text-1);
  transform: translateY(-1px);
}

/* ── SKILLS ── */
/* ── SKILLS V2 ── */
.skills-container-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.skills-row-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.skills-row-v2-3col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Big Category Cards */
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  position: relative;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--border-h);
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  border-radius: 0 0 12px 12px;
}

/* Category Card Bottom Borders */
.border-blue::after {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.border-purple::after {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.border-blue-dark::after {
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.border-green::after {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.border-cyan::after {
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.border-orange::after {
  background: linear-gradient(90deg, #f97316, #fb923c);
}


/* Card Full Width */
.card-full-width {
  grid-column: 1 / -1;
}

/* Headers inside category cards */
.cat-header {
  margin-bottom: 2rem;
}

.cat-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.cat-icon {
  font-size: 1.25rem;
  font-family: var(--mono);
  font-weight: 700;
}

.cat-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.cat-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* Text Colors */
.text-blue {
  color: #3b82f6;
}

.text-purple {
  color: #8b5cf6;
}

.text-blue-dark {
  color: #1e40af;
}

.text-green {
  color: #10b981;
}

.text-cyan {
  color: #06b6d4;
}

.text-orange {
  color: #f97316;
}

/* Skills inside Category Cards */
.cat-skills {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.cat-skills-left {
  justify-content: flex-start;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.skill-icon-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.2rem;
}

.skill-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
}

.skill-level {
  font-size: 0.68rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Dots */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-blue {
  background-color: #3b82f6;
}

.dot-orange {
  background-color: #f97316;
}

.dot-purple {
  background-color: #8b5cf6;
}

.dot-red {
  background-color: #ef4444;
}

.dot-yellow {
  background-color: #eab308;
}

.dot-green {
  background-color: #10b981;
}

/* Skill Item Row (For Unity, GitHub, Office) */
.skill-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-icon-bg {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon-bg-sm {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-purple-light {
  background-color: #f3e8ff;
}

.bg-gray-light {
  background-color: #f8fafc;
}

.border-outline {
  border: 1px solid var(--border);
}

.skill-icon-img-large {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.skill-icon-img-md {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.skill-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Horizontal Card Variations (Productivity Tools) */
.cat-header-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-header-left {
  flex: 1;
}

.cat-skills-horizontal {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.max-w-sm {
  max-width: 400px;
}

.compact {
  gap: 0.6rem;
}

.skill-name-sm {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
}

/* Bottom banner */
.skills-banner {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  background: linear-gradient(90deg, #fafafa, #f5f7fa, #fafafa);
}

.banner-icon {
  font-size: 1.1rem;
}

.banner-text {
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}

/* Misc Helpers */
.section-tag-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tag-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #8b5cf6;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
}

.title-underline {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  margin: 0.5rem auto 1rem;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 0.5rem;
  text-align: left;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a0c4e4);
}

.accent-blue {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.accent-green {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.accent-purple {
  background: linear-gradient(90deg, #7c6af7, #a78bfa);
}

.card-body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 0.5rem;
  display: block;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0.6rem;
  text-align: left;
}

.card-date {
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--mono);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.65rem 0 0.45rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-family: var(--mono);
}

.card-links {
  margin-top: 0.65rem;
}

.card-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition);
}

.card-link:hover {
  opacity: 0.7;
}

/* ── PROJECT CARDS V3 (SCROLLABLE UI RE-DESIGN) ── */
.featured-project-card {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  height: 550px;
  /* Force a specified size for the project card */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-content {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.project-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.purple-bg {
  background-color: #f3e8ff;
}

.featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
}

.featured-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  min-width: 300px;
  /* Prevent text from squishing too much during animation */
}

.featured-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  white-space: nowrap;
}

.featured-image {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
  /* Subtle background while blending */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expand smoothly by manipulating flex widths */
.featured-project-card.expanded .featured-content {
  flex: 0 0 0%;
  max-width: 0%;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
}

.featured-project-card.expanded .featured-image {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Featured carousel track — peek state is the initial position */
#featured-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Will be set by JS on load */
}

#featured-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Blend to card size without cropping */
  flex-shrink: 0;
}

/* Left arrow hidden by default for the featured carousel */
#featured-prev {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.3s ease !important;
}

#featured-prev.visible {
  opacity: 1 !important;
  pointer-events: auto;
}

/* Always show right arrow for featured carousel initially */
#featured-next {
  opacity: 1;
  pointer-events: auto;
}

#featured-next.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

/* Override: show arrows on hover only for grid carousels, not featured
#featured-carousel:hover #featured-prev,
#featured-carousel:hover #featured-next {
  Controlled exclusively by JS classes
} */

/* 2-Column Grid */
.projects-grid-v3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.project-card-v3 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.project-card-v3:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.expand-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 10;
  cursor: pointer;
}

.project-card-v3:hover .expand-btn {
  opacity: 1;
  transform: scale(1);
}

.expand-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

#lightbox-prev {
  left: -60px;
}

#lightbox-next {
  right: -60px;
}

@media (max-width: 768px) {
  #lightbox-prev {
    left: 10px;
  }

  #lightbox-next {
    right: 10px;
  }
}

.project-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.project-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.project-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
  font-size: 0.8rem;
  z-index: 5;
}

.project-image-wrapper:hover .project-nav-btn {
  opacity: 1;
}

.project-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.project-prev {
  left: 8px;
}

.project-next {
  right: 8px;
}

.project-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.project-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition);
}

.project-indicator.active {
  background: rgba(255, 255, 255, 1);
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--mono);
  margin-bottom: 0.4rem;
  display: block;
}

.card-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-link-sm {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #3b82f6;
  transition: opacity var(--transition);
}

.card-link-sm.text-gray {
  color: var(--text-2);
}

.card-link-sm:hover {
  opacity: 0.7;
}

/* ── CTA RESERVED CARD (Future Slot) ── */
.cta-reserved-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2.5rem;
  min-height: 100%;
  background: var(--surface);
  border: 2px dashed #a78bfa;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cta-reserved-card:hover {
  border-style: solid;
  border-color: #8b5cf6;
  background: linear-gradient(135deg, rgba(243, 232, 255, 0.5) 0%, rgba(236, 253, 245, 0.5) 100%);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
}

.cta-reserved-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f3e8ff;
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.cta-reserved-card:hover .cta-reserved-icon {
  transform: scale(1.1) translateY(-3px);
  background: #8b5cf6;
  color: #ffffff;
}

.cta-reserved-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.cta-reserved-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 2.2rem;
  line-height: 1.6;
  max-width: 90%;
}

.cta-reserved-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  color: #8b5cf6;
  border: 1.5px solid #8b5cf6;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none;
}

.cta-reserved-card:hover .cta-reserved-btn {
  background: #8b5cf6;
  color: #ffffff;
}

/* Responsive Projects */
@media (max-width: 900px) {
  .featured-project-card {
    flex-direction: column-reverse;
    height: auto;
  }

  .featured-content {
    flex: none;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .featured-image {
    flex: none;
    max-width: 100%;
    height: 300px;
    min-height: 250px;
  }

  .projects-grid-v3 {
    grid-template-columns: 1fr;
  }

  .projects-cta {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .cta-left {
    flex-direction: column;
  }
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.85rem;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  transition: border-color var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.timeline-content:hover {
  border-color: var(--border-h);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.timeline-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-1);
}

.timeline-period {
  font-size: 0.7rem;
  color: var(--text-3);
  font-family: var(--mono);
  white-space: nowrap;
}

.timeline-company {
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.55rem;
  font-family: var(--mono);
}

.timeline-desc {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 0.65rem;
}

/* ── INTERNSHIPS V2 ── */
.timeline-dot-primary {
  background: #3b82f6 !important;
  box-shadow: 0 0 0 2px #3b82f6 !important;
}

.internship-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.intern-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.intern-header-left {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.intern-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intern-icon-box.purple-bg {
  background-color: #f3e8ff;
}

.intern-icon-box.green-bg {
  background-color: #ecfdf5;
}

.intern-title-box {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.intern-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
  line-height: 1.2;
}

.intern-company {
  font-size: 0.85rem;
  color: #3b82f6;
  margin: 0;
  font-weight: 500;
}

.intern-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--mono);
}

.intern-overview {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.intern-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.6rem;
}

.intern-divider {
  height: 1px;
  background: transparent;
  border-bottom: 1px dashed var(--border-h);
  margin: 0.5rem 0;
}

.intern-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.intern-list {
  padding-left: 1.2rem;
  margin: 0;
  list-style: none;
}

.intern-list li {
  position: relative;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.intern-list li::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 0.45rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.intern-list.purple-bullets li::before {
  background-color: #8b5cf6;
}

.intern-list.green-bullets li::before {
  background-color: #10b981;
}

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

.intern-tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-weight: 500;
}

.intern-tag.purple-tag {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.intern-tag.green-tag {
  background-color: #ecfdf5;
  color: #065f46;
}

.intern-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1px solid #3b82f6;
  color: #3b82f6;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  background: transparent;
}

.intern-btn:hover {
  background: #eff6ff;
}

@media (max-width: 700px) {
  .intern-header {
    flex-direction: column;
    gap: 0.8rem;
  }

  .intern-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── CONTACT V2 ── */
.contact-cards-v2 {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}

.contact-card-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.contact-card-v2:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-icon-v2 {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.contact-card-v2:hover .contact-icon-v2 {
  transform: scale(1.05);
}

.bg-purple-light {
  background-color: #f3e8ff;
}

.bg-gray-light {
  background-color: #f3f4f6;
}

.bg-blue-light {
  background-color: #e0f2fe;
}

.contact-name-v2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
}

/* ── CONTACT FORM V2 ── */
.contact-form-wrapper-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 705px;
  margin: 0 auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.contact-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.form-row-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-v2 label {
  font-size: 0.75rem;
  color: var(--text-2);
  font-weight: 500;
  margin-left: 0.2rem;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.textarea-icon {
  top: 1rem;
}

.input-icon-wrapper input,
.input-icon-wrapper textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  color: var(--text-1);
  font-family: var(--font);
  font-size: 0.875rem;
  outline: none;
  transition: all var(--transition);
}

.input-icon-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-icon-wrapper input::placeholder,
.input-icon-wrapper textarea::placeholder {
  color: var(--text-3);
}

.btn-submit-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit-v2:hover {
  background: #2a2a4a;
  transform: translateY(-1px);
}

.contact-footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  color: #6b21a8;
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: var(--mono);
}

/* ── HAMBURGER & OVERLAY ── */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 99px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 90;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .lang-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-w: 220px;
  }

  .section {
    padding: 4rem 2.5rem;
  }

  .home-languages {
    padding: 4rem 2.5rem;
  }
}

@media (max-width: 700px) {
  .sidebar {
    transform: translateX(calc(-1 * var(--sidebar-w)));
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .overlay.show {
    display: block;
  }

  .content {
    margin-left: 0;
  }

  .section {
    padding: 5rem 1.5rem 3rem;
  }

  .home-languages {
    padding: 4rem 1.5rem;
  }

  .lang-grid {
    grid-template-columns: 1fr;
  }

  .cert-card {
    flex-direction: column;
  }

  .cert-iframe {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .skills-row-v2 {
    grid-template-columns: 1fr;
  }

  .skills-row-v2-3col {
    grid-template-columns: 1fr;
  }

  .cat-header-horizontal {
    flex-direction: column;
    align-items: flex-start;
  }

  .cat-skills-horizontal {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .form-row-v2 {
    grid-template-columns: 1fr;
  }

  .home-stats {
    gap: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards-v2 {
    flex-direction: column;
    align-items: center;
  }
}

/* ══ CERTIFICATES GALLERY ══ */
.cert-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.cert-gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.cert-gallery-card:hover {
  transform: translateY(-6px);
  border-color: #8b5cf6;
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.15);
}

.cert-gallery-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.414 / 1;
  background: var(--bg-3);
}

.cert-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.cert-gallery-card:hover .cert-gallery-img {
  transform: scale(1.04);
}

.cert-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cert-gallery-card:hover .cert-gallery-overlay {
  opacity: 1;
}

.cert-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.25s ease;
  transform: translateY(8px);
  opacity: 0;
}

.cert-gallery-card:hover .cert-view-btn {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.05s;
}

.cert-view-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cert-gallery-info {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cert-gallery-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 0.1rem;
}

.cert-tag-blue    { background: #eff6ff; color: #2563eb; }
.cert-tag-purple  { background: #f3e8ff; color: #7c3aed; }
.cert-tag-green   { background: #ecfdf5; color: #059669; }
.cert-tag-cyan    { background: #e0f7fa; color: #0097a7; }
.cert-tag-orange  { background: #fff7ed; color: #c2410c; }

.cert-gallery-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
  line-height: 1.3;
}

.cert-gallery-issuer {
  font-size: 0.78rem;
  color: var(--text-3);
  margin: 0;
}

/* Certificate Count Banner */
.cert-count-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6d28d9;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Certificate Lightbox */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.cert-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cert-lightbox-panel {
  position: relative;
  z-index: 1;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.cert-lightbox.active .cert-lightbox-panel {
  transform: scale(1);
}

.cert-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.cert-lightbox-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.cert-lightbox-close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cert-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.cert-lightbox-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #111;
}

.cert-lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 140px);
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.cert-lightbox-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-lightbox-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #8b5cf6;
  color: #fff;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cert-lightbox-download:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

/* Responsive: Gallery Grid */
@media (max-width: 1200px) {
  .cert-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .cert-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .cert-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cert-gallery-info {
    padding: 0.75rem 0.85rem 0.85rem;
  }
  .cert-gallery-title {
    font-size: 0.82rem;
  }
}

/* ── UTILITY CLASSES ── */
.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 2.5rem !important;
}

.text-center {
  text-align: center !important;
}

/* ── EDUCATION V2 ── */
.home-education {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.edu-timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  text-align: left;
}

.edu-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.edu-item {
  position: relative;
  padding-left: 3rem;
}

.edu-marker {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid var(--bg-1);
  box-shadow: 0 0 0 2px #3b82f6;
}

.edu-date {
  font-size: 0.85rem;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: #eff6ff;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.edu-degree {
  font-size: 1.25rem;
  color: var(--text-1);
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-family: var(--font);
}

.edu-inst {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}

.edu-score {
  font-size: 0.95rem;
  color: var(--text-1);
  font-weight: 500;
}

.edu-note {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: normal;
}

@media (max-width: 900px) {
  .home-education {
    padding: 4rem 2.5rem;
  }
}

@media (max-width: 700px) {
  .home-education {
    padding: 5rem 1.5rem 3rem;
  }
}

/* ── HERO V2 ── */
.home-hero-v2 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background: var(--bg-1);
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-text-col {
  flex: 1;
  text-align: left;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  background: #e0f2fe;
  color: #2563eb;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.tag-dot-blue {
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
  margin-right: 8px;
}

.home-hello-v2 {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.home-name-v2 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-roles {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #3b82f6;
  font-size: 1.1rem;
  flex-wrap: wrap;
}

.role-dot {
  color: #93c5fd;
  font-size: 0.8rem;
}

.home-desc-v2 {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions-v2 {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0f172a;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-outline-light:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.hero-image-col {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-image-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.dot-pattern-bg {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: 0;
}

.hero-profile-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 20px;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ── STATS BAR V2 ── */
.home-stats-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: #fff;
  padding: 1.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 0;
  border: 1px solid #f1f5f9;
}

.stat-v2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.stat-icon-v2 {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info-v2 {
  display: flex;
  flex-direction: column;
}

.stat-num-v2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.stat-title-v2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

.stat-subtitle-v2 {
  font-size: 0.75rem;
  color: #94a3b8;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: #e2e8f0;
}

.scroll-hint-v2 {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Sidebar Nav Icons */
.nav-link {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  text-align: left !important;
  padding: 0.7rem 1.2rem !important;
}

.nav-icon {
  width: 20px;
  height: 20px;
  background-color: var(--text-2);
  display: inline-block;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: all var(--transition);
}

.nav-link:hover .nav-icon {
  background-color: var(--text-1);
}

.nav-link.active {
  background: #eff6ff !important;
  color: #2563eb !important;
  text-decoration: none !important;
}

.nav-link.active .nav-icon {
  background-color: #2563eb !important;
}

/* Sidebar Socials */
.sidebar-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  transition: all var(--transition);
}

.social-icon {
  width: 18px;
  height: 18px;
  background-color: var(--text-2);
  display: inline-block;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: all var(--transition);
}

.social-link:hover .social-icon {
  background-color: #2563eb;
}

@media (max-width: 900px) {
  .hero-content-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }

  .hero-text-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-roles {
    justify-content: center;
  }

  .hero-actions-v2 {
    justify-content: center;
  }

  .home-stats-v2 {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .hero-image-container {
    width: 300px;
    height: 300px;
  }
}

/* ── EDUCATION STEPPED LAYOUT ── */
.education-stepped-layout {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.edu-step-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.edu-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card-blue {
  height: 320px;
  border-left: 4px solid #3b82f6;
  z-index: 1;
}

.card-purple {
  height: 380px;
  border-left: 4px solid #8b5cf6;
  margin-left: -20px;
  z-index: 2;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.03);
}

.card-green {
  height: 440px;
  border-left: 4px solid #10b981;
  margin-left: -20px;
  z-index: 3;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.03);
}

.edu-card-top {
  padding: 1.5rem;
  flex: 1;
  text-align: left;
}

.edu-card-bottom {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-blue .edu-card-bottom {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.card-purple .edu-card-bottom {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.card-green .edu-card-bottom {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.edu-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.edu-step-num {
  font-size: 1.2rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-blue .edu-step-num {
  color: #3b82f6;
  background: #eff6ff;
}

.card-purple .edu-step-num {
  color: #8b5cf6;
  background: #f5f3ff;
}

.card-green .edu-step-num {
  color: #10b981;
  background: #ecfdf5;
}

.edu-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-blue .edu-pill {
  background: #eff6ff;
  color: #3b82f6;
}

.card-purple .edu-pill {
  background: #f5f3ff;
  color: #8b5cf6;
}

.card-green .edu-pill {
  background: #ecfdf5;
  color: #10b981;
}

.edu-school {
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.edu-degree {
  font-size: 1.1rem;
  color: var(--text-1);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.edu-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-2);
}

.edu-info-icon {
  margin-top: 3px;
}

.edu-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.edu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-details {
  display: flex;
  flex-direction: column;
}

.score-label {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.score-max {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}

.score-note {
  font-size: 0.7rem;
  color: var(--text-3);
}

.edu-bg-icon {
  width: 80px;
  height: 80px;
  opacity: 0.15;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.card-green .edu-bg-icon {
  width: 140px;
  height: 140px;
}

@media (max-width: 900px) {
  .education-stepped-layout {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .edu-step-card {
    width: 100%;
    max-width: 360px;
    height: auto !important;
    margin-left: 0 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
  }
  
  .edu-card-bottom {
    height: 100px;
  }
}


/* ══════════════════════════════════════════════
   DATA ANALYSIS SECTION
══════════════════════════════════════════════ */

/* Section header tag */
.da-tag { color: #f59e0b; }
.da-tag-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  margin: 0 4px;
  vertical-align: middle;
}

/* ── Base Card ── */
.da-card {
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.da-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ── CARD 1: SQL (dark navy) ── */
.da-card--sql {
  background: #0f172a;
  border: 1px solid rgba(59,130,246,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.da-card-header {
  padding: 1.75rem 2rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.da-card-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.da-project-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.da-icon-sql { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); }
.da-icon-pbi { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); }

.da-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.4rem;
}
.da-badge--sql { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.da-badge--pbi { background: rgba(245,158,11,0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }

.da-project-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
  margin: 0;
}
.da-project-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}
.da-title-dark { color: #1a1a2e; }
.da-subtitle-dark { color: #555570; }

.da-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0 2rem 2rem;
}

.da-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.da-desc-pbi {
  font-size: 0.88rem;
  color: #555570;
  line-height: 1.75;
  margin: 0 2rem 1.5rem;
}

/* KPI Chips */
.da-kpi-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.da-kpi-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 80px;
  flex: 1;
}
.da-kpi-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
  font-family: var(--mono);
  line-height: 1;
}
.da-kpi-label {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* Fraud Simulator */
.da-simulator {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.da-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.da-sim-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  font-family: var(--mono);
}
.da-sim-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}
.da-sim-btn:hover { background: #2563eb; }

.da-sim-feed { display: flex; flex-direction: column; gap: 0.6rem; }
.da-sim-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
  font-family: var(--mono);
  font-size: 0.8rem;
}
.da-sim-row.approved {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
}
.da-sim-row.blocked {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  animation: simShake 0.4s ease;
}
@keyframes simShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.da-sim-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.da-sim-indicator.idle { background: #475569; }
.da-sim-indicator.ok { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.6); }
.da-sim-indicator.bad { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.6); animation: blinkRed 0.5s ease 3; }
@keyframes blinkRed {
  0%,100% { opacity: 1; } 50% { opacity: 0; }
}

.da-sim-location { color: #e2e8f0; flex: 1; }
.da-sim-time { color: #64748b; font-size: 0.72rem; }
.da-sim-status { font-size: 0.72rem; min-width: 90px; text-align: right; }
.da-sim-row.approved .da-sim-status { color: #10b981; font-weight: 600; }
.da-sim-row.blocked .da-sim-status { color: #ef4444; font-weight: 600; }
.da-sim-row.da-sim-idle .da-sim-status { color: #475569; }

.da-sim-msg {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: #ef4444;
  min-height: 1.2em;
  text-align: center;
  transition: opacity 0.3s;
}

/* Tags */
.da-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.da-tag-pill {
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  background: rgba(59,130,246,0.1);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.2);
  font-family: var(--mono);
}
.da-tag-amber {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
  border-color: rgba(245,158,11,0.25);
}
.da-tag-dim {
  background: rgba(255,255,255,0.04);
  color: #64748b;
  border-color: rgba(255,255,255,0.08);
}

/* ── Terminal Code Viewer ── */
.da-code-col { display: flex; flex-direction: column; }
.da-terminal {
  background: #020817;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.da-terminal-bar {
  background: #1e293b;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.da-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.da-dot.red    { background: #ef4444; }
.da-dot.yellow { background: #f59e0b; }
.da-dot.green  { background: #10b981; }
.da-terminal-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #64748b;
  margin-left: 0.5rem;
}

.da-code-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #0f172a;
}
.da-code-tab {
  flex: 1;
  padding: 0.55rem 1rem;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.75rem;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.da-code-tab:hover { color: #94a3b8; }
.da-code-tab.active { color: #60a5fa; border-bottom-color: #3b82f6; background: rgba(59,130,246,0.05); }

.da-code-content { flex: 1; overflow: auto; }
.da-pre {
  padding: 1.25rem 1.5rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
  white-space: pre;
  color: #e2e8f0;
}
/* SQL Syntax Highlight Colors */
.sql-kw { color: #c084fc; font-weight: 600; }
.sql-fn { color: #38bdf8; }
.sql-str { color: #86efac; }
.sql-cm { color: #475569; font-style: italic; }
.sql-ty { color: #fb923c; }

/* ── CARD 2: Power BI (light amber) ── */
.da-card--pbi {
  background: #fffbf0;
  border: 1px solid rgba(245,158,11,0.25);
  box-shadow: 0 4px 24px rgba(245,158,11,0.06);
}
.da-card-header--pbi {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.da-audience-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.da-audience-chip {
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  background: rgba(245,158,11,0.1);
  color: #92400e;
  border: 1px solid rgba(245,158,11,0.3);
  font-family: var(--mono);
}

/* Power BI Tab Switcher */
.da-pbi-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0 2rem 1rem;
  flex-wrap: wrap;
}
.da-pbi-tab {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(245,158,11,0.3);
  background: transparent;
  color: #92400e;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.da-pbi-tab:hover { background: rgba(245,158,11,0.1); }
.da-pbi-tab.active {
  background: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

/* Screenshot Viewer */
.da-pbi-viewer { padding: 0 2rem; }
.da-pbi-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245,158,11,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.da-pbi-img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}
.da-pbi-img-wrap:hover .da-pbi-img { transform: scale(1.01); }
.da-pbi-expand {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 6px;
  padding: 0.4rem;
  cursor: pointer;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.da-pbi-img-wrap:hover .da-pbi-expand { opacity: 1; }
.da-pbi-caption {
  font-size: 0.8rem;
  color: #92400e;
  text-align: center;
  margin: 0.75rem 0 0;
  font-style: italic;
  padding-bottom: 1.25rem;
}

/* Highlight Grid */
.da-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 2rem 1rem;
}
.da-highlight-chip {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.da-hl-icon { font-size: 1.3rem; flex-shrink: 0; }
.da-highlight-chip strong { font-size: 0.85rem; color: #1a1a2e; display: block; margin-bottom: 0.2rem; }
.da-highlight-chip p { font-size: 0.78rem; color: #555570; margin: 0; line-height: 1.5; }
.da-tags { padding: 0 2rem; }
.da-card--pbi .da-tags { padding: 0 2rem 2rem; }

/* ── CARD 3: Coming Soon ── */
@keyframes dashMove {
  to { stroke-dashoffset: -20; }
}
@keyframes csGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}
@keyframes barFill {
  0%   { width: 0%; }
  60%  { width: 65%; }
  80%  { width: 62%; }
  100% { width: 65%; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0; }
}
@keyframes orbit {
  from { transform: rotate(var(--angle)) translateX(60px) rotate(calc(-1 * var(--angle))); }
  to   { transform: rotate(calc(var(--angle) + 360deg)) translateX(60px) rotate(calc(-1 * (var(--angle) + 360deg))); }
}
@keyframes dashBorder {
  to { background-position: 100% 0, 0 100%, 0 0, 100% 100%; }
}

.da-card--coming-soon {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;

}
.da-card--coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg,
    rgba(245,158,11,0.08) 0%,
    transparent 50%,
    rgba(245,158,11,0.04) 100%);
  pointer-events: none;
}


.da-cs-content { flex: 1; }
.da-cs-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.da-cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
  font-size: 0.65rem;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  text-transform: uppercase;
}
.da-cs-pulse {
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
}
.da-cs-label {
  font-size: 0.75rem;
  color: #64748b;
  font-family: var(--mono);
}

.da-cs-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.6rem;
}
.da-cs-desc {
  font-size: 0.87rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 440px;
}

/* Orbit Icon Area */
.da-cs-icon-area {
  flex-shrink: 0;
  width: 150px; height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.da-cs-orbit {
  position: relative;
  width: 140px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.da-cs-center-icon {
  font-size: 2rem;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(245,158,11,0.6));
}
.da-cs-orbiter {
  position: absolute;
  font-size: 1.1rem;
  animation: orbit 5s linear infinite;
  transform-origin: center center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .da-card-body { grid-template-columns: 1fr; }
  .da-highlights-grid { grid-template-columns: 1fr; }
  .da-card--coming-soon { flex-direction: column; text-align: center; }
  .da-cs-desc { max-width: 100%; }
  .da-cs-icon-area { width: 120px; height: 120px; }
  .da-pbi-tabs { padding: 0 1rem 1rem; }
  .da-card-header { padding: 1.25rem 1.25rem 0.75rem; }
  .da-card-body { padding: 0 1.25rem 1.25rem; }
  .da-desc-pbi, .da-pbi-tabs, .da-pbi-viewer, .da-highlights-grid, .da-card--pbi .da-tags { padding-left: 1.25rem; padding-right: 1.25rem; }
  .da-pbi-tab { font-size: 0.72rem; padding: 0.4rem 0.75rem; }
}
@media (max-width: 600px) {
  .da-kpi-row { flex-direction: column; }
  .da-highlights-grid { grid-template-columns: 1fr; }
  .da-card--coming-soon { padding: 1.5rem; }
  .da-cs-orbit { display: none; }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE-ONLY REWORK  (max-width: 900px)
   ALL rules below ONLY activate on mobile. Desktop is untouched.
═══════════════════════════════════════════════════════════════ */

/* ── Hide hamburger + old mobile sidebar overlay on mobile ── */
@media (max-width: 900px) {
  .hamburger { display: none !important; }
  .sidebar   { display: none !important; }
  .overlay   { display: none !important; }

  /* Push main content down to clear the fixed top nav */
  .content {
    margin-left: 0;
    padding-top: 72px;
  }
}

/* ── MOBILE TOP NAV BAR ── */
.mobile-top-nav {
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
  .mobile-top-nav {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    z-index: 200;
    gap: 0;
    overflow: hidden;
  }

  .mobile-nav-brand {
    flex-shrink: 0;
    padding: 0 1rem;
    border-right: 1px solid var(--border);
    height: 100%;
    display: flex;
    align-items: center;
  }

  .mobile-nav-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-1);
    white-space: nowrap;
  }

  .mobile-nav-name span {
    color: var(--accent);
  }

  .mobile-nav-scroll-area {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    height: 100%;
  }

  .mobile-nav-scroll-area::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-shrink: 0;
    padding: 0 1rem;
    text-decoration: none;
    color: var(--text-3);
    font-size: 0.62rem;
    font-weight: 500;
    font-family: var(--mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
  }

  .mobile-nav-link:hover {
    color: var(--text-1);
    background: var(--bg-3);
  }

  .mobile-nav-link.active {
    color: var(--text-1);
    border-bottom-color: var(--accent);
    font-weight: 700;
    background: var(--bg-3);
  }

  .mobile-nav-icon {
    display: block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
  }
}


/* ── DUAL LAYOUT: Desktop/Mobile visibility ── */

/* Desktop elements — visible on desktop, hidden on mobile */
.desktop-cortex,
.desktop-data-analysis {
  display: block;
}

@media (max-width: 900px) {
  .desktop-cortex        { display: none !important; }
  .desktop-data-analysis { display: none !important; }
}

/* Mobile elements — hidden on desktop, visible on mobile */
.mobile-cortex,
.mobile-data-analysis {
  display: none;
}

@media (max-width: 900px) {
  .mobile-cortex         { display: block; }
  .mobile-data-analysis  { display: block; }
}


/* ══════════════════════════════════════════════
   MOBILE CORTEX CARD STYLES
═══════════════════════════════════════════════ */
@media (max-width: 900px) {

  .mobile-cortex {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(139,92,246,0.08);
    margin-bottom: 2rem;
    text-align: left;
  }

  /* Header */
  .mobile-cortex-header {
    padding: 1.25rem 1.25rem 0;
  }

  .mobile-cortex-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-family: var(--mono);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b5cf6;
    background: rgba(139,92,246,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    border: 1px solid rgba(139,92,246,0.25);
    margin-bottom: 1rem;
  }

  .mobile-cortex-title-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }

  .mobile-cortex-icon {
    width: 48px;
    height: 48px;
    background: rgba(139,92,246,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(139,92,246,0.2);
  }

  .mobile-cortex-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.1;
  }

  .mobile-cortex-subtitle {
    font-size: 0.8rem;
    color: var(--text-3);
    font-family: var(--mono);
    margin-top: 2px;
  }

  /* Carousel */
  .mobile-cortex-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a2e;
  }

  .mobile-cortex-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  }

  .mobile-cortex-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .mobile-cortex-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
  }

  .mobile-cortex-nav:hover { background: rgba(0,0,0,0.8); }
  .mobile-cortex-prev { left: 10px; }
  .mobile-cortex-next { right: 10px; }

  .mobile-cortex-counter {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 0.72rem;
    font-family: var(--mono);
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.45);
    padding: 2px 8px;
    border-radius: 99px;
    backdrop-filter: blur(4px);
  }

  /* Body */
  .mobile-cortex-body {
    padding: 1.25rem;
  }

  /* Highlight grid */
  .mobile-cortex-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .mobile-cortex-hl {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--bg-3);
    border-radius: 10px;
    padding: 0.75rem;
    border: 1px solid var(--border);
  }

  .mobile-hl-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
  }

  .mobile-cortex-hl strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 2px;
  }

  .mobile-cortex-hl p {
    font-size: 0.72rem;
    color: var(--text-3);
    line-height: 1.4;
    margin: 0;
  }

  .mobile-cortex-desc {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  /* Tags */
  .mobile-cortex-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .mobile-cortex-tags span {
    font-size: 0.72rem;
    font-family: var(--mono);
    font-weight: 500;
    background: rgba(139,92,246,0.08);
    color: #8b5cf6;
    border: 1px solid rgba(139,92,246,0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
  }

  /* GitHub Button */
  .mobile-cortex-github-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--text-1);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .mobile-cortex-github-btn:hover {
    background: #333;
    transform: translateY(-1px);
  }
}


/* ══════════════════════════════════════════════
   MOBILE DATA ANALYSIS STYLES
═══════════════════════════════════════════════ */
@media (max-width: 900px) {

  .mobile-data-analysis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
  }

  .mobile-da-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }

  .mobile-da-sql {
    border-top: 3px solid #3b82f6;
  }

  .mobile-da-pbi {
    border-top: 3px solid #f59e0b;
  }

  .mobile-da-coming-soon {
    border: 2px dashed rgba(139,92,246,0.35);
    background: rgba(243,232,255,0.05);
  }

  /* Card Top */
  .mobile-da-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }

  .mobile-da-icon-wrap {
    width: 46px;
    height: 46px;
    background: rgba(59,130,246,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(59,130,246,0.15);
  }

  .mobile-da-icon-pbi {
    background: rgba(245,158,11,0.08);
    border-color: rgba(245,158,11,0.2);
  }

  .mobile-da-badge {
    font-size: 0.62rem;
    font-family: var(--mono);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
  }

  .mobile-da-badge-sql  { color: #3b82f6; }
  .mobile-da-badge-pbi  { color: #f59e0b; }

  .mobile-da-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.2;
  }

  .mobile-da-subtitle {
    font-size: 0.75rem;
    color: var(--text-3);
    margin-top: 2px;
  }

  .mobile-da-desc {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  /* KPI chips */
  .mobile-da-kpis {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .mobile-da-kpi {
    flex: 1;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 0.5rem;
    text-align: center;
  }

  .mobile-da-kpi-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--mono);
    color: #3b82f6;
    line-height: 1.1;
  }

  .mobile-da-kpi-label {
    display: block;
    font-size: 0.62rem;
    color: var(--text-3);
    font-family: var(--mono);
    margin-top: 2px;
  }

  /* Compact Simulator */
  .mobile-da-sim {
    background: #0f172a;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.06);
  }

  .mobile-da-sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-family: var(--mono);
    font-weight: 600;
  }

  .mobile-da-sim-btn {
    background: #1e40af;
    color: #fff;
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--mono);
    transition: background 0.2s;
  }

  .mobile-da-sim-btn:hover { background: #1d4ed8; }
  .mobile-da-sim-btn:disabled { opacity: 0.5; cursor: not-allowed; }

  .mobile-da-sim-feed { display: flex; flex-direction: column; gap: 0.5rem; }

  .mobile-da-sim-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    transition: background 0.3s;
  }

  .mobile-da-sim-row.approved { background: rgba(16,185,129,0.1); }
  .mobile-da-sim-row.blocked  { background: rgba(239,68,68,0.1); }

  .mobile-da-sim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #475569;
    transition: background 0.3s;
  }
  .mobile-da-sim-dot.ok  { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.6); }
  .mobile-da-sim-dot.bad { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.6); animation: simBlink 0.5s ease 3; }

  @keyframes simBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }

  .mobile-da-sim-loc {
    flex: 1;
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: var(--mono);
  }

  .mobile-da-sim-status {
    font-size: 0.72rem;
    font-family: var(--mono);
    font-weight: 700;
    color: #64748b;
  }

  .mobile-da-sim-row.approved .mobile-da-sim-status { color: #10b981; }
  .mobile-da-sim-row.blocked  .mobile-da-sim-status { color: #ef4444; }

  .mobile-da-sim-msg {
    font-size: 0.72rem;
    color: #ef4444;
    font-family: var(--mono);
    margin-top: 0.5rem;
    line-height: 1.4;
    min-height: 1em;
  }

  /* Tags */
  .mobile-da-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
  }

  .mobile-da-tags span {
    font-size: 0.7rem;
    font-family: var(--mono);
    font-weight: 500;
    background: rgba(59,130,246,0.08);
    color: #3b82f6;
    border: 1px solid rgba(59,130,246,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
  }

  .mobile-da-tags-amber span {
    background: rgba(245,158,11,0.08);
    color: #d97706;
    border-color: rgba(245,158,11,0.2);
  }

  /* Power BI tabs */
  .mobile-pbi-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
  }

  .mobile-pbi-tab {
    font-size: 0.72rem;
    font-family: var(--mono);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--bg-3);
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.2s;
  }

  .mobile-pbi-tab.active {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
  }

  /* Power BI image viewer */
  .mobile-pbi-viewer {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
  }

  .mobile-pbi-img {
    width: 100%;
    display: block;
    border-radius: 0;
  }

  .mobile-pbi-caption {
    font-size: 0.75rem;
    color: var(--text-3);
    padding: 0.6rem 0.8rem;
    background: var(--bg-3);
    line-height: 1.5;
  }

  /* Technical highlights chips */
  .mobile-da-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .mobile-da-hl-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    font-size: 0.78rem;
  }

  .mobile-da-hl-chip span { font-size: 1rem; }
  .mobile-da-hl-chip strong { color: var(--text-1); font-weight: 600; }

  /* Coming Soon card */
  .mobile-da-cs-content {
    text-align: center;
    padding: 0.5rem 0;
  }

  .mobile-da-cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-family: var(--mono);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #8b5cf6;
    border: 1px solid rgba(139,92,246,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    margin-bottom: 0.75rem;
  }

  .mobile-da-cs-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b5cf6;
    animation: csPulse 1.4s ease infinite;
  }

  @keyframes csPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
  }

  .mobile-da-cs-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 0.5rem;
  }

  .mobile-da-cs-desc {
    font-size: 0.85rem;
    color: var(--text-2);
    margin-bottom: 1rem;
    line-height: 1.6;
  }

} /* end @media (max-width: 900px) */