/* ==========================================================================
   SHUBHRANSH GUPTA — PORTFOLIO DESIGN SYSTEM
   Inspired by Ritik Singh's Portfolio Architecture
   ========================================================================== */

:root {
  --bg-primary: #070709;
  --bg-secondary: #0d0d12;
  --bg-alt: #101015;
  --bg-card: rgba(18, 18, 24, 0.65);
  --bg-card-hover: rgba(26, 26, 34, 0.9);
  --bg-pill: rgba(20, 20, 26, 0.75);
  
  --accent: #FF5C1A;
  --accent-rgb: 255, 92, 26;
  --accent-glow: rgba(255, 92, 26, 0.35);
  --accent-soft: rgba(255, 92, 26, 0.12);
  --accent-gold: #E8B86F;
  --accent-gold-gradient: linear-gradient(135deg, #FAD08A 0%, #FF8C38 100%);
  
  --text-pure: #ffffff;
  --text-high: #f0ecf4;
  --text-mid: #a1a1aa;
  --text-dim: #71717a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 92, 26, 0.4);
  
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-pure);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-high);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
}

/* AMBIENT GLOW ORBS */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.18;
}

.glow-top {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(255, 92, 26, 0) 70%);
}

.glow-mid {
  top: 45%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-gold) 0%, rgba(232, 184, 111, 0) 70%);
  opacity: 0.09;
}

/* ==========================================================================
   TUBE CURSOR — 3D FLUID WEBGL TUBE TRAILS & HOVER ABSORPTION
   ========================================================================== */
#tube-cursor-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: plus-lighter;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0.4) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0.4) 88%, transparent 100%);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
  will-change: opacity, transform, filter;
}

#tubeCanvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* ── Near-card vicinity: softens and starts to sink ────────────────── */
body[data-near-card='true']:not([data-on-card='true']) #tube-cursor-portal {
  opacity: 0.52;
  transform: scale(0.97);
  filter: blur(1.5px);
}

/* ── Full absorption on card hover: tubes sink into the background plane ── */
body[data-on-card='true'] #tube-cursor-portal {
  z-index: 1;
  opacity: 0.48;
  transform: scale(0.90);
  filter: blur(7px);
}

/* Elevate card above sinking tubes */
body[data-on-card='true'] [data-case-card]:hover,
body[data-on-card='true'] .work-card:hover,
body[data-on-card='true'] .timeline-card:hover {
  z-index: 25;
}

/* Navbar hover absorption */
body[data-on-card='true'] .navbar-pill {
  z-index: 100;
}

/* ── Method-card and bento absorption override ─────────────────────── */
body[data-on-method-card='true'] #tube-cursor-portal {
  z-index: 1;
  opacity: 0.5;
  transform: scale(0.95);
  filter: blur(4px);
}

/* Cursor glow halo is silenced inside cards */
body[data-on-card='true'] .cursor-glow,
body[data-on-method-card='true'] .cursor-glow {
  opacity: 0 !important;
}

/* Cursor dot collapses to minimal sharp dot on card */
body[data-on-card='true'] .cursor-dot {
  box-shadow: none !important;
  width: 8px !important;
  height: 8px !important;
  margin-top: -4px !important;
  margin-left: -4px !important;
}

body[data-on-method-card='true'] .cursor-dot {
  background: var(--accent) !important;
  box-shadow: none !important;
  width: 8px !important;
  height: 8px !important;
  margin-top: -4px !important;
  margin-left: -4px !important;
}

/* MOUSE GLOW & DOT (DESKTOP) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  margin-top: -160px;
  margin-left: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 26, 0.16) 0%, rgba(255, 92, 26, 0) 70%);
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s ease;
  transform: translate(-500px, -500px);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  pointer-events: none;
  z-index: 9999;
  transition: box-shadow 0.25s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.2s ease;
  transform: translate(-500px, -500px);
}

@media (pointer: coarse), (max-width: 992px) {
  #tube-cursor-portal, .cursor-glow, .cursor-dot {
    display: none !important;
  }
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* TYPOGRAPHY UTILITIES */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 4px;
}

