:root {
  --bg: #0a0f1c;
  --bg-elev: #111a2e;
  --bg-card: #15203a;
  --border: #233456;
  --text: #e6edf6;
  --text-dim: #93a3bf;
  --accent: #00d4ff;
  --accent-2: #ffb84d;
  --accent-grad: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 60px rgba(0, 212, 255, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% -10%, rgba(0, 212, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(255, 184, 77, 0.05), transparent 40%);
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #66e6ff; }

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

/* ==================== NAV ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ==================== HERO ==================== */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.hero-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
  object-fit: cover;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-location {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.hero-location::before {
  content: "📍 ";
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-primary {
  background: var(--accent-grad);
  border-color: transparent;
  color: #001a2e;
}

.btn-primary:hover {
  color: #001a2e;
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.btn svg { width: 16px; height: 16px; }

/* ==================== SECTION ==================== */
.section {
  padding: 60px 0;
  scroll-margin-top: 80px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
}

.section-header .accent-bar {
  width: 4px;
  height: 28px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.section-header .ces-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.section-subtitle {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 32px;
  margin-top: -16px;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.about-text {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-dim);
}

.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); }

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.meta-card h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.25);
  font-weight: 500;
}

.chip.gold {
  background: rgba(255, 184, 77, 0.1);
  color: var(--accent-2);
  border-color: rgba(255, 184, 77, 0.25);
}

.cert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cert-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}

.cert-list li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ==================== CES BANNER ==================== */
.ces-banner {
  background: linear-gradient(135deg, #0d1b3d 0%, #1a2851 100%);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.ces-banner img {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
}

.ces-banner-content h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.ces-banner-content p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 12px;
}

.ces-banner-content .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}

/* ==================== PROJECTS GRID ==================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity 0.2s;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.project-card:hover::before { opacity: 1; }

.project-card.featured {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a2a4d 100%);
}

.project-card.featured::before {
  opacity: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}

.project-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.project-title a { color: inherit; }
.project-title a:hover { color: var(--accent); }

.project-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #001a2e;
  vertical-align: middle;
  animation: titanx-pulse 3s ease-in-out infinite;
}

.project-stats {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
  align-items: center;
  flex-shrink: 0;
}

.project-stats span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.project-desc {
  font-size: 13px;
  color: var(--text-dim);
  flex-grow: 1;
  margin-bottom: 14px;
  line-height: 1.5;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 12px;
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
}

.lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.project-link {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.topic-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ==================== FILTERS ==================== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: center;
}

.filter-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-right: 8px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #001a2e;
  border-color: var(--accent);
  font-weight: 700;
}

.filter-search {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  margin-left: auto;
  min-width: 180px;
  outline: none;
  transition: border-color 0.2s;
}

.filter-search:focus { border-color: var(--accent); }

/* ==================== SUBHEAD ==================== */
.subhead {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin: 36px 0 12px;
}

.lede {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 18px;
  max-width: 760px;
  line-height: 1.6;
}

.lede strong { color: var(--text); }
.lede em { color: var(--text-dim); font-size: 12px; }

/* ==================== RISK CARDS (Shadow AI) ==================== */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.risk-card {
  background: linear-gradient(160deg, rgba(255, 80, 80, 0.05) 0%, var(--bg-card) 80%);
  border: 1px solid var(--border);
  border-left: 3px solid #ff6b6b;
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.2s;
}

.risk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 80, 80, 0.1);
}

.risk-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 12px;
}

.risk-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.risk-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

/* ==================== APPROACH (3 layers) ==================== */
.approach-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.approach-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.approach-row:hover {
  border-color: var(--accent);
  transform: translateX(2px);
}

.approach-label {
  background: var(--accent-grad);
  color: #001a2e;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.approach-detail {
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.approach-pill {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  font-weight: 600;
}

.approach-detail p {
  flex: 1 1 100%;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ==================== ABC ROADMAP ==================== */
.abc-roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: abc;
  position: relative;
}

.abc-roadmap::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 0;
}

.abc-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}

.abc-step:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.abc-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #001a2e;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.abc-body strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.abc-body span {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.45;
  display: block;
}

/* ==================== COLLAPSIBLE PERSONAL ==================== */
.personal-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.personal-details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: background 0.2s;
}

.personal-details summary::-webkit-details-marker { display: none; }

.personal-details summary:hover {
  background: rgba(0, 212, 255, 0.04);
}

