/* --- 1. FONTS & DESIGN TOKENS --- */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-runde@5.1.0/index.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Light Mode Palette */
  --bg: #F2F3F5;
  --bg-subtle: #E8EAEF;
  --surface: #FFFFFF;
  --surface-hover: #F8F9FB;
  --surface-elevated: #FFFFFF;
  --text-primary: #10141A;
  --text-secondary: #576071;
  --text-tertiary: #8993A4;

  --border-subtle: rgba(0, 0, 0, 0.05);
  --border-strong: rgba(0, 0, 0, 0.1);
  --border-card: rgba(0, 0, 0, 0.04);

  --card-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.04), 0 12px 32px -4px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 16px 40px -8px rgba(0, 0, 0, 0.08);

  --accent: #E55826;
  --accent-soft: rgba(229, 88, 38, 0.1);
  --green-status: #10B981;
  --green-status-bg: rgba(16, 185, 129, 0.12);
  --blue-status: #3B82F6;
  --blue-status-bg: rgba(59, 130, 246, 0.12);

  --btn-bg: #FFFFFF;
  --btn-border: rgba(0, 0, 0, 0.08);
  --btn-text: #10141A;
  --btn-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-blur: blur(20px);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05), inset 0 1px 1px 0 rgba(255, 255, 255, 0.75);

  --radius-card: 30px;
  --radius-inner: 20px;
  --radius-pill: 9999px;

  --font-main: 'Open Runde', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* Dark Mode Palette */
  --bg: #090A0C;
  --bg-subtle: #121418;
  --surface: #14171C;
  --surface-hover: #1B1F26;
  --surface-elevated: #1D212A;
  --text-primary: #F4F6F9;
  --text-secondary: #9AA3B4;
  --text-tertiary: #60697B;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-card: rgba(255, 255, 255, 0.07);

  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.6), 0 16px 40px -6px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 48px -6px rgba(0, 0, 0, 0.8);

  --btn-bg: #1F242D;
  --btn-border: rgba(255, 255, 255, 0.12);
  --btn-text: #F4F6F9;
  --btn-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* --- 2. BASE RESETS & SETUP --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(at 10% 12%, rgba(229, 88, 38, 0.04) 0px, transparent 48%),
    radial-gradient(at 90% 88%, rgba(59, 130, 246, 0.04) 0px, transparent 48%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  transition: background-color 0.35s ease, color 0.35s ease;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 32px 24px;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(at 15% 10%, rgba(229, 88, 38, 0.06) 0px, transparent 48%),
    radial-gradient(at 85% 90%, rgba(37, 99, 235, 0.06) 0px, transparent 48%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* --- 3. PAGE WRAPPER & BENTO CONTAINER --- */
.page-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- 4. BENTO GRID ARCHITECTURE --- */
.bento-grid {
  display: grid;
  grid-template-columns: 360px 1fr 360px;
  gap: 20px;
  align-items: stretch;
}

.bento-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Bento Card Primitives */
.bento-card {
  background-color: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--card-shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-strong);
}

/* --- 5. INTERACTIVE PROJECT CARDS --- */
.project-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

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

.project-card .card-media-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-inner);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.project-card .card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.project-card:hover .card-media-wrapper img {
  transform: scale(1.025);
}

.project-card .card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-info {
  transform: translateY(-2px);
}

.card-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.card-footer-action .action-arrow {
  font-size: 15px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.project-card:hover .card-footer-action {
  color: var(--accent);
}

.project-card:hover .card-footer-action .action-arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}

/* Card 1: Aura Gold (Tall Left) */
.card-aura-gold {
  min-height: 520px;
}

.card-aura-gold .card-media-wrapper {
  height: 380px;
  background: #f8fafc;
}

[data-theme="dark"] .card-aura-gold .card-media-wrapper {
  background: #101319;
}

/* Card 2: ICICI Lombard (Top Right) */
.card-icici {
  min-height: 360px;
}

.card-icici .card-media-wrapper {
  height: 240px;
  background: #f8fafc;
}

[data-theme="dark"] .card-icici .card-media-wrapper {
  background: #101319;
}

/* Card 3: Invusprop (Below Left) */
.card-invusprop {
  min-height: 470px;
}

.card-invusprop .card-media-wrapper {
  height: 340px;
  background: #f8fafc;
}

[data-theme="dark"] .card-invusprop .card-media-wrapper {
  background: #101319;
}

/* Card 4: Intelli Design System (Below Right) */
.card-intelli {
  min-height: 360px;
}

.card-intelli .card-media-wrapper {
  height: 240px;
  background: #090e17;
}

[data-theme="dark"] .card-intelli .card-media-wrapper {
  background: #060911;
}

/* Card 5: HalaPark 2.0 & Design System */
.card-halapark {
  min-height: 390px;
}

.card-halapark .card-media-wrapper {
  height: 250px;
  background: #071324;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .card-halapark .card-media-wrapper {
  background: #040c18;
}

.card-halapark .card-media-wrapper img {
  object-fit: contain;
  padding: 0;
}

/* Card 6: Document Retrieval AI Chatbot (FDF) */
.card-fdf {
  min-height: 520px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card-fdf .card-media-wrapper {
  height: 400px;
  background: radial-gradient(circle at 50% 28%, rgba(179, 161, 106, 0.18), rgba(179, 161, 106, 0.04) 65%, transparent 85%), #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px 14px 46px 14px;
}

[data-theme="dark"] .card-fdf .card-media-wrapper {
  background: radial-gradient(circle at 50% 28%, rgba(179, 161, 106, 0.15), rgba(179, 161, 106, 0.02) 65%, transparent 85%), #0d121a;
}

.card-fdf .card-media-wrapper img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

[data-theme="dark"] .card-fdf .card-media-wrapper img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.5);
}