/* ==========================================================================
   FLOATING PILL NAVBAR
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 16px;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 12px 8px 18px;
  background: var(--bg-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s var(--ease-smooth);
  max-width: 1060px;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-pure);
  white-space: nowrap;
}

.brand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c38 100%);
  color: #fff;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 12px var(--accent-glow);
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-divider {
  color: var(--text-dim);
}

.brand-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 0 8px var(--accent);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

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

.btn-pill-resume {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, #e04a0e 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: all 0.25s var(--ease-smooth);
}

.btn-pill-resume:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 92, 26, 0.6);
}


.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-pure);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 16px;
  right: 16px;
  background: var(--bg-pill);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 20px;
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
  display: block;
  animation: fadeInDown 0.25s ease;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.mobile-resume-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .nav-links, .brand-divider, .brand-role {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 60px;
  position: relative;
  text-align: center;
}

.hero-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-pure);
  margin-bottom: 36px;
}

/* 3D AVATAR WITH GLOWING HALO SWOOSH */
.hero-avatar-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .section-hero {
    padding: 100px 16px 40px;
    min-height: auto;
  }
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 24px;
  }
  .hero-avatar-wrapper {
    width: 240px;
    height: 240px;
    margin-bottom: 24px;
  }
  .hero-meta {
    margin-bottom: 32px;
  }
  .hero-tags-row {
    font-size: 12px;
    gap: 6px;
  }
}

.avatar-glow-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(255, 92, 26, 0) 70%);
  opacity: 0.45;
  filter: blur(28px);
  animation: pulseDot 4s ease-in-out infinite;
}

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 92, 26, 0.25);
  border: 1px solid rgba(255, 92, 26, 0.35);
  transition: transform 0.4s var(--ease-out);
}

.avatar-inner:hover {
  transform: translateY(-4px) scale(1.02);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
}

.hero-name-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-pure);
}

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

.dot-sep {
  color: var(--accent);
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 92, 26, 0.08);
  border: 1px solid rgba(255, 92, 26, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-high);
  margin-top: 6px;
}

.hero-oss-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 92, 26, 0.06);
  border: 1px solid rgba(255, 92, 26, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  margin-top: 4px;
}

.hero-oss-pill strong {
  color: var(--text-pure);
  font-weight: 700;
}

.hero-status-pill strong {
  color: var(--accent);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s infinite;
}

/* Scroll Down Indicator */
.scroll-down-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.scroll-down-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}

.scroll-down-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.scroll-down-dot {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 8px;
  background: #fff;
  border-radius: 3px;
  animation: scrollDot 2s infinite;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-block {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.section-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-pure);
  max-width: 600px;
}

.section-subtext {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 440px;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 01: SELECTED WORKS
   ========================================================================== */
.works-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  perspective: 3000px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.work-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 92, 26, 0.12);
}

.work-card-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 380px;
}

.work-card-visual {
  position: relative;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--border-subtle);
  background: radial-gradient(circle at center, rgba(255, 92, 26, 0.06) 0%, transparent 70%);
}

.visual-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(40px);
}

.visual-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: #0d0d12;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #14141a;
  border-bottom: 1px solid var(--border-subtle);
}

