   PERFORMANCE GAUGE
   ============================================ */
.perf-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.perf-gauge {
  width: 100px;
  height: 60px;
}

.perf-arc {
  transition: stroke-dashoffset 0.8s ease;
}

.bento-card:hover .perf-arc {
  stroke-dashoffset: 10;
}

.perf-needle {
  transform-origin: 60px 58px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover .perf-needle {
  transform: rotate(75deg);
}

.perf-score {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  padding: 120px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Scanline texture overlay for process section */
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Top and bottom edge fade for process section */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

/* 3D Square grid for process section - single element CSS pattern */
.process-squares {
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* Grid pattern with 3D beveled look */
  background:
    /* Top highlight edge (light) */
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 60px
    ),
    /* Left highlight edge (light) */
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 60px
    ),
    /* Bottom shadow edge (dark) */
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 57px,
      rgba(0, 0, 0, 0.4) 57px,
      rgba(0, 0, 0, 0.4) 60px
    ),
    /* Right shadow edge (dark) */
    repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent 57px,
      rgba(0, 0, 0, 0.35) 57px,
      rgba(0, 0, 0, 0.35) 60px
    ),
    /* Inner cell gradient for depth */
    repeating-linear-gradient(
      145deg,
      rgba(53, 118, 197, 0.08) 0px,
      rgba(100, 220, 255, 0.04) 30px,
      rgba(0, 0, 0, 0.15) 60px
    ),
    /* Base grid lines */
    repeating-linear-gradient(
      to right,
      rgba(53, 118, 197, 0.3) 0px,
      rgba(53, 118, 197, 0.3) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(53, 118, 197, 0.3) 0px,
      rgba(53, 118, 197, 0.3) 1px,
      transparent 1px,
      transparent 60px
    ),
    /* Cell fill */
    repeating-linear-gradient(
      145deg,
      rgba(53, 118, 197, 0.06) 0px,
      rgba(100, 220, 255, 0.03) 60px,
      rgba(100, 220, 255, 0.06) 120px,
      rgba(53, 118, 197, 0.03) 180px
    );
  background-size:
    60px 60px, 60px 60px, 60px 60px, 60px 60px,
    60px 60px, 60px 60px, 60px 60px, 180px 180px;

  /* Radial fade mask */
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 75%);
}

/* Subtle lighting - light from top */
.process-squares::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}

/* Noise texture overlay */
.process-squares::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Multi-color accent glow */
.process::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 40% 40% at 30% 30%, rgba(53, 118, 197, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(100, 220, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 200, 100, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Flowing lines container */
.process .flowing-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.process .flowing-line {
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(100, 220, 255, 0.3) 25%,
    rgba(53, 118, 197, 0.3) 50%,
    rgba(100, 220, 255, 0.3) 75%,
    transparent 100%
  );
  animation: flow-line 8s linear infinite;
}

.process .flowing-line:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
  opacity: 0.3;
}

.process .flowing-line:nth-child(2) {
  top: 50%;
  animation-delay: -3s;
  opacity: 0.2;
}

.process .flowing-line:nth-child(3) {
  top: 80%;
  animation-delay: -6s;
  opacity: 0.25;
}

@keyframes flow-line {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.process .section-container {
  text-align: center;
}

/* Process Layout - Side by Side */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .process-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.process-code-block {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(100, 220, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(100, 220, 255, 0.08),
    0 0 120px rgba(53, 118, 197, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

/* Floating glow behind terminal */
.process-code-block::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(100, 220, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(53, 118, 197, 0.1) 0%, transparent 50%);
  z-index: -1;
  border-radius: 30px;
  filter: blur(20px);
}

/* Top glow line on terminal */
.process-code-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(100, 220, 255, 0.4),
    rgba(53, 118, 197, 0.4),
    rgba(100, 220, 255, 0.4),
    transparent
  );
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(30, 35, 45, 0.95);
  border-bottom: 1px solid rgba(100, 220, 255, 0.1);
}

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

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.process-code {
  padding: 28px 32px;
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  line-height: 1.9;
  overflow-x: auto;
}

.process-code code {
  white-space: pre;
}

/* ============================================
   PROCESS PHASES PANEL
   ============================================ */
.process-phases-panel {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(53, 118, 197, 0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(53, 118, 197, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.process-phases-panel::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(53, 118, 197, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(100, 220, 255, 0.1) 0%, transparent 50%);
  z-index: -1;
  border-radius: 30px;
  filter: blur(20px);
}

.process-phases-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(53, 118, 197, 0.4),
    rgba(100, 220, 255, 0.4),
    rgba(53, 118, 197, 0.4),
    transparent
  );
}

/* Phases Panel Header */
.phases-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(30, 35, 45, 0.95);
  border-bottom: 1px solid rgba(53, 118, 197, 0.1);
}

.phases-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.phases-header-left svg {
  color: var(--accent-purple);
}

.phases-timeline {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-family: 'Fira Code', monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 10px;
}

/* Phases List */
.phases-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}

/* Phase Card */
.phase-card {
  display: flex;
  gap: 18px;
  padding: 18px 16px;
  border-radius: 12px;
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
}

.phase-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Phase Number */
.phase-number {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Fira Code', monospace;
  color: var(--accent-purple);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
  transition: opacity 0.3s ease;
}

.phase-card:hover .phase-number {
  opacity: 0.4;
}

/* Phase Info */
.phase-info {
  flex: 1;
  min-width: 0;
}

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

.phase-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.phase-weeks {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-family: 'Fira Code', monospace;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 10px;
}

.phase-detail {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

/* Deliverables */
.phase-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phase-deliverable {
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(100, 220, 255, 0.08);
  border: 1px solid rgba(100, 220, 255, 0.15);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 500;
  transition: background 0.3s ease;
}

.phase-card:hover .phase-deliverable {
  background: rgba(100, 220, 255, 0.12);
}