.personal-details summary h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.personal-details summary .accent-bar {
  width: 4px;
  height: 24px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.personal-details .details-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
  margin-right: 12px;
}

.personal-details .chev {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 0.2s;
}

.personal-details[open] .chev {
  transform: rotate(180deg);
}

.personal-details[open] .details-meta::before {
  content: "Showing 36 projects · ";
}

.personal-body {
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
}

/* ==================== SERVICES ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 12px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #001a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.service-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}

.service-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.pillar {
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar strong {
  color: var(--text);
  font-size: 14px;
}

.pillar span {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
}

/* ==================== KPI ==================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.kpi-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, #1a2a4d 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-grad);
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.kpi-number {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.kpi-number span {
  font-size: 28px;
}

.kpi-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.kpi-grid-secondary {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.kpi-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.kpi-mini-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.kpi-mini-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==================== CTA CARD ==================== */
.cta-card {
  background: linear-gradient(135deg, #0d1b3d 0%, #1a2851 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
  position: relative;
}

.cta-card h3 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-card > p {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
  position: relative;
}

/* ==================== EXPERIENCE TIMELINE ==================== */
.timeline {
  position: relative;
  padding-left: 24px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}

.timeline-item h4 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.timeline-item .when {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.timeline-item .where {
  font-size: 13px;
  color: var(--text-dim);
}

/* ==================== TITANX FLOATING BADGE ==================== */
.titanx-badge {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(20, 30, 60, 0.95) 0%, rgba(10, 20, 45, 0.95) 100%);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.25), 0 0 0 1px rgba(0, 212, 255, 0.1) inset;
  transition: all 0.25s cubic-bezier(.2, .9, .3, 1.4);
  animation: titanx-pulse 3s ease-in-out infinite;
}

.titanx-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 212, 255, 0.45);
  color: var(--text);
  border-color: #66e6ff;
}

.titanx-badge-spark {
  font-size: 16px;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
  animation: titanx-spark 2.4s ease-in-out infinite;
}

.titanx-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.titanx-badge-text strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.titanx-badge-text em {
  font-size: 10px;
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.titanx-badge-arrow {
  width: 14px;
  height: 14px;
  color: var(--accent);
  transition: transform 0.2s;
}

.titanx-badge:hover .titanx-badge-arrow {
  transform: translate(2px, -2px);
}

@keyframes titanx-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0, 212, 255, 0.25), 0 0 0 1px rgba(0, 212, 255, 0.1) inset; }
  50%      { box-shadow: 0 6px 28px rgba(0, 212, 255, 0.4),  0 0 0 1px rgba(0, 212, 255, 0.2) inset; }
}

@keyframes titanx-spark {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50%      { transform: rotate(15deg) scale(1.15); opacity: 0.85; }
}

.footer-titanx {
  font-weight: 700;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-titanx:hover { filter: brightness(1.2); }

/* ==================== FOOTER ==================== */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-dim);
  font-weight: 500;
}

.footer-links a:hover { color: var(--accent); }

/* ==================== UTILITY ==================== */
.hidden { display: none !important; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
    gap: 24px;
  }
  .hero-avatar { width: 140px; height: 140px; margin: 0 auto; }
  .hero-content h1 { font-size: 32px; }
  .hero-actions { justify-content: center; }
  .nav-inner { padding: 12px 16px; gap: 8px; }
  .nav-links { gap: 14px; font-size: 12px; overflow-x: auto; flex-wrap: nowrap; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .nav-brand span { display: none; }
  .nav-brand img { width: 28px; height: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .ces-banner { flex-direction: column; text-align: center; }
  .filter-search { margin-left: 0; min-width: 100%; }
  .section { padding: 40px 0; }
  .approach-row { grid-template-columns: 1fr; }
  .approach-label { padding: 10px; }
  .abc-roadmap { grid-template-columns: 1fr 1fr; }
  .abc-roadmap::before { display: none; }
  .personal-details summary { padding: 14px 16px; gap: 10px; flex-wrap: wrap; }
  .personal-details summary h2 { font-size: 18px; }
  .personal-details .details-meta { width: 100%; margin: 0; order: 99; font-size: 11px; }
  .personal-body { padding: 8px 16px 16px; }
  .titanx-badge { top: auto; bottom: 12px; right: 12px; padding: 8px 12px; }
  .titanx-badge-text strong { font-size: 11px; }
  .titanx-badge-text em { font-size: 9px; }
}