.card-fdf:hover .card-media-wrapper img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 42px -6px rgba(179, 161, 106, 0.28);
}

/* Micro-badge for Document Retrieval AI Chatbot */
.card-ai-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(179, 161, 106, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #003C71;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .card-ai-badge {
  background: rgba(18, 22, 28, 0.92);
  border-color: rgba(179, 161, 106, 0.4);
  color: #D4C38E;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.card-ai-badge .ai-sparkle {
  color: #B3A16A;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

/* Live Radar Beacon Micro-Demo (Pattern 3: HalaPark 2.0) */
.map-radar-beacon {
  position: absolute;
  top: 45%;
  left: 52%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.ping-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  z-index: 2;
}

.ping-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: radarPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.ping-ring-2 {
  animation-delay: 1.2s;
}

@keyframes radarPing {
  0% {
    transform: scale(0.3);
    opacity: 0.85;
  }

  80% {
    opacity: 0.15;
  }

  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* Live Telemetry Equalizer Micro-Demo (Pattern 3: ICICI Lombard) */
.card-telemetry-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  z-index: 10;
  pointer-events: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.eq-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #10141A;
  text-transform: uppercase;
}

[data-theme="dark"] .card-telemetry-badge {
  background: rgba(18, 22, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .card-telemetry-badge .eq-label {
  color: #F4F6F9;
}

.telemetry-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.eq-bar {
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  display: inline-block;
  animation: eqPulse 1.4s ease-in-out infinite alternate;
}

.eq-bar.bar-1 {
  height: 35%;
  animation-duration: 1.1s;
  animation-delay: 0s;
}

.eq-bar.bar-2 {
  height: 85%;
  animation-duration: 1.5s;
  animation-delay: 0.3s;
}

.eq-bar.bar-3 {
  height: 50%;
  animation-duration: 0.9s;
  animation-delay: 0.15s;
}

.eq-bar.bar-4 {
  height: 95%;
  animation-duration: 1.3s;
  animation-delay: 0.45s;
}

@keyframes eqPulse {
  0% {
    height: 25%;
    opacity: 0.6;
  }

  50% {
    height: 95%;
    opacity: 1;
  }

  100% {
    height: 45%;
    opacity: 0.75;
  }
}

/* Status Pill Badge */
.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #10141A;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

[data-theme="dark"] .status-badge {
  background: rgba(20, 23, 28, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #F4F6F9;
}

.status-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-status);
  color: var(--green-status);
  box-shadow: 0 0 8px var(--green-status);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.status-badge.in-progress .dot {
  background-color: var(--blue-status);
  color: var(--blue-status);
  box-shadow: 0 0 8px var(--blue-status);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px currentColor;
  }

  50% {
    opacity: 0.45;
    transform: scale(0.8);
    box-shadow: 0 0 3px currentColor;
  }
}

/* Card Info Area */
.card-info {
  margin-top: auto;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --- 6. CENTER COLUMN HERO & WIDGETS --- */

/* Split Row: Avatar + Route Cards */
/* Split Row: Avatar + Route Cards */
/* Split Row: Avatar + (Route + Dark Mode Stack) */
.split-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

/* Right Stack Column: Route Card on Top, Dark Mode Card on Bottom */
.split-cards-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

/* Avatar Card */
.card-avatar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden !important;
}

.card-avatar .label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Relocation Card (Apple-style Flight Trajectory Indicator) */
.card-route {
  flex: 1;
  min-height: 160px;
  padding: 16px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

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

/* Top Row: Relocation & Direct Badge */
.route-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.route-top-row .label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.route-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 207, 131, 0.12);
  color: #0ACF83;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.route-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0ACF83;
  display: inline-block;
}

/* Route Main Display: Perfectly Centered Vertically with Balanced Margins */
.route-main-display {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto 0;
  padding: 2px 0 0 0;
}

.route-flight-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.route-airport-code {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
  margin-bottom: 2px;
}

.route-airport-code.destination-code {
  text-align: right;
  /* Simple, clean typography - no color changes or pulses */
}

/* Flight Arc Stage (SVG container with high soaring trajectory) */
.route-arc-stage {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 8px;
  min-width: 48px;
  position: relative;
  overflow: visible;
}

.route-flight-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.route-arc-base {
  stroke: var(--border-subtle, rgba(140, 140, 140, 0.22));
  stroke-width: 1.5;
  stroke-dasharray: 2 4;
  fill: none;
}

.route-arc-dashed {
  stroke: #9CA3AF;
  stroke-width: 1.8;
  stroke-dasharray: 4 4;
  fill: none;
}

[data-theme="dark"] .route-arc-dashed {
  stroke: #71717A;
}

.route-dot.origin {
  fill: #6B7280;
  opacity: 0.95;
}

[data-theme="dark"] .route-dot.origin {
  fill: #9CA3AF;
}

/* Plane Node & Badge */
.route-plane-node {
  will-change: transform;
}

.route-plane-disc {
  fill: #FFFFFF;
  stroke: rgba(0, 0, 0, 0.05);
  stroke-width: 1;
}

[data-theme="dark"] .route-plane-disc {
  fill: #222224;
  stroke: rgba(255, 255, 255, 0.16);
}

.route-plane-glyph {
  fill: #E55826;
}

/* Cities Row directly below BOM and DXB with clean spacing */
.route-cities-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.route-city-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
}

.route-city-name.destination-city {
  text-align: right;
}

