/* ============================================================
   SERVICES PAGE STYLES
   ============================================================ */
/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bento-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 8px 40px rgba(6, 182, 212, 0.08),
    0 0 0 1px rgba(6, 182, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.bento-card .icon-box {
  width: 64px;
  height: 64px;
}

.bento-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.bento-card .bento-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-card .bento-features span {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.bento-card:hover .bento-features span {
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.2);
}

/* Bento large card */
.bento-card.bento-large {
  padding: 48px 40px;
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .bento-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .bento-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .bento-card:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .bento-card:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }
}

/* --- Process Section --- */
.process-section {
  background: var(--bg-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bg-primary);
  background: var(--accent-gradient);
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  max-width: 240px;
  margin: 0 auto;
}

/* Connecting line between steps */
.process-connector {
  display: none;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: flex-start;
  }

  .process-connector {
    display: block;
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
  }

  .process-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-cyan);
    border-top: 2px solid var(--accent-cyan);
    transform: rotate(45deg);
  }

  .process-step:last-child .process-connector {
    display: none;
  }
}