/* ==========================================================================
   Style 04: Modern Clean Bento Grid (Corporate Edition)
   Felix & Felix Webagentur - Human Crafted Micro-Artifacts (No AI Clichés)
   ========================================================================== */

.style-bento-section {
  background: radial-gradient(circle at 18% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 82% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 60%),
              #f8fafc;
  color: #090d16;
  padding: 120px 0 160px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e2e8f0;
}

.style-bento-section .section-pitch-banner {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #4338ca;
}

.style-bento-section .section-title {
  font-family: var(--font-style-bento);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #090d16;
}

.bento-card h3 {
  font-family: var(--font-style-bento);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #090d16;
  margin-bottom: 12px;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 36px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Fraxbit Mouse-Spotlight Glow Overlay */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.08),
    transparent 45%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.38);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08),
              0 0 30px rgba(99, 102, 241, 0.12);
}

.bento-card:nth-child(1) {
  background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.04) 0%, transparent 60%), #ffffff;
}

.bento-card:nth-child(2) {
  background: radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.04) 0%, transparent 60%), #ffffff;
}

.bento-card:nth-child(3) {
  background: radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.04) 0%, transparent 60%), #ffffff;
}

.bento-card:nth-child(4) {
  background: radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.04) 0%, transparent 60%), #ffffff;
}

/* Spans */
.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-12 { grid-column: span 12; }

/* Bento Card Header Elements */
.bento-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  width: fit-content;
}

.bento-tag-emerald {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.22);
  color: #059669;
}

.bento-tag-indigo {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.22);
  color: #4f46e5;
}

.bento-tag-cyan {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: #0284c7;
}

.bento-tag-violet {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: #7c3aed;
}

.bento-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
  color: #090d16;
}

.bento-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   Micro-Artifact 1: Ultra-Clean Google Lighthouse Performance Benchmark
   ========================================================================== */
.bento-benchmark-card {
  margin-top: 26px;
  padding: 24px 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.benchmark-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.benchmark-score-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.benchmark-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
}

.benchmark-score-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.benchmark-score-display .counter-value {
  font-family: var(--font-style-bento);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: #090d16;
  letter-spacing: -0.04em;
}

.benchmark-max {
  font-family: var(--font-style-bento);
  font-size: 1.25rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

.benchmark-meta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 6px;
}

.benchmark-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.22);
}

.benchmark-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}

.benchmark-status-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.02em;
}

.benchmark-explanation {
  font-size: 0.8rem;
  color: #64748b;
  max-width: 320px;
  margin: 0;
  line-height: 1.45;
}

.benchmark-divider {
  height: 1px;
  width: 100%;
  background: #e2e8f0;
}

.benchmark-vitals-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.benchmark-vital-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.vital-key {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.vital-metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #090d16;
  letter-spacing: -0.02em;
}

.vital-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Micro-Artifact 2: Inbound Lead Simulation & Sparkline
   ========================================================================== */
.lead-simulation-toast {
  margin-top: 22px;
  padding: 15px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.toast-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.74rem;
}

.toast-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f46e5;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.toast-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4);
}

.toast-time {
  color: #64748b;
  font-size: 0.72rem;
}

.toast-client {
  font-size: 0.9rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 8px;
}

.toast-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toast-status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.sparkline-container {
  margin-top: 20px;
}

.sparkline-svg {
  width: 100%;
  height: 48px;
  overflow: visible;
}

.sparkline-path {
  fill: none;
  stroke: url(#sparklineGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 4px 8px rgba(79, 70, 229, 0.25));
}

.sparkline-area {
  fill: url(#sparklineAreaGrad);
}

/* Metric Callout */
.bento-metric-large {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 6px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-style-bento);
}

.bento-metric-sub {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
}

/* ==========================================================================
   Micro-Artifact 3: Mini-IDE Code & Architecture Inspector
   ========================================================================== */
.mini-ide-terminal {
  margin-top: 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.05);
}

.ide-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.ide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.ide-dot-red { background: #ef4444; }
.ide-dot-yellow { background: #f59e0b; }
.ide-dot-green { background: #10b981; }

.ide-filename {
  margin-left: 8px;
  font-size: 0.72rem;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ide-body {
  padding: 13px 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #1e293b;
}

.ide-keyword { color: #4f46e5; font-weight: 600; }
.ide-prop { color: #0284c7; }
.ide-val-str { color: #059669; }
.ide-val-num { color: #d97706; }
.ide-comment { color: #94a3b8; font-style: italic; }

.bento-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.stack-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  transition: all 0.2s ease;
}

.stack-pill:hover {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
  color: #4f46e5;
}

/* ==========================================================================
   Micro-Artifact 4: Interactive Depth & Motion Stage (Motion Showcase)
   ========================================================================== */
.motion-showcase-stage {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04);
  perspective: 900px;
}

.motion-interactive-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  transition: transform 0.25s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-interactive-card:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.12);
}

.motion-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.motion-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
}

.motion-stage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f46e5;
}

.motion-fps-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
  white-space: nowrap;
}

.motion-preview-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.motion-preview-heading {
  font-size: 1.02rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 4px;
}

.motion-preview-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 360px;
}

.motion-visual-graph {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.motion-spark-svg {
  width: 140px;
  height: 38px;
}

.motion-graph-caption {
  font-size: 0.68rem;
  color: #4f46e5;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.motion-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.motion-tag-item {
  font-size: 0.74rem;
  font-weight: 500;
  color: #475569;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .col-span-8,
  .col-span-4,
  .col-span-6,
  .col-span-12 {
    grid-column: span 1;
  }
  .benchmark-vitals-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .motion-showcase-stage {
    padding: 12px;
    margin-top: 16px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .motion-interactive-card {
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
    transform: none !important;
  }
  .motion-card-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
  }
  .motion-fps-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    white-space: normal;
  }
  .motion-preview-body {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
  }
  .motion-preview-heading {
    font-size: 0.98rem;
  }
  .motion-preview-desc {
    max-width: 100%;
    font-size: 0.82rem;
  }
  .motion-visual-graph {
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
  }
  .motion-spark-svg {
    width: 100%;
    max-width: 180px;
    height: 32px;
  }
  .motion-feature-tags {
    gap: 6px;
    width: 100%;
  }
  .motion-tag-item {
    font-size: 0.68rem;
    padding: 3px 7px;
  }
}

@media (max-width: 600px) {
  .style-bento-section {
    padding: 80px 0 100px;
  }
  .bento-card {
    padding: 22px 18px;
    border-radius: 18px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
  }
  .bento-card h3 {
    font-size: 1.32rem;
  }
  .benchmark-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .benchmark-score-display .counter-value {
    font-size: 2.8rem;
  }
  .benchmark-meta-block {
    align-items: flex-start;
    text-align: left;
  }
  .benchmark-vitals-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .bento-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .benchmark-vitals-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