/* Hero Main (Uncarded Bio) */
.card-hero-main {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-hero-main:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.hero-brandmark {
  width: 44px;
  height: 32px;
  color: var(--text-primary);
}

.hero-brandmark svg {
  width: 100%;
  height: 100%;
}

.hero-headline {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-affiliation-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.pill-tag.accent-pill {
  background: #EBF3FE;
  color: #1E40AF;
  border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .pill-tag.accent-pill {
  background: rgba(37, 99, 235, 0.18);
  color: #93C5FD;
  border-color: rgba(59, 130, 246, 0.3);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--btn-text);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.btn-pill:active {
  transform: translateY(1px) scale(0.97);
  transition: transform 100ms ease-out;
}

/* Offerings / Middle Stack Cards */
.card-offering {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
}

.offering-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offering-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.offering-badge.green {
  background: var(--green-status-bg);
  color: #059669;
}

.offering-badge.blue {
  background: var(--blue-status-bg);
  color: #2563EB;
}

[data-theme="dark"] .offering-badge.green {
  color: #34D399;
}

[data-theme="dark"] .offering-badge.blue {
  color: #60A5FA;
}

.offering-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.offering-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.btn-offering-action {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.btn-offering-action:hover {
  background: var(--surface-hover);
  transform: translateY(-1px) scale(1.02);
}

.btn-offering-action:active {
  transform: translateY(1px) scale(0.97);
  transition: transform 100ms ease-out;
}

/* Card Design Systems Architecture (Replacing E-book commerce card) */
.card-architecture-showcase {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
}

.architecture-thumb {
  width: 110px;
  height: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #060d17;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.architecture-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-architecture-showcase:hover .architecture-thumb img {
  transform: scale(1.05);
}

.architecture-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.architecture-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.architecture-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* --- 7. RIGHT COLUMN WIDGETS --- */

/* Theme Toggle Card */
.card-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  height: 64px;
  min-height: 64px;
  flex-shrink: 0;
}

.theme-toggle-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.theme-segmented-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  gap: 2px;
}

.theme-switch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 2;
}

.theme-switch-btn svg {
  width: 16px;
  height: 16px;
}

.theme-switch-btn:hover:not(.active) {
  color: var(--text-primary);
  transform: scale(1.05);
}

.theme-switch-btn:active {
  transform: scale(0.92);
}

.theme-switch-btn.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Career Timeline / Ruler Card */
.card-career-ruler {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  user-select: none;
}

.ruler-viewport {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 8px;
}

.ruler-track {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.ruler-tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0 4px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ruler-tick:hover .tick-num {
  color: var(--accent);
}

.ruler-tick:hover .tick-line {
  background: var(--accent);
  height: 30px;
}

.tick-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.tick-line {
  width: 1.5px;
  height: 24px;
  background: var(--border-strong);
  border-radius: 1px;
  transition: var(--transition-fast);
}

.ruler-tick.highlighted .tick-num {
  color: var(--accent);
  font-weight: 700;
  transform: scale(1.18);
}

.ruler-tick.highlighted .tick-line {
  height: 36px;
  background: var(--accent);
  width: 2.5px;
}

.ruler-tick.intermediate .tick-line {
  height: 14px;
  width: 1px;
  background: var(--border-subtle);
}

.ruler-indicator-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--accent);
}

.career-footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 4px;
}

.career-role-info {
  display: flex;
  flex-direction: column;
}

.career-company {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.career-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.career-metric-badge {
  text-align: right;
}

.career-metric-badge .years {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.career-metric-badge .years span {
  font-size: 14px;
  font-weight: 500;
}

.career-metric-badge .year-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Live Timezone & Analog Clock Card */
.card-dubai-clock {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clock-analog-wrapper {
  width: 110px;
  height: 110px;
  position: relative;
}

.clock-analog-svg {
  width: 100%;
  height: 100%;
}

.clock-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}

.clock-zone-badge {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.clock-city-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.clock-digital-time {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  color: var(--text-primary);
  margin-top: 4px;
}

#analogHourHand,
#analogMinuteHand,
#analogSecondHand {
  transition: none !important;
}

/* --- 8. FOOTER SECTION --- */
.site-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0 16px 0;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-pill-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.social-pill-btn:hover {
  transform: translateY(-2px) scale(1.06);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.social-pill-btn:active {
  transform: translateY(1px) scale(0.95);
  transition: transform 100ms ease-out;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* --- 9. CUSTOM CURSOR FOLLOWER --- */
.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
}

.cursor-pill {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.7);
  color: #10141A;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

[data-theme="dark"] .cursor-pill {
  background: rgba(24, 28, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  color: #F4F6F9;
}

.custom-cursor-follower.visible .cursor-pill {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* --- 10. PROJECT CASE STUDY OVERLAY / MODAL (FULL-SCREEN IMMERSIVE) --- */
.project-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--surface);
  z-index: 1000;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}

.project-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Fixed Top Actions in Modal */
.modal-fixed-top-actions {
  position: fixed;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1020;
}

.modal-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 18px;
  transition: var(--transition-fast);
}

.modal-action-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.06);
}

/* Modal Content Container */
.modal-inner-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 84px 24px 120px 24px;
  display: flex;
  flex-direction: column;
}

.modal-header-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  padding-right: 120px;
}

.modal-header-block .status-badge {
  position: static;
  top: auto;
  right: auto;
  align-self: flex-start;
  margin-bottom: 8px;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.modal-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
}

.modal-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Modal Hero Visual */
.modal-hero-visual {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.06);
}

.modal-hero-visual img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
}

/* Modal Executive Summary */
.modal-intro-text {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-primary);
  max-width: 860px;
  margin-bottom: 36px;
}

/* Modal Meta Table Grid */
.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}

.modal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-meta-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-meta-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Case Study Narrative Sections */
.case-study-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin-bottom: 40px;
}

