/* ==========================================================================
   COMPONENT STYLES - NUR IRFAN PANGESTU PORTFOLIO
   ========================================================================== */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-name {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 580px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Terminal / Code Window in Hero */
.hero-visual {
  position: relative;
  width: 100%;
}

.terminal-window {
  background: var(--bg-code);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px -10px rgba(56, 189, 248, 0.15);
  font-family: var(--font-mono);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-dot.red { background: #EF4444; }
.terminal-dot.yellow { background: #F59E0B; }
.terminal-dot.green { background: #10B981; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 24px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #E2E8F0;
  overflow-x: auto;
}

.terminal-line {
  margin-bottom: 6px;
  display: flex;
  gap: 10px;
}

.term-prompt { color: var(--accent-emerald); user-select: none; }
.term-cmd { color: var(--accent-cyan); font-weight: 600; }
.term-key { color: var(--accent-indigo); }
.term-str { color: #A5F3FC; }
.term-comment { color: var(--text-muted); font-style: italic; }
.term-num { color: #FCD34D; }

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   2. QUICK IMPACT NUMBERS (STATS)
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0.8;
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

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

/* ==========================================================================
   3. APP CARDS (WORK SECTION)
   ========================================================================== */

.app-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.filter-btn.active {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  border-color: var(--accent-cyan);
  font-weight: 700;
}

/* Featured App Card */
.featured-apps-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.app-card-featured {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  transition: all var(--transition-smooth);
  position: relative;
}

.app-card-featured:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
}

.app-info-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.app-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.app-title-group h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.app-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.app-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--bg-badge);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.app-summary {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.app-contributions {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-contributions li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.app-contributions li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.app-metrics-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

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

.metric-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-cyan);
}

.metric-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* App Store Official Badge Style */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-appstore:hover {
  background: #111827;
  border-color: var(--accent-cyan);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-appstore svg {
  flex-shrink: 0;
}

.appstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.appstore-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  font-family: var(--font-sans);
}

.appstore-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-sans);
}

/* Dual Screenshot Frames Container */
.app-screenshots-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 14px;
}

.screenshot-frame {
  flex: 1;
  max-width: 160px;
  height: 290px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  position: relative;
  transition: border-color var(--transition-fast);
}

.screenshot-frame:hover {
  border-color: var(--accent-cyan);
}

.screenshot-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.metrics-table-detailed {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.metrics-table-detailed th, .metrics-table-detailed td {
  padding: 10px 14px;
  font-size: 0.88rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-table-detailed th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
}

.metrics-table-detailed td:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
}

.metrics-table-detailed tr:last-child td {
  border-bottom: none;
}

/* Secondary Compact App Grid */
.secondary-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.secondary-app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.secondary-app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.sec-app-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.sec-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sec-app-title h4 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.sec-app-company {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.sec-app-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

@media (max-width: 860px) {
  .app-card-featured {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

/* ==========================================================================
   4. TECH STACK SECTION
   ========================================================================== */

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

.tech-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

.tech-category-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.tech-cat-icon {
  font-size: 1.4rem;
}

.tech-cat-header h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.tech-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   5. ENGINEERING LAB COMPONENTS
   ========================================================================== */

.lab-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 48px;
  position: relative;
}

.lab-section-card:hover {
  border-color: var(--border-card-hover);
}

.lab-section-header {
  margin-bottom: 32px;
}

.lab-section-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* Interactive Diagram Wrapper */
.diagram-wrapper {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: auto;
}

.diagram-flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 800px;
}

.flow-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  flex: 1;
  transition: all var(--transition-fast);
}

.flow-node:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}

.flow-arrow {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  user-select: none;
}

.diagram-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  transition: all var(--transition-fast);
}

.diagram-node:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.diagram-node.primary {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

/* Documentation Mapping Table */
.docs-mapping-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.docs-mapping-table th, .docs-mapping-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-mapping-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.docs-mapping-table td code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #A5F3FC;
  background: var(--bg-code);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.docs-mapping-table tr:last-child td {
  border-bottom: none;
}

/* Quality Gates Checklist */
.quality-gates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.gate-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.gate-item:hover {
  border-color: var(--accent-emerald);
  transform: translateX(4px);
}

.gate-check {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(16, 185, 129, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gate-info h5 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.gate-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Interactive Documentation Tree */
.docs-tree-wrapper {
  background: var(--bg-code);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: var(--font-mono);
}

.tree-folder {
  margin-bottom: 14px;
}

.tree-folder-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.tree-folder-title:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tree-files {
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  border-left: 1px dashed var(--border-subtle);
  margin-left: 14px;
}

.tree-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.tree-file:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.tree-file-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. CAREER TIMELINE (ABOUT PAGE)
   ========================================================================== */

/* Profile Photo Frame with Tech Dashed Outer Ring */
.photo-frame-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 10px;
  border: 2px dashed rgba(56, 189, 248, 0.55);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
  margin: 0 auto;
}

.photo-frame-wrapper:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.35);
  transform: scale(1.03);
}

.photo-frame-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.22);
  display: block;
}

/* OpenToWork Banner Arc (LinkedIn Style) */
.opentowork-badge-svg {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  pointer-events: none;
  z-index: 2;
}

/* Fallback / Legacy classes */
.photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.55);
  padding: 8px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(var(--accent-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(1.03);
}

.photo-frame-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.5);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md), 0 0 30px rgba(56, 189, 248, 0.15);
}

.photo-frame-placeholder:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(1.02);
}

.photo-badge-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-indigo) 50%, var(--accent-purple) 100%);
  transform: translateX(-50%);
  opacity: 0.6;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  width: 50%;
  padding: 0 36px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 48px;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 48px;
  padding-right: 0;
}

.timeline-dot {
  position: absolute;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan);
  z-index: 2;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  background: var(--accent-cyan);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  text-align: left;
}

.timeline-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  background: var(--bg-badge);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.timeline-company {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-logo-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.timeline-role {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.timeline-highlight {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.timeline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 860px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 54px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }
}

/* ==========================================================================
   7. "WHAT I BRING" PILLARS
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: left;
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: inline-block;
}

.pillar-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

/* ==========================================================================
   8. CONTACT HUB
   ========================================================================== */

.contact-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.contact-action-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.contact-btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-indicator-icon {
  font-size: 0.85rem;
  opacity: 0.65;
  transition: transform var(--transition-fast), opacity var(--transition-fast), color var(--transition-fast);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-action-btn:hover .link-indicator-icon {
  opacity: 1;
  color: var(--accent-cyan);
  transform: translate(2px, -2px);
}

.contact-action-btn:hover .link-indicator-icon.download {
  transform: translateY(2px);
}

/* ==========================================================================
   9. COMMAND PALETTE MODAL (CMD+K)
   ========================================================================== */

.palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.palette-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.palette-modal {
  width: 90%;
  max-width: 580px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.palette-overlay.open .palette-modal {
  transform: scale(1);
}

.palette-input-box {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.palette-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.palette-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.palette-item:hover, .palette-item.selected {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
}

.palette-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.palette-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