.traffic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.traffic-dot.red { background: #ff5f56; }
.traffic-dot.yellow { background: #ffbd2e; }
.traffic-dot.green { background: #27c93f; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-left: 6px;
}

.mockup-body {
  display: flex;
  min-height: 140px;
}

.proxy-sidebar {
  width: 45%;
  background: #09090c;
  padding: 10px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.mock-tree-node {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-tree-node.active {
  color: var(--text-pure);
  background: rgba(255, 92, 26, 0.12);
  padding: 2px 4px;
  border-radius: 4px;
}

.mock-tree-node span {
  color: #27c93f;
  font-weight: 700;
}

.proxy-main {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.proxy-stat-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #27c93f;
  background: rgba(39, 201, 63, 0.1);
  padding: 3px 6px;
  border-radius: 4px;
  width: fit-content;
}

.proxy-payload-preview code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-gold);
  word-break: break-all;
}

/* JSONLens Mockup */
.json-mockup-body {
  padding: 14px;
  display: flex;
  gap: 12px;
}

.json-code-pane {
  flex: 1;
  background: #08080a;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
}

.json-code-pane pre code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #a1a1aa;
}

.json-graph-pane {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.graph-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #14141a;
  color: var(--text-dim);
  text-align: center;
}

.graph-pill.active {
  background: var(--accent);
  color: #fff;
}

/* MirrorLock Mockup */
.mirror-mockup {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mirror-overlay-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #ff5f56;
  background: rgba(255, 95, 86, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
}

.mirror-screen-sample {
  background: #050507;
  padding: 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
}

.t-prompt { color: var(--accent); }
.t-cyan { color: #38bdf8; }
.t-green { color: #4ade80; }

.touchid-pill {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  border: 1px dashed var(--border-card);
  padding: 3px 10px;
  border-radius: 999px;
}

/* toknt Metric Box */
.toknt-metric-box {
  background: #0d0d14;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toknt-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent);
}

.toknt-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: block;
}

.toknt-bar {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.toknt-bar-fill {
  width: 58%;
  height: 100%;
  background: var(--accent);
}

/* Transit Mockup (RebelRoutes India) */
.bg-transit {
  background: radial-gradient(circle at center, rgba(39, 201, 63, 0.08) 0%, transparent 70%);
}

.transit-mockup-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-compare-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #08080a;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.route-box {
  flex: 1;
}

.route-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.route-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.route-time.red-text { color: #ff5f56; }
.route-time.green-text { color: #27c93f; }

.time-saved {
  font-size: 10px;
  color: #38bdf8;
  font-weight: 600;
}

.route-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.fill-red { height: 100%; background: #ff5f56; }
.fill-green { height: 100%; background: #27c93f; }

.route-vs {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  font-weight: 700;
}

.transit-steps-pane {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #a1a1aa;
}

.transit-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.transit-step.active {
  background: rgba(39, 201, 63, 0.1);
  color: #27c93f;
  border: 1px solid rgba(39, 201, 63, 0.2);
}

.transit-status-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 6px #27c93f;
}

/* Courier City Game Mockup */
.bg-game {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

.game-mockup-body {
  padding: 12px;
}

.game-viewport-hud {
  background: #06080c;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hud-top-row, .hud-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.hud-tag {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
}

.hud-tag.hud-fps {
  color: #27c93f;
  background: rgba(39, 201, 63, 0.1);
}

.wireframe-city-grid {
  height: 70px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, rgba(56, 189, 248, 0.15) 100%);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.city-vehicle-marker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #ffbd2e;
  z-index: 1;
}

.city-vehicle-marker span {
  font-size: 8px;
  background: rgba(255, 189, 46, 0.15);
  padding: 2px 5px;
  border-radius: 4px;
}

.city-waypoint {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #a1a1aa;
  z-index: 1;
}

/* Work Card Content */
.work-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.work-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.work-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.work-headline {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-pure);
  margin-bottom: 14px;
}

.work-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-mid);
}

.work-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 24px;
}

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

.btn-work-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: all 0.25s var(--ease-smooth);
}

.btn-work-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 92, 26, 0.6);
}

.btn-work-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-high);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-work-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 900px) {
  .work-card-inner {
    grid-template-columns: 1fr;
  }
  .work-card-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 32px 20px;
  }
  .work-card-content {
    padding: 28px 24px;
  }
}

/* ==========================================================================
   SECTION 02: ABOUT / STORY
   ========================================================================== */
.about-split-stage {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.about-photo-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: flex;
  justify-content: center;
}

.about-glow-ring {
  inset: -14px;
  border-radius: 40px;
  opacity: 0.4;
  filter: blur(28px);
}

.about-photo-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4/5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 92, 26, 0.18);
  border: 1px solid rgba(255, 92, 26, 0.35);
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.about-photo-frame:hover {
  border-color: rgba(255, 92, 26, 0.65);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 92, 26, 0.3);
  transform: translateY(-4px) scale(1.02);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.about-photo-frame:hover .about-portrait-img {
  transform: scale(1.04);
}

.about-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mid);
}

.loc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.about-narrative-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lead-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-pure);
}

.about-narrative-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
}

.about-narrative-copy strong {
  color: var(--text-pure);
}

.about-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}

.m-lbl {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .about-split-stage {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   SECTION 03: THE METHOD
   ========================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}

.method-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.method-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.method-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-pure);
  margin-bottom: 12px;
}

.method-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 20px;
}

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

.method-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .method-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 04: EXPERIENCE TIMELINE
   ========================================================================== */
.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(255, 92, 26, 0.1) 100%);
}

.timeline-card {
  position: relative;
  margin-left: 54px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 32px 36px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out, border-color 0.3s ease, background 0.3s ease;
}

.timeline-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.timeline-dot {
  position: absolute;
  top: 36px;
  left: -42px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.timeline-card.current-job {
  border-color: rgba(255, 92, 26, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 92, 26, 0.04);
}

.timeline-meta-col {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.time-range {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.status-badge-current {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
}

.status-badge-past {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.job-header {
  margin-bottom: 12px;
}

.company-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
}

.role-title {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}

.job-stat-highlight {
  margin-bottom: 14px;
}

.stat-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 92, 26, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 92, 26, 0.2);
}

.job-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.job-bullets li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  position: relative;
  padding-left: 18px;
}

.job-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.job-bullets strong {
  color: var(--text-pure);
}

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