.case-study-heading {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.case-study-body {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.case-study-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.case-study-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.case-study-bullets li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: bold;
}

/* Live Link CTA in Modal */
.modal-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background: var(--bg-subtle);
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  margin-top: 12px;
}

.modal-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-cta-sub {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Floating Navigation Controls (Prev / Next) */
.modal-floating-nav {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1020;
}

.modal-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.modal-nav-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.08);
}

/* --- 11. TOAST NOTIFICATION --- */
.toast-notification {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #11141A;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .toast-notification {
  background: #FFFFFF;
  color: #0A0D12;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- 12. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1080px) {
  body {
    padding: 20px 16px;
  }

  .bento-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .bento-col {
    display: contents !important;
  }

  /* Senior UI/UX Mobile & Tablet Narrative Order:
     1. Personal Brand & Identity Hook (Hero Bio + Quick Action CTAs)
     2. Visual Identity & Location Readiness (About Me Orbit Card + Relocation BOM -> DXB)
     3. Seniority & Domain Authority (8+ Years Career Timeline Ruler)
     4. High-Stakes Institutional Trust (Protected Tier-1 Bank Portfolio Presentation)
     5. Shipped Case Study 1: ICICI Lombard Revamp (Enterprise Healthcare/Banking, Live Telemetry)
     6. Shipped Case Study 2: Aura Gold (Fintech Micro-investing Consumer Experience)
     7. Shipped Case Study 3: HalaPark 2.0 & Design System (Mobility & Scalable Systems)
     8. Shipped Case Study 4: Invusprop Real Estate App (Proptech Ecosystem)
     9. Systems Architecture Depth: Scalable Architecture for Global Banking Platforms
     10. Geographic Context & Timezone: Dubai Analog/Digital Clock
     11. System Utility & Preferences: Dark Mode Toggle
  */
  .card-hero-main {
    order: 1 !important;
  }

  .split-cards-row {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .card-career-ruler {
    order: 3 !important;
  }

  .card-bank-deck-offering {
    order: 4 !important;
  }

  .card-icici {
    order: 5 !important;
  }

  .card-aura-gold {
    order: 6 !important;
  }

  .card-halapark {
    order: 7 !important;
  }

  .card-invusprop {
    order: 8 !important;
  }

  .card-architecture-showcase {
    order: 9 !important;
  }

  .card-dubai-clock {
    order: 10 !important;
  }

  .card-theme-toggle {
    order: 11 !important;
  }

  .card-fdf {
    order: 3 !important;
  }

  .card-aura-gold,
  .card-invusprop,
  .card-halapark,
  .card-icici,
  .card-intelli,
  .card-fdf {
    min-height: auto;
  }

  .card-aura-gold .card-media-wrapper,
  .card-invusprop .card-media-wrapper,
  .card-fdf .card-media-wrapper {
    height: 340px;
  }

  .card-halapark .card-media-wrapper,
  .card-icici .card-media-wrapper,
  .card-intelli .card-media-wrapper {
    height: 240px;
  }

  .modal-hero-visual {
    height: 300px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 16px 12px;
  }

  .bento-grid {
    gap: 16px !important;
  }

  /* 1. HERO NAME & BIO FIRST AT TOP */
  .card-hero-main {
    order: 1 !important;
    padding: 6px 4px 16px 4px !important;
    gap: 14px !important;
  }

  .hero-brandmark {
    width: 38px !important;
    height: 28px !important;
    margin-bottom: 2px !important;
  }

  .hero-headline {
    font-size: 26px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em !important;
  }

  .hero-sublead {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--text-secondary) !important;
  }

  .hero-affiliation-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
  }

  .hero-affiliation-row>span:first-child {
    font-weight: 600 !important;
    color: var(--text-tertiary) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
  }

  .pill-tag {
    font-size: 12px !important;
    padding: 5px 11px !important;
  }

  /* Apple Mobile CTA Hierarchy */
  .hero-actions-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .hero-actions-row .btn-pill {
    justify-content: center !important;
    height: 44px !important;
    font-size: 13.5px !important;
    padding: 0 10px !important;
    border-radius: var(--radius-pill) !important;
  }

  .btn-pill:active {
    transform: scale(0.96) !important;
    transition: transform 0.12s ease !important;
  }

  /* 2. TWIN APPLE COMPANION WIDGETS (ABOUT ME + BOM->DXB) */
  .split-cards-row {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .card-avatar {
    min-height: 220px !important;
    height: auto !important;
    padding: 18px 16px !important;
    border-radius: 24px !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .split-cards-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    height: 100% !important;
  }

  .split-cards-col .card-route {
    flex: 1 !important;
    min-height: 148px !important;
    height: auto !important;
    padding: 14px 14px 10px 14px !important;
    border-radius: 20px !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .split-cards-col .card-theme-toggle {
    height: 52px !important;
    min-height: 52px !important;
    padding: 6px 14px !important;
    border-radius: 16px !important;
  }

  .card-avatar:active,
  .card-route:active {
    transform: scale(0.96) !important;
    transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  }

  /* About Me Mini Orbit System - Perfectly Centered & Visible */
  .orbit-system-wrapper.mini {
    width: 148px !important;
    height: 148px !important;
    max-width: 148px !important;
    margin: 4px auto !important;
  }

  .orbit-system-wrapper.mini .orbit-center-avatar {
    width: 58px !important;
    height: 58px !important;
    border-width: 2px !important;
  }

  .orbit-system-wrapper.mini .orbit-concentric-ring.inner {
    width: 88px !important;
    height: 88px !important;
  }

  .orbit-system-wrapper.mini .orbit-concentric-ring.outer {
    width: 128px !important;
    height: 128px !important;
  }

  .orbit-system-wrapper.mini .orbit-track {
    width: 128px !important;
    height: 128px !important;
    margin-top: -64px !important;
    margin-left: -64px !important;
  }

  .orbit-system-wrapper.mini .orbit-node {
    width: 22px !important;
    height: 22px !important;
    margin-top: -11px !important;
    margin-left: -11px !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="0"],
  .orbit-system-wrapper.mini .orbit-node[data-index="1"] {
    --orbit-radius: 44px !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="2"],
  .orbit-system-wrapper.mini .orbit-node[data-index="3"],
  .orbit-system-wrapper.mini .orbit-node[data-index="4"] {
    --orbit-radius: 64px !important;
  }

  .orbit-system-wrapper.mini .orbit-chip {
    width: 22px !important;
    height: 22px !important;
  }

  .orbit-system-wrapper.mini .orbit-chip svg {
    width: 11px !important;
    height: 11px !important;
  }

  .orbit-system-wrapper.mini .orbit-chip img,
  .orbit-system-wrapper.mini .orbit-icon-img {
    width: 13px !important;
    height: 13px !important;
  }

  .card-avatar .avatar-hover-teaser {
    opacity: 0.9 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  /* BOM -> DXB Route Widget (Touch-Friendly Apple Flight Arc) */
  .card-route {
    min-height: 148px !important;
    padding: 14px 14px 10px 14px !important;
  }

  .card-route .route-top-row .label {
    font-size: 13.5px !important;
  }

  .route-status-pill {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
  }

  .route-main-display {
    padding: 0 !important;
    margin: auto 0 !important;
  }

  .route-airport-code {
    font-size: 22px !important;
    letter-spacing: -0.02em !important;
    font-weight: 800 !important;
  }

  .route-arc-stage {
    min-width: 44px !important;
    height: 38px !important;
    margin: 0 6px !important;
  }

  .route-flight-svg {
    height: 38px !important;
  }

  .route-cities-row {
    margin-top: 16px !important;
  }

  .route-city-name {
    font-size: 11px !important;
  }

  .card-aura-gold .card-media-wrapper,
  .card-invusprop .card-media-wrapper {
    height: 280px;
  }

  .card-halapark .card-media-wrapper,
  .card-icici .card-media-wrapper,
  .card-intelli .card-media-wrapper {
    height: 220px;
  }

  .modal-scrollable-body {
    padding: 20px;
    gap: 24px;
  }

  .modal-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .modal-header-bar {
    padding: 16px 20px;
  }

  .modal-floating-nav {
    display: none;
  }

  .modal-cta-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .modal-hero-visual {
    height: 240px;
  }
}

/* --- 13. MOTION SYSTEM: ENTRANCE & SCROLL REVEALS --- */
@keyframes bentoEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stagger-in {
  opacity: 0;
  animation: bentoEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--stagger-idx, 0) * 65ms);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessible Reduced Motion (WCAG & MOTION-SKILL Compliance) */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .stagger-in,
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .project-card .card-media-wrapper img,
  .project-card:hover,
  .bento-card:hover {
    transform: none !important;
  }

  /* Pattern 1: Freeze orbiting icons in balanced static layout */
  .orbit-track,
  .orbit-node,
  .orbit-chip {
    animation: none !important;
  }

  .orbit-node[data-index="0"] {
    transform: rotate(0deg) translateX(var(--orbit-radius, 125px)) rotate(0deg) !important;
  }

  .orbit-node[data-index="1"] {
    transform: rotate(180deg) translateX(var(--orbit-radius, 125px)) rotate(-180deg) !important;
  }

  .orbit-node[data-index="2"] {
    transform: rotate(40deg) translateX(var(--orbit-radius, 175px)) rotate(-40deg) !important;
  }

  .orbit-node[data-index="3"] {
    transform: rotate(160deg) translateX(var(--orbit-radius, 175px)) rotate(-160deg) !important;
  }

  .orbit-node[data-index="4"] {
    transform: rotate(280deg) translateX(var(--orbit-radius, 175px)) rotate(-280deg) !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="0"] {
    transform: rotate(0deg) translateX(var(--orbit-radius, 63px)) rotate(0deg) !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="1"] {
    transform: rotate(180deg) translateX(var(--orbit-radius, 63px)) rotate(-180deg) !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="2"] {
    transform: rotate(30deg) translateX(var(--orbit-radius, 88px)) rotate(-30deg) !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="3"] {
    transform: rotate(150deg) translateX(var(--orbit-radius, 88px)) rotate(-150deg) !important;
  }

  .orbit-system-wrapper.mini .orbit-node[data-index="4"] {
    transform: rotate(270deg) translateX(var(--orbit-radius, 88px)) rotate(-270deg) !important;
  }

  /* Pattern 2: Stationary plane at destination with static dashed trail */
  .route-plane {
    animation: none !important;
    offset-distance: 100% !important;
    opacity: 1 !important;
  }

  .route-arc-dashed {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .route-station.destination .airport-code {
    animation: none !important;
  }

  /* Pattern 3: Freeze micro-demos (radar beacon & telemetry equalizer) */
  .ping-ring {
    animation: none !important;
    opacity: 0.4 !important;
    transform: scale(1) !important;
  }

  .eq-bar {
    animation: none !important;
  }

  .eq-bar.bar-1 {
    height: 40% !important;
  }

  .eq-bar.bar-2 {
    height: 80% !important;
  }

  .eq-bar.bar-3 {
    height: 60% !important;
  }

  .eq-bar.bar-4 {
    height: 75% !important;
  }

  /* Pattern 4: Static status badge dot without breathing pulse */
  .status-badge .dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- 14. UNIVERSAL FLOATING GLASS NAVIGATION HEADER --- */
.site-nav-header {
  display: none !important;
  position: sticky;
  top: 14px;
  z-index: 900;
  max-width: 1360px;
  margin: 0 auto 20px auto;
  padding: 0 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), top 0.3s ease;
}

.nav-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 8px 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* Scroll Elevation State */
.site-nav-header.scrolled .nav-header-inner {
  padding: 6px 14px 6px 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .site-nav-header.scrolled .nav-header-inner {
  background: rgba(20, 23, 28, 0.88);
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-brand:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.nav-brand-mark {
  width: 24px;
  height: 18px;
  display: flex;
  align-items: center;
}

.nav-brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-brand-text {
  white-space: nowrap;
}

.nav-menu {
  display: none !important;
}

.nav-link {
  position: relative;
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

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

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

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

.nav-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.nav-resume-btn:hover {
  background: var(--surface-hover);
  transform: translateY(-1px) scale(1.02);
  border-color: var(--accent);
}

.nav-resume-btn:active {
  transform: translateY(0) scale(0.98);
}

.nav-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.nav-theme-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.08);
  border-color: var(--accent);
}

.nav-theme-btn:active {
  transform: scale(0.94);
}

/* Mobile Toggle Hamburger */
.nav-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: transform 0.2s ease;
}

.nav-mobile-toggle:hover {
  background: var(--surface-hover);
}

.nav-mobile-toggle:active {
  transform: scale(0.95);
}

/* Mobile Drawer Dropdown */
.nav-mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 4px;
  right: 4px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-inner);
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  gap: 6px;
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.nav-mobile-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 600;
}

.nav-mobile-link .drawer-arrow {
  font-size: 14px;
  opacity: 0.5;
}

/* Primary CTA & Refined Button Physics */
.btn-primary-cta {
  background: var(--text-primary) !important;
  color: var(--surface) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .btn-primary-cta {
  background: #FFFFFF !important;
  color: #0A0D12 !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16) !important;
}

.btn-primary-cta:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .btn-primary-cta:hover {
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.28) !important;
}

.btn-pill:active,
.btn-primary-cta:active,
.btn-offering-action:active,
.social-pill-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.nav-theme-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.08);
}

.nav-theme-btn:active {
  transform: scale(0.94);
}

/* --- 15. ORBITING SKILL ICONS COMPONENT --- */
.orbit-system-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center-avatar {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 2px solid var(--border-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.orbit-center-avatar:hover {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(229, 88, 38, 0.25), 0 16px 40px rgba(0, 0, 0, 0.15);
}

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

/* Concentric Orbit Rings */
.orbit-concentric-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  pointer-events: none;
}

.orbit-concentric-ring.inner {
  width: 250px;
  height: 250px;
  opacity: 0.35;
}

.orbit-concentric-ring.outer {
  width: 350px;
  height: 350px;
  opacity: 0.6;
}

/* Orbit Track Stage (Static positioning parent for independent nodes) */
.orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  margin-top: -175px;
  margin-left: -175px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
}