.job-tech-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .experience-timeline::before {
    left: 10px;
  }
  .timeline-card {
    margin-left: 32px;
    padding: 24px 20px;
  }
  .timeline-dot {
    left: -29px;
  }
}

/* ==========================================================================
   SECTION 05: OUTSIDE THE CODEBASE (BENTO GRID)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-cell:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.bento-tall {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.bento-desc strong {
  color: var(--text-pure);
}

.bento-code-snippet {
  margin-top: 24px;
  background: #060608;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.bento-code-snippet code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-tall, .bento-wide {
    grid-row: auto;
    grid-column: auto;
  }
}

/* ==========================================================================
   SECTION 05B: OPEN SOURCE CONTRIBUTIONS & METHOD CARDS EXTENSIONS
   ========================================================================== */
.method-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.card-link-btn:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

.badge-status-merged {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 2.5px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  display: inline-block;
}

.badge-status-open {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(255, 92, 26, 0.12);
  border: 1px solid rgba(255, 92, 26, 0.28);
  padding: 2.5px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  display: inline-block;
}

/* ==========================================================================
   SECTION 06: TESTIMONIALS / ECHOES (HOLOGRAM 3D CARDS)
   ========================================================================== */
.holo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  perspective: 3000px;
}

@media (max-width: 900px) {
  .holo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.holo-card {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 92, 26, 0.05) 0%, rgba(18, 18, 22, 0.75) 60%, rgba(10, 10, 12, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 34px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 92, 26, 0.06);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
  transition: transform 0.2s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Holographic top edge sheen */
.holo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 92, 26, 0.7) 35%, rgba(255, 180, 120, 0.95) 50%, rgba(255, 92, 26, 0.7) 65%, transparent 95%);
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.holo-card:hover {
  border-color: rgba(255, 92, 26, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 36px rgba(255, 92, 26, 0.16);
}

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

.holo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.holo-seq {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.holo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 2.5px 8px;
  border-radius: 999px;
}

.holo-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
  animation: pulseDot 2s ease-in-out infinite;
}

.holo-quote-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.holo-quote-watermark {
  font-family: var(--font-serif);
  font-size: 60px;
  line-height: 1;
  color: rgba(255, 92, 26, 0.15);
  position: absolute;
  top: -24px;
  left: -4px;
  user-select: none;
  pointer-events: none;
}

.holo-quote-text {
  position: relative;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-pure);
  font-style: normal;
  margin-top: 6px;
}

.holo-quote-highlight {
  color: var(--accent-light);
  font-weight: 600;
}

.holo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.holo-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

.holo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  gap: 12px;
}

.holo-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.holo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 92, 26, 0.25), rgba(255, 140, 56, 0.1));
  border: 1px solid rgba(255, 92, 26, 0.35);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255, 92, 26, 0.12);
  flex-shrink: 0;
}

.holo-author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.holo-author-info span {
  display: block;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-top: 2px;
}

.holo-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 92, 26, 0.08);
  border: 1px solid rgba(255, 92, 26, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.holo-link-btn:hover {
  background: rgba(255, 92, 26, 0.18);
  border-color: rgba(255, 92, 26, 0.45);
  color: var(--accent-light);
  transform: translateX(3px);
}

/* Hologram 5th Summary Card */
.holo-summary-card {
  grid-column: 1 / -1;
  background: radial-gradient(100% 120% at 50% 0%, rgba(255, 92, 26, 0.08) 0%, rgba(20, 20, 24, 0.75) 100%);
  border: 1px solid rgba(255, 92, 26, 0.3);
  border-radius: 28px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(255, 92, 26, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.holo-summary-card:hover {
  border-color: rgba(255, 92, 26, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 92, 26, 0.15);
}

.holo-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.holo-summary-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .holo-summary-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .holo-card {
    padding: 26px 22px 22px;
  }
}

/* ==========================================================================
   SECTION 07: CONTACT / CTA & FOOTER
   ========================================================================== */
.section-cta {
  padding-bottom: 40px;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 36px;
  padding: 60px 48px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 92, 26, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-quote {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-pure);
  max-width: 820px;
  margin: 18px auto 36px;
}

.cta-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cta-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-high);
  transition: all 0.25s ease;
}

.cta-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.cta-pill-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.cta-pill-btn.primary:hover {
  box-shadow: 0 0 30px rgba(255, 92, 26, 0.6);
}

.cta-copy-email-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  transition: all 0.2s ease;
}

.copy-email-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

/* FOOTER */
.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 36px 20px;
  }
  .page-footer {
    flex-direction: column;
    text-align: center;
  }
}