/* Individual Orbit Nodes with Independent Drift & Upright Counter-Rotation (Pattern 1) */
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  pointer-events: auto;
  animation: orbitNode var(--orbit-duration, 32s) linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  will-change: transform;
  z-index: 16;
}

/* Pause individual node on hover or focus without stopping other icons */
.orbit-node:hover,
.orbit-node:focus-within {
  animation-play-state: paused;
  z-index: 45;
}

@keyframes orbitNode {
  from {
    transform: rotate(var(--start-angle, 0deg)) translateX(var(--orbit-radius, 175px)) rotate(calc(-1 * var(--start-angle, 0deg)));
  }

  to {
    transform: rotate(calc(var(--start-angle, 0deg) + 360deg)) translateX(var(--orbit-radius, 175px)) rotate(calc(-1 * (var(--start-angle, 0deg) + 360deg)));
  }
}

.orbit-chip {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.orbit-node:hover .orbit-chip,
.orbit-chip:focus,
.orbit-chip:focus-visible {
  transform: scale(1.18);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14), 0 0 18px rgba(229, 88, 38, 0.35);
}

/* Tooltip on chip hover & focus */
.orbit-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--text-primary);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 40;
}

.orbit-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border-width: 4px;
  border-style: solid;
  border-color: var(--text-primary) transparent transparent transparent;
}

.orbit-chip:hover .orbit-tooltip,
.orbit-chip:focus .orbit-tooltip,
.orbit-chip:focus-visible .orbit-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- 15B. HOMEPAGE COMPACT ORBITING ICONS COMPONENT --- */
.orbit-system-wrapper.mini {
  position: relative;
  width: 196px;
  height: 196px;
  max-width: 100%;
  margin: 4px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-system-wrapper.mini .orbit-center-avatar {
  width: 88px;
  height: 88px;
  padding: 4px;
  border-width: 2.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.orbit-system-wrapper.mini .orbit-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.orbit-system-wrapper.mini .orbit-concentric-ring.inner {
  width: 126px;
  height: 126px;
  opacity: 0.4;
}

.orbit-system-wrapper.mini .orbit-concentric-ring.outer {
  width: 176px;
  height: 176px;
  opacity: 0.6;
}

.orbit-system-wrapper.mini .orbit-track {
  width: 176px;
  height: 176px;
  margin-top: -88px;
  margin-left: -88px;
}

.orbit-system-wrapper.mini .orbit-node {
  width: 30px;
  height: 30px;
  margin-top: -15px;
  margin-left: -15px;
}

.orbit-system-wrapper.mini .orbit-chip {
  width: 30px;
  height: 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.orbit-system-wrapper.mini .orbit-chip svg {
  width: 15px;
  height: 15px;
}

.orbit-system-wrapper.mini .orbit-chip img,
.orbit-icon-img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
  display: block;
}

.orbit-chip .orbit-icon-img-large {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.orbit-system-wrapper.mini .orbit-tooltip {
  font-size: 11px;
  padding: 3px 8px;
  bottom: calc(100% + 6px);
}

.orbit-system-wrapper.mini .orbit-node:hover .orbit-chip,
.orbit-system-wrapper.mini .orbit-chip:focus,
.orbit-system-wrapper.mini .orbit-chip:focus-visible {
  transform: scale(1.22);
}

/* --- 16. DEDICATED ABOUT PAGE LAYOUT & SECTIONS --- */
.about-hero-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px 48px;
}

.about-hero-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.about-hero-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.about-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.about-hero-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Capabilities Bento Section */
.about-section-header {
  margin: 20px 0 12px 0;
  padding: 0 4px;
}

.about-section-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.about-section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card-capability {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 30px;
}

.capability-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.capability-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.capability-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.capability-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* About Contact Banner */
.about-contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 44px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-hover) 100%);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--card-shadow);
}

.about-contact-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-contact-text p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Homepage Avatar Card Link & Teaser */
.card-avatar {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 24px 22px;
  height: auto;
  overflow: hidden !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.card-avatar:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-strong);
}

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

.avatar-link-arrow {
  font-size: 16px;
  color: var(--text-tertiary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.card-avatar:hover .avatar-link-arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}

.card-avatar:hover .avatar-wrapper {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(229, 88, 38, 0.25);
}

.avatar-hover-teaser {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.02em;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-avatar:hover .avatar-hover-teaser {
  opacity: 1;
  transform: translateX(2px);
}

/* Route card micro-interaction */
.card-route {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

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


/* Site-Wide Focus-Visible Accessibility */
:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

/* Responsive Overrides for About & Header */
@media (max-width: 900px) {
  .about-hero-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }

  .about-hero-card .orbit-system-wrapper {
    max-width: 340px;
    height: 340px;
  }

  .about-hero-card .orbit-track,
  .about-hero-card .orbit-concentric-ring.outer {
    width: 270px;
    height: 270px;
    margin-top: -135px;
    margin-left: -135px;
  }

  .about-hero-card .orbit-concentric-ring.inner {
    width: 190px;
    height: 190px;
  }

  .about-hero-card .orbit-center-avatar {
    width: 110px;
    height: 110px;
  }

  .about-hero-card .orbit-node[data-index="0"],
  .about-hero-card .orbit-node[data-index="1"] {
    --orbit-radius: 95px !important;
  }

  .about-hero-card .orbit-node[data-index="2"],
  .about-hero-card .orbit-node[data-index="3"],
  .about-hero-card .orbit-node[data-index="4"] {
    --orbit-radius: 135px !important;
  }

  .about-hero-card .orbit-chip {
    width: 44px;
    height: 44px;
  }

  .about-hero-card .orbit-chip .orbit-icon-img-large {
    width: 24px;
    height: 24px;
  }

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

  .about-contact-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .site-nav-header {
    top: 8px;
    margin-bottom: 16px;
  }

  .nav-brand-text {
    display: none;
  }

  .nav-header-inner {
    padding: 6px 12px;
  }

  .about-hero-title {
    font-size: 30px;
  }
}

/* --- 17. HALAPARK 2.0 CASE STUDY & DESIGN SYSTEM STYLES --- */
.cs-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-meta-item strong {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}

.cs-meta-item span {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.cs-full-visual {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-hover);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 20px;
  margin-top: 24px;
}

.cs-full-visual img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
}

.cs-challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.cs-challenge-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.challenge-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-challenge-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cs-challenge-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cs-baseline-box {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-hover);
}

.cs-baseline-box img {
  width: 100%;
  height: auto;
  display: block;
}

.cs-baseline-caption {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  background: var(--surface);
  line-height: 1.5;
}

.cs-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.cs-step-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-step-media {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 16px;
}

.cs-step-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cs-step-card:hover .cs-step-media img {
  transform: scale(1.04);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.system-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  display: flex;
  flex-direction: column;
}

.sys-label {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.cs-quote-block {
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(229, 88, 38, 0.08) 0%, rgba(0, 122, 255, 0.06) 100%);
  border-left: 4px solid var(--accent);
}

.cs-quote-block p {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.cs-quote-block span {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* --- 18. CONTACT PAGE STYLES --- */
.contact-hero-card {
  padding: 40px 44px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
}

.contact-details-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 36px;
}

.contact-details-heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.contact-details-lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-inner);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.contact-channel-item:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-channel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channel-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.contact-channel-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-card {
  padding: 36px 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width,
.form-submit-row,
.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.form-privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  color: var(--surface);
  border: 1px solid transparent;
  font-family: var(--font-main, inherit);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

[data-theme="dark"] .form-submit-btn {
  background: #FFFFFF;
  color: #0A0D12;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16);
}

.form-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .form-submit-btn:hover:not(:disabled) {
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.28);
}

.form-submit-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.form-submit-btn svg {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.form-submit-btn:hover:not(:disabled) svg {
  transform: translateX(3px) translateY(-2px);
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-submit-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
  }

  .form-submit-btn {
    width: 100%;
    padding: 14px 24px;
  }

  .form-privacy-note {
    text-align: center;
    justify-content: center;
    font-size: 12px;
  }
}

/* --- 19. RESUME PAGE STYLES --- */
.resume-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px 44px;
}

.resume-header-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}

.resume-header-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.resume-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.resume-section-card {
  padding: 36px 44px;
}

.resume-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.resume-section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.resume-exp-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.resume-exp-item {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border-subtle);
  transition: border-color 0.25s ease;
}

.resume-exp-item:hover {
  border-left-color: var(--accent);
}

.resume-exp-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.resume-exp-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.resume-exp-title {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.resume-exp-company {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.resume-exp-period {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.resume-exp-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 8px;
}

.resume-exp-bullets {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.resume-exp-bullets li {
  margin-bottom: 4px;
}

.resume-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.resume-skill-box {
  padding: 22px 24px;
  border-radius: var(--radius-inner);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.resume-skill-box h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.resume-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- 20. RESPONSIVE ADJUSTMENTS (TABLET & MOBILE) --- */
@media (max-width: 768px) {

  .nav-menu,
  .nav-resume-btn {
    display: none !important;
  }

  .nav-mobile-toggle {
    display: flex !important;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-hero-card,
  .contact-form-card,
  .contact-details-card,
  .resume-header-card,
  .resume-section-card {
    padding: 28px 20px;
  }
}

/* --- 21. PRINT STYLES FOR RECRUITER RESUME --- */
@media print {
  body {
    background: #FFFFFF !important;
    color: #10141A !important;
    padding: 0 !important;
  }

  .site-nav-header,
  .site-footer,
  .nav-theme-btn,
  .custom-cursor-follower,
  .toast-notification,
  .resume-actions-row,
  .nav-mobile-drawer,
  .nav-mobile-toggle,
  #projectModalBackdrop {
    display: none !important;
  }

  .page-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .bento-card {
    border: 1px solid #E2E4E8 !important;
    box-shadow: none !important;
    padding: 16px 20px !important;
    break-inside: avoid;
    background: #FFFFFF !important;
    color: #10141A !important;
  }

  .resume-exp-title,
  .resume-header-title,
  .resume-exp-company {
    color: #10141A !important;
  }

  .resume-exp-desc,
  .resume-exp-bullets {
    color: #4A5568 !important;
  }
}

/* --- 22. BANK PORTFOLIO PRESENTATION & OTP MODAL STYLES --- */
.offering-badge.badge-secure {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .offering-badge.badge-secure {
  background: rgba(251, 191, 36, 0.14);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.3);
}

.card-bank-deck-offering {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-bank-deck-offering:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.btn-secure-action {
  background: var(--text-primary);
  color: var(--surface);
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

[data-theme="dark"] .btn-secure-action {
  background: #FFFFFF;
  color: #0A0D12;
}

.btn-secure-action:hover {
  transform: translateY(-1px) scale(1.02);
  background: var(--text-primary);
}

.bank-deck-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 13, 18, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.bank-deck-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.bank-deck-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  padding: 40px 36px 36px 36px;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.bank-deck-modal-backdrop.is-open .bank-deck-modal-card {
  transform: scale(1) translateY(0);
}

.bank-deck-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 2;
}

.bank-deck-modal-close:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
  transform: scale(1.08);
}

.bank-modal-shield {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

[data-theme="dark"] .bank-modal-shield {
  background: rgba(251, 191, 36, 0.14);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.32);
}

.bank-modal-shield.otp-shield {
  background: rgba(59, 130, 246, 0.12);
  color: #2563EB;
  border-color: rgba(59, 130, 246, 0.28);
}

[data-theme="dark"] .bank-modal-shield.otp-shield {
  color: #60A5FA;
}

.bank-modal-shield.success-shield {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.32);
}

[data-theme="dark"] .bank-modal-shield.success-shield {
  color: #34D399;
}

.bank-modal-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D97706;
  margin-bottom: 6px;
}

[data-theme="dark"] .bank-modal-tag {
  color: #FBBF24;
}

.bank-modal-tag.success-tag {
  color: #059669;
}

[data-theme="dark"] .bank-modal-tag.success-tag {
  color: #34D399;
}

.bank-modal-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bank-modal-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.bank-modal-subdesc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
  margin-bottom: 22px;
}

.bank-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bank-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bank-input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

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

.bank-input-wrapper .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-tertiary);
  pointer-events: none;
}

.bank-text-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.bank-text-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.bank-btn-primary {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  color: var(--surface);
  border: 1px solid transparent;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
}

[data-theme="dark"] .bank-btn-primary {
  background: #FFFFFF;
  color: #0A0D12;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16);
}

.bank-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bank-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.bank-error-msg {
  font-size: 13px;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
}

.bank-security-notice {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.45;
  text-align: center;
  display: block;
  margin-top: 14px;
}

/* 6-digit OTP Inputs Grid */
.otp-inputs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 6px 0 10px 0;
}

.otp-digit {
  width: 100%;
  height: 54px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: monospace;
  color: var(--text-primary);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.15s;
}

.otp-digit:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
  transform: scale(1.04);
}

.otp-digit.filled {
  border-color: var(--accent);
}

.bank-otp-nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
}

.bank-link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bank-link-btn:hover {
  opacity: 0.8;
}

.bank-link-btn:disabled {
  color: var(--text-tertiary);
  cursor: not-allowed;
  text-decoration: none;
}

.bank-dev-banner {
  background: rgba(59, 130, 246, 0.1);
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: #2563EB;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
}

[data-theme="dark"] .bank-dev-banner {
  color: #60A5FA;
}

/* Success Step */
.bank-deck-launch-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deck-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.deck-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

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

@media (max-width: 520px) {
  .bank-deck-modal-card {
    padding: 30px 20px 24px 20px;
  }

  .otp-digit {
    height: 48px;
    font-size: 20px;
  }

  .otp-inputs-grid {
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .split-cards-row {
    grid-template-columns: 1fr !important;
  }

  .card-avatar,
  .card-route {
    min-height: 250px !important;
  }
}